vendor: update all dependencies
This commit is contained in:
parent
0b6fba34a3
commit
eb87cf6f12
2008 changed files with 352633 additions and 1004750 deletions
412
vendor/github.com/aws/aws-sdk-go/CHANGELOG.md
generated
vendored
412
vendor/github.com/aws/aws-sdk-go/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,415 @@
|
|||
Release v1.10.14 (2017-07-20)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/elasticmapreduce`: Updates service API and documentation
|
||||
* Amazon EMR now includes the ability to use a custom Amazon Linux AMI and adjustable root volume size when launching a cluster.
|
||||
|
||||
Release v1.10.13 (2017-07-19)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/budgets`: Updates service API and documentation
|
||||
* Update budget Management API's to list/create/update RI_UTILIZATION type budget. Update budget Management API's to support DAILY timeUnit for RI_UTILIZATION type budget.
|
||||
|
||||
### SDK Enhancements
|
||||
* `service/s3`: Use interfaces assertions instead of ValuesAtPath for S3 field lookups. [#1401](https://github.com/aws/aws-sdk-go/pull/1401)
|
||||
* Improves the performance across the board for all S3 API calls by removing the usage of `ValuesAtPath` being used for every S3 API call.
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/request`: waiter test bug
|
||||
* waiters_test.go file would sometimes fail due to travis hiccups. This occurs because a test would sometimes fail the cancel check and succeed the timeout. However, the timeout check should never occur in that test. This fix introduces a new field that dictates how waiters will sleep.
|
||||
Release v1.10.12 (2017-07-17)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/cognito-idp`: Updates service API and documentation
|
||||
* `service/lambda`: Updates service API and documentation
|
||||
* Lambda@Edge lets you run code closer to your end users without provisioning or managing servers. With Lambda@Edge, your code runs in AWS edge locations, allowing you to respond to your end users at the lowest latency. Your code is triggered by Amazon CloudFront events, such as requests to and from origin servers and viewers, and it is ready to execute at every AWS edge location whenever a request for content is received. You just upload your Node.js code to AWS Lambda and Lambda takes care of everything required to run and scale your code with high availability. You only pay for the compute time you consume - there is no charge when your code is not running.
|
||||
|
||||
Release v1.10.11 (2017-07-14)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/discovery`: Updates service API and documentation
|
||||
* Adding feature to the Export API for Discovery Service to allow filters for the export task to allow export based on per agent id.
|
||||
* `service/ec2`: Updates service API
|
||||
* New EC2 GPU Graphics instance
|
||||
* `service/marketplacecommerceanalytics`: Updates service documentation
|
||||
* Update to Documentation Model For New Report Cadence / Reformat of Docs
|
||||
|
||||
Release v1.10.10 (2017-07-13)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/apigateway`: Updates service API and documentation
|
||||
* Adds support for management of gateway responses.
|
||||
* `service/ec2`: Updates service API and documentation
|
||||
* X-ENI (or Cross-Account ENI) is a new feature that allows the attachment or association of Elastic Network Interfaces (ENI) between VPCs in different AWS accounts located in the same availability zone. With this new capability, service providers and partners can deliver managed solutions in a variety of new architectural patterns where the provider and consumer of the service are in different AWS accounts.
|
||||
* `service/lex-models`: Updates service documentation
|
||||
|
||||
Release v1.10.9 (2017-07-12)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/autoscaling`: Updates service API and documentation
|
||||
* Auto Scaling now supports a new type of scaling policy called target tracking scaling policies that you can use to set up dynamic scaling for your application.
|
||||
* `service/swf`: Updates service API, documentation, paginators, and examples
|
||||
* Added support for attaching control data to Lambda tasks. Control data lets you attach arbitrary strings to your decisions and history events.
|
||||
|
||||
Release v1.10.8 (2017-07-06)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ds`: Updates service API, documentation, and paginators
|
||||
* You can now improve the resilience and performance of your Microsoft AD directory by deploying additional domain controllers. Added UpdateNumberofDomainControllers API that allows you to update the number of domain controllers you want for your directory, and DescribeDomainControllers API that allows you to describe the detailed information of each domain controller of your directory. Also added the 'DesiredNumberOfDomainControllers' field to the DescribeDirectories API output for Microsoft AD.
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/kinesis`: Updates service API and documentation
|
||||
* You can now encrypt your data at rest within an Amazon Kinesis Stream using server-side encryption. Server-side encryption via AWS KMS makes it easy for customers to meet strict data management requirements by encrypting their data at rest within the Amazon Kinesis Streams, a fully managed real-time data processing service.
|
||||
* `service/kms`: Updates service API and documentation
|
||||
* This release of AWS Key Management Service introduces the ability to determine whether a key is AWS managed or customer managed.
|
||||
* `service/ssm`: Updates service API and documentation
|
||||
* Amazon EC2 Systems Manager now expands Patching support to Amazon Linux, Red Hat and Ubuntu in addition to the already supported Windows Server.
|
||||
|
||||
Release v1.10.7 (2017-07-05)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/monitoring`: Updates service API and documentation
|
||||
* We are excited to announce the availability of APIs and CloudFormation support for CloudWatch Dashboards. You can use the new dashboard APIs or CloudFormation templates to dynamically build and maintain dashboards to monitor your infrastructure and applications. There are four new dashboard APIs - PutDashboard, GetDashboard, DeleteDashboards, and ListDashboards APIs. PutDashboard is used to create a new dashboard or modify an existing one whereas GetDashboard is the API to get the details of a specific dashboard. ListDashboards and DeleteDashboards are used to get the names or delete multiple dashboards respectively. Getting started with dashboard APIs is similar to any other AWS APIs. The APIs can be accessed through AWS SDK or through CLI tools.
|
||||
* `service/route53`: Updates service API and documentation
|
||||
* Bug fix for InvalidChangeBatch exception.
|
||||
|
||||
### SDK Enhancements
|
||||
* `service/s3/s3manager`: adding cleanup function to batch objects [#1375](https://github.com/aws/aws-sdk-go/issues/1375)
|
||||
* This enhancement will add an After field that will be called after each iteration of the batch operation.
|
||||
|
||||
Release v1.10.6 (2017-06-30)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/marketplacecommerceanalytics`: Updates service documentation
|
||||
* Documentation updates for AWS Marketplace Commerce Analytics.
|
||||
* `service/s3`: Updates service API and documentation
|
||||
* API Update for S3: Adding Object Tagging Header to MultipartUpload Initialization
|
||||
|
||||
Release v1.10.5 (2017-06-29)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/events`: Updates service API and documentation
|
||||
* CloudWatch Events now allows different AWS accounts to share events with each other through a new resource called event bus. Event buses accept events from AWS services, other AWS accounts and PutEvents API calls. Currently all AWS accounts have one default event bus. To send events to another account, customers simply write rules to match the events of interest and attach an event bus in the receiving account as the target to the rule. The PutTargets API has been updated to allow adding cross account event buses as targets. In addition, we have released two new APIs - PutPermission and RemovePermission - that enables customers to add/remove permissions to their default event bus.
|
||||
* `service/gamelift`: Updates service API and documentation
|
||||
* Allow developers to download GameLift fleet creation logs to assist with debugging.
|
||||
* `service/ssm`: Updates service API and documentation
|
||||
* Adding Resource Data Sync support to SSM Inventory. New APIs: * CreateResourceDataSync - creates a new resource data sync configuration, * ListResourceDataSync - lists existing resource data sync configurations, * DeleteResourceDataSync - deletes an existing resource data sync configuration.
|
||||
|
||||
Release v1.10.4 (2017-06-27)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/servicecatalog`: Updates service API, documentation, and paginators
|
||||
* Proper tagging of resources is critical to post-launch operations such as billing, cost allocation, and resource management. By using Service Catalog's TagOption Library, administrators can define a library of re-usable TagOptions that conform to company standards, and associate these with Service Catalog portfolios and products. Learn how to move your current tags to the new library, create new TagOptions, and view and associate your library items with portfolios and products. Understand how to ensure that the right tags are created on products launched through Service Catalog and how to provide users with defined selectable tags.
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/signer/v4`: checking length on `stripExcessSpaces` [#1372](https://github.com/aws/aws-sdk-go/issues/1372)
|
||||
* Fixes a bug where `stripExcessSpaces` did not check length against the slice.
|
||||
* Fixes: [#1371](https://github.com/aws/aws-sdk-go/issues/1371)
|
||||
Release v1.10.3 (2017-06-23)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/lambda`: Updates service API and documentation
|
||||
* The Lambda Invoke API will now throw new exception InvalidRuntimeException (status code 502) for invokes with deprecated runtimes.
|
||||
|
||||
Release v1.10.2 (2017-06-22)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/codepipeline`: Updates service API, documentation, and paginators
|
||||
* A new API, ListPipelineExecutions, enables you to retrieve summary information about the most recent executions in a pipeline, including pipeline execution ID, status, start time, and last updated time. You can request information for a maximum of 100 executions. Pipeline execution data is available for the most recent 12 months of activity.
|
||||
* `service/dms`: Updates service API and documentation
|
||||
* Added tagging for DMS certificates.
|
||||
* `service/elasticloadbalancing`: Updates service waiters
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/lightsail`: Updates service API and documentation
|
||||
* This release adds a new nextPageToken property to the result of the GetOperationsForResource API. Developers can now get the next set of items in a list by making subsequent calls to GetOperationsForResource API with the token from the previous call. This release also deprecates the nextPageCount property, which previously returned null (use the nextPageToken property instead). This release also deprecates the customImageName property on the CreateInstancesRequest class, which was previously ignored by the API.
|
||||
* `service/route53`: Updates service API and documentation
|
||||
* This release reintroduces the HealthCheckInUse exception.
|
||||
|
||||
Release v1.10.1 (2017-06-21)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/dax`: Adds new service
|
||||
* Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB that delivers up to a 10x performance improvement - from milliseconds to microseconds - even at millions of requests per second. DAX does all the heavy lifting required to add in-memory acceleration to your DynamoDB tables, without requiring developers to manage cache invalidation, data population, or cluster management.
|
||||
* `service/route53`: Updates service API and documentation
|
||||
* Amazon Route 53 now supports multivalue answers in response to DNS queries, which lets you route traffic approximately randomly to multiple resources, such as web servers. Create one multivalue answer record for each resource and, optionally, associate an Amazon Route 53 health check with each record, and Amazon Route 53 responds to DNS queries with up to eight healthy records.
|
||||
* `service/ssm`: Updates service API, documentation, and paginators
|
||||
* Adding hierarchy support to the SSM Parameter Store API. Added support tor tagging. New APIs: GetParameter - retrieves one parameter, DeleteParameters - deletes multiple parameters (max number 10), GetParametersByPath - retrieves parameters located in the hierarchy. Updated APIs: PutParameter - added ability to enforce parameter value by applying regex (AllowedPattern), DescribeParameters - modified to support Tag filtering.
|
||||
* `service/waf`: Updates service API and documentation
|
||||
* You can now create, edit, update, and delete a new type of WAF rule with a rate tracking component.
|
||||
* `service/waf-regional`: Updates service API and documentation
|
||||
|
||||
Release v1.10.0 (2017-06-20)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/workdocs`: Updates service API and documentation
|
||||
* This release provides a new API to retrieve the activities performed by WorkDocs users.
|
||||
|
||||
### SDK Features
|
||||
* `aws/credentials/plugincreds`: Add support for Go plugin for credentials [#1320](https://github.com/aws/aws-sdk-go/pull/1320)
|
||||
* Adds support for using plugins to retrieve credentials for API requests. This change adds a new package plugincreds under aws/credentials. See the `example/aws/credentials/plugincreds` folder in the SDK for example usage.
|
||||
|
||||
Release v1.9.00 (2017-06-19)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/organizations`: Updates service API and documentation
|
||||
* Improvements to Exception Modeling
|
||||
|
||||
### SDK Features
|
||||
* `service/s3/s3manager`: Adds batch operations to s3manager [#1333](https://github.com/aws/aws-sdk-go/pull/1333)
|
||||
* Allows for batch upload, download, and delete of objects. Also adds the interface pattern to allow for easy traversal of objects. E.G `DownloadWithIterator`, `UploadWithIterator`, and `BatchDelete`. `BatchDelete` also contains a utility iterator using the `ListObjects` API to easily delete a list of objects.
|
||||
|
||||
Release v1.8.44 (2017-06-16)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/xray`: Updates service API, documentation, and paginators
|
||||
* Add a response time histogram to the services in response of GetServiceGraph API.
|
||||
|
||||
Release v1.8.43 (2017-06-15)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ec2`: Updates service API and documentation
|
||||
* Adds API to describe Amazon FPGA Images (AFIs) available to customers, which includes public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions.
|
||||
* `service/ecs`: Updates service API and documentation
|
||||
* Added support for cpu, memory, and memory reservation container overrides on the RunTask and StartTask APIs.
|
||||
* `service/iot`: Updates service API and documentation
|
||||
* Revert the last release: remove CertificatePem from DescribeCertificate API.
|
||||
* `service/servicecatalog`: Updates service API, documentation, and paginators
|
||||
* Added ProvisioningArtifactSummaries to DescribeProductAsAdmin's output to show the provisioning artifacts belong to the product. Allow filtering by SourceProductId in SearchProductsAsAdmin for AWS Marketplace products. Added a verbose option to DescribeProvisioningArtifact to display the CloudFormation template used to create the provisioning artifact.Added DescribeProvisionedProduct API. Changed the type of ProvisionedProduct's Status to be distinct from Record's Status. New ProvisionedProduct's Status are AVAILABLE, UNDER_CHANGE, TAINTED, ERROR. Changed Record's Status set of values to CREATED, IN_PROGRESS, IN_PROGRESS_IN_ERROR, SUCCEEDED, FAILED.
|
||||
|
||||
### SDK Bugs
|
||||
* `private/model/api`: Fix RESTXML support for XML Namespace [#1343](https://github.com/aws/aws-sdk-go/pull/1343)
|
||||
* Fixes a bug with the SDK's generation of services using the REST XML protocol not annotating shape references with the XML Namespace attribute.
|
||||
* Fixes [#1334](https://github.com/aws/aws-sdk-go/pull/1334)
|
||||
Release v1.8.42 (2017-06-14)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/applicationautoscaling`: Updates service API and documentation
|
||||
* `service/clouddirectory`: Updates service documentation
|
||||
* Documentation update for Cloud Directory
|
||||
|
||||
Release v1.8.41 (2017-06-13)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/configservice`: Updates service API
|
||||
|
||||
Release v1.8.40 (2017-06-13)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/rds`: Updates service API and documentation
|
||||
* API Update for RDS: this update enables copy-on-write, a new Aurora MySQL Compatible Edition feature that allows users to restore their database, and support copy of TDE enabled snapshot cross region.
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/request`: Fix NewErrParamMinLen to use correct ParamMinLenErrCode [#1336](https://github.com/aws/aws-sdk-go/issues/1336)
|
||||
* Fixes the `NewErrParamMinLen` function returning the wrong error code. `ParamMinLenErrCode` should be returned not `ParamMinValueErrCode`.
|
||||
* Fixes [#1335](https://github.com/aws/aws-sdk-go/issues/1335)
|
||||
Release v1.8.39 (2017-06-09)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/opsworks`: Updates service API and documentation
|
||||
* Tagging Support for AWS OpsWorks Stacks
|
||||
|
||||
Release v1.8.38 (2017-06-08)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/iot`: Updates service API and documentation
|
||||
* In addition to using certificate ID, AWS IoT customers can now obtain the description of a certificate with the certificate PEM.
|
||||
* `service/pinpoint`: Updates service API and documentation
|
||||
* Starting today Amazon Pinpoint adds SMS Text and Email Messaging support in addition to Mobile Push Notifications, providing developers, product managers and marketers with multi-channel messaging capabilities to drive user engagement in their applications. Pinpoint also enables backend services and applications to message users directly and provides advanced user and app analytics to understand user behavior and messaging performance.
|
||||
* `service/rekognition`: Updates service API and documentation
|
||||
* API Update for AmazonRekognition: Adding RecognizeCelebrities API
|
||||
|
||||
Release v1.8.37 (2017-06-07)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/codebuild`: Updates service API and documentation
|
||||
* Add support to APIs for privileged containers. This change would allow performing privileged operations like starting the Docker daemon inside builds possible in custom docker images.
|
||||
* `service/greengrass`: Adds new service
|
||||
* AWS Greengrass is software that lets you run local compute, messaging, and device state synchronization for connected devices in a secure way. With AWS Greengrass, connected devices can run AWS Lambda functions, keep device data in sync, and communicate with other devices securely even when not connected to the Internet. Using AWS Lambda, Greengrass ensures your IoT devices can respond quickly to local events, operate with intermittent connections, and minimize the cost of transmitting IoT data to the cloud.
|
||||
|
||||
Release v1.8.36 (2017-06-06)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/acm`: Updates service documentation
|
||||
* Documentation update for AWS Certificate Manager.
|
||||
* `service/cloudfront`: Updates service documentation
|
||||
* Doc update to fix incorrect prefix in S3OriginConfig
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/iot`: Updates service API
|
||||
* Update client side validation for SalesForce action.
|
||||
|
||||
Release v1.8.35 (2017-06-05)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/appstream`: Updates service API and documentation
|
||||
* AppStream 2.0 Custom Security Groups allows you to easily control what network resources your streaming instances and images have access to. You can assign up to 5 security groups per Fleet to control the inbound and outbound network access to your streaming instances to specific IP ranges, network protocols, or ports.
|
||||
* `service/iot`: Updates service API, documentation, paginators, and examples
|
||||
* Added Salesforce action to IoT Rules Engine.
|
||||
|
||||
Release v1.8.34 (2017-06-02)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/kinesisanalytics`: Updates service API, documentation, and paginators
|
||||
* Kinesis Analytics publishes error messages CloudWatch logs in case of application misconfigurations
|
||||
* `service/workdocs`: Updates service API and documentation
|
||||
* This release includes new APIs to manage tags and custom metadata on resources and also new APIs to add and retrieve comments at the document level.
|
||||
|
||||
Release v1.8.33 (2017-06-01)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/codedeploy`: Updates service API and documentation
|
||||
* AWS CodeDeploy has improved how it manages connections to GitHub accounts and repositories. You can now create and store up to 25 connections to GitHub accounts in order to associate AWS CodeDeploy applications with GitHub repositories. Each connection can support multiple repositories. You can create connections to up to 25 different GitHub accounts, or create more than one connection to a single account. The ListGitHubAccountTokenNames command has been introduced to retrieve the names of stored connections to GitHub accounts that you have created. The name of the connection to GitHub used for an AWS CodeDeploy application is also included in the ApplicationInfo structure. Two new fields, lastAttemptedDeployment and lastSuccessfulDeployment, have been added to DeploymentGroupInfo to improve the handling of deployment group information in the AWS CodeDeploy console. Information about these latest deployments can also be retrieved using the GetDeploymentGroup and BatchGetDeployment group requests. Also includes a region update (us-gov-west-1).
|
||||
* `service/cognitoidentityprovider`: Updates service API, documentation, and paginators
|
||||
* `service/elbv2`: Updates service API and documentation
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/lexmodelbuildingservice`: Updates service documentation and examples
|
||||
|
||||
### SDK Enhancements
|
||||
* `aws/defaults`: Exports shared credentials and config default filenames used by the SDK. [#1308](https://github.com/aws/aws-sdk-go/pull/1308)
|
||||
* Adds SharedCredentialsFilename and SharedConfigFilename functions to defaults package.
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/credentials`: Fixes shared credential provider's default filename on Windows. [#1308](https://github.com/aws/aws-sdk-go/pull/1308)
|
||||
* The shared credentials provider would attempt to use the wrong filename on Windows if the `HOME` environment variable was defined.
|
||||
* `service/s3/s3manager`: service/s3/s3manager: Fix Downloader ignoring Range get parameter [#1311](https://github.com/aws/aws-sdk-go/pull/1311)
|
||||
* Fixes the S3 Download Manager ignoring the GetObjectInput's Range parameter. If this parameter is provided it will force the downloader to fallback to a single GetObject request disabling concurrency and automatic part size gets.
|
||||
* Fixes [#1296](https://github.com/aws/aws-sdk-go/issues/1296)
|
||||
Release v1.8.32 (2017-05-31)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/rds`: Updates service API and documentation
|
||||
* Amazon RDS customers can now easily and quickly stop and start their DB instances.
|
||||
|
||||
Release v1.8.31 (2017-05-30)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/clouddirectory`: Updates service API, documentation, and paginators
|
||||
* Cloud Directory has launched support for Typed Links, enabling customers to create object-to-object relationships that are not hierarchical in nature. Typed Links enable customers to quickly query for data along these relationships. Customers can also enforce referential integrity using Typed Links, ensuring data in use is not inadvertently deleted.
|
||||
* `service/s3`: Updates service paginators and examples
|
||||
* New example snippets for Amazon S3.
|
||||
|
||||
Release v1.8.30 (2017-05-25)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/appstream`: Updates service API and documentation
|
||||
* Support added for persistent user storage, backed by S3.
|
||||
* `service/rekognition`: Updates service API and documentation
|
||||
* Updated the CompareFaces API response to include orientation information, unmatched faces, landmarks, pose, and quality of the compared faces.
|
||||
|
||||
Release v1.8.29 (2017-05-24)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/iam`: Updates service API
|
||||
* The unique ID and access key lengths were extended from 32 to 128
|
||||
* `service/storagegateway`: Updates service API and documentation
|
||||
* Two Storage Gateway data types, Tape and TapeArchive, each have a new response element, TapeUsedInBytes. This element helps you manage your virtual tapes. By using TapeUsedInBytes, you can see the amount of data written to each virtual tape.
|
||||
* `service/sts`: Updates service API, documentation, and paginators
|
||||
* The unique ID and access key lengths were extended from 32 to 128.
|
||||
|
||||
Release v1.8.28 (2017-05-23)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/databasemigrationservice`: Updates service API, documentation, paginators, and examples
|
||||
* This release adds support for using Amazon S3 and Amazon DynamoDB as targets for database migration, and using MongoDB as a source for database migration. For more information, see the AWS Database Migration Service documentation.
|
||||
|
||||
Release v1.8.27 (2017-05-22)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/resourcegroupstaggingapi`: Updates service API, documentation, and paginators
|
||||
* You can now specify the number of resources returned per page in GetResources operation, as an optional parameter, to easily manage the list of resources returned by your queries.
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/request`: Add support for PUT temporary redirects (307) [#1283](https://github.com/aws/aws-sdk-go/issues/1283)
|
||||
* Adds support for Go 1.8's GetBody function allowing the SDK's http request using PUT and POST methods to be redirected with temporary redirects with 307 status code.
|
||||
* Fixes: [#1267](https://github.com/aws/aws-sdk-go/issues/1267)
|
||||
* `aws/request`: Add handling for retrying temporary errors during unmarshal [#1289](https://github.com/aws/aws-sdk-go/issues/1289)
|
||||
* Adds support for retrying temporary errors that occur during unmarshaling of a request's response body.
|
||||
* Fixes: [#1275](https://github.com/aws/aws-sdk-go/issues/1275)
|
||||
Release v1.8.26 (2017-05-18)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/athena`: Adds new service
|
||||
* This release adds support for Amazon Athena. Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run.
|
||||
* `service/lightsail`: Updates service API, documentation, and paginators
|
||||
* This release adds new APIs that make it easier to set network port configurations on Lightsail instances. Developers can now make a single request to both open and close public ports on an instance using the PutInstancePublicPorts operation.
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/request`: Fix logging from reporting wrong retry request errors #1281
|
||||
* Fixes the SDK's retry request logging to report the the actual error that occurred, not a stubbed Unknown error message.
|
||||
* Fixes the SDK's response logger to not output the response log multiple times per retry.
|
||||
Release v1.8.25 (2017-05-17)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/autoscaling`: Updates service documentation, paginators, and examples
|
||||
* Various Auto Scaling documentation updates
|
||||
* `service/cloudwatchevents`: Updates service documentation
|
||||
* Various CloudWatch Events documentation updates.
|
||||
* `service/cloudwatchlogs`: Updates service documentation and paginators
|
||||
* Various CloudWatch Logs documentation updates.
|
||||
* `service/polly`: Updates service API
|
||||
* Amazon Polly adds new German voice "Vicki"
|
||||
|
||||
Release v1.8.24 (2017-05-16)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/codedeploy`: Updates service API and documentation
|
||||
* This release introduces the previousRevision field in the responses to the GetDeployment and BatchGetDeployments actions. previousRevision provides information about the application revision that was deployed to the deployment group before the most recent successful deployment. Also, the fileExistsBehavior parameter has been added for CreateDeployment action requests. In the past, if the AWS CodeDeploy agent detected files in a target location that weren't part of the application revision from the most recent successful deployment, it would fail the current deployment by default. This new parameter provides options for how the agent handles these files: fail the deployment, retain the content, or overwrite the content.
|
||||
* `service/gamelift`: Updates service API and documentation
|
||||
* Allow developers to specify how metrics are grouped in CloudWatch for their GameLift fleets. Developers can also specify how many concurrent game sessions activate on a per-instance basis.
|
||||
* `service/inspector`: Updates service API, documentation, paginators, and examples
|
||||
* Adds ability to produce an assessment report that includes detailed and comprehensive results of a specified assessment run.
|
||||
* `service/kms`: Updates service documentation
|
||||
* Update documentation for KMS.
|
||||
|
||||
Release v1.8.23 (2017-05-15)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ssm`: Updates service API and documentation
|
||||
* UpdateAssociation API now supports updating document name and targets of an association. GetAutomationExecution API can return FailureDetails as an optional field to the StepExecution Object, which contains failure type, failure stage as well as other failure related information for a failed step.
|
||||
|
||||
### SDK Enhancements
|
||||
* `aws/session`: SDK should be able to load multiple custom shared config files. [#1258](https://github.com/aws/aws-sdk-go/issues/1258)
|
||||
* This change adds a `SharedConfigFiles` field to the `session.Options` type that allows you to specify the files, and their order, the SDK will use for loading shared configuration and credentials from when the `Session` is created. Use the `NewSessionWithOptions` Session constructor to specify these options. You'll also most likely want to enable support for the shared configuration file's additional attributes by setting `session.Option`'s `SharedConfigState` to `session.SharedConfigEnabled`.
|
||||
|
||||
Release v1.8.22 (2017-05-11)
|
||||
===
|
||||
|
||||
|
|
3
vendor/github.com/aws/aws-sdk-go/CHANGELOG_PENDING.md
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/CHANGELOG_PENDING.md
generated
vendored
|
@ -3,3 +3,6 @@
|
|||
### SDK Enhancements
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/signer/v4`: Fix out of bounds panic in stripExcessSpaces [#1412](https://github.com/aws/aws-sdk-go/pull/1412)
|
||||
* Fixes the out of bands panic in stripExcessSpaces caused by an incorrect calculation of the stripToIdx value. Simplified to code also.
|
||||
* Fixes [#1411](https://github.com/aws/aws-sdk-go/issues/1411)
|
||||
|
|
3
vendor/github.com/aws/aws-sdk-go/Makefile
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/Makefile
generated
vendored
|
@ -6,7 +6,7 @@ LINTIGNOREINFLECT='service/[^/]+/(api|errors|service)\.go:.+(method|const) .+ sh
|
|||
LINTIGNOREINFLECTS3UPLOAD='service/s3/s3manager/upload\.go:.+struct field SSEKMSKeyId should be '
|
||||
LINTIGNOREDEPS='vendor/.+\.go'
|
||||
LINTIGNOREPKGCOMMENT='service/[^/]+/doc_custom.go:.+package comment should be of the form'
|
||||
UNIT_TEST_TAGS="example codegen"
|
||||
UNIT_TEST_TAGS="example codegen awsinclude"
|
||||
|
||||
SDK_WITH_VENDOR_PKGS=$(shell go list -tags ${UNIT_TEST_TAGS} ./... | grep -v "/vendor/src")
|
||||
SDK_ONLY_PKGS=$(shell go list ./... | grep -v "/vendor/")
|
||||
|
@ -153,6 +153,7 @@ get-deps-tests:
|
|||
go get github.com/stretchr/testify
|
||||
go get github.com/smartystreets/goconvey
|
||||
go get golang.org/x/net/html
|
||||
go get golang.org/x/net/http2
|
||||
|
||||
get-deps-verify:
|
||||
@echo "go get SDK verification utilities"
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/README.md
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/README.md
generated
vendored
|
@ -32,7 +32,7 @@ Please use these community resources for getting help. We use the GitHub issues
|
|||
* Ask a question on [StackOverflow](http://stackoverflow.com/) and tag it with the [`aws-sdk-go`](http://stackoverflow.com/questions/tagged/aws-sdk-go) tag.
|
||||
* Come join the AWS SDK for Go community chat on [gitter](https://gitter.im/aws/aws-sdk-go).
|
||||
* Open a support ticket with [AWS Support](http://docs.aws.amazon.com/awssupport/latest/user/getting-started.html).
|
||||
* If you think you may of found a bug, please open an [issue](https://github.com/aws/aws-sdk-go/issues/new).
|
||||
* If you think you may have found a bug, please open an [issue](https://github.com/aws/aws-sdk-go/issues/new).
|
||||
|
||||
## Opening Issues
|
||||
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/aws/client/default_retryer.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/aws/client/default_retryer.go
generated
vendored
|
@ -15,11 +15,11 @@ import (
|
|||
// the MaxRetries method:
|
||||
//
|
||||
// type retryer struct {
|
||||
// service.DefaultRetryer
|
||||
// client.DefaultRetryer
|
||||
// }
|
||||
//
|
||||
// // This implementation always has 100 max retries
|
||||
// func (d retryer) MaxRetries() uint { return 100 }
|
||||
// func (d retryer) MaxRetries() int { return 100 }
|
||||
type DefaultRetryer struct {
|
||||
NumMaxRetries int
|
||||
}
|
||||
|
|
10
vendor/github.com/aws/aws-sdk-go/aws/client/logger.go
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/aws/client/logger.go
generated
vendored
|
@ -97,6 +97,12 @@ func logResponse(r *request.Request) {
|
|||
}
|
||||
}
|
||||
|
||||
r.Handlers.Unmarshal.PushBack(handlerFn)
|
||||
r.Handlers.UnmarshalError.PushBack(handlerFn)
|
||||
const handlerName = "awsdk.client.LogResponse.ResponseBody"
|
||||
|
||||
r.Handlers.Unmarshal.SetBackNamed(request.NamedHandler{
|
||||
Name: handlerName, Fn: handlerFn,
|
||||
})
|
||||
r.Handlers.UnmarshalError.SetBackNamed(request.NamedHandler{
|
||||
Name: handlerName, Fn: handlerFn,
|
||||
})
|
||||
}
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/aws/config.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/config.go
generated
vendored
|
@ -95,7 +95,7 @@ type Config struct {
|
|||
// recoverable failures.
|
||||
//
|
||||
// When nil or the value does not implement the request.Retryer interface,
|
||||
// the request.DefaultRetryer will be used.
|
||||
// the client.DefaultRetryer will be used.
|
||||
//
|
||||
// When both Retryer and MaxRetries are non-nil, the former is used and
|
||||
// the latter ignored.
|
||||
|
|
16
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers.go
generated
vendored
16
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers.go
generated
vendored
|
@ -106,6 +106,22 @@ var SendHandler = request.NamedHandler{
|
|||
sender = sendWithoutFollowRedirects
|
||||
}
|
||||
|
||||
if request.NoBody == r.HTTPRequest.Body {
|
||||
// Strip off the request body if the NoBody reader was used as a
|
||||
// place holder for a request body. This prevents the SDK from
|
||||
// making requests with a request body when it would be invalid
|
||||
// to do so.
|
||||
//
|
||||
// Use a shallow copy of the http.Request to ensure the race condition
|
||||
// of transport on Body will not trigger
|
||||
reqOrig, reqCopy := r.HTTPRequest, *r.HTTPRequest
|
||||
reqCopy.Body = nil
|
||||
r.HTTPRequest = &reqCopy
|
||||
defer func() {
|
||||
r.HTTPRequest = reqOrig
|
||||
}()
|
||||
}
|
||||
|
||||
var err error
|
||||
r.HTTPResponse, err = sender(r)
|
||||
if err != nil {
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers_1_8_test.go
generated
vendored
Normal file
64
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers_1_8_test.go
generated
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
// +build go1.8
|
||||
|
||||
package corehandlers_test
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"net/http"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
"golang.org/x/net/http2"
|
||||
)
|
||||
|
||||
func TestSendHandler_HEADNoBody(t *testing.T) {
|
||||
TLSBundleCertFile, TLSBundleKeyFile, TLSBundleCAFile, err := awstesting.CreateTLSBundleFiles()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
defer awstesting.CleanupTLSBundleFiles(TLSBundleCertFile, TLSBundleKeyFile, TLSBundleCAFile)
|
||||
|
||||
endpoint, err := awstesting.CreateTLSServer(TLSBundleCertFile, TLSBundleKeyFile, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
transport := http.DefaultTransport.(*http.Transport)
|
||||
// test server's certificate is self-signed certificate
|
||||
transport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
|
||||
http2.ConfigureTransport(transport)
|
||||
|
||||
sess, err := session.NewSessionWithOptions(session.Options{
|
||||
Config: aws.Config{
|
||||
HTTPClient: &http.Client{},
|
||||
Endpoint: aws.String(endpoint),
|
||||
Region: aws.String("mock-region"),
|
||||
Credentials: credentials.AnonymousCredentials,
|
||||
S3ForcePathStyle: aws.Bool(true),
|
||||
},
|
||||
})
|
||||
|
||||
svc := s3.New(sess)
|
||||
|
||||
req, _ := svc.HeadObjectRequest(&s3.HeadObjectInput{
|
||||
Bucket: aws.String("bucketname"),
|
||||
Key: aws.String("keyname"),
|
||||
})
|
||||
|
||||
if e, a := request.NoBody, req.HTTPRequest.Body; e != a {
|
||||
t.Fatalf("expect %T request body, got %T", e, a)
|
||||
}
|
||||
|
||||
err = req.Send()
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := http.StatusOK, req.HTTPResponse.StatusCode; e != a {
|
||||
t.Errorf("expect %d status code, got %d", e, a)
|
||||
}
|
||||
}
|
5
vendor/github.com/aws/aws-sdk-go/aws/credentials/plugincreds/doc_1_7.go
generated
vendored
Normal file
5
vendor/github.com/aws/aws-sdk-go/aws/credentials/plugincreds/doc_1_7.go
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
// +build !go1.8
|
||||
|
||||
// Package plugincreds provides usage of Go plugins for providing credentials
|
||||
// to the SDK. Only available with Go 1.8 and above.
|
||||
package plugincreds
|
211
vendor/github.com/aws/aws-sdk-go/aws/credentials/plugincreds/provider.go
generated
vendored
Normal file
211
vendor/github.com/aws/aws-sdk-go/aws/credentials/plugincreds/provider.go
generated
vendored
Normal file
|
@ -0,0 +1,211 @@
|
|||
// +build go1.8
|
||||
|
||||
// Package plugincreds implements a credentials provider sourced from a Go
|
||||
// plugin. This package allows you to use a Go plugin to retrieve AWS credentials
|
||||
// for the SDK to use for service API calls.
|
||||
//
|
||||
// As of Go 1.8 plugins are only supported on the Linux platform.
|
||||
//
|
||||
// Plugin Symbol Name
|
||||
//
|
||||
// The "GetAWSSDKCredentialProvider" is the symbol name that will be used to
|
||||
// lookup the credentials provider getter from the plugin. If you want to use a
|
||||
// custom symbol name you should use GetPluginProviderFnsByName to lookup the
|
||||
// symbol by a custom name.
|
||||
//
|
||||
// This symbol is a function that returns two additional functions. One to
|
||||
// retrieve the credentials, and another to determine if the credentials have
|
||||
// expired.
|
||||
//
|
||||
// Plugin Symbol Signature
|
||||
//
|
||||
// The plugin credential provider requires the symbol to match the
|
||||
// following signature.
|
||||
//
|
||||
// func() (RetrieveFn func() (key, secret, token string, err error), IsExpiredFn func() bool)
|
||||
//
|
||||
// Plugin Implementation Exmaple
|
||||
//
|
||||
// The following is an example implementation of a SDK credential provider using
|
||||
// the plugin provider in this package. See the SDK's example/aws/credential/plugincreds/plugin
|
||||
// folder for a runnable example of this.
|
||||
//
|
||||
// package main
|
||||
//
|
||||
// func main() {}
|
||||
//
|
||||
// var myCredProvider provider
|
||||
//
|
||||
// // Build: go build -o plugin.so -buildmode=plugin plugin.go
|
||||
// func init() {
|
||||
// // Initialize a mock credential provider with stubs
|
||||
// myCredProvider = provider{"a","b","c"}
|
||||
// }
|
||||
//
|
||||
// // GetAWSSDKCredentialProvider is the symbol SDK will lookup and use to
|
||||
// // get the credential provider's retrieve and isExpired functions.
|
||||
// func GetAWSSDKCredentialProvider() (func() (key, secret, token string, err error), func() bool) {
|
||||
// return myCredProvider.Retrieve, myCredProvider.IsExpired
|
||||
// }
|
||||
//
|
||||
// // mock implementation of a type that returns retrieves credentials and
|
||||
// // returns if they have expired.
|
||||
// type provider struct {
|
||||
// key, secret, token string
|
||||
// }
|
||||
//
|
||||
// func (p provider) Retrieve() (key, secret, token string, err error) {
|
||||
// return p.key, p.secret, p.token, nil
|
||||
// }
|
||||
//
|
||||
// func (p *provider) IsExpired() bool {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// Configuring SDK for Plugin Credentials
|
||||
//
|
||||
// To configure the SDK to use a plugin's credential provider you'll need to first
|
||||
// open the plugin file using the plugin standard library package. Once you have
|
||||
// a handle to the plugin you can use the NewCredentials function of this package
|
||||
// to create a new credentials.Credentials value that can be set as the
|
||||
// credentials loader of a Session or Config. See the SDK's example/aws/credential/plugincreds
|
||||
// folder for a runnable example of this.
|
||||
//
|
||||
// // Open plugin, and load it into the process.
|
||||
// p, err := plugin.Open("somefile.so")
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
//
|
||||
// // Create a new Credentials value which will source the provider's Retrieve
|
||||
// // and IsExpired functions from the plugin.
|
||||
// creds, err := plugincreds.NewCredentials(p)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
//
|
||||
// // Example to configure a Session with the newly created credentials that
|
||||
// // will be sourced using the plugin's functionality.
|
||||
// sess := session.Must(session.NewSession(&aws.Config{
|
||||
// Credentials: creds,
|
||||
// }))
|
||||
package plugincreds
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"plugin"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
)
|
||||
|
||||
// ProviderSymbolName the symbol name the SDK will use to lookup the plugin
|
||||
// provider value from.
|
||||
const ProviderSymbolName = `GetAWSSDKCredentialProvider`
|
||||
|
||||
// ProviderName is the name this credentials provider will label any returned
|
||||
// credentials Value with.
|
||||
const ProviderName = `PluginCredentialsProvider`
|
||||
|
||||
const (
|
||||
// ErrCodeLookupSymbolError failed to lookup symbol
|
||||
ErrCodeLookupSymbolError = "LookupSymbolError"
|
||||
|
||||
// ErrCodeInvalidSymbolError symbol invalid
|
||||
ErrCodeInvalidSymbolError = "InvalidSymbolError"
|
||||
|
||||
// ErrCodePluginRetrieveNil Retrieve function was nil
|
||||
ErrCodePluginRetrieveNil = "PluginRetrieveNilError"
|
||||
|
||||
// ErrCodePluginIsExpiredNil IsExpired Function was nil
|
||||
ErrCodePluginIsExpiredNil = "PluginIsExpiredNilError"
|
||||
|
||||
// ErrCodePluginProviderRetrieve plugin provider's retrieve returned error
|
||||
ErrCodePluginProviderRetrieve = "PluginProviderRetrieveError"
|
||||
)
|
||||
|
||||
// Provider is the credentials provider that will use the plugin provided
|
||||
// Retrieve and IsExpired functions to retrieve credentials.
|
||||
type Provider struct {
|
||||
RetrieveFn func() (key, secret, token string, err error)
|
||||
IsExpiredFn func() bool
|
||||
}
|
||||
|
||||
// NewCredentials returns a new Credentials loader using the plugin provider.
|
||||
// If the symbol isn't found or is invalid in the plugin an error will be
|
||||
// returned.
|
||||
func NewCredentials(p *plugin.Plugin) (*credentials.Credentials, error) {
|
||||
retrieve, isExpired, err := GetPluginProviderFns(p)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return credentials.NewCredentials(Provider{
|
||||
RetrieveFn: retrieve,
|
||||
IsExpiredFn: isExpired,
|
||||
}), nil
|
||||
}
|
||||
|
||||
// Retrieve will return the credentials Value if they were successfully retrieved
|
||||
// from the underlying plugin provider. An error will be returned otherwise.
|
||||
func (p Provider) Retrieve() (credentials.Value, error) {
|
||||
creds := credentials.Value{
|
||||
ProviderName: ProviderName,
|
||||
}
|
||||
|
||||
k, s, t, err := p.RetrieveFn()
|
||||
if err != nil {
|
||||
return creds, awserr.New(ErrCodePluginProviderRetrieve,
|
||||
"failed to retrieve credentials with plugin provider", err)
|
||||
}
|
||||
|
||||
creds.AccessKeyID = k
|
||||
creds.SecretAccessKey = s
|
||||
creds.SessionToken = t
|
||||
|
||||
return creds, nil
|
||||
}
|
||||
|
||||
// IsExpired will return the expired state of the underlying plugin provider.
|
||||
func (p Provider) IsExpired() bool {
|
||||
return p.IsExpiredFn()
|
||||
}
|
||||
|
||||
// GetPluginProviderFns returns the plugin's Retrieve and IsExpired functions
|
||||
// returned by the plugin's credential provider getter.
|
||||
//
|
||||
// Uses ProviderSymbolName as the symbol name when lookup up the symbol. If you
|
||||
// want to use a different symbol name, use GetPluginProviderFnsByName.
|
||||
func GetPluginProviderFns(p *plugin.Plugin) (func() (key, secret, token string, err error), func() bool, error) {
|
||||
return GetPluginProviderFnsByName(p, ProviderSymbolName)
|
||||
}
|
||||
|
||||
// GetPluginProviderFnsByName returns the plugin's Retrieve and IsExpired functions
|
||||
// returned by the plugin's credential provider getter.
|
||||
//
|
||||
// Same as GetPluginProviderFns, but takes a custom symbolName to lookup with.
|
||||
func GetPluginProviderFnsByName(p *plugin.Plugin, symbolName string) (func() (key, secret, token string, err error), func() bool, error) {
|
||||
sym, err := p.Lookup(symbolName)
|
||||
if err != nil {
|
||||
return nil, nil, awserr.New(ErrCodeLookupSymbolError,
|
||||
fmt.Sprintf("failed to lookup %s plugin provider symbol", symbolName), err)
|
||||
}
|
||||
|
||||
fn, ok := sym.(func() (func() (key, secret, token string, err error), func() bool))
|
||||
if !ok {
|
||||
return nil, nil, awserr.New(ErrCodeInvalidSymbolError,
|
||||
fmt.Sprintf("symbol %T, does not match the 'func() (func() (key, secret, token string, err error), func() bool)' type", sym), nil)
|
||||
}
|
||||
|
||||
retrieveFn, isExpiredFn := fn()
|
||||
if retrieveFn == nil {
|
||||
return nil, nil, awserr.New(ErrCodePluginRetrieveNil,
|
||||
"the plugin provider retrieve function cannot be nil", nil)
|
||||
}
|
||||
if isExpiredFn == nil {
|
||||
return nil, nil, awserr.New(ErrCodePluginIsExpiredNil,
|
||||
"the plugin provider isExpired function cannot be nil", nil)
|
||||
}
|
||||
|
||||
return retrieveFn, isExpiredFn, nil
|
||||
}
|
71
vendor/github.com/aws/aws-sdk-go/aws/credentials/plugincreds/provider_test.go
generated
vendored
Normal file
71
vendor/github.com/aws/aws-sdk-go/aws/credentials/plugincreds/provider_test.go
generated
vendored
Normal file
|
@ -0,0 +1,71 @@
|
|||
// +build go1.8,awsinclude
|
||||
|
||||
package plugincreds
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
)
|
||||
|
||||
func TestProvider_Passthrough(t *testing.T) {
|
||||
p := Provider{
|
||||
RetrieveFn: func() (string, string, string, error) {
|
||||
return "key", "secret", "token", nil
|
||||
},
|
||||
IsExpiredFn: func() bool {
|
||||
return false
|
||||
},
|
||||
}
|
||||
|
||||
actual, err := p.Retrieve()
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
expect := credentials.Value{
|
||||
AccessKeyID: "key",
|
||||
SecretAccessKey: "secret",
|
||||
SessionToken: "token",
|
||||
ProviderName: ProviderName,
|
||||
}
|
||||
if expect != actual {
|
||||
t.Errorf("expect %+v credentials, got %+v", expect, actual)
|
||||
}
|
||||
}
|
||||
|
||||
func TestProvider_Error(t *testing.T) {
|
||||
expectErr := fmt.Errorf("expect error")
|
||||
|
||||
p := Provider{
|
||||
RetrieveFn: func() (string, string, string, error) {
|
||||
return "", "", "", expectErr
|
||||
},
|
||||
IsExpiredFn: func() bool {
|
||||
return false
|
||||
},
|
||||
}
|
||||
|
||||
actual, err := p.Retrieve()
|
||||
if err == nil {
|
||||
t.Fatalf("expect error, got none")
|
||||
}
|
||||
|
||||
aerr := err.(awserr.Error)
|
||||
if e, a := ErrCodePluginProviderRetrieve, aerr.Code(); e != a {
|
||||
t.Errorf("expect %s error code, got %s", e, a)
|
||||
}
|
||||
|
||||
if e, a := expectErr, aerr.OrigErr(); e != a {
|
||||
t.Errorf("expect %v cause error, got %v", e, a)
|
||||
}
|
||||
|
||||
expect := credentials.Value{
|
||||
ProviderName: ProviderName,
|
||||
}
|
||||
if expect != actual {
|
||||
t.Errorf("expect %+v credentials, got %+v", expect, actual)
|
||||
}
|
||||
}
|
33
vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider.go
generated
vendored
33
vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider.go
generated
vendored
|
@ -3,11 +3,11 @@ package credentials
|
|||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/go-ini/ini"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/internal/shareddefaults"
|
||||
)
|
||||
|
||||
// SharedCredsProviderName provides a name of SharedCreds provider
|
||||
|
@ -15,8 +15,6 @@ const SharedCredsProviderName = "SharedCredentialsProvider"
|
|||
|
||||
var (
|
||||
// ErrSharedCredentialsHomeNotFound is emitted when the user directory cannot be found.
|
||||
//
|
||||
// @readonly
|
||||
ErrSharedCredentialsHomeNotFound = awserr.New("UserHomeNotFound", "user home directory not found.", nil)
|
||||
)
|
||||
|
||||
|
@ -117,22 +115,23 @@ func loadProfile(filename, profile string) (Value, error) {
|
|||
//
|
||||
// Will return an error if the user's home directory path cannot be found.
|
||||
func (p *SharedCredentialsProvider) filename() (string, error) {
|
||||
if p.Filename == "" {
|
||||
if p.Filename = os.Getenv("AWS_SHARED_CREDENTIALS_FILE"); p.Filename != "" {
|
||||
return p.Filename, nil
|
||||
}
|
||||
|
||||
homeDir := os.Getenv("HOME") // *nix
|
||||
if homeDir == "" { // Windows
|
||||
homeDir = os.Getenv("USERPROFILE")
|
||||
}
|
||||
if homeDir == "" {
|
||||
return "", ErrSharedCredentialsHomeNotFound
|
||||
}
|
||||
|
||||
p.Filename = filepath.Join(homeDir, ".aws", "credentials")
|
||||
if len(p.Filename) != 0 {
|
||||
return p.Filename, nil
|
||||
}
|
||||
|
||||
if p.Filename = os.Getenv("AWS_SHARED_CREDENTIALS_FILE"); len(p.Filename) != 0 {
|
||||
return p.Filename, nil
|
||||
}
|
||||
|
||||
if home := shareddefaults.UserHomeDir(); len(home) == 0 {
|
||||
// Backwards compatibility of home directly not found error being returned.
|
||||
// This error is too verbose, failure when opening the file would of been
|
||||
// a better error to return.
|
||||
return "", ErrSharedCredentialsHomeNotFound
|
||||
}
|
||||
|
||||
p.Filename = shareddefaults.SharedCredentialsFilename()
|
||||
|
||||
return p.Filename, nil
|
||||
}
|
||||
|
||||
|
|
20
vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider_test.go
generated
vendored
20
vendor/github.com/aws/aws-sdk-go/aws/credentials/shared_credentials_provider_test.go
generated
vendored
|
@ -5,6 +5,7 @@ import (
|
|||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/internal/shareddefaults"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@ -97,6 +98,25 @@ func TestSharedCredentialsProviderColonInCredFile(t *testing.T) {
|
|||
assert.Empty(t, creds.SessionToken, "Expect no token")
|
||||
}
|
||||
|
||||
func TestSharedCredentialsProvider_DefaultFilename(t *testing.T) {
|
||||
os.Clearenv()
|
||||
os.Setenv("USERPROFILE", "profile_dir")
|
||||
os.Setenv("HOME", "home_dir")
|
||||
|
||||
// default filename and profile
|
||||
p := SharedCredentialsProvider{}
|
||||
|
||||
filename, err := p.filename()
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
if e, a := shareddefaults.SharedCredentialsFilename(), filename; e != a {
|
||||
t.Errorf("expect %q filename, got %q", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func BenchmarkSharedCredentialsProvider(b *testing.B) {
|
||||
os.Clearenv()
|
||||
|
||||
|
|
27
vendor/github.com/aws/aws-sdk-go/aws/defaults/shared_config.go
generated
vendored
Normal file
27
vendor/github.com/aws/aws-sdk-go/aws/defaults/shared_config.go
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
package defaults
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/internal/shareddefaults"
|
||||
)
|
||||
|
||||
// SharedCredentialsFilename returns the SDK's default file path
|
||||
// for the shared credentials file.
|
||||
//
|
||||
// Builds the shared config file path based on the OS's platform.
|
||||
//
|
||||
// - Linux/Unix: $HOME/.aws/credentials
|
||||
// - Windows: %USERPROFILE%\.aws\credentials
|
||||
func SharedCredentialsFilename() string {
|
||||
return shareddefaults.SharedCredentialsFilename()
|
||||
}
|
||||
|
||||
// SharedConfigFilename returns the SDK's default file path for
|
||||
// the shared config file.
|
||||
//
|
||||
// Builds the shared config file path based on the OS's platform.
|
||||
//
|
||||
// - Linux/Unix: $HOME/.aws/config
|
||||
// - Windows: %USERPROFILE%\.aws\config
|
||||
func SharedConfigFilename() string {
|
||||
return shareddefaults.SharedConfigFilename()
|
||||
}
|
179
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
179
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
|
@ -47,6 +47,7 @@ const (
|
|||
ApigatewayServiceID = "apigateway" // Apigateway.
|
||||
ApplicationAutoscalingServiceID = "application-autoscaling" // ApplicationAutoscaling.
|
||||
Appstream2ServiceID = "appstream2" // Appstream2.
|
||||
AthenaServiceID = "athena" // Athena.
|
||||
AutoscalingServiceID = "autoscaling" // Autoscaling.
|
||||
BatchServiceID = "batch" // Batch.
|
||||
BudgetsServiceID = "budgets" // Budgets.
|
||||
|
@ -90,6 +91,7 @@ const (
|
|||
FirehoseServiceID = "firehose" // Firehose.
|
||||
GameliftServiceID = "gamelift" // Gamelift.
|
||||
GlacierServiceID = "glacier" // Glacier.
|
||||
GreengrassServiceID = "greengrass" // Greengrass.
|
||||
HealthServiceID = "health" // Health.
|
||||
IamServiceID = "iam" // Iam.
|
||||
ImportexportServiceID = "importexport" // Importexport.
|
||||
|
@ -259,9 +261,11 @@ var awsPartition = partition{
|
|||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
|
@ -307,6 +311,17 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"athena": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"autoscaling": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"http", "https"},
|
||||
|
@ -331,7 +346,14 @@ var awsPartition = partition{
|
|||
"batch": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-east-1": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"budgets": service{
|
||||
|
@ -447,20 +469,33 @@ var awsPartition = partition{
|
|||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"codecommit": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"codedeploy": service{
|
||||
|
@ -488,11 +523,14 @@ var awsPartition = partition{
|
|||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -639,11 +677,15 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -944,6 +986,18 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"greengrass": service{
|
||||
IsRegionalized: boxedTrue,
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"health": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -987,6 +1041,7 @@ var awsPartition = partition{
|
|||
"ap-southeast-2": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -1063,9 +1118,11 @@ var awsPartition = partition{
|
|||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
|
@ -1075,7 +1132,16 @@ var awsPartition = partition{
|
|||
"lightsail": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-east-1": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"logs": service{
|
||||
|
@ -1419,9 +1485,16 @@ var awsPartition = partition{
|
|||
"sms": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"snowball": service{
|
||||
|
@ -1488,10 +1561,13 @@ var awsPartition = partition{
|
|||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -1503,6 +1579,7 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
|
@ -1531,7 +1608,7 @@ var awsPartition = partition{
|
|||
},
|
||||
"streams.dynamodb": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"http", "http", "https", "https"},
|
||||
Protocols: []string{"http", "https"},
|
||||
CredentialScope: credentialScope{
|
||||
Service: "dynamodb",
|
||||
},
|
||||
|
@ -1586,9 +1663,33 @@ var awsPartition = partition{
|
|||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
"us-east-1-fips": endpoint{
|
||||
Hostname: "sts-fips.us-east-1.amazonaws.com",
|
||||
CredentialScope: credentialScope{
|
||||
Region: "us-east-1",
|
||||
},
|
||||
},
|
||||
"us-east-2": endpoint{},
|
||||
"us-east-2-fips": endpoint{
|
||||
Hostname: "sts-fips.us-east-2.amazonaws.com",
|
||||
CredentialScope: credentialScope{
|
||||
Region: "us-east-2",
|
||||
},
|
||||
},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-1-fips": endpoint{
|
||||
Hostname: "sts-fips.us-west-1.amazonaws.com",
|
||||
CredentialScope: credentialScope{
|
||||
Region: "us-west-1",
|
||||
},
|
||||
},
|
||||
"us-west-2": endpoint{},
|
||||
"us-west-2-fips": endpoint{
|
||||
Hostname: "sts-fips.us-west-2.amazonaws.com",
|
||||
CredentialScope: credentialScope{
|
||||
Region: "us-west-2",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"support": service{
|
||||
|
@ -1688,8 +1789,10 @@ var awsPartition = partition{
|
|||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -1791,6 +1894,18 @@ var awscnPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"ecr": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"cn-north-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"ecs": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"cn-north-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"elasticache": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -1904,6 +2019,12 @@ var awscnPartition = partition{
|
|||
"cn-north-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"ssm": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"cn-north-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"storagegateway": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -1912,7 +2033,7 @@ var awscnPartition = partition{
|
|||
},
|
||||
"streams.dynamodb": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"http", "http", "https", "https"},
|
||||
Protocols: []string{"http", "https"},
|
||||
CredentialScope: credentialScope{
|
||||
Service: "dynamodb",
|
||||
},
|
||||
|
@ -1994,6 +2115,12 @@ var awsusgovPartition = partition{
|
|||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"codedeploy": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"config": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2051,6 +2178,12 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"events": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"glacier": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2084,6 +2217,12 @@ var awsusgovPartition = partition{
|
|||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"lambda": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"logs": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2108,6 +2247,12 @@ var awsusgovPartition = partition{
|
|||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"rekognition": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"s3": service{
|
||||
Defaults: endpoint{
|
||||
SignatureVersions: []string{"s3", "s3v4"},
|
||||
|
@ -2125,6 +2270,12 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"sms": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"snowball": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2148,6 +2299,12 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"ssm": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"streams.dynamodb": service{
|
||||
Defaults: endpoint{
|
||||
CredentialScope: credentialScope{
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/aws/endpoints/doc.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/aws/endpoints/doc.go
generated
vendored
|
@ -21,12 +21,12 @@
|
|||
// partitions := resolver.(endpoints.EnumPartitions).Partitions()
|
||||
//
|
||||
// for _, p := range partitions {
|
||||
// fmt.Println("Regions for", p.Name)
|
||||
// fmt.Println("Regions for", p.ID())
|
||||
// for id, _ := range p.Regions() {
|
||||
// fmt.Println("*", id)
|
||||
// }
|
||||
//
|
||||
// fmt.Println("Services for", p.Name)
|
||||
// fmt.Println("Services for", p.ID())
|
||||
// for id, _ := range p.Services() {
|
||||
// fmt.Println("*", id)
|
||||
// }
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/aws/logger.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/aws/logger.go
generated
vendored
|
@ -26,14 +26,14 @@ func (l *LogLevelType) Value() LogLevelType {
|
|||
|
||||
// Matches returns true if the v LogLevel is enabled by this LogLevel. Should be
|
||||
// used with logging sub levels. Is safe to use on nil value LogLevelTypes. If
|
||||
// LogLevel is nill, will default to LogOff comparison.
|
||||
// LogLevel is nil, will default to LogOff comparison.
|
||||
func (l *LogLevelType) Matches(v LogLevelType) bool {
|
||||
c := l.Value()
|
||||
return c&v == v
|
||||
}
|
||||
|
||||
// AtLeast returns true if this LogLevel is at least high enough to satisfies v.
|
||||
// Is safe to use on nil value LogLevelTypes. If LogLevel is nill, will default
|
||||
// Is safe to use on nil value LogLevelTypes. If LogLevel is nil, will default
|
||||
// to LogOff comparison.
|
||||
func (l *LogLevelType) AtLeast(v LogLevelType) bool {
|
||||
c := l.Value()
|
||||
|
|
31
vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go
generated
vendored
31
vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go
generated
vendored
|
@ -158,6 +158,37 @@ func (l *HandlerList) RemoveByName(name string) {
|
|||
}
|
||||
}
|
||||
|
||||
// SwapNamed will swap out any existing handlers with the same name as the
|
||||
// passed in NamedHandler returning true if handlers were swapped. False is
|
||||
// returned otherwise.
|
||||
func (l *HandlerList) SwapNamed(n NamedHandler) (swapped bool) {
|
||||
for i := 0; i < len(l.list); i++ {
|
||||
if l.list[i].Name == n.Name {
|
||||
l.list[i].Fn = n.Fn
|
||||
swapped = true
|
||||
}
|
||||
}
|
||||
|
||||
return swapped
|
||||
}
|
||||
|
||||
// SetBackNamed will replace the named handler if it exists in the handler list.
|
||||
// If the handler does not exist the handler will be added to the end of the list.
|
||||
func (l *HandlerList) SetBackNamed(n NamedHandler) {
|
||||
if !l.SwapNamed(n) {
|
||||
l.PushBackNamed(n)
|
||||
}
|
||||
}
|
||||
|
||||
// SetFrontNamed will replace the named handler if it exists in the handler list.
|
||||
// If the handler does not exist the handler will be added to the beginning of
|
||||
// the list.
|
||||
func (l *HandlerList) SetFrontNamed(n NamedHandler) {
|
||||
if !l.SwapNamed(n) {
|
||||
l.PushFrontNamed(n)
|
||||
}
|
||||
}
|
||||
|
||||
// Run executes all handlers in the list with a given request object.
|
||||
func (l *HandlerList) Run(r *Request) {
|
||||
for i, h := range l.list {
|
||||
|
|
127
vendor/github.com/aws/aws-sdk-go/aws/request/handlers_test.go
generated
vendored
127
vendor/github.com/aws/aws-sdk-go/aws/request/handlers_test.go
generated
vendored
|
@ -1,10 +1,9 @@
|
|||
package request_test
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/awstesting/unit"
|
||||
|
@ -20,8 +19,12 @@ func TestHandlerList(t *testing.T) {
|
|||
r.Data = s
|
||||
})
|
||||
l.Run(r)
|
||||
assert.Equal(t, "a", s)
|
||||
assert.Equal(t, "a", r.Data)
|
||||
if e, a := "a", s; e != a {
|
||||
t.Errorf("expect %q update got %q", e, a)
|
||||
}
|
||||
if e, a := "a", r.Data.(string); e != a {
|
||||
t.Errorf("expect %q data update got %q", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestMultipleHandlers(t *testing.T) {
|
||||
|
@ -43,9 +46,110 @@ func TestNamedHandlers(t *testing.T) {
|
|||
l.PushBackNamed(named)
|
||||
l.PushBackNamed(named2)
|
||||
l.PushBack(func(r *request.Request) {})
|
||||
assert.Equal(t, 4, l.Len())
|
||||
if e, a := 4, l.Len(); e != a {
|
||||
t.Errorf("expect %d list length, got %d", e, a)
|
||||
}
|
||||
l.Remove(named)
|
||||
assert.Equal(t, 2, l.Len())
|
||||
if e, a := 2, l.Len(); e != a {
|
||||
t.Errorf("expect %d list length, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSwapHandlers(t *testing.T) {
|
||||
firstHandlerCalled := 0
|
||||
swappedOutHandlerCalled := 0
|
||||
swappedInHandlerCalled := 0
|
||||
|
||||
l := request.HandlerList{}
|
||||
named := request.NamedHandler{Name: "Name", Fn: func(r *request.Request) {
|
||||
firstHandlerCalled++
|
||||
}}
|
||||
named2 := request.NamedHandler{Name: "SwapOutName", Fn: func(r *request.Request) {
|
||||
swappedOutHandlerCalled++
|
||||
}}
|
||||
l.PushBackNamed(named)
|
||||
l.PushBackNamed(named2)
|
||||
l.PushBackNamed(named)
|
||||
|
||||
l.SwapNamed(request.NamedHandler{Name: "SwapOutName", Fn: func(r *request.Request) {
|
||||
swappedInHandlerCalled++
|
||||
}})
|
||||
|
||||
l.Run(&request.Request{})
|
||||
|
||||
if e, a := 2, firstHandlerCalled; e != a {
|
||||
t.Errorf("expect first handler to be called %d, was called %d times", e, a)
|
||||
}
|
||||
if n := swappedOutHandlerCalled; n != 0 {
|
||||
t.Errorf("expect swapped out handler to not be called, was called %d times", n)
|
||||
}
|
||||
if e, a := 1, swappedInHandlerCalled; e != a {
|
||||
t.Errorf("expect swapped in handler to be called %d, was called %d times", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSetBackNamed_Exists(t *testing.T) {
|
||||
firstHandlerCalled := 0
|
||||
swappedOutHandlerCalled := 0
|
||||
swappedInHandlerCalled := 0
|
||||
|
||||
l := request.HandlerList{}
|
||||
named := request.NamedHandler{Name: "Name", Fn: func(r *request.Request) {
|
||||
firstHandlerCalled++
|
||||
}}
|
||||
named2 := request.NamedHandler{Name: "SwapOutName", Fn: func(r *request.Request) {
|
||||
swappedOutHandlerCalled++
|
||||
}}
|
||||
l.PushBackNamed(named)
|
||||
l.PushBackNamed(named2)
|
||||
|
||||
l.SetBackNamed(request.NamedHandler{Name: "SwapOutName", Fn: func(r *request.Request) {
|
||||
swappedInHandlerCalled++
|
||||
}})
|
||||
|
||||
l.Run(&request.Request{})
|
||||
|
||||
if e, a := 1, firstHandlerCalled; e != a {
|
||||
t.Errorf("expect first handler to be called %d, was called %d times", e, a)
|
||||
}
|
||||
if n := swappedOutHandlerCalled; n != 0 {
|
||||
t.Errorf("expect swapped out handler to not be called, was called %d times", n)
|
||||
}
|
||||
if e, a := 1, swappedInHandlerCalled; e != a {
|
||||
t.Errorf("expect swapped in handler to be called %d, was called %d times", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSetBackNamed_NotExists(t *testing.T) {
|
||||
firstHandlerCalled := 0
|
||||
secondHandlerCalled := 0
|
||||
swappedInHandlerCalled := 0
|
||||
|
||||
l := request.HandlerList{}
|
||||
named := request.NamedHandler{Name: "Name", Fn: func(r *request.Request) {
|
||||
firstHandlerCalled++
|
||||
}}
|
||||
named2 := request.NamedHandler{Name: "OtherName", Fn: func(r *request.Request) {
|
||||
secondHandlerCalled++
|
||||
}}
|
||||
l.PushBackNamed(named)
|
||||
l.PushBackNamed(named2)
|
||||
|
||||
l.SetBackNamed(request.NamedHandler{Name: "SwapOutName", Fn: func(r *request.Request) {
|
||||
swappedInHandlerCalled++
|
||||
}})
|
||||
|
||||
l.Run(&request.Request{})
|
||||
|
||||
if e, a := 1, firstHandlerCalled; e != a {
|
||||
t.Errorf("expect first handler to be called %d, was called %d times", e, a)
|
||||
}
|
||||
if e, a := 1, secondHandlerCalled; e != a {
|
||||
t.Errorf("expect second handler to be called %d, was called %d times", e, a)
|
||||
}
|
||||
if e, a := 1, swappedInHandlerCalled; e != a {
|
||||
t.Errorf("expect swapped in handler to be called %d, was called %d times", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestLoggedHandlers(t *testing.T) {
|
||||
|
@ -63,7 +167,10 @@ func TestLoggedHandlers(t *testing.T) {
|
|||
l.PushBackNamed(named2)
|
||||
l.Run(&request.Request{Config: cfg})
|
||||
|
||||
assert.Equal(t, expectedHandlers, loggedHandlers)
|
||||
if !reflect.DeepEqual(expectedHandlers, loggedHandlers) {
|
||||
t.Errorf("expect handlers executed %v to match logged handlers, %v",
|
||||
expectedHandlers, loggedHandlers)
|
||||
}
|
||||
}
|
||||
|
||||
func TestStopHandlers(t *testing.T) {
|
||||
|
@ -81,11 +188,13 @@ func TestStopHandlers(t *testing.T) {
|
|||
called++
|
||||
}})
|
||||
l.PushBackNamed(request.NamedHandler{Name: "name3", Fn: func(r *request.Request) {
|
||||
assert.Fail(t, "third handler should not be called")
|
||||
t.Fatalf("third handler should not be called")
|
||||
}})
|
||||
l.Run(&request.Request{})
|
||||
|
||||
assert.Equal(t, 2, called, "Expect only two handlers to be called")
|
||||
if e, a := 2, called; e != a {
|
||||
t.Errorf("expect %d handlers called, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func BenchmarkNewRequest(b *testing.B) {
|
||||
|
|
28
vendor/github.com/aws/aws-sdk-go/aws/request/request.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go/aws/request/request.go
generated
vendored
|
@ -338,10 +338,7 @@ func (r *Request) Sign() error {
|
|||
return r.Error
|
||||
}
|
||||
|
||||
// ResetBody rewinds the request body backto its starting position, and
|
||||
// set's the HTTP Request body reference. When the body is read prior
|
||||
// to being sent in the HTTP request it will need to be rewound.
|
||||
func (r *Request) ResetBody() {
|
||||
func (r *Request) getNextRequestBody() (io.ReadCloser, error) {
|
||||
if r.safeBody != nil {
|
||||
r.safeBody.Close()
|
||||
}
|
||||
|
@ -363,14 +360,14 @@ func (r *Request) ResetBody() {
|
|||
// Related golang/go#18257
|
||||
l, err := computeBodyLength(r.Body)
|
||||
if err != nil {
|
||||
r.Error = awserr.New(ErrCodeSerialization, "failed to compute request body size", err)
|
||||
return
|
||||
return nil, awserr.New(ErrCodeSerialization, "failed to compute request body size", err)
|
||||
}
|
||||
|
||||
var body io.ReadCloser
|
||||
if l == 0 {
|
||||
r.HTTPRequest.Body = noBodyReader
|
||||
body = NoBody
|
||||
} else if l > 0 {
|
||||
r.HTTPRequest.Body = r.safeBody
|
||||
body = r.safeBody
|
||||
} else {
|
||||
// Hack to prevent sending bodies for methods where the body
|
||||
// should be ignored by the server. Sending bodies on these
|
||||
|
@ -382,11 +379,13 @@ func (r *Request) ResetBody() {
|
|||
// a io.Reader that was not also an io.Seeker.
|
||||
switch r.Operation.HTTPMethod {
|
||||
case "GET", "HEAD", "DELETE":
|
||||
r.HTTPRequest.Body = noBodyReader
|
||||
body = NoBody
|
||||
default:
|
||||
r.HTTPRequest.Body = r.safeBody
|
||||
body = r.safeBody
|
||||
}
|
||||
}
|
||||
|
||||
return body, nil
|
||||
}
|
||||
|
||||
// Attempts to compute the length of the body of the reader using the
|
||||
|
@ -488,7 +487,7 @@ func (r *Request) Send() error {
|
|||
r.Handlers.Retry.Run(r)
|
||||
r.Handlers.AfterRetry.Run(r)
|
||||
if r.Error != nil {
|
||||
debugLogReqError(r, "Send Request", false, r.Error)
|
||||
debugLogReqError(r, "Send Request", false, err)
|
||||
return r.Error
|
||||
}
|
||||
debugLogReqError(r, "Send Request", true, err)
|
||||
|
@ -497,12 +496,13 @@ func (r *Request) Send() error {
|
|||
r.Handlers.UnmarshalMeta.Run(r)
|
||||
r.Handlers.ValidateResponse.Run(r)
|
||||
if r.Error != nil {
|
||||
err := r.Error
|
||||
r.Handlers.UnmarshalError.Run(r)
|
||||
err := r.Error
|
||||
|
||||
r.Handlers.Retry.Run(r)
|
||||
r.Handlers.AfterRetry.Run(r)
|
||||
if r.Error != nil {
|
||||
debugLogReqError(r, "Validate Response", false, r.Error)
|
||||
debugLogReqError(r, "Validate Response", false, err)
|
||||
return r.Error
|
||||
}
|
||||
debugLogReqError(r, "Validate Response", true, err)
|
||||
|
@ -515,7 +515,7 @@ func (r *Request) Send() error {
|
|||
r.Handlers.Retry.Run(r)
|
||||
r.Handlers.AfterRetry.Run(r)
|
||||
if r.Error != nil {
|
||||
debugLogReqError(r, "Unmarshal Response", false, r.Error)
|
||||
debugLogReqError(r, "Unmarshal Response", false, err)
|
||||
return r.Error
|
||||
}
|
||||
debugLogReqError(r, "Unmarshal Response", true, err)
|
||||
|
|
22
vendor/github.com/aws/aws-sdk-go/aws/request/request_1_7.go
generated
vendored
22
vendor/github.com/aws/aws-sdk-go/aws/request/request_1_7.go
generated
vendored
|
@ -16,6 +16,24 @@ func (noBody) Read([]byte) (int, error) { return 0, io.EOF }
|
|||
func (noBody) Close() error { return nil }
|
||||
func (noBody) WriteTo(io.Writer) (int64, error) { return 0, nil }
|
||||
|
||||
// Is an empty reader that will trigger the Go HTTP client to not include
|
||||
// NoBody is an empty reader that will trigger the Go HTTP client to not include
|
||||
// and body in the HTTP request.
|
||||
var noBodyReader = noBody{}
|
||||
var NoBody = noBody{}
|
||||
|
||||
// ResetBody rewinds the request body back to its starting position, and
|
||||
// set's the HTTP Request body reference. When the body is read prior
|
||||
// to being sent in the HTTP request it will need to be rewound.
|
||||
//
|
||||
// ResetBody will automatically be called by the SDK's build handler, but if
|
||||
// the request is being used directly ResetBody must be called before the request
|
||||
// is Sent. SetStringBody, SetBufferBody, and SetReaderBody will automatically
|
||||
// call ResetBody.
|
||||
func (r *Request) ResetBody() {
|
||||
body, err := r.getNextRequestBody()
|
||||
if err != nil {
|
||||
r.Error = err
|
||||
return
|
||||
}
|
||||
|
||||
r.HTTPRequest.Body = body
|
||||
}
|
||||
|
|
30
vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8.go
generated
vendored
30
vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8.go
generated
vendored
|
@ -2,8 +2,32 @@
|
|||
|
||||
package request
|
||||
|
||||
import "net/http"
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// Is a http.NoBody reader instructing Go HTTP client to not include
|
||||
// NoBody is a http.NoBody reader instructing Go HTTP client to not include
|
||||
// and body in the HTTP request.
|
||||
var noBodyReader = http.NoBody
|
||||
var NoBody = http.NoBody
|
||||
|
||||
// ResetBody rewinds the request body back to its starting position, and
|
||||
// set's the HTTP Request body reference. When the body is read prior
|
||||
// to being sent in the HTTP request it will need to be rewound.
|
||||
//
|
||||
// ResetBody will automatically be called by the SDK's build handler, but if
|
||||
// the request is being used directly ResetBody must be called before the request
|
||||
// is Sent. SetStringBody, SetBufferBody, and SetReaderBody will automatically
|
||||
// call ResetBody.
|
||||
//
|
||||
// Will also set the Go 1.8's http.Request.GetBody member to allow retrying
|
||||
// PUT/POST redirects.
|
||||
func (r *Request) ResetBody() {
|
||||
body, err := r.getNextRequestBody()
|
||||
if err != nil {
|
||||
r.Error = err
|
||||
return
|
||||
}
|
||||
|
||||
r.HTTPRequest.Body = body
|
||||
r.HTTPRequest.GetBody = r.getNextRequestBody
|
||||
}
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8_test.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/aws/request/request_1_8_test.go
generated
vendored
|
@ -1,15 +1,23 @@
|
|||
// +build go1.8
|
||||
|
||||
package request
|
||||
package request_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"io"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/awstesting/unit"
|
||||
)
|
||||
|
||||
func TestResetBody_WithEmptyBody(t *testing.T) {
|
||||
r := Request{
|
||||
r := request.Request{
|
||||
HTTPRequest: &http.Request{},
|
||||
}
|
||||
|
||||
|
@ -23,3 +31,55 @@ func TestResetBody_WithEmptyBody(t *testing.T) {
|
|||
r.HTTPRequest.Body)
|
||||
}
|
||||
}
|
||||
|
||||
func TestRequest_FollowPUTRedirects(t *testing.T) {
|
||||
const bodySize = 1024
|
||||
|
||||
redirectHit := 0
|
||||
endpointHit := 0
|
||||
|
||||
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
switch r.URL.Path {
|
||||
case "/redirect-me":
|
||||
u := *r.URL
|
||||
u.Path = "/endpoint"
|
||||
w.Header().Set("Location", u.String())
|
||||
w.WriteHeader(307)
|
||||
redirectHit++
|
||||
case "/endpoint":
|
||||
b := bytes.Buffer{}
|
||||
io.Copy(&b, r.Body)
|
||||
r.Body.Close()
|
||||
if e, a := bodySize, b.Len(); e != a {
|
||||
t.Fatalf("expect %d body size, got %d", e, a)
|
||||
}
|
||||
endpointHit++
|
||||
default:
|
||||
t.Fatalf("unexpected endpoint used, %q", r.URL.String())
|
||||
}
|
||||
}))
|
||||
|
||||
svc := awstesting.NewClient(&aws.Config{
|
||||
Region: unit.Session.Config.Region,
|
||||
DisableSSL: aws.Bool(true),
|
||||
Endpoint: aws.String(server.URL),
|
||||
})
|
||||
|
||||
req := svc.NewRequest(&request.Operation{
|
||||
Name: "Operation",
|
||||
HTTPMethod: "PUT",
|
||||
HTTPPath: "/redirect-me",
|
||||
}, &struct{}{}, &struct{}{})
|
||||
req.SetReaderBody(bytes.NewReader(make([]byte, bodySize)))
|
||||
|
||||
err := req.Send()
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := 1, redirectHit; e != a {
|
||||
t.Errorf("expect %d redirect hits, got %d", e, a)
|
||||
}
|
||||
if e, a := 1, endpointHit; e != a {
|
||||
t.Errorf("expect %d endpoint hits, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/aws/request/request_resetbody_test.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/request/request_resetbody_test.go
generated
vendored
|
@ -50,7 +50,7 @@ func TestResetBody_ExcludeUnseekableBodyByMethod(t *testing.T) {
|
|||
|
||||
r.SetReaderBody(reader)
|
||||
|
||||
if a, e := r.HTTPRequest.Body == noBodyReader, c.IsNoBody; a != e {
|
||||
if a, e := r.HTTPRequest.Body == NoBody, c.IsNoBody; a != e {
|
||||
t.Errorf("%d, expect body to be set to noBody(%t), but was %t", i, e, a)
|
||||
}
|
||||
}
|
||||
|
|
84
vendor/github.com/aws/aws-sdk-go/aws/request/request_test.go
generated
vendored
84
vendor/github.com/aws/aws-sdk-go/aws/request/request_test.go
generated
vendored
|
@ -717,7 +717,9 @@ func TestEnforceShouldRetryCheck(t *testing.T) {
|
|||
client := &http.Client{Transport: tp}
|
||||
|
||||
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
time.Sleep(5 * time.Millisecond)
|
||||
// This server should wait forever. Requests will timeout and the SDK should
|
||||
// attempt to retry.
|
||||
select {}
|
||||
}))
|
||||
|
||||
retryer := &testRetryer{}
|
||||
|
@ -760,3 +762,83 @@ func (reader *errReader) Read(b []byte) (int, error) {
|
|||
func (reader *errReader) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func TestIsNoBodyReader(t *testing.T) {
|
||||
cases := []struct {
|
||||
reader io.ReadCloser
|
||||
expect bool
|
||||
}{
|
||||
{ioutil.NopCloser(bytes.NewReader([]byte("abc"))), false},
|
||||
{ioutil.NopCloser(bytes.NewReader(nil)), false},
|
||||
{nil, false},
|
||||
{request.NoBody, true},
|
||||
}
|
||||
|
||||
for i, c := range cases {
|
||||
if e, a := c.expect, request.NoBody == c.reader; e != a {
|
||||
t.Errorf("%d, expect %t match, but was %t", i, e, a)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestRequest_TemporaryRetry(t *testing.T) {
|
||||
done := make(chan struct{})
|
||||
|
||||
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Content-Length", "1024")
|
||||
w.WriteHeader(http.StatusOK)
|
||||
|
||||
w.Write(make([]byte, 100))
|
||||
|
||||
f := w.(http.Flusher)
|
||||
f.Flush()
|
||||
|
||||
<-done
|
||||
}))
|
||||
|
||||
client := &http.Client{
|
||||
Timeout: 100 * time.Millisecond,
|
||||
}
|
||||
|
||||
svc := awstesting.NewClient(&aws.Config{
|
||||
Region: unit.Session.Config.Region,
|
||||
MaxRetries: aws.Int(1),
|
||||
HTTPClient: client,
|
||||
DisableSSL: aws.Bool(true),
|
||||
Endpoint: aws.String(server.URL),
|
||||
})
|
||||
|
||||
req := svc.NewRequest(&request.Operation{
|
||||
Name: "name", HTTPMethod: "GET", HTTPPath: "/path",
|
||||
}, &struct{}{}, &struct{}{})
|
||||
|
||||
req.Handlers.Unmarshal.PushBack(func(r *request.Request) {
|
||||
defer req.HTTPResponse.Body.Close()
|
||||
_, err := io.Copy(ioutil.Discard, req.HTTPResponse.Body)
|
||||
r.Error = awserr.New(request.ErrCodeSerialization, "error", err)
|
||||
})
|
||||
|
||||
err := req.Send()
|
||||
if err == nil {
|
||||
t.Errorf("expect error, got none")
|
||||
}
|
||||
close(done)
|
||||
|
||||
aerr := err.(awserr.Error)
|
||||
if e, a := request.ErrCodeSerialization, aerr.Code(); e != a {
|
||||
t.Errorf("expect %q error code, got %q", e, a)
|
||||
}
|
||||
|
||||
if e, a := 1, req.RetryCount; e != a {
|
||||
t.Errorf("expect %d retries, got %d", e, a)
|
||||
}
|
||||
|
||||
type temporary interface {
|
||||
Temporary() bool
|
||||
}
|
||||
|
||||
terr := aerr.OrigErr().(temporary)
|
||||
if !terr.Temporary() {
|
||||
t.Errorf("expect temporary error, was not")
|
||||
}
|
||||
}
|
||||
|
|
11
vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go
generated
vendored
11
vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go
generated
vendored
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
// Retryer is an interface to control retry logic for a given service.
|
||||
// The default implementation used by most services is the service.DefaultRetryer
|
||||
// The default implementation used by most services is the client.DefaultRetryer
|
||||
// structure, which contains basic retry logic using exponential backoff.
|
||||
type Retryer interface {
|
||||
RetryRules(*Request) time.Duration
|
||||
|
@ -38,7 +38,6 @@ var throttleCodes = map[string]struct{}{
|
|||
"ThrottlingException": {},
|
||||
"RequestLimitExceeded": {},
|
||||
"RequestThrottled": {},
|
||||
"LimitExceededException": {}, // Deleting 10+ DynamoDb tables at once
|
||||
"TooManyRequestsException": {}, // Lambda functions
|
||||
"PriorRequestNotComplete": {}, // Route53
|
||||
}
|
||||
|
@ -75,6 +74,10 @@ var validParentCodes = map[string]struct{}{
|
|||
ErrCodeRead: struct{}{},
|
||||
}
|
||||
|
||||
type temporaryError interface {
|
||||
Temporary() bool
|
||||
}
|
||||
|
||||
func isNestedErrorRetryable(parentErr awserr.Error) bool {
|
||||
if parentErr == nil {
|
||||
return false
|
||||
|
@ -93,6 +96,10 @@ func isNestedErrorRetryable(parentErr awserr.Error) bool {
|
|||
return isCodeRetryable(aerr.Code())
|
||||
}
|
||||
|
||||
if t, ok := err.(temporaryError); ok {
|
||||
return t.Temporary()
|
||||
}
|
||||
|
||||
return isErrConnectionReset(err)
|
||||
}
|
||||
|
||||
|
|
52
vendor/github.com/aws/aws-sdk-go/aws/request/retryer_test.go
generated
vendored
52
vendor/github.com/aws/aws-sdk-go/aws/request/retryer_test.go
generated
vendored
|
@ -1,10 +1,10 @@
|
|||
package request
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
)
|
||||
|
||||
|
@ -12,5 +12,51 @@ func TestRequestThrottling(t *testing.T) {
|
|||
req := Request{}
|
||||
|
||||
req.Error = awserr.New("Throttling", "", nil)
|
||||
assert.True(t, req.IsErrorThrottle())
|
||||
if e, a := true, req.IsErrorThrottle(); e != a {
|
||||
t.Errorf("expect %t to be throttled, was %t", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
type mockTempError bool
|
||||
|
||||
func (e mockTempError) Error() string {
|
||||
return fmt.Sprintf("mock temporary error: %t", e.Temporary())
|
||||
}
|
||||
func (e mockTempError) Temporary() bool {
|
||||
return bool(e)
|
||||
}
|
||||
|
||||
func TestIsErrorRetryable(t *testing.T) {
|
||||
cases := []struct {
|
||||
Err error
|
||||
IsTemp bool
|
||||
}{
|
||||
{
|
||||
Err: awserr.New(ErrCodeSerialization, "temporary error", mockTempError(true)),
|
||||
IsTemp: true,
|
||||
},
|
||||
{
|
||||
Err: awserr.New(ErrCodeSerialization, "temporary error", mockTempError(false)),
|
||||
IsTemp: false,
|
||||
},
|
||||
{
|
||||
Err: awserr.New(ErrCodeSerialization, "some error", errors.New("blah")),
|
||||
IsTemp: false,
|
||||
},
|
||||
{
|
||||
Err: awserr.New("SomeError", "some error", nil),
|
||||
IsTemp: false,
|
||||
},
|
||||
{
|
||||
Err: awserr.New("RequestError", "some error", nil),
|
||||
IsTemp: true,
|
||||
},
|
||||
}
|
||||
|
||||
for i, c := range cases {
|
||||
retryable := IsErrorRetryable(c.Err)
|
||||
if e, a := c.IsTemp, retryable; e != a {
|
||||
t.Errorf("%d, expect %t temporary error, got %t", i, e, a)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/aws/request/validation.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/request/validation.go
generated
vendored
|
@ -220,7 +220,7 @@ type ErrParamMinLen struct {
|
|||
func NewErrParamMinLen(field string, min int) *ErrParamMinLen {
|
||||
return &ErrParamMinLen{
|
||||
errInvalidParam: errInvalidParam{
|
||||
code: ParamMinValueErrCode,
|
||||
code: ParamMinLenErrCode,
|
||||
field: field,
|
||||
msg: fmt.Sprintf("minimum field size of %v", min),
|
||||
},
|
||||
|
|
16
vendor/github.com/aws/aws-sdk-go/aws/request/waiter.go
generated
vendored
16
vendor/github.com/aws/aws-sdk-go/aws/request/waiter.go
generated
vendored
|
@ -79,8 +79,9 @@ type Waiter struct {
|
|||
MaxAttempts int
|
||||
Delay WaiterDelay
|
||||
|
||||
RequestOptions []Option
|
||||
NewRequest func([]Option) (*Request, error)
|
||||
RequestOptions []Option
|
||||
NewRequest func([]Option) (*Request, error)
|
||||
SleepWithContext func(aws.Context, time.Duration) error
|
||||
}
|
||||
|
||||
// ApplyOptions updates the waiter with the list of waiter options provided.
|
||||
|
@ -195,8 +196,15 @@ func (w Waiter) WaitWithContext(ctx aws.Context) error {
|
|||
if sleepFn := req.Config.SleepDelay; sleepFn != nil {
|
||||
// Support SleepDelay for backwards compatibility and testing
|
||||
sleepFn(delay)
|
||||
} else if err := aws.SleepWithContext(ctx, delay); err != nil {
|
||||
return awserr.New(CanceledErrorCode, "waiter context canceled", err)
|
||||
} else {
|
||||
sleepCtxFn := w.SleepWithContext
|
||||
if sleepCtxFn == nil {
|
||||
sleepCtxFn = aws.SleepWithContext
|
||||
}
|
||||
|
||||
if err := sleepCtxFn(ctx, delay); err != nil {
|
||||
return awserr.New(CanceledErrorCode, "waiter context canceled", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
56
vendor/github.com/aws/aws-sdk-go/aws/request/waiter_test.go
generated
vendored
56
vendor/github.com/aws/aws-sdk-go/aws/request/waiter_test.go
generated
vendored
|
@ -100,8 +100,9 @@ func TestWaiterPathAll(t *testing.T) {
|
|||
})
|
||||
|
||||
w := request.Waiter{
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
@ -164,8 +165,9 @@ func TestWaiterPath(t *testing.T) {
|
|||
})
|
||||
|
||||
w := request.Waiter{
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
@ -228,8 +230,9 @@ func TestWaiterFailure(t *testing.T) {
|
|||
})
|
||||
|
||||
w := request.Waiter{
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
@ -321,8 +324,9 @@ func TestWaiterError(t *testing.T) {
|
|||
})
|
||||
|
||||
w := request.Waiter{
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
@ -389,8 +393,9 @@ func TestWaiterStatus(t *testing.T) {
|
|||
})
|
||||
|
||||
w := request.Waiter{
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(0),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
@ -447,9 +452,10 @@ func TestWaiter_WithContextCanceled(t *testing.T) {
|
|||
reqCount := 0
|
||||
|
||||
w := request.Waiter{
|
||||
Name: "TestWaiter",
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(1 * time.Millisecond),
|
||||
Name: "TestWaiter",
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(1 * time.Millisecond),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
@ -475,6 +481,16 @@ func TestWaiter_WithContextCanceled(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
w.SleepWithContext = func(c aws.Context, delay time.Duration) error {
|
||||
context := c.(*awstesting.FakeContext)
|
||||
select {
|
||||
case <-context.DoneCh:
|
||||
return context.Err()
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
err := w.WaitWithContext(ctx)
|
||||
|
||||
if err == nil {
|
||||
|
@ -498,9 +514,10 @@ func TestWaiter_WithContext(t *testing.T) {
|
|||
statuses := []int{http.StatusNotFound, http.StatusOK}
|
||||
|
||||
w := request.Waiter{
|
||||
Name: "TestWaiter",
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(1 * time.Millisecond),
|
||||
Name: "TestWaiter",
|
||||
MaxAttempts: 10,
|
||||
Delay: request.ConstantWaiterDelay(1 * time.Millisecond),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
@ -543,9 +560,10 @@ func TestWaiter_AttemptsExpires(t *testing.T) {
|
|||
reqCount := 0
|
||||
|
||||
w := request.Waiter{
|
||||
Name: "TestWaiter",
|
||||
MaxAttempts: 2,
|
||||
Delay: request.ConstantWaiterDelay(1 * time.Millisecond),
|
||||
Name: "TestWaiter",
|
||||
MaxAttempts: 2,
|
||||
Delay: request.ConstantWaiterDelay(1 * time.Millisecond),
|
||||
SleepWithContext: aws.SleepWithContext,
|
||||
Acceptors: []request.WaiterAcceptor{
|
||||
{
|
||||
State: request.SuccessWaiterState,
|
||||
|
|
312
vendor/github.com/aws/aws-sdk-go/aws/session/custom_ca_bundle_test.go
generated
vendored
312
vendor/github.com/aws/aws-sdk-go/aws/session/custom_ca_bundle_test.go
generated
vendored
|
@ -2,158 +2,166 @@ package session
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/tls"
|
||||
"io/ioutil"
|
||||
"fmt"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
)
|
||||
|
||||
func createTLSServer(cert, key []byte, done <-chan struct{}) (*httptest.Server, error) {
|
||||
c, err := tls.X509KeyPair(cert, key)
|
||||
var TLSBundleCertFile string
|
||||
var TLSBundleKeyFile string
|
||||
var TLSBundleCAFile string
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
var err error
|
||||
|
||||
TLSBundleCertFile, TLSBundleKeyFile, TLSBundleCAFile, err = awstesting.CreateTLSBundleFiles()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
panic(err)
|
||||
}
|
||||
|
||||
s := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
}))
|
||||
s.TLS = &tls.Config{
|
||||
Certificates: []tls.Certificate{c},
|
||||
}
|
||||
s.TLS.BuildNameToCertificate()
|
||||
s.StartTLS()
|
||||
fmt.Println("TestMain", TLSBundleCertFile, TLSBundleKeyFile)
|
||||
|
||||
go func() {
|
||||
<-done
|
||||
s.Close()
|
||||
}()
|
||||
code := m.Run()
|
||||
|
||||
return s, nil
|
||||
}
|
||||
|
||||
func setupTestCAFile(b []byte) (string, error) {
|
||||
bundleFile, err := ioutil.TempFile(os.TempDir(), "aws-sdk-go-session-test")
|
||||
err = awstesting.CleanupTLSBundleFiles(TLSBundleCertFile, TLSBundleKeyFile, TLSBundleCAFile)
|
||||
if err != nil {
|
||||
return "", err
|
||||
panic(err)
|
||||
}
|
||||
|
||||
_, err = bundleFile.Write(b)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
defer bundleFile.Close()
|
||||
return bundleFile.Name(), nil
|
||||
os.Exit(code)
|
||||
}
|
||||
|
||||
func TestNewSession_WithCustomCABundle_Env(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
done := make(chan struct{})
|
||||
server, err := createTLSServer(testTLSBundleCert, testTLSBundleKey, done)
|
||||
assert.NoError(t, err)
|
||||
endpoint, err := awstesting.CreateTLSServer(TLSBundleCertFile, TLSBundleKeyFile, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
// Write bundle to file
|
||||
caFilename, err := setupTestCAFile(testTLSBundleCA)
|
||||
defer func() {
|
||||
os.Remove(caFilename)
|
||||
}()
|
||||
assert.NoError(t, err)
|
||||
|
||||
os.Setenv("AWS_CA_BUNDLE", caFilename)
|
||||
os.Setenv("AWS_CA_BUNDLE", TLSBundleCAFile)
|
||||
|
||||
s, err := NewSession(&aws.Config{
|
||||
HTTPClient: &http.Client{},
|
||||
Endpoint: aws.String(server.URL),
|
||||
Endpoint: aws.String(endpoint),
|
||||
Region: aws.String("mock-region"),
|
||||
Credentials: credentials.AnonymousCredentials,
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.NotNil(t, s)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if s == nil {
|
||||
t.Fatalf("expect session to be created, got none")
|
||||
}
|
||||
|
||||
req, _ := http.NewRequest("GET", *s.Config.Endpoint, nil)
|
||||
resp, err := s.Config.HTTPClient.Do(req)
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Equal(t, http.StatusOK, resp.StatusCode)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := http.StatusOK, resp.StatusCode; e != a {
|
||||
t.Errorf("expect %d status code, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNewSession_WithCustomCABundle_EnvNotExists(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_CA_BUNDLE", "file-not-exists")
|
||||
|
||||
s, err := NewSession()
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, "LoadCustomCABundleError", err.(awserr.Error).Code())
|
||||
assert.Nil(t, s)
|
||||
if err == nil {
|
||||
t.Fatalf("expect error, got none")
|
||||
}
|
||||
if e, a := "LoadCustomCABundleError", err.(awserr.Error).Code(); e != a {
|
||||
t.Errorf("expect %s error code, got %s", e, a)
|
||||
}
|
||||
if s != nil {
|
||||
t.Errorf("expect nil session, got %v", s)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNewSession_WithCustomCABundle_Option(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
done := make(chan struct{})
|
||||
server, err := createTLSServer(testTLSBundleCert, testTLSBundleKey, done)
|
||||
assert.NoError(t, err)
|
||||
endpoint, err := awstesting.CreateTLSServer(TLSBundleCertFile, TLSBundleKeyFile, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
s, err := NewSessionWithOptions(Options{
|
||||
Config: aws.Config{
|
||||
HTTPClient: &http.Client{},
|
||||
Endpoint: aws.String(server.URL),
|
||||
Endpoint: aws.String(endpoint),
|
||||
Region: aws.String("mock-region"),
|
||||
Credentials: credentials.AnonymousCredentials,
|
||||
},
|
||||
CustomCABundle: bytes.NewReader(testTLSBundleCA),
|
||||
CustomCABundle: bytes.NewReader(awstesting.TLSBundleCA),
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.NotNil(t, s)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if s == nil {
|
||||
t.Fatalf("expect session to be created, got none")
|
||||
}
|
||||
|
||||
req, _ := http.NewRequest("GET", *s.Config.Endpoint, nil)
|
||||
resp, err := s.Config.HTTPClient.Do(req)
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Equal(t, http.StatusOK, resp.StatusCode)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := http.StatusOK, resp.StatusCode; e != a {
|
||||
t.Errorf("expect %d status code, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNewSession_WithCustomCABundle_OptionPriority(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
done := make(chan struct{})
|
||||
server, err := createTLSServer(testTLSBundleCert, testTLSBundleKey, done)
|
||||
assert.NoError(t, err)
|
||||
endpoint, err := awstesting.CreateTLSServer(TLSBundleCertFile, TLSBundleKeyFile, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
os.Setenv("AWS_CA_BUNDLE", "file-not-exists")
|
||||
|
||||
s, err := NewSessionWithOptions(Options{
|
||||
Config: aws.Config{
|
||||
HTTPClient: &http.Client{},
|
||||
Endpoint: aws.String(server.URL),
|
||||
Endpoint: aws.String(endpoint),
|
||||
Region: aws.String("mock-region"),
|
||||
Credentials: credentials.AnonymousCredentials,
|
||||
},
|
||||
CustomCABundle: bytes.NewReader(testTLSBundleCA),
|
||||
CustomCABundle: bytes.NewReader(awstesting.TLSBundleCA),
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.NotNil(t, s)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if s == nil {
|
||||
t.Fatalf("expect session to be created, got none")
|
||||
}
|
||||
|
||||
req, _ := http.NewRequest("GET", *s.Config.Endpoint, nil)
|
||||
resp, err := s.Config.HTTPClient.Do(req)
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Equal(t, http.StatusOK, resp.StatusCode)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := http.StatusOK, resp.StatusCode; e != a {
|
||||
t.Errorf("expect %d status code, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
type mockRoundTripper struct{}
|
||||
|
@ -164,7 +172,7 @@ func (m *mockRoundTripper) RoundTrip(r *http.Request) (*http.Response, error) {
|
|||
|
||||
func TestNewSession_WithCustomCABundle_UnsupportedTransport(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
s, err := NewSessionWithOptions(Options{
|
||||
Config: aws.Config{
|
||||
|
@ -172,25 +180,35 @@ func TestNewSession_WithCustomCABundle_UnsupportedTransport(t *testing.T) {
|
|||
Transport: &mockRoundTripper{},
|
||||
},
|
||||
},
|
||||
CustomCABundle: bytes.NewReader(testTLSBundleCA),
|
||||
CustomCABundle: bytes.NewReader(awstesting.TLSBundleCA),
|
||||
})
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, "LoadCustomCABundleError", err.(awserr.Error).Code())
|
||||
assert.Contains(t, err.(awserr.Error).Message(), "transport unsupported type")
|
||||
assert.Nil(t, s)
|
||||
if err == nil {
|
||||
t.Fatalf("expect error, got none")
|
||||
}
|
||||
if e, a := "LoadCustomCABundleError", err.(awserr.Error).Code(); e != a {
|
||||
t.Errorf("expect %s error code, got %s", e, a)
|
||||
}
|
||||
if s != nil {
|
||||
t.Errorf("expect nil session, got %v", s)
|
||||
}
|
||||
aerrMsg := err.(awserr.Error).Message()
|
||||
if e, a := "transport unsupported type", aerrMsg; !strings.Contains(a, e) {
|
||||
t.Errorf("expect %s to be in %s", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNewSession_WithCustomCABundle_TransportSet(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
done := make(chan struct{})
|
||||
server, err := createTLSServer(testTLSBundleCert, testTLSBundleKey, done)
|
||||
assert.NoError(t, err)
|
||||
endpoint, err := awstesting.CreateTLSServer(TLSBundleCertFile, TLSBundleKeyFile, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
s, err := NewSessionWithOptions(Options{
|
||||
Config: aws.Config{
|
||||
Endpoint: aws.String(server.URL),
|
||||
Endpoint: aws.String(endpoint),
|
||||
Region: aws.String("mock-region"),
|
||||
Credentials: credentials.AnonymousCredentials,
|
||||
HTTPClient: &http.Client{
|
||||
|
@ -205,115 +223,21 @@ func TestNewSession_WithCustomCABundle_TransportSet(t *testing.T) {
|
|||
},
|
||||
},
|
||||
},
|
||||
CustomCABundle: bytes.NewReader(testTLSBundleCA),
|
||||
CustomCABundle: bytes.NewReader(awstesting.TLSBundleCA),
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.NotNil(t, s)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if s == nil {
|
||||
t.Fatalf("expect session to be created, got none")
|
||||
}
|
||||
|
||||
req, _ := http.NewRequest("GET", *s.Config.Endpoint, nil)
|
||||
resp, err := s.Config.HTTPClient.Do(req)
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Equal(t, http.StatusOK, resp.StatusCode)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := http.StatusOK, resp.StatusCode; e != a {
|
||||
t.Errorf("expect %d status code, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
/* Cert generation steps
|
||||
# Create the CA key
|
||||
openssl genrsa -des3 -out ca.key 1024
|
||||
|
||||
# Create the CA Cert
|
||||
openssl req -new -sha256 -x509 -days 3650 \
|
||||
-subj "/C=GO/ST=Gopher/O=Testing ROOT CA" \
|
||||
-key ca.key -out ca.crt
|
||||
|
||||
# Create config
|
||||
cat > csr_details.txt <<-EOF
|
||||
|
||||
[req]
|
||||
default_bits = 1024
|
||||
prompt = no
|
||||
default_md = sha256
|
||||
req_extensions = SAN
|
||||
distinguished_name = dn
|
||||
|
||||
[ dn ]
|
||||
C=GO
|
||||
ST=Gopher
|
||||
O=Testing Certificate
|
||||
OU=Testing IP
|
||||
|
||||
[SAN]
|
||||
subjectAltName = IP:127.0.0.1
|
||||
EOF
|
||||
|
||||
# Create certificate signing request
|
||||
openssl req -new -sha256 -nodes -newkey rsa:1024 \
|
||||
-config <( cat csr_details.txt ) \
|
||||
-keyout ia.key -out ia.csr
|
||||
|
||||
# Create a signed certificate
|
||||
openssl x509 -req -days 3650 \
|
||||
-CAcreateserial \
|
||||
-extfile <( cat csr_details.txt ) \
|
||||
-extensions SAN \
|
||||
-CA ca.crt -CAkey ca.key -in ia.csr -out ia.crt
|
||||
|
||||
# Verify
|
||||
openssl req -noout -text -in ia.csr
|
||||
openssl x509 -noout -text -in ia.crt
|
||||
*/
|
||||
var (
|
||||
// ca.crt
|
||||
testTLSBundleCA = []byte(`-----BEGIN CERTIFICATE-----
|
||||
MIICiTCCAfKgAwIBAgIJAJ5X1olt05XjMA0GCSqGSIb3DQEBCwUAMDgxCzAJBgNV
|
||||
BAYTAkdPMQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBD
|
||||
QTAeFw0xNzAzMDkwMDAyMDZaFw0yNzAzMDcwMDAyMDZaMDgxCzAJBgNVBAYTAkdP
|
||||
MQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBDQTCBnzAN
|
||||
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAw/8DN+t9XQR60jx42rsQ2WE2Dx85rb3n
|
||||
GQxnKZZLNddsT8rDyxJNP18aFalbRbFlyln5fxWxZIblu9Xkm/HRhOpbSimSqo1y
|
||||
uDx21NVZ1YsOvXpHby71jx3gPrrhSc/t/zikhi++6D/C6m1CiIGuiJ0GBiJxtrub
|
||||
UBMXT0QtI2ECAwEAAaOBmjCBlzAdBgNVHQ4EFgQU8XG3X/YHBA6T04kdEkq6+4GV
|
||||
YykwaAYDVR0jBGEwX4AU8XG3X/YHBA6T04kdEkq6+4GVYymhPKQ6MDgxCzAJBgNV
|
||||
BAYTAkdPMQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBD
|
||||
QYIJAJ5X1olt05XjMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADgYEAeILv
|
||||
z49+uxmPcfOZzonuOloRcpdvyjiXblYxbzz6ch8GsE7Q886FTZbvwbgLhzdwSVgG
|
||||
G8WHkodDUsymVepdqAamS3f8PdCUk8xIk9mop8LgaB9Ns0/TssxDvMr3sOD2Grb3
|
||||
xyWymTWMcj6uCiEBKtnUp4rPiefcvCRYZ17/hLE=
|
||||
-----END CERTIFICATE-----
|
||||
`)
|
||||
|
||||
// ai.crt
|
||||
testTLSBundleCert = []byte(`-----BEGIN CERTIFICATE-----
|
||||
MIICGjCCAYOgAwIBAgIJAIIu+NOoxxM0MA0GCSqGSIb3DQEBBQUAMDgxCzAJBgNV
|
||||
BAYTAkdPMQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBD
|
||||
QTAeFw0xNzAzMDkwMDAzMTRaFw0yNzAzMDcwMDAzMTRaMFExCzAJBgNVBAYTAkdP
|
||||
MQ8wDQYDVQQIDAZHb3BoZXIxHDAaBgNVBAoME1Rlc3RpbmcgQ2VydGlmaWNhdGUx
|
||||
EzARBgNVBAsMClRlc3RpbmcgSVAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
AN1hWHeioo/nASvbrjwCQzXCiWiEzGkw353NxsAB54/NqDL3LXNATtiSJu8kJBrm
|
||||
Ah12IFLtWLGXjGjjYlHbQWnOR6awveeXnQZukJyRWh7m/Qlt9Ho0CgZE1U+832ac
|
||||
5GWVldNxW1Lz4I+W9/ehzqe8I80RS6eLEKfUFXGiW+9RAgMBAAGjEzARMA8GA1Ud
|
||||
EQQIMAaHBH8AAAEwDQYJKoZIhvcNAQEFBQADgYEAdF4WQHfVdPCbgv9sxgJjcR1H
|
||||
Hgw9rZ47gO1IiIhzglnLXQ6QuemRiHeYFg4kjcYBk1DJguxzDTGnUwhUXOibAB+S
|
||||
zssmrkdYYvn9aUhjc3XK3tjAoDpsPpeBeTBamuUKDHoH/dNRXxerZ8vu6uPR3Pgs
|
||||
5v/KCV6IAEcvNyOXMPo=
|
||||
-----END CERTIFICATE-----
|
||||
`)
|
||||
|
||||
// ai.key
|
||||
testTLSBundleKey = []byte(`-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXAIBAAKBgQDdYVh3oqKP5wEr2648AkM1wolohMxpMN+dzcbAAeePzagy9y1z
|
||||
QE7YkibvJCQa5gIddiBS7Vixl4xo42JR20FpzkemsL3nl50GbpCckVoe5v0JbfR6
|
||||
NAoGRNVPvN9mnORllZXTcVtS8+CPlvf3oc6nvCPNEUunixCn1BVxolvvUQIDAQAB
|
||||
AoGBAMISrcirddGrlLZLLrKC1ULS2T0cdkqdQtwHYn4+7S5+/z42vMx1iumHLsSk
|
||||
rVY7X41OWkX4trFxhvEIrc/O48bo2zw78P7flTxHy14uxXnllU8cLThE29SlUU7j
|
||||
AVBNxJZMsXMlS/DowwD4CjFe+x4Pu9wZcReF2Z9ntzMpySABAkEA+iWoJCPE2JpS
|
||||
y78q3HYYgpNY3gF3JqQ0SI/zTNkb3YyEIUffEYq0Y9pK13HjKtdsSuX4osTIhQkS
|
||||
+UgRp6tCAQJBAOKPYTfQ2FX8ijgUpHZRuEAVaxASAS0UATiLgzXxLvOh/VC2at5x
|
||||
wjOX6sD65pPz/0D8Qj52Cq6Q1TQ+377SDVECQAIy0od+yPweXxvrUjUd1JlRMjbB
|
||||
TIrKZqs8mKbUQapw0bh5KTy+O1elU4MRPS3jNtBxtP25PQnuSnxmZcFTgAECQFzg
|
||||
DiiFcsn9FuRagfkHExMiNJuH5feGxeFaP9WzI144v9GAllrOI6Bm3JNzx2ZLlg4b
|
||||
20Qju8lIEj6yr6JYFaECQHM1VSojGRKpOl9Ox/R4yYSA9RV5Gyn00/aJNxVYyPD5
|
||||
i3acL2joQm2kLD/LO8paJ4+iQdRXCOMMIpjxSNjGQjQ=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
`)
|
||||
)
|
||||
|
|
36
vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go
generated
vendored
36
vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go
generated
vendored
|
@ -2,7 +2,6 @@ package session
|
|||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
|
@ -116,6 +115,12 @@ var (
|
|||
"AWS_PROFILE",
|
||||
"AWS_DEFAULT_PROFILE", // Only read if AWS_SDK_LOAD_CONFIG is also set
|
||||
}
|
||||
sharedCredsFileEnvKey = []string{
|
||||
"AWS_SHARED_CREDENTIALS_FILE",
|
||||
}
|
||||
sharedConfigFileEnvKey = []string{
|
||||
"AWS_CONFIG_FILE",
|
||||
}
|
||||
)
|
||||
|
||||
// loadEnvConfig retrieves the SDK's environment configuration.
|
||||
|
@ -165,8 +170,8 @@ func envConfigLoad(enableSharedConfig bool) envConfig {
|
|||
setFromEnvVal(&cfg.Region, regionKeys)
|
||||
setFromEnvVal(&cfg.Profile, profileKeys)
|
||||
|
||||
cfg.SharedCredentialsFile = sharedCredentialsFilename()
|
||||
cfg.SharedConfigFile = sharedConfigFilename()
|
||||
setFromEnvVal(&cfg.SharedCredentialsFile, sharedCredsFileEnvKey)
|
||||
setFromEnvVal(&cfg.SharedConfigFile, sharedConfigFileEnvKey)
|
||||
|
||||
cfg.CustomCABundle = os.Getenv("AWS_CA_BUNDLE")
|
||||
|
||||
|
@ -181,28 +186,3 @@ func setFromEnvVal(dst *string, keys []string) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
func sharedCredentialsFilename() string {
|
||||
if name := os.Getenv("AWS_SHARED_CREDENTIALS_FILE"); len(name) > 0 {
|
||||
return name
|
||||
}
|
||||
|
||||
return filepath.Join(userHomeDir(), ".aws", "credentials")
|
||||
}
|
||||
|
||||
func sharedConfigFilename() string {
|
||||
if name := os.Getenv("AWS_CONFIG_FILE"); len(name) > 0 {
|
||||
return name
|
||||
}
|
||||
|
||||
return filepath.Join(userHomeDir(), ".aws", "config")
|
||||
}
|
||||
|
||||
func userHomeDir() string {
|
||||
homeDir := os.Getenv("HOME") // *nix
|
||||
if len(homeDir) == 0 { // windows
|
||||
homeDir = os.Getenv("USERPROFILE")
|
||||
}
|
||||
|
||||
return homeDir
|
||||
}
|
||||
|
|
152
vendor/github.com/aws/aws-sdk-go/aws/session/env_config_test.go
generated
vendored
152
vendor/github.com/aws/aws-sdk-go/aws/session/env_config_test.go
generated
vendored
|
@ -2,17 +2,16 @@ package session
|
|||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
)
|
||||
|
||||
func TestLoadEnvConfig_Creds(t *testing.T) {
|
||||
env := stashEnv()
|
||||
defer popEnv(env)
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
cases := []struct {
|
||||
Env map[string]string
|
||||
|
@ -83,26 +82,30 @@ func TestLoadEnvConfig_Creds(t *testing.T) {
|
|||
}
|
||||
|
||||
cfg := loadEnvConfig()
|
||||
assert.Equal(t, c.Val, cfg.Creds)
|
||||
if !reflect.DeepEqual(c.Val, cfg.Creds) {
|
||||
t.Errorf("expect credentials to match.\n%s",
|
||||
awstesting.SprintExpectActual(c.Val, cfg.Creds))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestLoadEnvConfig(t *testing.T) {
|
||||
env := stashEnv()
|
||||
defer popEnv(env)
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
cases := []struct {
|
||||
Env map[string]string
|
||||
Region, Profile string
|
||||
CustomCABundle string
|
||||
UseSharedConfigCall bool
|
||||
Config envConfig
|
||||
}{
|
||||
{
|
||||
Env: map[string]string{
|
||||
"AWS_REGION": "region",
|
||||
"AWS_PROFILE": "profile",
|
||||
},
|
||||
Region: "region", Profile: "profile",
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
},
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
|
@ -111,7 +114,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_PROFILE": "profile",
|
||||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
},
|
||||
Region: "region", Profile: "profile",
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
},
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
|
@ -121,7 +126,10 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
"AWS_SDK_LOAD_CONFIG": "1",
|
||||
},
|
||||
Region: "region", Profile: "profile",
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
|
@ -135,14 +143,20 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
"AWS_SDK_LOAD_CONFIG": "1",
|
||||
},
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
Config: envConfig{
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
"AWS_REGION": "region",
|
||||
"AWS_PROFILE": "profile",
|
||||
},
|
||||
Region: "region", Profile: "profile",
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
{
|
||||
|
@ -152,7 +166,10 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_PROFILE": "profile",
|
||||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
},
|
||||
Region: "region", Profile: "profile",
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
{
|
||||
|
@ -163,7 +180,10 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
"AWS_SDK_LOAD_CONFIG": "1",
|
||||
},
|
||||
Region: "region", Profile: "profile",
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
{
|
||||
|
@ -171,7 +191,10 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_DEFAULT_REGION": "default_region",
|
||||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
},
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
Config: envConfig{
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
{
|
||||
|
@ -180,22 +203,40 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
"AWS_SDK_LOAD_CONFIG": "1",
|
||||
},
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
Config: envConfig{
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
"AWS_CA_BUNDLE": "custom_ca_bundle",
|
||||
},
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
Config: envConfig{
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
},
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
"AWS_CA_BUNDLE": "custom_ca_bundle",
|
||||
},
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
Config: envConfig{
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
EnableSharedConfig: true,
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
"AWS_SHARED_CREDENTIALS_FILE": "/path/to/credentials/file",
|
||||
"AWS_CONFIG_FILE": "/path/to/config/file",
|
||||
},
|
||||
Config: envConfig{
|
||||
SharedCredentialsFile: "/path/to/credentials/file",
|
||||
SharedConfigFile: "/path/to/config/file",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, c := range cases {
|
||||
|
@ -212,55 +253,16 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
cfg = loadEnvConfig()
|
||||
}
|
||||
|
||||
assert.Equal(t, c.Region, cfg.Region)
|
||||
assert.Equal(t, c.Profile, cfg.Profile)
|
||||
assert.Equal(t, c.CustomCABundle, cfg.CustomCABundle)
|
||||
if !reflect.DeepEqual(c.Config, cfg) {
|
||||
t.Errorf("expect config to match.\n%s",
|
||||
awstesting.SprintExpectActual(c.Config, cfg))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestSharedCredsFilename(t *testing.T) {
|
||||
env := stashEnv()
|
||||
defer popEnv(env)
|
||||
|
||||
os.Setenv("USERPROFILE", "profile_dir")
|
||||
expect := filepath.Join("profile_dir", ".aws", "credentials")
|
||||
name := sharedCredentialsFilename()
|
||||
assert.Equal(t, expect, name)
|
||||
|
||||
os.Setenv("HOME", "home_dir")
|
||||
expect = filepath.Join("home_dir", ".aws", "credentials")
|
||||
name = sharedCredentialsFilename()
|
||||
assert.Equal(t, expect, name)
|
||||
|
||||
expect = filepath.Join("path/to/credentials/file")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", expect)
|
||||
name = sharedCredentialsFilename()
|
||||
assert.Equal(t, expect, name)
|
||||
}
|
||||
|
||||
func TestSharedConfigFilename(t *testing.T) {
|
||||
env := stashEnv()
|
||||
defer popEnv(env)
|
||||
|
||||
os.Setenv("USERPROFILE", "profile_dir")
|
||||
expect := filepath.Join("profile_dir", ".aws", "config")
|
||||
name := sharedConfigFilename()
|
||||
assert.Equal(t, expect, name)
|
||||
|
||||
os.Setenv("HOME", "home_dir")
|
||||
expect = filepath.Join("home_dir", ".aws", "config")
|
||||
name = sharedConfigFilename()
|
||||
assert.Equal(t, expect, name)
|
||||
|
||||
expect = filepath.Join("path/to/config/file")
|
||||
os.Setenv("AWS_CONFIG_FILE", expect)
|
||||
name = sharedConfigFilename()
|
||||
assert.Equal(t, expect, name)
|
||||
}
|
||||
|
||||
func TestSetEnvValue(t *testing.T) {
|
||||
env := stashEnv()
|
||||
defer popEnv(env)
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
os.Setenv("empty_key", "")
|
||||
os.Setenv("second_key", "2")
|
||||
|
@ -271,21 +273,7 @@ func TestSetEnvValue(t *testing.T) {
|
|||
"empty_key", "first_key", "second_key", "third_key",
|
||||
})
|
||||
|
||||
assert.Equal(t, "2", dst)
|
||||
}
|
||||
|
||||
func stashEnv() []string {
|
||||
env := os.Environ()
|
||||
os.Clearenv()
|
||||
|
||||
return env
|
||||
}
|
||||
|
||||
func popEnv(env []string) {
|
||||
os.Clearenv()
|
||||
|
||||
for _, e := range env {
|
||||
p := strings.SplitN(e, "=", 2)
|
||||
os.Setenv(p[0], p[1])
|
||||
if e, a := "2", dst; e != a {
|
||||
t.Errorf("expect %s value from environment, got %s", e, a)
|
||||
}
|
||||
}
|
||||
|
|
28
vendor/github.com/aws/aws-sdk-go/aws/session/session.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go/aws/session/session.go
generated
vendored
|
@ -155,6 +155,10 @@ type Options struct {
|
|||
// and enable or disable the shared config functionality.
|
||||
SharedConfigState SharedConfigState
|
||||
|
||||
// Ordered list of files the session will load configuration from.
|
||||
// It will override environment variable AWS_SHARED_CREDENTIALS_FILE, AWS_CONFIG_FILE.
|
||||
SharedConfigFiles []string
|
||||
|
||||
// When the SDK's shared config is configured to assume a role with MFA
|
||||
// this option is required in order to provide the mechanism that will
|
||||
// retrieve the MFA token. There is no default value for this field. If
|
||||
|
@ -239,6 +243,13 @@ func NewSessionWithOptions(opts Options) (*Session, error) {
|
|||
envCfg.EnableSharedConfig = true
|
||||
}
|
||||
|
||||
if len(envCfg.SharedCredentialsFile) == 0 {
|
||||
envCfg.SharedCredentialsFile = defaults.SharedCredentialsFilename()
|
||||
}
|
||||
if len(envCfg.SharedConfigFile) == 0 {
|
||||
envCfg.SharedConfigFile = defaults.SharedConfigFilename()
|
||||
}
|
||||
|
||||
// Only use AWS_CA_BUNDLE if session option is not provided.
|
||||
if len(envCfg.CustomCABundle) != 0 && opts.CustomCABundle == nil {
|
||||
f, err := os.Open(envCfg.CustomCABundle)
|
||||
|
@ -304,13 +315,18 @@ func newSession(opts Options, envCfg envConfig, cfgs ...*aws.Config) (*Session,
|
|||
userCfg := &aws.Config{}
|
||||
userCfg.MergeIn(cfgs...)
|
||||
|
||||
// Order config files will be loaded in with later files overwriting
|
||||
// Ordered config files will be loaded in with later files overwriting
|
||||
// previous config file values.
|
||||
cfgFiles := []string{envCfg.SharedConfigFile, envCfg.SharedCredentialsFile}
|
||||
if !envCfg.EnableSharedConfig {
|
||||
// The shared config file (~/.aws/config) is only loaded if instructed
|
||||
// to load via the envConfig.EnableSharedConfig (AWS_SDK_LOAD_CONFIG).
|
||||
cfgFiles = cfgFiles[1:]
|
||||
var cfgFiles []string
|
||||
if opts.SharedConfigFiles != nil {
|
||||
cfgFiles = opts.SharedConfigFiles
|
||||
} else {
|
||||
cfgFiles = []string{envCfg.SharedConfigFile, envCfg.SharedCredentialsFile}
|
||||
if !envCfg.EnableSharedConfig {
|
||||
// The shared config file (~/.aws/config) is only loaded if instructed
|
||||
// to load via the envConfig.EnableSharedConfig (AWS_SDK_LOAD_CONFIG).
|
||||
cfgFiles = cfgFiles[1:]
|
||||
}
|
||||
}
|
||||
|
||||
// Load additional config from file(s)
|
||||
|
|
54
vendor/github.com/aws/aws-sdk-go/aws/session/session_test.go
generated
vendored
54
vendor/github.com/aws/aws-sdk-go/aws/session/session_test.go
generated
vendored
|
@ -14,12 +14,13 @@ import (
|
|||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/defaults"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
)
|
||||
|
||||
func TestNewDefaultSession(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
s := New(&aws.Config{Region: aws.String("region")})
|
||||
|
||||
|
@ -31,7 +32,7 @@ func TestNewDefaultSession(t *testing.T) {
|
|||
|
||||
func TestNew_WithCustomCreds(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
customCreds := credentials.NewStaticCredentials("AKID", "SECRET", "TOKEN")
|
||||
s := New(&aws.Config{Credentials: customCreds})
|
||||
|
@ -49,7 +50,7 @@ func (w mockLogger) Log(args ...interface{}) {
|
|||
|
||||
func TestNew_WithSessionLoadError(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
os.Setenv("AWS_CONFIG_FILE", testConfigFilename)
|
||||
|
@ -72,7 +73,7 @@ func TestNew_WithSessionLoadError(t *testing.T) {
|
|||
|
||||
func TestSessionCopy(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_REGION", "orig_region")
|
||||
|
||||
|
@ -100,7 +101,7 @@ func TestSessionClientConfig(t *testing.T) {
|
|||
|
||||
func TestNewSession_NoCredentials(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
s, err := NewSession()
|
||||
assert.NoError(t, err)
|
||||
|
@ -111,7 +112,7 @@ func TestNewSession_NoCredentials(t *testing.T) {
|
|||
|
||||
func TestNewSessionWithOptions_OverrideProfile(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", testConfigFilename)
|
||||
|
@ -134,7 +135,7 @@ func TestNewSessionWithOptions_OverrideProfile(t *testing.T) {
|
|||
|
||||
func TestNewSessionWithOptions_OverrideSharedConfigEnable(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "0")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", testConfigFilename)
|
||||
|
@ -157,7 +158,7 @@ func TestNewSessionWithOptions_OverrideSharedConfigEnable(t *testing.T) {
|
|||
|
||||
func TestNewSessionWithOptions_OverrideSharedConfigDisable(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", testConfigFilename)
|
||||
|
@ -178,6 +179,29 @@ func TestNewSessionWithOptions_OverrideSharedConfigDisable(t *testing.T) {
|
|||
assert.Contains(t, creds.ProviderName, "SharedConfigCredentials")
|
||||
}
|
||||
|
||||
func TestNewSessionWithOptions_OverrideSharedConfigFiles(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", testConfigFilename)
|
||||
os.Setenv("AWS_PROFILE", "config_file_load_order")
|
||||
|
||||
s, err := NewSessionWithOptions(Options{
|
||||
SharedConfigFiles: []string{testConfigOtherFilename},
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.Equal(t, "shared_config_other_region", *s.Config.Region)
|
||||
|
||||
creds, err := s.Config.Credentials.Get()
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, "shared_config_other_akid", creds.AccessKeyID)
|
||||
assert.Equal(t, "shared_config_other_secret", creds.SecretAccessKey)
|
||||
assert.Empty(t, creds.SessionToken)
|
||||
assert.Contains(t, creds.ProviderName, "SharedConfigCredentials")
|
||||
}
|
||||
|
||||
func TestNewSessionWithOptions_Overrides(t *testing.T) {
|
||||
cases := []struct {
|
||||
InEnvs map[string]string
|
||||
|
@ -235,7 +259,7 @@ func TestNewSessionWithOptions_Overrides(t *testing.T) {
|
|||
|
||||
for _, c := range cases {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
for k, v := range c.InEnvs {
|
||||
os.Setenv(k, v)
|
||||
|
@ -279,7 +303,7 @@ const assumeRoleRespMsg = `
|
|||
|
||||
func TestSesisonAssumeRole(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_REGION", "us-east-1")
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
|
@ -302,7 +326,7 @@ func TestSesisonAssumeRole(t *testing.T) {
|
|||
|
||||
func TestSessionAssumeRole_WithMFA(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_REGION", "us-east-1")
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
|
@ -345,7 +369,7 @@ func TestSessionAssumeRole_WithMFA(t *testing.T) {
|
|||
|
||||
func TestSessionAssumeRole_WithMFA_NoTokenProvider(t *testing.T) {
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_REGION", "us-east-1")
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
|
@ -363,7 +387,7 @@ func TestSessionAssumeRole_DisableSharedConfig(t *testing.T) {
|
|||
// Backwards compatibility with Shared config disabled
|
||||
// assume role should not be built into the config.
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "0")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", testConfigFilename)
|
||||
|
@ -383,7 +407,7 @@ func TestSessionAssumeRole_InvalidSourceProfile(t *testing.T) {
|
|||
// Backwards compatibility with Shared config disabled
|
||||
// assume role should not be built into the config.
|
||||
oldEnv := initSessionTestEnv()
|
||||
defer popEnv(oldEnv)
|
||||
defer awstesting.PopEnv(oldEnv)
|
||||
|
||||
os.Setenv("AWS_SDK_LOAD_CONFIG", "1")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", testConfigFilename)
|
||||
|
@ -396,7 +420,7 @@ func TestSessionAssumeRole_InvalidSourceProfile(t *testing.T) {
|
|||
}
|
||||
|
||||
func initSessionTestEnv() (oldEnv []string) {
|
||||
oldEnv = stashEnv()
|
||||
oldEnv = awstesting.StashEnv()
|
||||
os.Setenv("AWS_CONFIG_FILE", "file_not_exists")
|
||||
os.Setenv("AWS_SHARED_CREDENTIALS_FILE", "file_not_exists")
|
||||
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/session/shared_config.go
generated
vendored
|
@ -113,7 +113,7 @@ func loadSharedConfigIniFiles(filenames []string) ([]sharedConfigFile, error) {
|
|||
|
||||
f, err := ini.Load(b)
|
||||
if err != nil {
|
||||
return nil, SharedConfigLoadError{Filename: filename}
|
||||
return nil, SharedConfigLoadError{Filename: filename, Err: err}
|
||||
}
|
||||
|
||||
files = append(files, sharedConfigFile{
|
||||
|
|
66
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go
generated
vendored
66
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go
generated
vendored
|
@ -45,7 +45,7 @@
|
|||
// If signing a request intended for HTTP2 server, and you're using Go 1.6.2
|
||||
// through 1.7.4 you should use the URL.RawPath as the pre-escaped form of the
|
||||
// request URL. https://github.com/golang/go/issues/16847 points to a bug in
|
||||
// Go pre 1.8 that failes to make HTTP2 requests using absolute URL in the HTTP
|
||||
// Go pre 1.8 that fails to make HTTP2 requests using absolute URL in the HTTP
|
||||
// message. URL.Opaque generally will force Go to make requests with absolute URL.
|
||||
// URL.RawPath does not do this, but RawPath must be a valid escaping of Path
|
||||
// or url.EscapedPath will ignore the RawPath escaping.
|
||||
|
@ -402,7 +402,7 @@ var SignRequestHandler = request.NamedHandler{
|
|||
}
|
||||
|
||||
// SignSDKRequest signs an AWS request with the V4 signature. This
|
||||
// request handler is bested used only with the SDK's built in service client's
|
||||
// request handler should only be used with the SDK's built in service client's
|
||||
// API operation requests.
|
||||
//
|
||||
// This function should not be used on its on its own, but in conjunction with
|
||||
|
@ -604,14 +604,18 @@ func (ctx *signingCtx) buildCanonicalHeaders(r rule, header http.Header) {
|
|||
headerValues := make([]string, len(headers))
|
||||
for i, k := range headers {
|
||||
if k == "host" {
|
||||
headerValues[i] = "host:" + ctx.Request.URL.Host
|
||||
if ctx.Request.Host != "" {
|
||||
headerValues[i] = "host:" + ctx.Request.Host
|
||||
} else {
|
||||
headerValues[i] = "host:" + ctx.Request.URL.Host
|
||||
}
|
||||
} else {
|
||||
headerValues[i] = k + ":" +
|
||||
strings.Join(ctx.SignedHeaderVals[k], ",")
|
||||
}
|
||||
}
|
||||
|
||||
ctx.canonicalHeaders = strings.Join(stripExcessSpaces(headerValues), "\n")
|
||||
stripExcessSpaces(headerValues)
|
||||
ctx.canonicalHeaders = strings.Join(headerValues, "\n")
|
||||
}
|
||||
|
||||
func (ctx *signingCtx) buildCanonicalString() {
|
||||
|
@ -717,45 +721,43 @@ const doubleSpaces = " "
|
|||
|
||||
var doubleSpaceBytes = []byte(doubleSpaces)
|
||||
|
||||
func stripExcessSpaces(headerVals []string) []string {
|
||||
vals := make([]string, len(headerVals))
|
||||
for i, str := range headerVals {
|
||||
// stripExcessSpaces will rewrite the passed in slice's string values to not
|
||||
// contain muliple side-by-side spaces.
|
||||
func stripExcessSpaces(vals []string) {
|
||||
for i, str := range vals {
|
||||
// Trim leading and trailing spaces
|
||||
trimmed := strings.TrimSpace(str)
|
||||
|
||||
idx := strings.Index(trimmed, doubleSpaces)
|
||||
var buf []byte
|
||||
for idx > -1 {
|
||||
// Multiple adjacent spaces found
|
||||
if buf == nil {
|
||||
// first time create the buffer
|
||||
buf = []byte(trimmed)
|
||||
}
|
||||
if idx < 0 {
|
||||
vals[i] = trimmed
|
||||
continue
|
||||
}
|
||||
|
||||
stripToIdx := -1
|
||||
for j := idx + 1; j < len(buf); j++ {
|
||||
buf := []byte(trimmed)
|
||||
for idx > -1 {
|
||||
idx++ // Start on the second space
|
||||
|
||||
stripped := false
|
||||
for j := idx; j < len(buf); j++ {
|
||||
if buf[j] != ' ' {
|
||||
buf = append(buf[:idx+1], buf[j:]...)
|
||||
stripToIdx = j
|
||||
buf = append(buf[:idx], buf[j:]...)
|
||||
stripped = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if !stripped {
|
||||
break
|
||||
}
|
||||
|
||||
if stripToIdx >= 0 {
|
||||
idx = bytes.Index(buf[stripToIdx:], doubleSpaceBytes)
|
||||
if idx >= 0 {
|
||||
idx += stripToIdx
|
||||
}
|
||||
} else {
|
||||
idx = -1
|
||||
// Find next double space
|
||||
origIdx := idx
|
||||
idx = bytes.Index(buf[idx:], doubleSpaceBytes)
|
||||
if idx > 0 {
|
||||
idx += origIdx
|
||||
}
|
||||
}
|
||||
|
||||
if buf != nil {
|
||||
vals[i] = string(buf)
|
||||
} else {
|
||||
vals[i] = trimmed
|
||||
}
|
||||
vals[i] = string(buf)
|
||||
}
|
||||
return vals
|
||||
}
|
||||
|
|
66
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go
generated
vendored
66
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go
generated
vendored
|
@ -28,6 +28,10 @@ func TestStripExcessHeaders(t *testing.T) {
|
|||
"1 2 3",
|
||||
"1 2 ",
|
||||
" 1 2 ",
|
||||
"12 3",
|
||||
"12 3 1",
|
||||
"12 3 1",
|
||||
"12 3 1abc123",
|
||||
}
|
||||
|
||||
expected := []string{
|
||||
|
@ -39,11 +43,15 @@ func TestStripExcessHeaders(t *testing.T) {
|
|||
"1 2 3",
|
||||
"1 2",
|
||||
"1 2",
|
||||
"12 3",
|
||||
"12 3 1",
|
||||
"12 3 1",
|
||||
"12 3 1abc123",
|
||||
}
|
||||
|
||||
newVals := stripExcessSpaces(vals)
|
||||
for i := 0; i < len(newVals); i++ {
|
||||
assert.Equal(t, expected[i], newVals[i], "test: %d", i)
|
||||
stripExcessSpaces(vals)
|
||||
for i := 0; i < len(vals); i++ {
|
||||
assert.Equal(t, expected[i], vals[i], "test: %d", i)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -463,7 +471,27 @@ func TestSignWithBody_NoReplaceRequestBody(t *testing.T) {
|
|||
}
|
||||
|
||||
if req.Body != origBody {
|
||||
t.Errorf("expeect request body to not be chagned")
|
||||
t.Errorf("expect request body to not be chagned")
|
||||
}
|
||||
}
|
||||
|
||||
func TestRequestHost(t *testing.T) {
|
||||
req, body := buildRequest("dynamodb", "us-east-1", "{}")
|
||||
req.URL.RawQuery = "Foo=z&Foo=o&Foo=m&Foo=a"
|
||||
req.Host = "myhost"
|
||||
ctx := &signingCtx{
|
||||
ServiceName: "dynamodb",
|
||||
Region: "us-east-1",
|
||||
Request: req,
|
||||
Body: body,
|
||||
Query: req.URL.Query(),
|
||||
Time: time.Now(),
|
||||
ExpireTime: 5 * time.Second,
|
||||
}
|
||||
|
||||
ctx.buildCanonicalHeaders(ignoredHeaders, ctx.Request.Header)
|
||||
if !strings.Contains(ctx.canonicalHeaders, "host:"+req.Host) {
|
||||
t.Errorf("canonical host header invalid")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -483,15 +511,29 @@ func BenchmarkSignRequest(b *testing.B) {
|
|||
}
|
||||
}
|
||||
|
||||
func BenchmarkStripExcessSpaces(b *testing.B) {
|
||||
vals := []string{
|
||||
`AWS4-HMAC-SHA256 Credential=AKIDFAKEIDFAKEID/20160628/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-date, Signature=1234567890abcdef1234567890abcdef1234567890abcdef`,
|
||||
`123 321 123 321`,
|
||||
` 123 321 123 321 `,
|
||||
}
|
||||
var stripExcessSpaceCases = []string{
|
||||
`AWS4-HMAC-SHA256 Credential=AKIDFAKEIDFAKEID/20160628/us-west-2/s3/aws4_request, SignedHeaders=host;x-amz-date, Signature=1234567890abcdef1234567890abcdef1234567890abcdef`,
|
||||
`123 321 123 321`,
|
||||
` 123 321 123 321 `,
|
||||
` 123 321 123 321 `,
|
||||
"123",
|
||||
"1 2 3",
|
||||
" 1 2 3",
|
||||
"1 2 3",
|
||||
"1 23",
|
||||
"1 2 3",
|
||||
"1 2 ",
|
||||
" 1 2 ",
|
||||
"12 3",
|
||||
"12 3 1",
|
||||
"12 3 1",
|
||||
"12 3 1abc123",
|
||||
}
|
||||
|
||||
b.ResetTimer()
|
||||
func BenchmarkStripExcessSpaces(b *testing.B) {
|
||||
for i := 0; i < b.N; i++ {
|
||||
stripExcessSpaces(vals)
|
||||
// Make sure to start with a copy of the cases
|
||||
cases := append([]string{}, stripExcessSpaceCases...)
|
||||
stripExcessSpaces(cases)
|
||||
}
|
||||
}
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
|
@ -5,4 +5,4 @@ package aws
|
|||
const SDKName = "aws-sdk-go"
|
||||
|
||||
// SDKVersion is the version of this SDK
|
||||
const SDKVersion = "1.8.22"
|
||||
const SDKVersion = "1.10.14"
|
||||
|
|
10
vendor/github.com/aws/aws-sdk-go/awstesting/assert.go
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/awstesting/assert.go
generated
vendored
|
@ -149,8 +149,8 @@ func objectsAreEqual(expected, actual interface{}) bool {
|
|||
// Copied locally to prevent non-test build dependencies on testify
|
||||
func equal(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{}) bool {
|
||||
if !objectsAreEqual(expected, actual) {
|
||||
t.Errorf("Not Equal:\n\t%#v (expected)\n\t%#v (actual), %s",
|
||||
expected, actual, messageFromMsgAndArgs(msgAndArgs))
|
||||
t.Errorf("%s\n%s", messageFromMsgAndArgs(msgAndArgs),
|
||||
SprintExpectActual(expected, actual))
|
||||
return false
|
||||
}
|
||||
|
||||
|
@ -188,3 +188,9 @@ func queryValueKeys(v url.Values) []string {
|
|||
sort.Strings(keys)
|
||||
return keys
|
||||
}
|
||||
|
||||
// SprintExpectActual returns a string for test failure cases when the actual
|
||||
// value is not the same as the expected.
|
||||
func SprintExpectActual(expect, actual interface{}) string {
|
||||
return fmt.Sprintf("expect: %+v\nactual: %+v\n", expect, actual)
|
||||
}
|
||||
|
|
199
vendor/github.com/aws/aws-sdk-go/awstesting/custom_ca_bundle.go
generated
vendored
Normal file
199
vendor/github.com/aws/aws-sdk-go/awstesting/custom_ca_bundle.go
generated
vendored
Normal file
|
@ -0,0 +1,199 @@
|
|||
package awstesting
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"net/http"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
func availableLocalAddr(ip string) (string, error) {
|
||||
l, err := net.Listen("tcp", ip+":0")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
defer l.Close()
|
||||
|
||||
return l.Addr().String(), nil
|
||||
}
|
||||
|
||||
// CreateTLSServer will create the TLS server on an open port using the
|
||||
// certificate and key. The address will be returned that the server is running on.
|
||||
func CreateTLSServer(cert, key string, mux *http.ServeMux) (string, error) {
|
||||
addr, err := availableLocalAddr("127.0.0.1")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
if mux == nil {
|
||||
mux = http.NewServeMux()
|
||||
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {})
|
||||
}
|
||||
|
||||
go func() {
|
||||
if err := http.ListenAndServeTLS(addr, cert, key, mux); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}()
|
||||
|
||||
for i := 0; i < 60; i++ {
|
||||
if _, err := http.Get("https://" + addr); err != nil && !strings.Contains(err.Error(), "connection refused") {
|
||||
break
|
||||
}
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
|
||||
return "https://" + addr, nil
|
||||
}
|
||||
|
||||
// CreateTLSBundleFiles returns the temporary filenames for the certificate
|
||||
// key, and CA PEM content. These files should be deleted when no longer
|
||||
// needed. CleanupTLSBundleFiles can be used for this cleanup.
|
||||
func CreateTLSBundleFiles() (cert, key, ca string, err error) {
|
||||
cert, err = createTmpFile(TLSBundleCert)
|
||||
if err != nil {
|
||||
return "", "", "", err
|
||||
}
|
||||
|
||||
key, err = createTmpFile(TLSBundleKey)
|
||||
if err != nil {
|
||||
return "", "", "", err
|
||||
}
|
||||
|
||||
ca, err = createTmpFile(TLSBundleCA)
|
||||
if err != nil {
|
||||
return "", "", "", err
|
||||
}
|
||||
|
||||
return cert, key, ca, nil
|
||||
}
|
||||
|
||||
// CleanupTLSBundleFiles takes variadic list of files to be deleted.
|
||||
func CleanupTLSBundleFiles(files ...string) error {
|
||||
for _, file := range files {
|
||||
if err := os.Remove(file); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func createTmpFile(b []byte) (string, error) {
|
||||
bundleFile, err := ioutil.TempFile(os.TempDir(), "aws-sdk-go-session-test")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
_, err = bundleFile.Write(b)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
defer bundleFile.Close()
|
||||
return bundleFile.Name(), nil
|
||||
}
|
||||
|
||||
/* Cert generation steps
|
||||
# Create the CA key
|
||||
openssl genrsa -des3 -out ca.key 1024
|
||||
|
||||
# Create the CA Cert
|
||||
openssl req -new -sha256 -x509 -days 3650 \
|
||||
-subj "/C=GO/ST=Gopher/O=Testing ROOT CA" \
|
||||
-key ca.key -out ca.crt
|
||||
|
||||
# Create config
|
||||
cat > csr_details.txt <<-EOF
|
||||
|
||||
[req]
|
||||
default_bits = 1024
|
||||
prompt = no
|
||||
default_md = sha256
|
||||
req_extensions = SAN
|
||||
distinguished_name = dn
|
||||
|
||||
[ dn ]
|
||||
C=GO
|
||||
ST=Gopher
|
||||
O=Testing Certificate
|
||||
OU=Testing IP
|
||||
|
||||
[SAN]
|
||||
subjectAltName = IP:127.0.0.1
|
||||
EOF
|
||||
|
||||
# Create certificate signing request
|
||||
openssl req -new -sha256 -nodes -newkey rsa:1024 \
|
||||
-config <( cat csr_details.txt ) \
|
||||
-keyout ia.key -out ia.csr
|
||||
|
||||
# Create a signed certificate
|
||||
openssl x509 -req -days 3650 \
|
||||
-CAcreateserial \
|
||||
-extfile <( cat csr_details.txt ) \
|
||||
-extensions SAN \
|
||||
-CA ca.crt -CAkey ca.key -in ia.csr -out ia.crt
|
||||
|
||||
# Verify
|
||||
openssl req -noout -text -in ia.csr
|
||||
openssl x509 -noout -text -in ia.crt
|
||||
*/
|
||||
var (
|
||||
// TLSBundleCA ca.crt
|
||||
TLSBundleCA = []byte(`-----BEGIN CERTIFICATE-----
|
||||
MIICiTCCAfKgAwIBAgIJAJ5X1olt05XjMA0GCSqGSIb3DQEBCwUAMDgxCzAJBgNV
|
||||
BAYTAkdPMQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBD
|
||||
QTAeFw0xNzAzMDkwMDAyMDZaFw0yNzAzMDcwMDAyMDZaMDgxCzAJBgNVBAYTAkdP
|
||||
MQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBDQTCBnzAN
|
||||
BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAw/8DN+t9XQR60jx42rsQ2WE2Dx85rb3n
|
||||
GQxnKZZLNddsT8rDyxJNP18aFalbRbFlyln5fxWxZIblu9Xkm/HRhOpbSimSqo1y
|
||||
uDx21NVZ1YsOvXpHby71jx3gPrrhSc/t/zikhi++6D/C6m1CiIGuiJ0GBiJxtrub
|
||||
UBMXT0QtI2ECAwEAAaOBmjCBlzAdBgNVHQ4EFgQU8XG3X/YHBA6T04kdEkq6+4GV
|
||||
YykwaAYDVR0jBGEwX4AU8XG3X/YHBA6T04kdEkq6+4GVYymhPKQ6MDgxCzAJBgNV
|
||||
BAYTAkdPMQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBD
|
||||
QYIJAJ5X1olt05XjMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADgYEAeILv
|
||||
z49+uxmPcfOZzonuOloRcpdvyjiXblYxbzz6ch8GsE7Q886FTZbvwbgLhzdwSVgG
|
||||
G8WHkodDUsymVepdqAamS3f8PdCUk8xIk9mop8LgaB9Ns0/TssxDvMr3sOD2Grb3
|
||||
xyWymTWMcj6uCiEBKtnUp4rPiefcvCRYZ17/hLE=
|
||||
-----END CERTIFICATE-----
|
||||
`)
|
||||
|
||||
// TLSBundleCert ai.crt
|
||||
TLSBundleCert = []byte(`-----BEGIN CERTIFICATE-----
|
||||
MIICGjCCAYOgAwIBAgIJAIIu+NOoxxM0MA0GCSqGSIb3DQEBBQUAMDgxCzAJBgNV
|
||||
BAYTAkdPMQ8wDQYDVQQIEwZHb3BoZXIxGDAWBgNVBAoTD1Rlc3RpbmcgUk9PVCBD
|
||||
QTAeFw0xNzAzMDkwMDAzMTRaFw0yNzAzMDcwMDAzMTRaMFExCzAJBgNVBAYTAkdP
|
||||
MQ8wDQYDVQQIDAZHb3BoZXIxHDAaBgNVBAoME1Rlc3RpbmcgQ2VydGlmaWNhdGUx
|
||||
EzARBgNVBAsMClRlc3RpbmcgSVAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
AN1hWHeioo/nASvbrjwCQzXCiWiEzGkw353NxsAB54/NqDL3LXNATtiSJu8kJBrm
|
||||
Ah12IFLtWLGXjGjjYlHbQWnOR6awveeXnQZukJyRWh7m/Qlt9Ho0CgZE1U+832ac
|
||||
5GWVldNxW1Lz4I+W9/ehzqe8I80RS6eLEKfUFXGiW+9RAgMBAAGjEzARMA8GA1Ud
|
||||
EQQIMAaHBH8AAAEwDQYJKoZIhvcNAQEFBQADgYEAdF4WQHfVdPCbgv9sxgJjcR1H
|
||||
Hgw9rZ47gO1IiIhzglnLXQ6QuemRiHeYFg4kjcYBk1DJguxzDTGnUwhUXOibAB+S
|
||||
zssmrkdYYvn9aUhjc3XK3tjAoDpsPpeBeTBamuUKDHoH/dNRXxerZ8vu6uPR3Pgs
|
||||
5v/KCV6IAEcvNyOXMPo=
|
||||
-----END CERTIFICATE-----
|
||||
`)
|
||||
|
||||
// TLSBundleKey ai.key
|
||||
TLSBundleKey = []byte(`-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXAIBAAKBgQDdYVh3oqKP5wEr2648AkM1wolohMxpMN+dzcbAAeePzagy9y1z
|
||||
QE7YkibvJCQa5gIddiBS7Vixl4xo42JR20FpzkemsL3nl50GbpCckVoe5v0JbfR6
|
||||
NAoGRNVPvN9mnORllZXTcVtS8+CPlvf3oc6nvCPNEUunixCn1BVxolvvUQIDAQAB
|
||||
AoGBAMISrcirddGrlLZLLrKC1ULS2T0cdkqdQtwHYn4+7S5+/z42vMx1iumHLsSk
|
||||
rVY7X41OWkX4trFxhvEIrc/O48bo2zw78P7flTxHy14uxXnllU8cLThE29SlUU7j
|
||||
AVBNxJZMsXMlS/DowwD4CjFe+x4Pu9wZcReF2Z9ntzMpySABAkEA+iWoJCPE2JpS
|
||||
y78q3HYYgpNY3gF3JqQ0SI/zTNkb3YyEIUffEYq0Y9pK13HjKtdsSuX4osTIhQkS
|
||||
+UgRp6tCAQJBAOKPYTfQ2FX8ijgUpHZRuEAVaxASAS0UATiLgzXxLvOh/VC2at5x
|
||||
wjOX6sD65pPz/0D8Qj52Cq6Q1TQ+377SDVECQAIy0od+yPweXxvrUjUd1JlRMjbB
|
||||
TIrKZqs8mKbUQapw0bh5KTy+O1elU4MRPS3jNtBxtP25PQnuSnxmZcFTgAECQFzg
|
||||
DiiFcsn9FuRagfkHExMiNJuH5feGxeFaP9WzI144v9GAllrOI6Bm3JNzx2ZLlg4b
|
||||
20Qju8lIEj6yr6JYFaECQHM1VSojGRKpOl9Ox/R4yYSA9RV5Gyn00/aJNxVYyPD5
|
||||
i3acL2joQm2kLD/LO8paJ4+iQdRXCOMMIpjxSNjGQjQ=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
`)
|
||||
)
|
27
vendor/github.com/aws/aws-sdk-go/awstesting/util.go
generated
vendored
27
vendor/github.com/aws/aws-sdk-go/awstesting/util.go
generated
vendored
|
@ -2,6 +2,8 @@ package awstesting
|
|||
|
||||
import (
|
||||
"io"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/private/util"
|
||||
|
@ -92,3 +94,28 @@ func (c *FakeContext) Err() error {
|
|||
func (c *FakeContext) Value(key interface{}) interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
// StashEnv stashes the current environment variables and returns an array of
|
||||
// all environment values as key=val strings.
|
||||
func StashEnv() []string {
|
||||
env := os.Environ()
|
||||
os.Clearenv()
|
||||
|
||||
return env
|
||||
}
|
||||
|
||||
// PopEnv takes the list of the environment values and injects them into the
|
||||
// process's environment variable data. Clears any existing environment values
|
||||
// that may already exist.
|
||||
func PopEnv(env []string) {
|
||||
os.Clearenv()
|
||||
|
||||
for _, e := range env {
|
||||
p := strings.SplitN(e, "=", 2)
|
||||
k, v := p[0], ""
|
||||
if len(p) > 1 {
|
||||
v = p[1]
|
||||
}
|
||||
os.Setenv(k, v)
|
||||
}
|
||||
}
|
||||
|
|
24
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/godoc.html
generated
vendored
24
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/godoc.html
generated
vendored
|
@ -16,17 +16,19 @@
|
|||
<script type="text/javascript" src="/sdk-for-go/api/lib/godoc/jquery.treeview.js"></script>
|
||||
<script type="text/javascript" src="/sdk-for-go/api/lib/godoc/jquery.treeview.edit.js"></script>
|
||||
|
||||
<script type="text/javascript" src="https://media.amazonwebservices.com/js/sitecatalyst/s_code.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
// Documentation Service Name
|
||||
s.prop66 = 'AWS SDK for Go';
|
||||
s.eVar66 = 'D=c66';
|
||||
// Documentation Guide Name
|
||||
s.prop65 = 'API Reference';
|
||||
s.eVar65 = 'D=c65';
|
||||
var s_code = s.t();
|
||||
if (s_code) document.write(s_code);
|
||||
</script>
|
||||
<script src="https://a0.awsstatic.com/s_code/js/1.0/awshome_s_code.js%22></script>"></script>
|
||||
<!-- SiteCatalyst code version: H.25.1. Copyright 1996-2012 Adobe, Inc. All Rights Reserved -->
|
||||
<script><!--
|
||||
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
|
||||
var s_code=s.t();if(s_code)document.write(s_code)//--></script>
|
||||
<script language="JavaScript" type="text/javascript"><!--
|
||||
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
|
||||
//--></script>
|
||||
<noscript>
|
||||
<img src="//amazonwebservices.d2.sc.omtrdc.net/b/ss/awsamazonalldev2/1/H.25.1--NS/0" height="1" width="1" border="0" alt="" />
|
||||
</noscript>
|
||||
<!--/DO NOT REMOVE/-->
|
||||
<!-- End SiteCatalyst code version: H.25.1. -->
|
||||
<script type="text/javascript">
|
||||
window.onload = function() {
|
||||
var a = document.getElementById('feedback-link');
|
||||
|
|
12
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/package_default.html
generated
vendored
12
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/package_default.html
generated
vendored
|
@ -146,14 +146,14 @@
|
|||
</div> <!-- #pkg-callgraph -->
|
||||
|
||||
{{with .Consts}}
|
||||
<h2 id="pkg-constants">Constants</h2>
|
||||
<h2 id="pkg-constants">Constants <a class="permalink" href="#pkg-constants">¶</a></h2>
|
||||
{{range .}}
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{with .Vars}}
|
||||
<h2 id="pkg-variables">Variables</h2>
|
||||
<h2 id="pkg-variables">Variables <a class="permalink" href="#pkg-variables">¶</a></h2>
|
||||
{{range .}}
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
|
@ -162,7 +162,7 @@
|
|||
{{range .Funcs}}
|
||||
{{/* Name is a string - no need for FSet */}}
|
||||
{{$name_html := html .Name}}
|
||||
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h2>
|
||||
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}">¶</a></h2>
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
{{example_html $ .Name}}
|
||||
|
@ -172,7 +172,7 @@
|
|||
{{range .Types}}
|
||||
{{$tname := .Name}}
|
||||
{{$tname_html := html .Name}}
|
||||
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a></h2>
|
||||
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a> <a class="permalink" href="#{{$tname_html}}">¶</a></h2>
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
|
||||
|
@ -192,7 +192,7 @@
|
|||
|
||||
{{range .Funcs}}
|
||||
{{$name_html := html .Name}}
|
||||
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
|
||||
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}">¶</a></h3>
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
{{example_html $ .Name}}
|
||||
|
@ -201,7 +201,7 @@
|
|||
|
||||
{{range .Methods}}
|
||||
{{$name_html := html .Name}}
|
||||
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
|
||||
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$tname_html}}.{{$name_html}}">¶</a></h3>
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
{{$name := printf "%s_%s" $tname .Name}}
|
||||
|
|
22
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/package_service.html
generated
vendored
22
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/package_service.html
generated
vendored
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
{{example_html $ ""}}
|
||||
|
||||
<div id="pkg-operations" class="toggle">
|
||||
<div id="pkg-operations" class="toggleVisible">
|
||||
<div class="collapsed">
|
||||
<h2 class="toggleButton" title="Click to show Index section">Operations ▹</h2>
|
||||
</div>
|
||||
|
@ -78,7 +78,7 @@
|
|||
{{ if (ne .Name "Validate") -}}
|
||||
{{ $name_html := html .Name -}}
|
||||
{{ if not (is_op_deprecated $.PDoc.Name .Name) -}}
|
||||
<dd><a href="#{{$tname_html}}.{{$name_html}}">{{client_html $ .Decl false | sanitize}}</a></dd>
|
||||
<dd> <a href="#{{$tname_html}}.{{$name_html}}">{{.Name}}</a></dd>
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
|
@ -96,7 +96,7 @@
|
|||
</div><!-- .expanded -->
|
||||
</div><!-- #pkg-index -->
|
||||
{{ if $.HasPaginators -}}
|
||||
<div id="pkg-pagination " class="toggle">
|
||||
<div id="pkg-pagination " class="toggleVisible">
|
||||
<div class="collapsed">
|
||||
<h2 class="toggleButton" title="Click to show Index section">Paginators ▹</h2>
|
||||
</div>
|
||||
|
@ -114,7 +114,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{{ end -}}
|
||||
<div id="pkg-types" class="toggle">
|
||||
<div id="pkg-types" class="toggleVisible">
|
||||
<div class="collapsed">
|
||||
<h2 class="toggleButton" title="Click to show Index section">Types ▹</h2>
|
||||
</div>
|
||||
|
@ -130,7 +130,7 @@
|
|||
{{ range .Methods -}}
|
||||
{{ if is_setter $.PDoc.Name . -}}
|
||||
{{ $name_html := html .Name -}}
|
||||
<dd><a href="#{{$tname_html}}.{{$name_html}}">{{name_only_html $ . | sanitize}}</a></dd>
|
||||
<dd><a href="#{{$tname_html}}.{{$name_html}}">{{node_html $ .Decl false | sanitize}}</a></dd>
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
|
@ -207,7 +207,7 @@
|
|||
</div>
|
||||
{{ end -}}
|
||||
{{ with .Vars -}}
|
||||
<h2 id="pkg-variables">Variables</h2>
|
||||
<h2 id="pkg-variables">Variables <a class="permalink" href="#pkg-variables">¶</a></h2>
|
||||
{{ range . -}}
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{ comment_html .Doc -}}
|
||||
|
@ -216,7 +216,7 @@
|
|||
{{ range .Funcs -}}
|
||||
{{/* Name is a string - no need for FSet */ -}}
|
||||
{{ $name_html := html .Name -}}
|
||||
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h2>
|
||||
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}">¶</a></h2>
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
{{example_html $ .Name}}
|
||||
|
@ -225,7 +225,7 @@
|
|||
{{ range .Types -}}
|
||||
{{$tname := .Name -}}
|
||||
{{$tname_html := html .Name -}}
|
||||
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a></h2>
|
||||
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a> <a class="permalink" href="#{{$tname_html}}">¶</a></h2>
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
{{ range .Consts -}}
|
||||
|
@ -241,7 +241,7 @@
|
|||
{{ methodset_html $ $tname -}}
|
||||
{{ range .Funcs -}}
|
||||
{{ $name_html := html .Name -}}
|
||||
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
|
||||
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}">¶</a></h3>
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
{{example_html $ .Name}}
|
||||
|
@ -250,9 +250,9 @@
|
|||
{{ range .Methods -}}
|
||||
{{ $name_html := html .Name -}}
|
||||
{{ if is_op_deprecated $.PDoc.Name .Name -}}
|
||||
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a><div class="deprecated">Deprecated</div></h3>
|
||||
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a><div class="deprecated">Deprecated</div> <a class="permalink" href="#{{$tname_html}}.{{$name_html}}">¶</a></h3>
|
||||
{{ else }}
|
||||
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
|
||||
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$tname_html}}.{{$name_html}}">¶</a></h3>
|
||||
{{ end -}}
|
||||
<pre>{{node_html $ .Decl true}}</pre>
|
||||
{{comment_html .Doc}}
|
||||
|
|
7
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/style.css
generated
vendored
7
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/style.css
generated
vendored
|
@ -1041,3 +1041,10 @@ a.error {
|
|||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.permalink {
|
||||
display: none;
|
||||
}
|
||||
:hover > .permalink {
|
||||
display: inline;
|
||||
}
|
||||
|
|
49
vendor/github.com/aws/aws-sdk-go/example/aws/credentials/plugincreds/README.md
generated
vendored
Normal file
49
vendor/github.com/aws/aws-sdk-go/example/aws/credentials/plugincreds/README.md
generated
vendored
Normal file
|
@ -0,0 +1,49 @@
|
|||
Retrieve Credentials with Go Plugin
|
||||
===
|
||||
|
||||
This example demonstrates how you can take advantage of Go 1.8's new Plugin
|
||||
functionality to retrieve AWS credentials dynamically from a plugin compiled
|
||||
separate from your application.
|
||||
|
||||
Usage
|
||||
---
|
||||
|
||||
Example Plugin
|
||||
---
|
||||
|
||||
You can find the plugin at `plugin/plugin.go` nested within this example. The plugin
|
||||
demonstrates what symbol the SDK will use when lookup up the credential provider
|
||||
and the type signature that needs to be implemented.
|
||||
|
||||
Compile the plugin with:
|
||||
|
||||
go build -tags example -o myPlugin.so -buildmode=plugin plugin/plugin.go
|
||||
|
||||
JSON Credentials File
|
||||
---
|
||||
|
||||
This example plugin will read the credentials from a JSON file pointed to by
|
||||
the `PLUGIN_CREDS_FILE` environment variable. The contents of the file are
|
||||
the credentials, Key, Secret, and Token. The `Token` filed does not need to be
|
||||
set if your credentials do not have one.
|
||||
|
||||
```json
|
||||
{
|
||||
"Key": "MyAWSCredAccessKeyID",
|
||||
"Secret": "MyAWSCredSecretKey",
|
||||
"Token": "MyAWSCredToken"
|
||||
}
|
||||
```
|
||||
|
||||
Example Application
|
||||
---
|
||||
|
||||
The `main.go` file in this folder demonstrates how you can configure the SDK to
|
||||
use a plugin to retrieve credentials with.
|
||||
|
||||
Compile and run application:
|
||||
|
||||
go build -tags example -o myApp main.go
|
||||
|
||||
PLUGIN_CREDS_FILE=pathToCreds.json ./myApp myPlugin.so myBucket myObjectKey
|
||||
|
83
vendor/github.com/aws/aws-sdk-go/example/aws/credentials/plugincreds/main.go
generated
vendored
Normal file
83
vendor/github.com/aws/aws-sdk-go/example/aws/credentials/plugincreds/main.go
generated
vendored
Normal file
|
@ -0,0 +1,83 @@
|
|||
// +build example,go18
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"plugin"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials/plugincreds"
|
||||
"github.com/aws/aws-sdk-go/aws/endpoints"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
"github.com/aws/aws-sdk-go/service/s3/s3manager"
|
||||
)
|
||||
|
||||
// Example application which loads a Go Plugin file, and uses the credential
|
||||
// provider defined within the plugin to get credentials for making a S3
|
||||
// request.
|
||||
//
|
||||
// The example will derive the bucket's region automatically if a AWS_REGION
|
||||
// environment variable is not defined.
|
||||
//
|
||||
// Build:
|
||||
// go build -tags example -o myApp main.go
|
||||
//
|
||||
// Usage:
|
||||
// ./myApp <compiled plugin> <bucket> <object key>
|
||||
func main() {
|
||||
if len(os.Args) < 4 {
|
||||
exitErrorf("Usage: myApp <compiled plugin>, <bucket> <object key>")
|
||||
}
|
||||
|
||||
pluginFilename := os.Args[1]
|
||||
bucket := os.Args[2]
|
||||
key := os.Args[3]
|
||||
|
||||
// Open plugin, and load it into the process.
|
||||
p, err := plugin.Open(pluginFilename)
|
||||
if err != nil {
|
||||
exitErrorf("failed to open plugin, %s, %v", pluginFilename, err)
|
||||
}
|
||||
|
||||
// Create a new Credentials value which will source the provider's Retrieve
|
||||
// and IsExpired functions from the plugin.
|
||||
creds, err := plugincreds.NewCredentials(p)
|
||||
if err != nil {
|
||||
exitErrorf("failed to load plugin provider, %v", err)
|
||||
}
|
||||
|
||||
// Example to configure a Session with the newly created credentials that
|
||||
// will be sourced using the plugin's functionality.
|
||||
sess := session.Must(session.NewSession(&aws.Config{
|
||||
Credentials: creds,
|
||||
}))
|
||||
|
||||
// If the region is not available attempt to derive the bucket's region
|
||||
// from a query to S3 for the bucket's metadata
|
||||
region := aws.StringValue(sess.Config.Region)
|
||||
if len(region) == 0 {
|
||||
region, err = s3manager.GetBucketRegion(context.Background(), sess, bucket, endpoints.UsEast1RegionID)
|
||||
if err != nil {
|
||||
exitErrorf("failed to get bucket region, %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
// Create the S3 service client for the target region
|
||||
svc := s3.New(sess, aws.NewConfig().WithRegion(region))
|
||||
|
||||
// Get the object's details
|
||||
result, err := svc.HeadObject(&s3.HeadObjectInput{
|
||||
Bucket: aws.String(bucket),
|
||||
Key: aws.String(key),
|
||||
})
|
||||
fmt.Println(result, err)
|
||||
}
|
||||
|
||||
func exitErrorf(format string, args ...interface{}) {
|
||||
fmt.Fprintf(os.Stderr, format+"\n", args...)
|
||||
os.Exit(1)
|
||||
}
|
61
vendor/github.com/aws/aws-sdk-go/example/aws/credentials/plugincreds/plugin/plugin.go
generated
vendored
Normal file
61
vendor/github.com/aws/aws-sdk-go/example/aws/credentials/plugincreds/plugin/plugin.go
generated
vendored
Normal file
|
@ -0,0 +1,61 @@
|
|||
// +build example,go18
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"os"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// Example plugin that will retrieve credentials from a JSON file that the
|
||||
// "PLUGIN_CREDS_FILE" environment variable points to
|
||||
//
|
||||
// Build with:
|
||||
// go build -tags example -o plugin.so -buildmode=plugin plugin.go
|
||||
func main() {}
|
||||
|
||||
var myCredProvider provider
|
||||
|
||||
func init() {
|
||||
// Initialize a mock credential provider with stubs
|
||||
myCredProvider = provider{Filename: os.Getenv("PLUGIN_CREDS_FILE")}
|
||||
}
|
||||
|
||||
// GetAWSSDKCredentialProvider is the symbol SDK will lookup and use to
|
||||
// get the credential provider's retrieve and isExpired functions.
|
||||
func GetAWSSDKCredentialProvider() (func() (key, secret, token string, err error), func() bool) {
|
||||
return myCredProvider.Retrieve, myCredProvider.IsExpired
|
||||
}
|
||||
|
||||
// mock implementation of a type that returns retrieves credentials and
|
||||
// returns if they have expired.
|
||||
type provider struct {
|
||||
Filename string
|
||||
|
||||
loaded bool
|
||||
}
|
||||
|
||||
func (p *provider) Retrieve() (key, secret, token string, err error) {
|
||||
f, err := os.Open(p.Filename)
|
||||
if err != nil {
|
||||
return "", "", "", errors.Wrapf(err, "failed to open credentials file, %q", p.Filename)
|
||||
}
|
||||
decoder := json.NewDecoder(f)
|
||||
|
||||
creds := struct {
|
||||
Key, Secret, Token string
|
||||
}{}
|
||||
|
||||
if err := decoder.Decode(&creds); err != nil {
|
||||
return "", "", "", errors.Wrap(err, "failed to decode credentials file")
|
||||
}
|
||||
|
||||
p.loaded = true
|
||||
return creds.Key, creds.Secret, creds.Token, nil
|
||||
}
|
||||
|
||||
func (p *provider) IsExpired() bool {
|
||||
return !p.loaded
|
||||
}
|
15
vendor/github.com/aws/aws-sdk-go/example/service/rds/rdsutils/authentication/README.md
generated
vendored
Normal file
15
vendor/github.com/aws/aws-sdk-go/example/service/rds/rdsutils/authentication/README.md
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Example
|
||||
|
||||
This is an example using the AWS SDK for Go to create an Amazon RDS DB token using the
|
||||
rdsutils package.
|
||||
|
||||
# Usage
|
||||
|
||||
```sh
|
||||
go run -tags example iam_authetnication.go <region> <db user> <db name> <endpoint to database> <iam arn>
|
||||
```
|
||||
|
||||
Output:
|
||||
```
|
||||
Successfully opened connection to database
|
||||
```
|
47
vendor/github.com/aws/aws-sdk-go/example/service/rds/rdsutils/authentication/iam_authentication.go
generated
vendored
Normal file
47
vendor/github.com/aws/aws-sdk-go/example/service/rds/rdsutils/authentication/iam_authentication.go
generated
vendored
Normal file
|
@ -0,0 +1,47 @@
|
|||
// +build example,skip
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/go-sql-driver/mysql"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials/stscreds"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/rds/rdsutils"
|
||||
)
|
||||
|
||||
// Usage ./iam_authentication <region> <db user> <db name> <endpoint to database> <iam arn>
|
||||
func main() {
|
||||
if len(os.Args) < 5 {
|
||||
log.Println("USAGE ERROR: go run concatenateObjects.go <region> <endpoint to database> <iam arn>")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
awsRegion := os.Args[1]
|
||||
dbUser := os.Args[2]
|
||||
dbName := os.Args[3]
|
||||
dbEndpoint := os.Args[4]
|
||||
awsCreds := stscreds.NewCredentials(session.New(&aws.Config{Region: &awsRegion}), os.Args[5])
|
||||
authToken, err := rdsutils.BuildAuthToken(dbEndpoint, awsRegion, dbUser, awsCreds)
|
||||
|
||||
// Create the MySQL DNS string for the DB connection
|
||||
// user:password@protocol(endpoint)/dbname?<params>
|
||||
dnsStr := fmt.Sprintf("%s:%s@tcp(%s)/%s?tls=true",
|
||||
dbUser, authToken, dbEndpoint, dbName,
|
||||
)
|
||||
|
||||
driver := mysql.MySQLDriver{}
|
||||
_ = driver
|
||||
// Use db to perform SQL operations on database
|
||||
if _, err = sql.Open("mysql", dnsStr); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
fmt.Println("Successfully opened connection to database")
|
||||
}
|
124
vendor/github.com/aws/aws-sdk-go/example/service/s3/presignURL/README.md
generated
vendored
Normal file
124
vendor/github.com/aws/aws-sdk-go/example/service/s3/presignURL/README.md
generated
vendored
Normal file
|
@ -0,0 +1,124 @@
|
|||
# Presigned Amazon S3 API Operation Example
|
||||
|
||||
This example demonstrates how you can build a client application to retrieve and
|
||||
upload object data from Amazon S3 without needing to know anything about Amazon
|
||||
S3 or have access to any AWS credentials. Only the service would have knowledge
|
||||
of how and where the objects are stored in Amazon S3.
|
||||
|
||||
The example is split into two parts `server.go` and `client.go`. These two parts
|
||||
simulate the client/server architecture. In this example the client will represent
|
||||
a third part user that will request resource URLs from the service. The service
|
||||
will generate presigned S3 URLs which the client can use to download and
|
||||
upload S3 object content.
|
||||
|
||||
The service supports generating presigned URLs for two S3 APIs; `GetObject` and
|
||||
`PutObject`. The client will request a presigned URL from the service with an
|
||||
object Key. In this example the value is the S3 object's `key`. Alternatively,
|
||||
you could use your own pattern with no visible relation to the S3 object's key.
|
||||
The server would then perform a cross reference with client provided value to
|
||||
one that maps to the S3 object's key.
|
||||
|
||||
Before using the client to upload and download S3 objects you'll need to start the
|
||||
service. The service will use the SDK's default credential chain to source your
|
||||
AWS credentials. See the [`Configuring Credentials`](http://docs.aws.amazon.com/sdk-for-go/api/)
|
||||
section of the SDK's API Reference guide on how the SDK loads your AWS credentials.
|
||||
|
||||
The server requires the S3 `-b bucket` the presigned URLs will be generated for. A
|
||||
`-r region` is only needed if the bucket is in AWS China or AWS Gov Cloud. For
|
||||
buckets in AWS the server will use the [`s3manager.GetBucketRegion`](http://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#GetBucketRegion) utility to lookup the bucket's region.
|
||||
|
||||
You should run the service in the background or in a separate terminal tab before
|
||||
moving onto the client.
|
||||
|
||||
|
||||
```sh
|
||||
go run -tags example server/server.go -b mybucket
|
||||
> Starting Server On: 127.0.0.1:8080
|
||||
```
|
||||
|
||||
Use the `--help` flag to see a list of additional configuration flags, and their
|
||||
defaults.
|
||||
|
||||
## Downloading an Amazon S3 Object
|
||||
|
||||
Use the client application to request a presigned URL from the server and use
|
||||
that presigned URL to download the object from S3. Calling the client with the
|
||||
`-get key` flag will do this. An optional `-f filename` flag can be provided as
|
||||
well to write the object to. If no flag is provided the object will be written
|
||||
to `stdout`
|
||||
|
||||
```sh
|
||||
go run -tags example client/client.go -get "my-object/key" -f outputfilename
|
||||
```
|
||||
|
||||
Use the `--help` flag to see a list of additional configuration flags, and their
|
||||
defaults.
|
||||
|
||||
The following curl request demonstrates the request the client makes to the server
|
||||
for the presigned URL for the `my-object/key` S3 object. The `method` query
|
||||
parameter lets the server know that we are requesting the `GetObject`'s presigned
|
||||
URL. The `method` value can be `GET` or `PUT` for the `GetObject` or `PutObject` APIs.
|
||||
|
||||
```sh
|
||||
curl -v "http://127.0.0.1:8080/presign/my-object/key?method=GET"
|
||||
```
|
||||
|
||||
The server will respond with a JSON value. The value contains three pieces of
|
||||
information that the client will need to correctly make the request. First is
|
||||
the presigned URL. This is the URL the client will make the request to. Second
|
||||
is the HTTP method the request should be sent as. This is included to simplify
|
||||
the client's request building. Finally the response will include a list of
|
||||
additional headers that the client should include that the presigned request
|
||||
was signed with.
|
||||
|
||||
```json
|
||||
{
|
||||
"URL": "https://mybucket.s3-us-west-2.amazonaws.com/my-object/key?<signature>",
|
||||
"Method": "GET",
|
||||
"Header": {
|
||||
"x-amz-content-sha256":["UNSIGNED-PAYLOAD"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
With this URL our client will build a HTTP request for the S3 object's data. The
|
||||
`client.go` will then write the object's data to the `filename` if one is provided,
|
||||
or to `stdout` of a filename is not set in the command line arguments.
|
||||
|
||||
## Uploading a File to Amazon S3
|
||||
|
||||
Just like the download, uploading a file to S3 will use a presigned URL requested
|
||||
from the server. The resigned URL will be built into an HTTP request using the
|
||||
URL, Method, and Headers. The `-put key` flag will upload the content of `-f filename`
|
||||
or stdin if no filename is provided to S3 using a presigned URL provided by the
|
||||
service
|
||||
|
||||
```sh
|
||||
go run -tags example client/client.go -put "my-object/key" -f filename
|
||||
```
|
||||
|
||||
Like the download case this will make a HTTP request to the server for the
|
||||
presigned URL. The Server will respond with a presigned URL for S3's `PutObject`
|
||||
API operation. In addition the `method` query parameter the client will also
|
||||
include a `contentLength` this value instructs the server to generate the presigned
|
||||
PutObject request with a `Content-Length` header value included in the signature.
|
||||
This is done so the content that is uploaded by the client can only be the size
|
||||
the presigned request was generated for.
|
||||
|
||||
```sh
|
||||
curl -v "http://127.0.0.1:8080/presign/my-object/key?method=PUT&contentLength=1024"
|
||||
```
|
||||
|
||||
## Expanding the Example
|
||||
|
||||
This example provides a spring board you can use to vend presigned URLs to your
|
||||
clients instead of streaming the object's content through your service. This
|
||||
client and server example can be expanded and customized. Adding new functionality
|
||||
such as additional constraints the server puts on the presigned URLs like
|
||||
`Content-Type`.
|
||||
|
||||
In addition to adding constraints to the presigned URLs the service could be
|
||||
updated to obfuscate S3 object's key. Instead of the client knowing the object's
|
||||
key, a lookup system could be used instead. This could be substitution based,
|
||||
or lookup into an external data store such as DynamoDB.
|
||||
|
266
vendor/github.com/aws/aws-sdk-go/example/service/s3/presignURL/client/client.go
generated
vendored
Normal file
266
vendor/github.com/aws/aws-sdk-go/example/service/s3/presignURL/client/client.go
generated
vendored
Normal file
|
@ -0,0 +1,266 @@
|
|||
// +build example
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// client.go is an example of a client that will request URLs from a service that
|
||||
// the client will use to upload and download content with.
|
||||
//
|
||||
// The server must be started before the client is run.
|
||||
//
|
||||
// Use "--help" command line argument flag to see all options and defaults. If
|
||||
// filename is not provided the client will read from stdin for uploads and
|
||||
// write to stdout for downloads.
|
||||
//
|
||||
// Usage:
|
||||
// go run -tags example client.go -get myObjectKey -f filename
|
||||
func main() {
|
||||
method, filename, key, serverURL := loadConfig()
|
||||
|
||||
var err error
|
||||
|
||||
switch method {
|
||||
case GetMethod:
|
||||
// Requests the URL from the server that the client will use to download
|
||||
// the content from. The content will be written to the file pointed to
|
||||
// by filename. Creating it if the file does not exist. If filename is
|
||||
// not set the contents will be written to stdout.
|
||||
err = downloadFile(serverURL, key, filename)
|
||||
case PutMethod:
|
||||
// Requests the URL from the service that the client will use to upload
|
||||
// content to. The content will be read from the file pointed to by the
|
||||
// filename. If the filename is not set, content will be read from stdin.
|
||||
err = uploadFile(serverURL, key, filename)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
exitError(err)
|
||||
}
|
||||
}
|
||||
|
||||
// loadConfig configures the client based on the command line arguments used.
|
||||
func loadConfig() (method Method, serverURL, key, filename string) {
|
||||
var getKey, putKey string
|
||||
flag.StringVar(&getKey, "get", "",
|
||||
"Downloads the object from S3 by the `key`. Writes the object to a file the filename is provided, otherwise writes to stdout.")
|
||||
flag.StringVar(&putKey, "put", "",
|
||||
"Uploads data to S3 at the `key` provided. Uploads the file if filename is provided, otherwise reads from stdin.")
|
||||
flag.StringVar(&serverURL, "s", "http://127.0.0.1:8080", "Required `URL` the client will request presigned S3 operation from.")
|
||||
flag.StringVar(&filename, "f", "", "The `filename` of the file to upload and get from S3.")
|
||||
flag.Parse()
|
||||
|
||||
var errs Errors
|
||||
|
||||
if len(serverURL) == 0 {
|
||||
errs = append(errs, fmt.Errorf("server URL required"))
|
||||
}
|
||||
|
||||
if !((len(getKey) != 0) != (len(putKey) != 0)) {
|
||||
errs = append(errs, fmt.Errorf("either `get` or `put` can be provided, and one of the two is required."))
|
||||
}
|
||||
|
||||
if len(getKey) > 0 {
|
||||
method = GetMethod
|
||||
key = getKey
|
||||
} else {
|
||||
method = PutMethod
|
||||
key = putKey
|
||||
}
|
||||
|
||||
if len(errs) > 0 {
|
||||
fmt.Fprintf(os.Stderr, "Failed to load configuration:%v\n", errs)
|
||||
flag.PrintDefaults()
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
return method, filename, key, serverURL
|
||||
}
|
||||
|
||||
// downloadFile will request a URL from the server that the client can download
|
||||
// the content pointed to by "key". The content will be written to the file
|
||||
// pointed to by filename, creating the file if it doesn't exist. If filename
|
||||
// is not set the content will be written to stdout.
|
||||
func downloadFile(serverURL, key, filename string) error {
|
||||
var w *os.File
|
||||
if len(filename) > 0 {
|
||||
f, err := os.Create(filename)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to create download file %s, %v", filename, err)
|
||||
}
|
||||
w = f
|
||||
} else {
|
||||
w = os.Stdout
|
||||
}
|
||||
defer w.Close()
|
||||
|
||||
// Get the presigned URL from the remote service.
|
||||
req, err := getPresignedRequest(serverURL, "GET", key, 0)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to get get presigned request, %v", err)
|
||||
}
|
||||
|
||||
// Gets the file contents with the URL provided by the service.
|
||||
resp, err := http.DefaultClient.Do(req)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to do GET request, %v", err)
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return fmt.Errorf("failed to get S3 object, %d:%s",
|
||||
resp.StatusCode, resp.Status)
|
||||
}
|
||||
|
||||
if _, err = io.Copy(w, resp.Body); err != nil {
|
||||
return fmt.Errorf("failed to write S3 object, %v", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// uploadFile will request a URL from the service that the client can use to
|
||||
// upload content to. The content will be read from the file pointed to by filename.
|
||||
// If filename is not set the content will be read from stdin.
|
||||
func uploadFile(serverURL, key, filename string) error {
|
||||
var r io.ReadCloser
|
||||
var size int64
|
||||
if len(filename) > 0 {
|
||||
f, err := os.Open(filename)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to open upload file %s, %v", filename, err)
|
||||
}
|
||||
|
||||
// Get the size of the file so that the constraint of Content-Length
|
||||
// can be included with the presigned URL. This can be used by the
|
||||
// server or client to ensure the content uploaded is of a certain size.
|
||||
//
|
||||
// These constraints can further be expanded to include things like
|
||||
// Content-Type. Additionally constraints such as X-Amz-Content-Sha256
|
||||
// header set restricting the content of the file to only the content
|
||||
// the client initially made the request with. This prevents the object
|
||||
// from being overwritten or used to upload other unintended content.
|
||||
stat, err := f.Stat()
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to stat file, %s, %v", filename, err)
|
||||
}
|
||||
|
||||
size = stat.Size()
|
||||
r = f
|
||||
} else {
|
||||
buf := &bytes.Buffer{}
|
||||
io.Copy(buf, os.Stdin)
|
||||
size = int64(buf.Len())
|
||||
|
||||
r = ioutil.NopCloser(buf)
|
||||
}
|
||||
defer r.Close()
|
||||
|
||||
// Get the Presigned URL from the remote service. Pass in the file's
|
||||
// size if it is known so that the presigned URL returned will be required
|
||||
// to be used with the size of content requested.
|
||||
req, err := getPresignedRequest(serverURL, "PUT", key, size)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to get get presigned request, %v", err)
|
||||
}
|
||||
req.Body = r
|
||||
|
||||
// Upload the file contents to S3.
|
||||
resp, err := http.DefaultClient.Do(req)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to do GET request, %v", err)
|
||||
}
|
||||
|
||||
defer resp.Body.Close()
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return fmt.Errorf("failed to put S3 object, %d:%s",
|
||||
resp.StatusCode, resp.Status)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// getPresignRequest will request a URL from the service for the content specified
|
||||
// by the key and method. Returns a constructed Request that can be used to
|
||||
// upload or download content with based on the method used.
|
||||
//
|
||||
// If the PUT method is used the request's Body will need to be set on the returned
|
||||
// request value.
|
||||
func getPresignedRequest(serverURL, method, key string, contentLen int64) (*http.Request, error) {
|
||||
u := fmt.Sprintf("%s/presign/%s?method=%s&contentLength=%d",
|
||||
serverURL, key, method, contentLen,
|
||||
)
|
||||
|
||||
resp, err := http.Get(u)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to make request for presigned URL, %v", err)
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return nil, fmt.Errorf("failed to get valid presign response, %s", resp.Status)
|
||||
}
|
||||
|
||||
p := PresignResp{}
|
||||
if err := json.NewDecoder(resp.Body).Decode(&p); err != nil {
|
||||
return nil, fmt.Errorf("failed to decode response body, %v", err)
|
||||
}
|
||||
|
||||
req, err := http.NewRequest(p.Method, p.URL, nil)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to build presigned request, %v", err)
|
||||
}
|
||||
|
||||
for k, vs := range p.Header {
|
||||
for _, v := range vs {
|
||||
req.Header.Add(k, v)
|
||||
}
|
||||
}
|
||||
// Need to ensure that the content length member is set of the HTTP Request
|
||||
// or the request will not be transmitted correctly with a content length
|
||||
// value across the wire.
|
||||
if contLen := req.Header.Get("Content-Length"); len(contLen) > 0 {
|
||||
req.ContentLength, _ = strconv.ParseInt(contLen, 10, 64)
|
||||
}
|
||||
|
||||
return req, nil
|
||||
}
|
||||
|
||||
type Method int
|
||||
|
||||
const (
|
||||
PutMethod Method = iota
|
||||
GetMethod
|
||||
)
|
||||
|
||||
type Errors []error
|
||||
|
||||
func (es Errors) Error() string {
|
||||
out := make([]string, len(es))
|
||||
for _, e := range es {
|
||||
out = append(out, e.Error())
|
||||
}
|
||||
return strings.Join(out, "\n")
|
||||
}
|
||||
|
||||
type PresignResp struct {
|
||||
Method, URL string
|
||||
Header http.Header
|
||||
}
|
||||
|
||||
func exitError(err error) {
|
||||
fmt.Fprintln(os.Stderr, err.Error())
|
||||
os.Exit(1)
|
||||
}
|
186
vendor/github.com/aws/aws-sdk-go/example/service/s3/presignURL/server/server.go
generated
vendored
Normal file
186
vendor/github.com/aws/aws-sdk-go/example/service/s3/presignURL/server/server.go
generated
vendored
Normal file
|
@ -0,0 +1,186 @@
|
|||
// +build example
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"net"
|
||||
"net/http"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/endpoints"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
"github.com/aws/aws-sdk-go/service/s3/s3iface"
|
||||
"github.com/aws/aws-sdk-go/service/s3/s3manager"
|
||||
)
|
||||
|
||||
// server.go is an example of a service that vends lists for requests for presigned
|
||||
// URLs for S3 objects. The service supports two S3 operations, "GetObject" and
|
||||
// "PutObject".
|
||||
//
|
||||
// Example GetObject request to the service for the object with the key "MyObjectKey":
|
||||
//
|
||||
// curl -v "http://127.0.0.1:8080/presign/my-object/key?method=GET"
|
||||
//
|
||||
// Example PutObject request to the service for the object with the key "MyObjectKey":
|
||||
//
|
||||
// curl -v "http://127.0.0.1:8080/presign/my-object/key?method=PUT&contentLength=1024"
|
||||
//
|
||||
// Use "--help" command line argument flag to see all options and defaults.
|
||||
//
|
||||
// Usage:
|
||||
// go run -tags example service.go -b myBucket
|
||||
func main() {
|
||||
addr, bucket, region := loadConfig()
|
||||
|
||||
// Create a AWS SDK for Go Session that will load credentials using the SDK's
|
||||
// default credential change.
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
// Use the GetBucketRegion utility to lookup the bucket's region automatically.
|
||||
// The service.go will only do this correctly for AWS regions. For AWS China
|
||||
// and AWS Gov Cloud the region needs to be specified to let the service know
|
||||
// to look in those partitions instead of AWS.
|
||||
if len(region) == 0 {
|
||||
var err error
|
||||
region, err = s3manager.GetBucketRegion(aws.BackgroundContext(), sess, bucket, endpoints.UsWest2RegionID)
|
||||
if err != nil {
|
||||
exitError(fmt.Errorf("failed to get bucket region, %v", err))
|
||||
}
|
||||
}
|
||||
|
||||
// Create a new S3 service client that will be use by the service to generate
|
||||
// presigned URLs with. Not actual API requests will be made with this client.
|
||||
// The credentials loaded when the Session was created above will be used
|
||||
// to sign the requests with.
|
||||
s3Svc := s3.New(sess, &aws.Config{
|
||||
Region: aws.String(region),
|
||||
})
|
||||
|
||||
// Start the server listening and serve presigned URLs for GetObject and
|
||||
// PutObject requests.
|
||||
if err := listenAndServe(addr, bucket, s3Svc); err != nil {
|
||||
exitError(err)
|
||||
}
|
||||
}
|
||||
|
||||
func loadConfig() (addr, bucket, region string) {
|
||||
flag.StringVar(&bucket, "b", "", "S3 `bucket` object should be uploaded to.")
|
||||
flag.StringVar(®ion, "r", "", "AWS `region` the bucket exists in, If not set region will be looked up, only valid for AWS Regions, not AWS China or Gov Cloud.")
|
||||
flag.StringVar(&addr, "a", "127.0.0.1:8080", "The TCP `address` the server will be started on.")
|
||||
flag.Parse()
|
||||
|
||||
if len(bucket) == 0 {
|
||||
fmt.Fprintln(os.Stderr, "bucket is required")
|
||||
flag.PrintDefaults()
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
return addr, bucket, region
|
||||
}
|
||||
|
||||
func listenAndServe(addr, bucket string, svc s3iface.S3API) error {
|
||||
l, err := net.Listen("tcp", addr)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to start service listener, %v", err)
|
||||
}
|
||||
|
||||
const presignPath = "/presign/"
|
||||
|
||||
// Create the HTTP handler for the "/presign/" path prefix. This will handle
|
||||
// all requests on this path, extracting the object's key from the path.
|
||||
http.HandleFunc(presignPath, func(w http.ResponseWriter, r *http.Request) {
|
||||
var u string
|
||||
var err error
|
||||
var signedHeaders http.Header
|
||||
|
||||
query := r.URL.Query()
|
||||
|
||||
var contentLen int64
|
||||
// Optionally the Content-Length header can be included with the signature
|
||||
// of the request. This is helpful to ensure the content uploaded is the
|
||||
// size that is expected. Constraints like these can be further expanded
|
||||
// with headers such as `Content-Type`. These can be enforced by the service
|
||||
// requiring the client to satisfying those constraints when uploading
|
||||
//
|
||||
// In addition the client could provide the service with a SHA256 of the
|
||||
// content to be uploaded. This prevents any other third party from uploading
|
||||
// anything else with the presigned URL
|
||||
if contLenStr := query.Get("contentLength"); len(contLenStr) > 0 {
|
||||
contentLen, err = strconv.ParseInt(contLenStr, 10, 64)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "unable to parse request content length, %v", err)
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
// Extract the object key from the path
|
||||
key := strings.Replace(r.URL.Path, presignPath, "", 1)
|
||||
method := query.Get("method")
|
||||
|
||||
switch method {
|
||||
case "PUT":
|
||||
// For creating PutObject presigned URLs
|
||||
fmt.Println("Received request to presign PutObject for,", key)
|
||||
sdkReq, _ := svc.PutObjectRequest(&s3.PutObjectInput{
|
||||
Bucket: aws.String(bucket),
|
||||
Key: aws.String(key),
|
||||
|
||||
// If ContentLength is 0 the header will not be included in the signature.
|
||||
ContentLength: aws.Int64(contentLen),
|
||||
})
|
||||
u, signedHeaders, err = sdkReq.PresignRequest(15 * time.Minute)
|
||||
case "GET":
|
||||
// For creating GetObject presigned URLs
|
||||
fmt.Println("Received request to presign GetObject for,", key)
|
||||
sdkReq, _ := svc.GetObjectRequest(&s3.GetObjectInput{
|
||||
Bucket: aws.String(bucket),
|
||||
Key: aws.String(key),
|
||||
})
|
||||
u, signedHeaders, err = sdkReq.PresignRequest(15 * time.Minute)
|
||||
default:
|
||||
fmt.Fprintf(os.Stderr, "invalid method provided, %s, %v\n", method, err)
|
||||
err = fmt.Errorf("invalid request")
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
// Create the response back to the client with the information on the
|
||||
// presigned request and additional headers to include.
|
||||
if err := json.NewEncoder(w).Encode(PresignResp{
|
||||
Method: method,
|
||||
URL: u,
|
||||
Header: signedHeaders,
|
||||
}); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "failed to encode presign response, %v", err)
|
||||
}
|
||||
})
|
||||
|
||||
fmt.Println("Starting Server On:", "http://"+l.Addr().String())
|
||||
|
||||
s := &http.Server{}
|
||||
return s.Serve(l)
|
||||
}
|
||||
|
||||
// PresignResp provides the Go representation of the JSON value that will be
|
||||
// sent to the client.
|
||||
type PresignResp struct {
|
||||
Method, URL string
|
||||
Header http.Header
|
||||
}
|
||||
|
||||
func exitError(err error) {
|
||||
fmt.Fprintln(os.Stderr, err.Error())
|
||||
os.Exit(1)
|
||||
}
|
40
vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config.go
generated
vendored
Normal file
40
vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config.go
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
package shareddefaults
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// SharedCredentialsFilename returns the SDK's default file path
|
||||
// for the shared credentials file.
|
||||
//
|
||||
// Builds the shared config file path based on the OS's platform.
|
||||
//
|
||||
// - Linux/Unix: $HOME/.aws/credentials
|
||||
// - Windows: %USERPROFILE%\.aws\credentials
|
||||
func SharedCredentialsFilename() string {
|
||||
return filepath.Join(UserHomeDir(), ".aws", "credentials")
|
||||
}
|
||||
|
||||
// SharedConfigFilename returns the SDK's default file path for
|
||||
// the shared config file.
|
||||
//
|
||||
// Builds the shared config file path based on the OS's platform.
|
||||
//
|
||||
// - Linux/Unix: $HOME/.aws/config
|
||||
// - Windows: %USERPROFILE%\.aws\config
|
||||
func SharedConfigFilename() string {
|
||||
return filepath.Join(UserHomeDir(), ".aws", "config")
|
||||
}
|
||||
|
||||
// UserHomeDir returns the home directory for the user the process is
|
||||
// running under.
|
||||
func UserHomeDir() string {
|
||||
if runtime.GOOS == "windows" { // Windows
|
||||
return os.Getenv("USERPROFILE")
|
||||
}
|
||||
|
||||
// *nix
|
||||
return os.Getenv("HOME")
|
||||
}
|
40
vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config_other_test.go
generated
vendored
Normal file
40
vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config_other_test.go
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
package shareddefaults_test
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/internal/shareddefaults"
|
||||
)
|
||||
|
||||
func TestSharedCredsFilename(t *testing.T) {
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
os.Setenv("HOME", "home_dir")
|
||||
os.Setenv("USERPROFILE", "profile_dir")
|
||||
|
||||
expect := filepath.Join("home_dir", ".aws", "credentials")
|
||||
|
||||
name := shareddefaults.SharedCredentialsFilename()
|
||||
if e, a := expect, name; e != a {
|
||||
t.Errorf("expect %q shared creds filename, got %q", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSharedConfigFilename(t *testing.T) {
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
os.Setenv("HOME", "home_dir")
|
||||
os.Setenv("USERPROFILE", "profile_dir")
|
||||
|
||||
expect := filepath.Join("home_dir", ".aws", "config")
|
||||
|
||||
name := shareddefaults.SharedConfigFilename()
|
||||
if e, a := expect, name; e != a {
|
||||
t.Errorf("expect %q shared config filename, got %q", e, a)
|
||||
}
|
||||
}
|
40
vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config_windows_test.go
generated
vendored
Normal file
40
vendor/github.com/aws/aws-sdk-go/internal/shareddefaults/shared_config_windows_test.go
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
package shareddefaults_test
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/internal/shareddefaults"
|
||||
)
|
||||
|
||||
func TestSharedCredsFilename(t *testing.T) {
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
os.Setenv("HOME", "home_dir")
|
||||
os.Setenv("USERPROFILE", "profile_dir")
|
||||
|
||||
expect := filepath.Join("profile_dir", ".aws", "credentials")
|
||||
|
||||
name := shareddefaults.SharedCredentialsFilename()
|
||||
if e, a := expect, name; e != a {
|
||||
t.Errorf("expect %q shared creds filename, got %q", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSharedConfigFilename(t *testing.T) {
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
os.Setenv("HOME", "home_dir")
|
||||
os.Setenv("USERPROFILE", "profile_dir")
|
||||
|
||||
expect := filepath.Join("profile_dir", ".aws", "config")
|
||||
|
||||
name := shareddefaults.SharedConfigFilename()
|
||||
if e, a := expect, name; e != a {
|
||||
t.Errorf("expect %q shared config filename, got %q", e, a)
|
||||
}
|
||||
}
|
6
vendor/github.com/aws/aws-sdk-go/models/apis/acm/2015-12-08/docs-2.json
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/models/apis/acm/2015-12-08/docs-2.json
generated
vendored
|
@ -11,7 +11,7 @@
|
|||
"ListTagsForCertificate": "<p>Lists the tags that have been applied to the ACM Certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM Certificate, use the <a>AddTagsToCertificate</a> action. To delete a tag, use the <a>RemoveTagsFromCertificate</a> action.</p>",
|
||||
"RemoveTagsFromCertificate": "<p>Remove one or more tags from an ACM Certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value.</p> <p>To add tags to a certificate, use the <a>AddTagsToCertificate</a> action. To view all of the tags that have been applied to a specific ACM Certificate, use the <a>ListTagsForCertificate</a> action.</p>",
|
||||
"RequestCertificate": "<p>Requests an ACM Certificate for use with other AWS services. To request an ACM Certificate, you must specify the fully qualified domain name (FQDN) for your site. You can also specify additional FQDNs if users can reach your site by using other names. For each domain name you specify, email is sent to the domain owner to request approval to issue the certificate. After receiving approval from the domain owner, the ACM Certificate is issued. For more information, see the <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/\">AWS Certificate Manager User Guide</a>.</p>",
|
||||
"ResendValidationEmail": "<p>Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM Certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking <b>I Approve</b>. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM Certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate.</p>"
|
||||
"ResendValidationEmail": "<p>Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM Certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking <b>I Approve</b>. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM Certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/setup-email.html\">Configure Email for your Domain</a>. </p>"
|
||||
},
|
||||
"shapes": {
|
||||
"AddTagsToCertificateRequest": {
|
||||
|
@ -116,7 +116,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"CertificateDetail$SubjectAlternativeNames": "<p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.</p>",
|
||||
"RequestCertificateRequest$SubjectAlternativeNames": "<p>Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which the <code>DomainName</code> field is www.example.com if users can reach your site by using either name.</p>"
|
||||
"RequestCertificateRequest$SubjectAlternativeNames": "<p>Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name www.example.net to a certificate for which the <code>DomainName</code> field is www.example.com if users can reach your site by using either name. The maximum number of domain names that you can add to an ACM Certificate is 100. However, the initial limit is 10 domain names. If you need more than 10 names, you must request a limit increase. For more information, see <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html\">Limits</a>.</p>"
|
||||
}
|
||||
},
|
||||
"DomainNameString": {
|
||||
|
@ -129,7 +129,7 @@
|
|||
"DomainValidation$ValidationDomain": "<p>The domain name that ACM used to send domain validation emails.</p>",
|
||||
"DomainValidationOption$DomainName": "<p>A fully qualified domain name (FQDN) in the certificate request.</p>",
|
||||
"DomainValidationOption$ValidationDomain": "<p>The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the <code>DomainName</code> value or a superdomain of the <code>DomainName</code> value. For example, if you request a certificate for <code>testing.example.com</code>, you can specify <code>example.com</code> for this value. In that case, ACM sends domain validation emails to the following five addresses:</p> <ul> <li> <p>admin@example.com</p> </li> <li> <p>administrator@example.com</p> </li> <li> <p>hostmaster@example.com</p> </li> <li> <p>postmaster@example.com</p> </li> <li> <p>webmaster@example.com</p> </li> </ul>",
|
||||
"RequestCertificateRequest$DomainName": "<p>Fully qualified domain name (FQDN), such as www.example.com, of the site that you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.</p>",
|
||||
"RequestCertificateRequest$DomainName": "<p> Fully qualified domain name (FQDN), such as www.example.com, of the site that you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com. </p> <p> The maximum length of a DNS name is 253 octets. The name is made up of multiple labels separated by periods. No label can be longer than 63 octets. Consider the following examples: </p> <p> <code>(63 octets).(63 octets).(63 octets).(61 octets)</code> is legal because the total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets. </p> <p> <code>(64 octets).(63 octets).(63 octets).(61 octets)</code> is not legal because the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds 63 octets. </p> <p> <code>(63 octets).(63 octets).(63 octets).(62 octets)</code> is not legal because the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets. </p>",
|
||||
"ResendValidationEmailRequest$Domain": "<p>The fully qualified domain name (FQDN) of the certificate that needs to be validated.</p>",
|
||||
"ResendValidationEmailRequest$ValidationDomain": "<p>The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the <code>Domain</code> value or a superdomain of the <code>Domain</code> value. For example, if you requested a certificate for <code>site.subdomain.example.com</code> and specify a <b>ValidationDomain</b> of <code>subdomain.example.com</code>, ACM sends email to the domain registrant, technical contact, and administrative contact in WHOIS and the following five addresses:</p> <ul> <li> <p>admin@subdomain.example.com</p> </li> <li> <p>administrator@subdomain.example.com</p> </li> <li> <p>hostmaster@subdomain.example.com</p> </li> <li> <p>postmaster@subdomain.example.com</p> </li> <li> <p>webmaster@subdomain.example.com</p> </li> </ul>"
|
||||
}
|
||||
|
|
229
vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/api-2.json
generated
vendored
229
vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/api-2.json
generated
vendored
|
@ -374,6 +374,22 @@
|
|||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
"DeleteGatewayResponse":{
|
||||
"name":"DeleteGatewayResponse",
|
||||
"http":{
|
||||
"method":"DELETE",
|
||||
"requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}",
|
||||
"responseCode":202
|
||||
},
|
||||
"input":{"shape":"DeleteGatewayResponseRequest"},
|
||||
"errors":[
|
||||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"BadRequestException"},
|
||||
{"shape":"ConflictException"}
|
||||
]
|
||||
},
|
||||
"DeleteIntegration":{
|
||||
"name":"DeleteIntegration",
|
||||
"http":{
|
||||
|
@ -847,6 +863,36 @@
|
|||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"BadRequestException"},
|
||||
{"shape":"ConflictException"},
|
||||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
"GetGatewayResponse":{
|
||||
"name":"GetGatewayResponse",
|
||||
"http":{
|
||||
"method":"GET",
|
||||
"requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
||||
},
|
||||
"input":{"shape":"GetGatewayResponseRequest"},
|
||||
"output":{"shape":"GatewayResponse"},
|
||||
"errors":[
|
||||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
"GetGatewayResponses":{
|
||||
"name":"GetGatewayResponses",
|
||||
"http":{
|
||||
"method":"GET",
|
||||
"requestUri":"/restapis/{restapi_id}/gatewayresponses"
|
||||
},
|
||||
"input":{"shape":"GetGatewayResponsesRequest"},
|
||||
"output":{"shape":"GatewayResponses"},
|
||||
"errors":[
|
||||
{"shape":"BadRequestException"},
|
||||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
|
@ -1049,6 +1095,7 @@
|
|||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"BadRequestException"},
|
||||
{"shape":"ConflictException"},
|
||||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
|
@ -1235,6 +1282,23 @@
|
|||
{"shape":"ConflictException"}
|
||||
]
|
||||
},
|
||||
"PutGatewayResponse":{
|
||||
"name":"PutGatewayResponse",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}",
|
||||
"responseCode":201
|
||||
},
|
||||
"input":{"shape":"PutGatewayResponseRequest"},
|
||||
"output":{"shape":"GatewayResponse"},
|
||||
"errors":[
|
||||
{"shape":"BadRequestException"},
|
||||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
"PutIntegration":{
|
||||
"name":"PutIntegration",
|
||||
"http":{
|
||||
|
@ -1495,6 +1559,21 @@
|
|||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
"UpdateGatewayResponse":{
|
||||
"name":"UpdateGatewayResponse",
|
||||
"http":{
|
||||
"method":"PATCH",
|
||||
"requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
||||
},
|
||||
"input":{"shape":"UpdateGatewayResponseRequest"},
|
||||
"output":{"shape":"GatewayResponse"},
|
||||
"errors":[
|
||||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"BadRequestException"},
|
||||
{"shape":"TooManyRequestsException"}
|
||||
]
|
||||
},
|
||||
"UpdateIntegration":{
|
||||
"name":"UpdateIntegration",
|
||||
"http":{
|
||||
|
@ -2203,6 +2282,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DeleteGatewayResponseRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"restApiId",
|
||||
"responseType"
|
||||
],
|
||||
"members":{
|
||||
"restApiId":{
|
||||
"shape":"String",
|
||||
"location":"uri",
|
||||
"locationName":"restapi_id"
|
||||
},
|
||||
"responseType":{
|
||||
"shape":"GatewayResponseType",
|
||||
"location":"uri",
|
||||
"locationName":"response_type"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeleteIntegrationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2602,6 +2700,51 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"GatewayResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"responseType":{"shape":"GatewayResponseType"},
|
||||
"statusCode":{"shape":"StatusCode"},
|
||||
"responseParameters":{"shape":"MapOfStringToString"},
|
||||
"responseTemplates":{"shape":"MapOfStringToString"},
|
||||
"defaultResponse":{"shape":"Boolean"}
|
||||
}
|
||||
},
|
||||
"GatewayResponseType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"DEFAULT_4XX",
|
||||
"DEFAULT_5XX",
|
||||
"RESOURCE_NOT_FOUND",
|
||||
"UNAUTHORIZED",
|
||||
"INVALID_API_KEY",
|
||||
"ACCESS_DENIED",
|
||||
"AUTHORIZER_FAILURE",
|
||||
"AUTHORIZER_CONFIGURATION_ERROR",
|
||||
"INVALID_SIGNATURE",
|
||||
"EXPIRED_TOKEN",
|
||||
"MISSING_AUTHENTICATION_TOKEN",
|
||||
"INTEGRATION_FAILURE",
|
||||
"INTEGRATION_TIMEOUT",
|
||||
"API_CONFIGURATION_ERROR",
|
||||
"UNSUPPORTED_MEDIA_TYPE",
|
||||
"BAD_REQUEST_PARAMETERS",
|
||||
"BAD_REQUEST_BODY",
|
||||
"REQUEST_TOO_LARGE",
|
||||
"THROTTLED",
|
||||
"QUOTA_EXCEEDED"
|
||||
]
|
||||
},
|
||||
"GatewayResponses":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"position":{"shape":"String"},
|
||||
"items":{
|
||||
"shape":"ListOfGatewayResponse",
|
||||
"locationName":"item"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GenerateClientCertificateRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -2965,6 +3108,46 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"GetGatewayResponseRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"restApiId",
|
||||
"responseType"
|
||||
],
|
||||
"members":{
|
||||
"restApiId":{
|
||||
"shape":"String",
|
||||
"location":"uri",
|
||||
"locationName":"restapi_id"
|
||||
},
|
||||
"responseType":{
|
||||
"shape":"GatewayResponseType",
|
||||
"location":"uri",
|
||||
"locationName":"response_type"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetGatewayResponsesRequest":{
|
||||
"type":"structure",
|
||||
"required":["restApiId"],
|
||||
"members":{
|
||||
"restApiId":{
|
||||
"shape":"String",
|
||||
"location":"uri",
|
||||
"locationName":"restapi_id"
|
||||
},
|
||||
"position":{
|
||||
"shape":"String",
|
||||
"location":"querystring",
|
||||
"locationName":"position"
|
||||
},
|
||||
"limit":{
|
||||
"shape":"NullableInteger",
|
||||
"location":"querystring",
|
||||
"locationName":"limit"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetIntegrationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -3617,6 +3800,10 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"DomainName"}
|
||||
},
|
||||
"ListOfGatewayResponse":{
|
||||
"type":"list",
|
||||
"member":{"shape":"GatewayResponse"}
|
||||
},
|
||||
"ListOfLong":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Long"}
|
||||
|
@ -3825,6 +4012,28 @@
|
|||
"value":{"shape":"MapOfMethodSnapshot"}
|
||||
},
|
||||
"ProviderARN":{"type":"string"},
|
||||
"PutGatewayResponseRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"restApiId",
|
||||
"responseType"
|
||||
],
|
||||
"members":{
|
||||
"restApiId":{
|
||||
"shape":"String",
|
||||
"location":"uri",
|
||||
"locationName":"restapi_id"
|
||||
},
|
||||
"responseType":{
|
||||
"shape":"GatewayResponseType",
|
||||
"location":"uri",
|
||||
"locationName":"response_type"
|
||||
},
|
||||
"statusCode":{"shape":"StatusCode"},
|
||||
"responseParameters":{"shape":"MapOfStringToString"},
|
||||
"responseTemplates":{"shape":"MapOfStringToString"}
|
||||
}
|
||||
},
|
||||
"PutIntegrationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -4435,6 +4644,26 @@
|
|||
"patchOperations":{"shape":"ListOfPatchOperation"}
|
||||
}
|
||||
},
|
||||
"UpdateGatewayResponseRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"restApiId",
|
||||
"responseType"
|
||||
],
|
||||
"members":{
|
||||
"restApiId":{
|
||||
"shape":"String",
|
||||
"location":"uri",
|
||||
"locationName":"restapi_id"
|
||||
},
|
||||
"responseType":{
|
||||
"shape":"GatewayResponseType",
|
||||
"location":"uri",
|
||||
"locationName":"response_type"
|
||||
},
|
||||
"patchOperations":{"shape":"ListOfPatchOperation"}
|
||||
}
|
||||
},
|
||||
"UpdateIntegrationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
|
269
vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/docs-2.json
generated
vendored
269
vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/docs-2.json
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -101,6 +101,7 @@
|
|||
{"shape":"LimitExceededException"},
|
||||
{"shape":"ObjectNotFoundException"},
|
||||
{"shape":"ConcurrentUpdateException"},
|
||||
{"shape":"FailedResourceAccessException"},
|
||||
{"shape":"InternalServiceException"}
|
||||
]
|
||||
},
|
||||
|
@ -152,6 +153,21 @@
|
|||
"exception":true
|
||||
},
|
||||
"Cooldown":{"type":"integer"},
|
||||
"CustomizedMetricSpecification":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"MetricName",
|
||||
"Namespace",
|
||||
"Statistic"
|
||||
],
|
||||
"members":{
|
||||
"MetricName":{"shape":"MetricName"},
|
||||
"Namespace":{"shape":"MetricNamespace"},
|
||||
"Dimensions":{"shape":"MetricDimensions"},
|
||||
"Statistic":{"shape":"MetricStatistic"},
|
||||
"Unit":{"shape":"MetricUnit"}
|
||||
}
|
||||
},
|
||||
"DeleteScalingPolicyRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -283,7 +299,44 @@
|
|||
"Maximum"
|
||||
]
|
||||
},
|
||||
"MetricDimension":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Value"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"MetricDimensionName"},
|
||||
"Value":{"shape":"MetricDimensionValue"}
|
||||
}
|
||||
},
|
||||
"MetricDimensionName":{"type":"string"},
|
||||
"MetricDimensionValue":{"type":"string"},
|
||||
"MetricDimensions":{
|
||||
"type":"list",
|
||||
"member":{"shape":"MetricDimension"}
|
||||
},
|
||||
"MetricName":{"type":"string"},
|
||||
"MetricNamespace":{"type":"string"},
|
||||
"MetricScale":{"type":"double"},
|
||||
"MetricStatistic":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"Average",
|
||||
"Minimum",
|
||||
"Maximum",
|
||||
"SampleCount",
|
||||
"Sum"
|
||||
]
|
||||
},
|
||||
"MetricType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"DynamoDBReadCapacityUtilization",
|
||||
"DynamoDBWriteCapacityUtilization"
|
||||
]
|
||||
},
|
||||
"MetricUnit":{"type":"string"},
|
||||
"MinAdjustmentMagnitude":{"type":"integer"},
|
||||
"ObjectNotFoundException":{
|
||||
"type":"structure",
|
||||
|
@ -300,7 +353,18 @@
|
|||
},
|
||||
"PolicyType":{
|
||||
"type":"string",
|
||||
"enum":["StepScaling"]
|
||||
"enum":[
|
||||
"StepScaling",
|
||||
"TargetTrackingScaling"
|
||||
]
|
||||
},
|
||||
"PredefinedMetricSpecification":{
|
||||
"type":"structure",
|
||||
"required":["PredefinedMetricType"],
|
||||
"members":{
|
||||
"PredefinedMetricType":{"shape":"MetricType"},
|
||||
"ResourceLabel":{"shape":"ResourceLabel"}
|
||||
}
|
||||
},
|
||||
"PutScalingPolicyRequest":{
|
||||
"type":"structure",
|
||||
|
@ -316,14 +380,16 @@
|
|||
"ResourceId":{"shape":"ResourceIdMaxLen1600"},
|
||||
"ScalableDimension":{"shape":"ScalableDimension"},
|
||||
"PolicyType":{"shape":"PolicyType"},
|
||||
"StepScalingPolicyConfiguration":{"shape":"StepScalingPolicyConfiguration"}
|
||||
"StepScalingPolicyConfiguration":{"shape":"StepScalingPolicyConfiguration"},
|
||||
"TargetTrackingScalingPolicyConfiguration":{"shape":"TargetTrackingScalingPolicyConfiguration"}
|
||||
}
|
||||
},
|
||||
"PutScalingPolicyResponse":{
|
||||
"type":"structure",
|
||||
"required":["PolicyARN"],
|
||||
"members":{
|
||||
"PolicyARN":{"shape":"ResourceIdMaxLen1600"}
|
||||
"PolicyARN":{"shape":"ResourceIdMaxLen1600"},
|
||||
"Alarms":{"shape":"Alarms"}
|
||||
}
|
||||
},
|
||||
"RegisterScalableTargetRequest":{
|
||||
|
@ -362,13 +428,22 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"ResourceIdMaxLen1600"}
|
||||
},
|
||||
"ResourceLabel":{
|
||||
"type":"string",
|
||||
"max":1023,
|
||||
"min":1
|
||||
},
|
||||
"ScalableDimension":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"ecs:service:DesiredCount",
|
||||
"ec2:spot-fleet-request:TargetCapacity",
|
||||
"elasticmapreduce:instancegroup:InstanceCount",
|
||||
"appstream:fleet:DesiredCapacity"
|
||||
"appstream:fleet:DesiredCapacity",
|
||||
"dynamodb:table:ReadCapacityUnits",
|
||||
"dynamodb:table:WriteCapacityUnits",
|
||||
"dynamodb:index:ReadCapacityUnits",
|
||||
"dynamodb:index:WriteCapacityUnits"
|
||||
]
|
||||
},
|
||||
"ScalableTarget":{
|
||||
|
@ -461,6 +536,7 @@
|
|||
"ScalableDimension":{"shape":"ScalableDimension"},
|
||||
"PolicyType":{"shape":"PolicyType"},
|
||||
"StepScalingPolicyConfiguration":{"shape":"StepScalingPolicyConfiguration"},
|
||||
"TargetTrackingScalingPolicyConfiguration":{"shape":"TargetTrackingScalingPolicyConfiguration"},
|
||||
"Alarms":{"shape":"Alarms"},
|
||||
"CreationTime":{"shape":"TimestampType"}
|
||||
}
|
||||
|
@ -471,7 +547,8 @@
|
|||
"ecs",
|
||||
"elasticmapreduce",
|
||||
"ec2",
|
||||
"appstream"
|
||||
"appstream",
|
||||
"dynamodb"
|
||||
]
|
||||
},
|
||||
"StepAdjustment":{
|
||||
|
@ -497,6 +574,17 @@
|
|||
"MetricAggregationType":{"shape":"MetricAggregationType"}
|
||||
}
|
||||
},
|
||||
"TargetTrackingScalingPolicyConfiguration":{
|
||||
"type":"structure",
|
||||
"required":["TargetValue"],
|
||||
"members":{
|
||||
"TargetValue":{"shape":"MetricScale"},
|
||||
"PredefinedMetricSpecification":{"shape":"PredefinedMetricSpecification"},
|
||||
"CustomizedMetricSpecification":{"shape":"CustomizedMetricSpecification"},
|
||||
"ScaleOutCooldown":{"shape":"Cooldown"},
|
||||
"ScaleInCooldown":{"shape":"Cooldown"}
|
||||
}
|
||||
},
|
||||
"TimestampType":{"type":"timestamp"},
|
||||
"ValidationException":{
|
||||
"type":"structure",
|
||||
|
|
137
vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/docs-2.json
generated
vendored
137
vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/docs-2.json
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<p>With Application Auto Scaling, you can automatically scale your AWS resources. The experience similar to that of <a href=\"https://aws.amazon.com/autoscaling/\">Auto Scaling</a>. You can use Application Auto Scaling to accomplish the following tasks:</p> <ul> <li> <p>Define scaling policies to automatically scale your AWS resources</p> </li> <li> <p>Scale your resources in response to CloudWatch alarms</p> </li> <li> <p>View the history of your scaling events</p> </li> </ul> <p>Application Auto Scaling can scale the following AWS resources:</p> <ul> <li> <p>Amazon ECS services. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html\">Service Auto Scaling</a> in the <i>Amazon EC2 Container Service Developer Guide</i>.</p> </li> <li> <p>Amazon EC2 Spot fleets. For more information, see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html\">Automatic Scaling for Spot Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p> </li> <li> <p>Amazon EMR clusters. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html\">Using Automatic Scaling in Amazon EMR</a> in the <i>Amazon EMR Management Guide</i>.</p> </li> <li> <p>AppStream 2.0 fleets. For more information, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html\">Autoscaling Amazon AppStream 2.0 Resources</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p> </li> </ul> <p>For a list of supported regions, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/rande.html#as-app_region\">AWS Regions and Endpoints: Application Auto Scaling</a> in the <i>AWS General Reference</i>.</p>",
|
||||
"service": "<p>With Application Auto Scaling, you can automatically scale your AWS resources. The experience similar to that of <a href=\"https://aws.amazon.com/autoscaling/\">Auto Scaling</a>. You can use Application Auto Scaling to accomplish the following tasks:</p> <ul> <li> <p>Define scaling policies to automatically scale your AWS resources</p> </li> <li> <p>Scale your resources in response to CloudWatch alarms</p> </li> <li> <p>View the history of your scaling events</p> </li> </ul> <p>Application Auto Scaling can scale the following AWS resources:</p> <ul> <li> <p>Amazon ECS services. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html\">Service Auto Scaling</a> in the <i>Amazon EC2 Container Service Developer Guide</i>.</p> </li> <li> <p>Amazon EC2 Spot fleets. For more information, see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html\">Automatic Scaling for Spot Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p> </li> <li> <p>Amazon EMR clusters. For more information, see <a href=\"http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html\">Using Automatic Scaling in Amazon EMR</a> in the <i>Amazon EMR Management Guide</i>.</p> </li> <li> <p>AppStream 2.0 fleets. For more information, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html\">Fleet Auto Scaling for Amazon AppStream 2.0</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p> </li> <li> <p>Provisioned read and write capacity for Amazon DynamoDB tables and global secondary indexes. For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TargetTracking.html\">Auto Scaling for DynamoDB</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </li> </ul> <p>For a list of supported regions, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/rande.html#as-app_region\">AWS Regions and Endpoints: Application Auto Scaling</a> in the <i>AWS General Reference</i>.</p>",
|
||||
"operations": {
|
||||
"DeleteScalingPolicy": "<p>Deletes the specified Application Auto Scaling scaling policy.</p> <p>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.</p> <p>To create a scaling policy or update an existing one, see <a>PutScalingPolicy</a>.</p>",
|
||||
"DeregisterScalableTarget": "<p>Deregisters a scalable target.</p> <p>Deregistering a scalable target deletes the scaling policies that are associated with it.</p> <p>To create a scalable target or update an existing one, see <a>RegisterScalableTarget</a>.</p>",
|
||||
|
@ -26,6 +26,7 @@
|
|||
"Alarms": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PutScalingPolicyResponse$Alarms": "<p>The CloudWatch alarms created for the target tracking policy.</p>",
|
||||
"ScalingPolicy$Alarms": "<p>The CloudWatch alarms associated with the scaling policy.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -37,7 +38,15 @@
|
|||
"Cooldown": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"StepScalingPolicyConfiguration$Cooldown": "<p>The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events.</p> <p>For scale out policies, while <code>Cooldown</code> is in effect, the capacity that has been added by the previous scale out event that initiated the <code>Cooldown</code> is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a <code>Cooldown</code> period of 5 minutes starts. During the <code>Cooldown</code> period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count.</p> <p>For scale in policies, the <code>Cooldown</code> period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the <code>Cooldown</code> period after a scale-in, Application Auto Scaling scales out your scalable target immediately.</p>"
|
||||
"StepScalingPolicyConfiguration$Cooldown": "<p>The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events.</p> <p>For scale out policies, while the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a cooldown period of 5 minutes starts. During the Cooldown period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count.</p> <p>For scale in policies, the cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately.</p>",
|
||||
"TargetTrackingScalingPolicyConfiguration$ScaleOutCooldown": "<p>The amount of time, in seconds, after a scale out activity completes before another scale out activity can start.</p> <p>While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out.</p>",
|
||||
"TargetTrackingScalingPolicyConfiguration$ScaleInCooldown": "<p>The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.</p> <p>The cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, Application Auto Scaling scales out your scalable target immediately.</p>"
|
||||
}
|
||||
},
|
||||
"CustomizedMetricSpecification": {
|
||||
"base": "<p>Configures a customized metric for a target tracking policy.</p>",
|
||||
"refs": {
|
||||
"TargetTrackingScalingPolicyConfiguration$CustomizedMetricSpecification": "<p>Reserved for future use.</p>"
|
||||
}
|
||||
},
|
||||
"DeleteScalingPolicyRequest": {
|
||||
|
@ -103,7 +112,7 @@
|
|||
}
|
||||
},
|
||||
"FailedResourceAccessException": {
|
||||
"base": "<p>Failed access to resources caused an exception. This exception currently only applies to <a>DescribeScalingPolicies</a>. It is thrown when Application Auto Scaling is unable to retrieve the alarms associated with a scaling policy due to a client error, for example, if the role ARN specified for a scalable target does not have the proper permissions to call the CloudWatch <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html\">DescribeAlarms</a> API operation on behalf of your account.</p>",
|
||||
"base": "<p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling is unable to retrieve the alarms associated with a scaling policy due to a client error, for example, if the role ARN specified for a scalable target does not have permission to call the CloudWatch <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html\">DescribeAlarms</a> API operation on behalf of your account.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -136,11 +145,66 @@
|
|||
"StepScalingPolicyConfiguration$MetricAggregationType": "<p>The aggregation type for the CloudWatch metrics. Valid values are <code>Minimum</code>, <code>Maximum</code>, and <code>Average</code>.</p>"
|
||||
}
|
||||
},
|
||||
"MetricDimension": {
|
||||
"base": "<p>Describes the dimension of a metric.</p>",
|
||||
"refs": {
|
||||
"MetricDimensions$member": null
|
||||
}
|
||||
},
|
||||
"MetricDimensionName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MetricDimension$Name": "<p>The name of the dimension.</p>"
|
||||
}
|
||||
},
|
||||
"MetricDimensionValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MetricDimension$Value": "<p>The value of the dimension.</p>"
|
||||
}
|
||||
},
|
||||
"MetricDimensions": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Dimensions": "<p>The dimensions of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$MetricName": "<p>The name of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricNamespace": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Namespace": "<p>The namespace of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricScale": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"StepAdjustment$MetricIntervalLowerBound": "<p>The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.</p>",
|
||||
"StepAdjustment$MetricIntervalUpperBound": "<p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.</p> <p>The upper bound must be greater than the lower bound.</p>"
|
||||
"StepAdjustment$MetricIntervalUpperBound": "<p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.</p> <p>The upper bound must be greater than the lower bound.</p>",
|
||||
"TargetTrackingScalingPolicyConfiguration$TargetValue": "<p>The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).</p>"
|
||||
}
|
||||
},
|
||||
"MetricStatistic": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Statistic": "<p>The statistic of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PredefinedMetricSpecification$PredefinedMetricType": "<p>The metric type.</p>"
|
||||
}
|
||||
},
|
||||
"MetricUnit": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Unit": "<p>The unit of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MinAdjustmentMagnitude": {
|
||||
|
@ -164,10 +228,16 @@
|
|||
"PolicyType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PutScalingPolicyRequest$PolicyType": "<p>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.</p>",
|
||||
"PutScalingPolicyRequest$PolicyType": "<p>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.</p> <p>For DynamoDB, only <code>TargetTrackingScaling</code> is supported. For any other service, only <code>StepScaling</code> is supported.</p>",
|
||||
"ScalingPolicy$PolicyType": "<p>The scaling policy type.</p>"
|
||||
}
|
||||
},
|
||||
"PredefinedMetricSpecification": {
|
||||
"base": "<p>Configures a predefined metric for a target tracking policy.</p>",
|
||||
"refs": {
|
||||
"TargetTrackingScalingPolicyConfiguration$PredefinedMetricSpecification": "<p>A predefined metric.</p>"
|
||||
}
|
||||
},
|
||||
"PutScalingPolicyRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -209,42 +279,48 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"DeleteScalingPolicyRequest$PolicyName": "<p>The name of the scaling policy.</p>",
|
||||
"DeleteScalingPolicyRequest$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"DeregisterScalableTargetRequest$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"DescribeScalingActivitiesRequest$ResourceId": "<p>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.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"DescribeScalingPoliciesRequest$ResourceId": "<p>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.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"PutScalingPolicyRequest$ResourceId": "<p>The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"DeleteScalingPolicyRequest$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"DeregisterScalableTargetRequest$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"DescribeScalingActivitiesRequest$ResourceId": "<p>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.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"DescribeScalingPoliciesRequest$ResourceId": "<p>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.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"PutScalingPolicyRequest$ResourceId": "<p>The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"PutScalingPolicyResponse$PolicyARN": "<p>The Amazon Resource Name (ARN) of the resulting scaling policy.</p>",
|
||||
"RegisterScalableTargetRequest$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"RegisterScalableTargetRequest$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"RegisterScalableTargetRequest$RoleARN": "<p>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.</p>",
|
||||
"ResourceIdsMaxLen1600$member": null,
|
||||
"ScalableTarget$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"ScalableTarget$ResourceId": "<p>The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"ScalableTarget$RoleARN": "<p>The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.</p>",
|
||||
"ScalingActivity$ResourceId": "<p>The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"ScalingActivity$ResourceId": "<p>The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"ScalingPolicy$PolicyARN": "<p>The Amazon Resource Name (ARN) of the scaling policy.</p>",
|
||||
"ScalingPolicy$ResourceId": "<p>The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>"
|
||||
"ScalingPolicy$ResourceId": "<p>The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ResourceIdsMaxLen1600": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalableTargetsRequest$ResourceIds": "<p>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.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> </ul>",
|
||||
"DescribeScalableTargetsRequest$ResourceIds": "<p>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.</p> <ul> <li> <p>ECS service - The resource type is <code>service</code> and the unique identifier is the cluster name and service name. Example: <code>service/default/sample-webapp</code>.</p> </li> <li> <p>Spot fleet request - The resource type is <code>spot-fleet-request</code> and the unique identifier is the Spot fleet request ID. Example: <code>spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE</code>.</p> </li> <li> <p>EMR cluster - The resource type is <code>instancegroup</code> and the unique identifier is the cluster ID and instance group ID. Example: <code>instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0</code>.</p> </li> <li> <p>AppStream 2.0 fleet - The resource type is <code>fleet</code> and the unique identifier is the fleet name. Example: <code>fleet/sample-fleet</code>.</p> </li> <li> <p>DynamoDB table - The resource type is <code>table</code> and the unique identifier is the resource ID. Example: <code>table/my-table</code>.</p> </li> <li> <p>DynamoDB global secondary index - The resource type is <code>index</code> and the unique identifier is the resource ID. Example: <code>table/my-table/index/my-table-index</code>.</p> </li> </ul>",
|
||||
"DescribeScalingPoliciesRequest$PolicyNames": "<p>The names of the scaling policies to describe.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceLabel": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PredefinedMetricSpecification$ResourceLabel": "<p>Reserved for future use.</p>"
|
||||
}
|
||||
},
|
||||
"ScalableDimension": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DeleteScalingPolicyRequest$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"DeregisterScalableTargetRequest$ScalableDimension": "<p>The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"DescribeScalableTargetsRequest$ScalableDimension": "<p>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.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"DescribeScalingActivitiesRequest$ScalableDimension": "<p>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.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"DescribeScalingPoliciesRequest$ScalableDimension": "<p>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.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"PutScalingPolicyRequest$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"RegisterScalableTargetRequest$ScalableDimension": "<p>The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"ScalableTarget$ScalableDimension": "<p>The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"ScalingActivity$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>",
|
||||
"ScalingPolicy$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> </ul>"
|
||||
"DeleteScalingPolicyRequest$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"DeregisterScalableTargetRequest$ScalableDimension": "<p>The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"DescribeScalableTargetsRequest$ScalableDimension": "<p>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.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"DescribeScalingActivitiesRequest$ScalableDimension": "<p>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.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"DescribeScalingPoliciesRequest$ScalableDimension": "<p>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.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"PutScalingPolicyRequest$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"RegisterScalableTargetRequest$ScalableDimension": "<p>The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"ScalableTarget$ScalableDimension": "<p>The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"ScalingActivity$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>",
|
||||
"ScalingPolicy$ScalableDimension": "<p>The scalable dimension. This string consists of the service namespace, resource type, and scaling property.</p> <ul> <li> <p> <code>ecs:service:DesiredCount</code> - The desired task count of an ECS service.</p> </li> <li> <p> <code>ec2:spot-fleet-request:TargetCapacity</code> - The target capacity of a Spot fleet request.</p> </li> <li> <p> <code>elasticmapreduce:instancegroup:InstanceCount</code> - The instance count of an EMR Instance Group.</p> </li> <li> <p> <code>appstream:fleet:DesiredCapacity</code> - The desired capacity of an AppStream 2.0 fleet.</p> </li> <li> <p> <code>dynamodb:table:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:table:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB table.</p> </li> <li> <p> <code>dynamodb:index:ReadCapacityUnits</code> - The provisioned read capacity for a DynamoDB global secondary index.</p> </li> <li> <p> <code>dynamodb:index:WriteCapacityUnits</code> - The provisioned write capacity for a DynamoDB global secondary index.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ScalableTarget": {
|
||||
|
@ -325,8 +401,15 @@
|
|||
"StepScalingPolicyConfiguration": {
|
||||
"base": "<p>Represents a step scaling policy configuration.</p>",
|
||||
"refs": {
|
||||
"PutScalingPolicyRequest$StepScalingPolicyConfiguration": "<p>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 <a>StepScalingPolicyConfiguration</a> and <a>StepAdjustment</a>.</p>",
|
||||
"ScalingPolicy$StepScalingPolicyConfiguration": "<p>The configuration for the step scaling policy.</p>"
|
||||
"PutScalingPolicyRequest$StepScalingPolicyConfiguration": "<p>A step scaling policy.</p> <p>This parameter is required if you are creating a policy and the policy type is <code>StepScaling</code>.</p>",
|
||||
"ScalingPolicy$StepScalingPolicyConfiguration": "<p>A step scaling policy.</p>"
|
||||
}
|
||||
},
|
||||
"TargetTrackingScalingPolicyConfiguration": {
|
||||
"base": "<p>Represents a target tracking scaling policy configuration.</p>",
|
||||
"refs": {
|
||||
"PutScalingPolicyRequest$TargetTrackingScalingPolicyConfiguration": "<p>A target tracking policy.</p> <p>This parameter is required if you are creating a new policy and the policy type is <code>TargetTrackingScaling</code>.</p>",
|
||||
"ScalingPolicy$TargetTrackingScalingPolicyConfiguration": "<p>A target tracking policy.</p>"
|
||||
}
|
||||
},
|
||||
"TimestampType": {
|
||||
|
|
110
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/api-2.json
generated
vendored
110
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/api-2.json
generated
vendored
|
@ -23,7 +23,8 @@
|
|||
"errors":[
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"ConcurrentModificationException"}
|
||||
{"shape":"ConcurrentModificationException"},
|
||||
{"shape":"IncompatibleImageException"}
|
||||
]
|
||||
},
|
||||
"CreateFleet":{
|
||||
|
@ -54,7 +55,10 @@
|
|||
"errors":[
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"ResourceAlreadyExistsException"},
|
||||
{"shape":"ConcurrentModificationException"}
|
||||
{"shape":"ConcurrentModificationException"},
|
||||
{"shape":"InvalidRoleException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidParameterCombinationException"}
|
||||
]
|
||||
},
|
||||
"CreateStreamingURL":{
|
||||
|
@ -232,7 +236,8 @@
|
|||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"ResourceNotAvailableException"},
|
||||
{"shape":"InvalidParameterCombinationException"},
|
||||
{"shape":"ConcurrentModificationException"}
|
||||
{"shape":"ConcurrentModificationException"},
|
||||
{"shape":"IncompatibleImageException"}
|
||||
]
|
||||
},
|
||||
"UpdateStack":{
|
||||
|
@ -245,7 +250,11 @@
|
|||
"output":{"shape":"UpdateStackResult"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"ResourceInUseException"}
|
||||
{"shape":"ResourceInUseException"},
|
||||
{"shape":"InvalidRoleException"},
|
||||
{"shape":"InvalidParameterCombinationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"IncompatibleImageException"}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -290,7 +299,8 @@
|
|||
"type":"string",
|
||||
"enum":[
|
||||
"API",
|
||||
"SAML"
|
||||
"SAML",
|
||||
"USERPOOL"
|
||||
]
|
||||
},
|
||||
"Boolean":{"type":"boolean"},
|
||||
|
@ -352,7 +362,8 @@
|
|||
"members":{
|
||||
"Name":{"shape":"String"},
|
||||
"Description":{"shape":"Description"},
|
||||
"DisplayName":{"shape":"DisplayName"}
|
||||
"DisplayName":{"shape":"DisplayName"},
|
||||
"StorageConnectors":{"shape":"StorageConnectorList"}
|
||||
}
|
||||
},
|
||||
"CreateStackResult":{
|
||||
|
@ -534,6 +545,17 @@
|
|||
"EnableDefaultInternetAccess":{"shape":"BooleanObject"}
|
||||
}
|
||||
},
|
||||
"FleetAttribute":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"VPC_CONFIGURATION",
|
||||
"VPC_CONFIGURATION_SECURITY_GROUP_IDS"
|
||||
]
|
||||
},
|
||||
"FleetAttributes":{
|
||||
"type":"list",
|
||||
"member":{"shape":"FleetAttribute"}
|
||||
},
|
||||
"FleetError":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -589,7 +611,8 @@
|
|||
"Description":{"shape":"String"},
|
||||
"StateChangeReason":{"shape":"ImageStateChangeReason"},
|
||||
"Applications":{"shape":"Applications"},
|
||||
"CreatedTime":{"shape":"Timestamp"}
|
||||
"CreatedTime":{"shape":"Timestamp"},
|
||||
"PublicBaseImageReleasedDate":{"shape":"Timestamp"}
|
||||
}
|
||||
},
|
||||
"ImageList":{
|
||||
|
@ -619,6 +642,13 @@
|
|||
"IMAGE_BUILDER_NOT_AVAILABLE"
|
||||
]
|
||||
},
|
||||
"IncompatibleImageException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"Integer":{"type":"integer"},
|
||||
"InvalidParameterCombinationException":{
|
||||
"type":"structure",
|
||||
|
@ -699,6 +729,10 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"ResourceIdentifier":{
|
||||
"type":"string",
|
||||
"min":1
|
||||
},
|
||||
"ResourceInUseException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -720,6 +754,11 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"SecurityGroupIdList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"String"},
|
||||
"max":5
|
||||
},
|
||||
"Session":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -758,9 +797,29 @@
|
|||
"Name":{"shape":"String"},
|
||||
"Description":{"shape":"String"},
|
||||
"DisplayName":{"shape":"String"},
|
||||
"CreatedTime":{"shape":"Timestamp"}
|
||||
"CreatedTime":{"shape":"Timestamp"},
|
||||
"StorageConnectors":{"shape":"StorageConnectorList"},
|
||||
"StackErrors":{"shape":"StackErrors"}
|
||||
}
|
||||
},
|
||||
"StackError":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ErrorCode":{"shape":"StackErrorCode"},
|
||||
"ErrorMessage":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"StackErrorCode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"STORAGE_CONNECTOR_ERROR",
|
||||
"INTERNAL_SERVICE_ERROR"
|
||||
]
|
||||
},
|
||||
"StackErrors":{
|
||||
"type":"list",
|
||||
"member":{"shape":"StackError"}
|
||||
},
|
||||
"StackList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Stack"}
|
||||
|
@ -789,6 +848,22 @@
|
|||
"members":{
|
||||
}
|
||||
},
|
||||
"StorageConnector":{
|
||||
"type":"structure",
|
||||
"required":["ConnectorType"],
|
||||
"members":{
|
||||
"ConnectorType":{"shape":"StorageConnectorType"},
|
||||
"ResourceIdentifier":{"shape":"ResourceIdentifier"}
|
||||
}
|
||||
},
|
||||
"StorageConnectorList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"StorageConnector"}
|
||||
},
|
||||
"StorageConnectorType":{
|
||||
"type":"string",
|
||||
"enum":["HOMEFOLDERS"]
|
||||
},
|
||||
"String":{
|
||||
"type":"string",
|
||||
"min":1
|
||||
|
@ -799,8 +874,7 @@
|
|||
},
|
||||
"SubnetIdList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"String"},
|
||||
"min":1
|
||||
"member":{"shape":"String"}
|
||||
},
|
||||
"Timestamp":{"type":"timestamp"},
|
||||
"UpdateFleetRequest":{
|
||||
|
@ -814,10 +888,14 @@
|
|||
"VpcConfig":{"shape":"VpcConfig"},
|
||||
"MaxUserDurationInSeconds":{"shape":"Integer"},
|
||||
"DisconnectTimeoutInSeconds":{"shape":"Integer"},
|
||||
"DeleteVpcConfig":{"shape":"Boolean"},
|
||||
"DeleteVpcConfig":{
|
||||
"shape":"Boolean",
|
||||
"deprecated":true
|
||||
},
|
||||
"Description":{"shape":"Description"},
|
||||
"DisplayName":{"shape":"DisplayName"},
|
||||
"EnableDefaultInternetAccess":{"shape":"BooleanObject"}
|
||||
"EnableDefaultInternetAccess":{"shape":"BooleanObject"},
|
||||
"AttributesToDelete":{"shape":"FleetAttributes"}
|
||||
}
|
||||
},
|
||||
"UpdateFleetResult":{
|
||||
|
@ -832,7 +910,9 @@
|
|||
"members":{
|
||||
"DisplayName":{"shape":"DisplayName"},
|
||||
"Description":{"shape":"Description"},
|
||||
"Name":{"shape":"String"}
|
||||
"Name":{"shape":"String"},
|
||||
"StorageConnectors":{"shape":"StorageConnectorList"},
|
||||
"DeleteStorageConnectors":{"shape":"Boolean"}
|
||||
}
|
||||
},
|
||||
"UpdateStackResult":{
|
||||
|
@ -855,9 +935,9 @@
|
|||
},
|
||||
"VpcConfig":{
|
||||
"type":"structure",
|
||||
"required":["SubnetIds"],
|
||||
"members":{
|
||||
"SubnetIds":{"shape":"SubnetIdList"}
|
||||
"SubnetIds":{"shape":"SubnetIdList"},
|
||||
"SecurityGroupIds":{"shape":"SecurityGroupIdList"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
106
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/docs-2.json
generated
vendored
106
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/docs-2.json
generated
vendored
|
@ -10,7 +10,7 @@
|
|||
"DeleteStack": "<p>Deletes the stack. After this operation completes, the environment can no longer be activated, and any reservations made for the stack are released.</p>",
|
||||
"DescribeFleets": "<p>If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.</p>",
|
||||
"DescribeImages": "<p>Describes the images. If a list of names is not provided, all images in your account are returned. This operation does not return a paginated result.</p>",
|
||||
"DescribeSessions": "<p>Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns streaming sessions for only that user. Pass this value for the <code>nextToken</code> parameter in a subsequent call to this operation to retrieve the next set of items. If an authentication type is not provided, the operation defaults to users authenticated using a streaming url.</p>",
|
||||
"DescribeSessions": "<p>Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns streaming sessions for only that user. Pass this value for the <code>nextToken</code> parameter in a subsequent call to this operation to retrieve the next set of items. If an authentication type is not provided, the operation defaults to users authenticated using a streaming URL.</p>",
|
||||
"DescribeStacks": "<p>If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the account are described. Pass the <code>nextToken</code> value in a subsequent call to this operation to retrieve the next set of items.</p>",
|
||||
"DisassociateFleet": "<p>Disassociates a fleet from a stack.</p>",
|
||||
"ExpireSession": "<p>This operation immediately stops a streaming session.</p>",
|
||||
|
@ -56,24 +56,25 @@
|
|||
"AuthenticationType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeSessionsRequest$AuthenticationType": "<p>The authentication method of the user. It can be <code>API</code> for a user authenticated using a streaming url or <code>SAML</code> for a SAML federated user. If an authentication type is not provided, the operation defaults to users authenticated using a streaming url.</p>",
|
||||
"Session$AuthenticationType": "<p>The authentication method of the user for whom the session was created. It can be <code>API</code> for a user authenticated using a streaming url or <code>SAML</code> for a SAML federated user.</p>"
|
||||
"DescribeSessionsRequest$AuthenticationType": "<p>The authentication method of the user. It can be <code>API</code> for a user authenticated using a streaming URL, or <code>SAML</code> for a SAML federated user. If an authentication type is not provided, the operation defaults to users authenticated using a streaming URL.</p>",
|
||||
"Session$AuthenticationType": "<p>The authentication method of the user for whom the session was created. It can be <code>API</code> for a user authenticated using a streaming URL or <code>SAML</code> for a SAML federated user.</p>"
|
||||
}
|
||||
},
|
||||
"Boolean": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Application$Enabled": "<p>An application can be disabled after image creation if there is a problem.</p>",
|
||||
"Image$ImageBuilderSupported": "<p>Indicates whether an image builder can be launched from this image.</p>",
|
||||
"UpdateFleetRequest$DeleteVpcConfig": "<p>Delete the VPC association for the specified fleet.</p>"
|
||||
"Image$ImageBuilderSupported": "<p>Whether an image builder can be launched from this image.</p>",
|
||||
"UpdateFleetRequest$DeleteVpcConfig": "<p>Delete the VPC association for the specified fleet.</p>",
|
||||
"UpdateStackRequest$DeleteStorageConnectors": "<p>Remove all the storage connectors currently enabled for the stack.</p>"
|
||||
}
|
||||
},
|
||||
"BooleanObject": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateFleetRequest$EnableDefaultInternetAccess": "<p>Enable/Disable default Internet access from fleet.</p>",
|
||||
"Fleet$EnableDefaultInternetAccess": "<p>Default Internet access from the fleet. True (Enabled), False (Disabled).</p>",
|
||||
"UpdateFleetRequest$EnableDefaultInternetAccess": "<p>Enable/Disable default Internet access from fleet.</p>"
|
||||
"CreateFleetRequest$EnableDefaultInternetAccess": "<p>Enables or disables default Internet access for the fleet.</p>",
|
||||
"Fleet$EnableDefaultInternetAccess": "<p>Whether default Internet access is enabled for the fleet. </p>",
|
||||
"UpdateFleetRequest$EnableDefaultInternetAccess": "<p>Enables or disables default Internet access for the fleet.</p>"
|
||||
}
|
||||
},
|
||||
"ComputeCapacity": {
|
||||
|
@ -90,7 +91,7 @@
|
|||
}
|
||||
},
|
||||
"ConcurrentModificationException": {
|
||||
"base": "<p>An API error occurred, please try again.</p>",
|
||||
"base": "<p>An API error occurred. Wait a few minutes and try again.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -216,6 +217,7 @@
|
|||
"base": "<p>The error message in the exception.</p>",
|
||||
"refs": {
|
||||
"ConcurrentModificationException$Message": null,
|
||||
"IncompatibleImageException$Message": null,
|
||||
"InvalidParameterCombinationException$Message": null,
|
||||
"InvalidRoleException$Message": null,
|
||||
"LimitExceededException$Message": null,
|
||||
|
@ -244,6 +246,18 @@
|
|||
"UpdateFleetResult$Fleet": "<p>A list of fleet details.</p>"
|
||||
}
|
||||
},
|
||||
"FleetAttribute": {
|
||||
"base": "<p>Fleet attribute.</p>",
|
||||
"refs": {
|
||||
"FleetAttributes$member": null
|
||||
}
|
||||
},
|
||||
"FleetAttributes": {
|
||||
"base": "<p>A list of fleet attributes.</p>",
|
||||
"refs": {
|
||||
"UpdateFleetRequest$AttributesToDelete": "<p>Fleet attributes to be deleted.</p>"
|
||||
}
|
||||
},
|
||||
"FleetError": {
|
||||
"base": "<p>The details of the fleet error.</p>",
|
||||
"refs": {
|
||||
|
@ -304,6 +318,11 @@
|
|||
"ImageStateChangeReason$Code": "<p>The state change reason code of the image.</p>"
|
||||
}
|
||||
},
|
||||
"IncompatibleImageException": {
|
||||
"base": "<p>The image does not support storage connectors.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Integer": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -312,13 +331,13 @@
|
|||
"ComputeCapacityStatus$Running": "<p>The total number of simultaneous streaming instances that are running.</p>",
|
||||
"ComputeCapacityStatus$InUse": "<p>The number of instances that are being used for streaming.</p>",
|
||||
"ComputeCapacityStatus$Available": "<p>The number of currently available instances that can be used to stream sessions.</p>",
|
||||
"CreateFleetRequest$MaxUserDurationInSeconds": "<p>The maximum time up to which a streaming session can run.</p>",
|
||||
"CreateFleetRequest$DisconnectTimeoutInSeconds": "<p>The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to his/her previous session. </p>",
|
||||
"CreateFleetRequest$MaxUserDurationInSeconds": "<p>The maximum time for which a streaming session can run. The input can be any numeric value in seconds between 600 and 57600.</p>",
|
||||
"CreateFleetRequest$DisconnectTimeoutInSeconds": "<p>The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to their previous session. The input can be any numeric value in seconds between 60 and 57600. </p>",
|
||||
"DescribeSessionsRequest$Limit": "<p>The size of each page of results. The default value is 20 and the maximum supported value is 50.</p>",
|
||||
"Fleet$MaxUserDurationInSeconds": "<p>The maximum time during which a streaming session can run.</p>",
|
||||
"Fleet$DisconnectTimeoutInSeconds": "<p>The time after disconnection when a session is considered to have ended. When a user reconnects after a disconnection, the user is connected to the same session and instance within this time interval.</p>",
|
||||
"UpdateFleetRequest$MaxUserDurationInSeconds": "<p>The maximum time during which a streaming session can run.</p>",
|
||||
"UpdateFleetRequest$DisconnectTimeoutInSeconds": "<p>The time after disconnection when a session is considered to have ended. When the user reconnects after a disconnection, the user is connected to the same instance within this time interval.</p>"
|
||||
"Fleet$MaxUserDurationInSeconds": "<p>The maximum time for which a streaming session can run. The value can be any numeric value in seconds between 600 and 57600.</p>",
|
||||
"Fleet$DisconnectTimeoutInSeconds": "<p>The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to their previous session. The input can be any numeric value in seconds between 60 and 57600.</p>",
|
||||
"UpdateFleetRequest$MaxUserDurationInSeconds": "<p>The maximum time for which a streaming session can run. The input can be any numeric value in seconds between 600 and 57600.</p>",
|
||||
"UpdateFleetRequest$DisconnectTimeoutInSeconds": "<p>The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to their previous session. The input can be any numeric value in seconds between 60 and 57600.</p>"
|
||||
}
|
||||
},
|
||||
"InvalidParameterCombinationException": {
|
||||
|
@ -359,13 +378,13 @@
|
|||
"Long": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateStreamingURLRequest$Validity": "<p>The validity duration of the URL in seconds. After this duration, the URL returned by this operation becomes invalid.</p>"
|
||||
"CreateStreamingURLRequest$Validity": "<p>The duration up to which the URL returned by this action is valid. The input can be any numeric value in seconds between 1 and 604800 seconds.</p>"
|
||||
}
|
||||
},
|
||||
"Metadata": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Application$Metadata": "<p>Additional attributes that describes the application.</p>"
|
||||
"Application$Metadata": "<p>Additional attributes that describe the application.</p>"
|
||||
}
|
||||
},
|
||||
"Name": {
|
||||
|
@ -390,6 +409,12 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"ResourceIdentifier": {
|
||||
"base": "<p>The ARN of the resource.</p>",
|
||||
"refs": {
|
||||
"StorageConnector$ResourceIdentifier": "<p>The ARN associated with the storage connector.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceInUseException": {
|
||||
"base": "<p>The specified resource is in use.</p>",
|
||||
"refs": {
|
||||
|
@ -405,6 +430,12 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"SecurityGroupIdList": {
|
||||
"base": "<p>A list of security groups.</p>",
|
||||
"refs": {
|
||||
"VpcConfig$SecurityGroupIds": "<p>Security groups associated with the fleet.</p>"
|
||||
}
|
||||
},
|
||||
"Session": {
|
||||
"base": "<p>Contains the parameters for a streaming session.</p>",
|
||||
"refs": {
|
||||
|
@ -431,6 +462,24 @@
|
|||
"UpdateStackResult$Stack": "<p>A list of stack details.</p>"
|
||||
}
|
||||
},
|
||||
"StackError": {
|
||||
"base": "<p>Contains the parameters for a stack error.</p>",
|
||||
"refs": {
|
||||
"StackErrors$member": null
|
||||
}
|
||||
},
|
||||
"StackErrorCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"StackError$ErrorCode": "<p>The error code of a stack error.</p>"
|
||||
}
|
||||
},
|
||||
"StackErrors": {
|
||||
"base": "<p>A list of stack errors.</p>",
|
||||
"refs": {
|
||||
"Stack$StackErrors": "<p>The list of errors associated with the stack.</p>"
|
||||
}
|
||||
},
|
||||
"StackList": {
|
||||
"base": "<p>A list of stacks.</p>",
|
||||
"refs": {
|
||||
|
@ -457,6 +506,26 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"StorageConnector": {
|
||||
"base": "<p>Contains the parameters for a storage connector.</p>",
|
||||
"refs": {
|
||||
"StorageConnectorList$member": null
|
||||
}
|
||||
},
|
||||
"StorageConnectorList": {
|
||||
"base": "<p>A list of storage connectors.</p>",
|
||||
"refs": {
|
||||
"CreateStackRequest$StorageConnectors": "<p>The storage connectors to be enabled for the stack.</p>",
|
||||
"Stack$StorageConnectors": "<p>The storage connectors to be enabled for the stack.</p>",
|
||||
"UpdateStackRequest$StorageConnectors": "<p>The storage connectors to be enabled for the stack.</p>"
|
||||
}
|
||||
},
|
||||
"StorageConnectorType": {
|
||||
"base": "<p>The type of storage connector. The possible values include: HOMEFOLDERS.</p>",
|
||||
"refs": {
|
||||
"StorageConnector$ConnectorType": "<p>The type of storage connector. The possible values include: HOMEFOLDERS.</p>"
|
||||
}
|
||||
},
|
||||
"String": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -506,12 +575,14 @@
|
|||
"ListAssociatedStacksResult$NextToken": "<p>The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>",
|
||||
"Metadata$key": null,
|
||||
"Metadata$value": null,
|
||||
"SecurityGroupIdList$member": null,
|
||||
"Session$Id": "<p>The unique ID for a streaming session.</p>",
|
||||
"Session$StackName": "<p>The name of the stack for which the streaming session was created.</p>",
|
||||
"Session$FleetName": "<p>The name of the fleet for which the streaming session was created.</p>",
|
||||
"Stack$Name": "<p>The unique identifier of the stack.</p>",
|
||||
"Stack$Description": "<p>A meaningful description for the stack.</p>",
|
||||
"Stack$DisplayName": "<p>A display name for the stack.</p>",
|
||||
"StackError$ErrorMessage": "<p>The error message of a stack error.</p>",
|
||||
"StartFleetRequest$Name": "<p>The name of the fleet to start.</p>",
|
||||
"StopFleetRequest$Name": "<p>The name of the fleet to stop.</p>",
|
||||
"StringList$member": null,
|
||||
|
@ -544,6 +615,7 @@
|
|||
"CreateStreamingURLResult$Expires": "<p>Elapsed seconds after the Unix epoch, at which time this URL expires.</p>",
|
||||
"Fleet$CreatedTime": "<p>The time at which the fleet was created.</p>",
|
||||
"Image$CreatedTime": "<p>The timestamp when the image was created.</p>",
|
||||
"Image$PublicBaseImageReleasedDate": "<p>The AWS release date of the public base image. For private images, this date is the release date of the base image from which the image was created.</p>",
|
||||
"Stack$CreatedTime": "<p>The timestamp when the stack was created.</p>"
|
||||
}
|
||||
},
|
||||
|
|
615
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/api-2.json
generated
vendored
Normal file
615
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/api-2.json
generated
vendored
Normal file
|
@ -0,0 +1,615 @@
|
|||
{
|
||||
"version":"2.0",
|
||||
"metadata":{
|
||||
"apiVersion":"2017-05-18",
|
||||
"endpointPrefix":"athena",
|
||||
"jsonVersion":"1.1",
|
||||
"protocol":"json",
|
||||
"serviceFullName":"Amazon Athena",
|
||||
"signatureVersion":"v4",
|
||||
"targetPrefix":"AmazonAthena",
|
||||
"uid":"athena-2017-05-18"
|
||||
},
|
||||
"operations":{
|
||||
"BatchGetNamedQuery":{
|
||||
"name":"BatchGetNamedQuery",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"BatchGetNamedQueryInput"},
|
||||
"output":{"shape":"BatchGetNamedQueryOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
]
|
||||
},
|
||||
"BatchGetQueryExecution":{
|
||||
"name":"BatchGetQueryExecution",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"BatchGetQueryExecutionInput"},
|
||||
"output":{"shape":"BatchGetQueryExecutionOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
]
|
||||
},
|
||||
"CreateNamedQuery":{
|
||||
"name":"CreateNamedQuery",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CreateNamedQueryInput"},
|
||||
"output":{"shape":"CreateNamedQueryOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
],
|
||||
"idempotent":true
|
||||
},
|
||||
"DeleteNamedQuery":{
|
||||
"name":"DeleteNamedQuery",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteNamedQueryInput"},
|
||||
"output":{"shape":"DeleteNamedQueryOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
],
|
||||
"idempotent":true
|
||||
},
|
||||
"GetNamedQuery":{
|
||||
"name":"GetNamedQuery",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"GetNamedQueryInput"},
|
||||
"output":{"shape":"GetNamedQueryOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
]
|
||||
},
|
||||
"GetQueryExecution":{
|
||||
"name":"GetQueryExecution",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"GetQueryExecutionInput"},
|
||||
"output":{"shape":"GetQueryExecutionOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
]
|
||||
},
|
||||
"GetQueryResults":{
|
||||
"name":"GetQueryResults",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"GetQueryResultsInput"},
|
||||
"output":{"shape":"GetQueryResultsOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
]
|
||||
},
|
||||
"ListNamedQueries":{
|
||||
"name":"ListNamedQueries",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"ListNamedQueriesInput"},
|
||||
"output":{"shape":"ListNamedQueriesOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
]
|
||||
},
|
||||
"ListQueryExecutions":{
|
||||
"name":"ListQueryExecutions",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"ListQueryExecutionsInput"},
|
||||
"output":{"shape":"ListQueryExecutionsOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
]
|
||||
},
|
||||
"StartQueryExecution":{
|
||||
"name":"StartQueryExecution",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"StartQueryExecutionInput"},
|
||||
"output":{"shape":"StartQueryExecutionOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"},
|
||||
{"shape":"TooManyRequestsException"}
|
||||
],
|
||||
"idempotent":true
|
||||
},
|
||||
"StopQueryExecution":{
|
||||
"name":"StopQueryExecution",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"StopQueryExecutionInput"},
|
||||
"output":{"shape":"StopQueryExecutionOutput"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerException"},
|
||||
{"shape":"InvalidRequestException"}
|
||||
],
|
||||
"idempotent":true
|
||||
}
|
||||
},
|
||||
"shapes":{
|
||||
"BatchGetNamedQueryInput":{
|
||||
"type":"structure",
|
||||
"required":["NamedQueryIds"],
|
||||
"members":{
|
||||
"NamedQueryIds":{"shape":"NamedQueryIdList"}
|
||||
}
|
||||
},
|
||||
"BatchGetNamedQueryOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"NamedQueries":{"shape":"NamedQueryList"},
|
||||
"UnprocessedNamedQueryIds":{"shape":"UnprocessedNamedQueryIdList"}
|
||||
}
|
||||
},
|
||||
"BatchGetQueryExecutionInput":{
|
||||
"type":"structure",
|
||||
"required":["QueryExecutionIds"],
|
||||
"members":{
|
||||
"QueryExecutionIds":{"shape":"QueryExecutionIdList"}
|
||||
}
|
||||
},
|
||||
"BatchGetQueryExecutionOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"QueryExecutions":{"shape":"QueryExecutionList"},
|
||||
"UnprocessedQueryExecutionIds":{"shape":"UnprocessedQueryExecutionIdList"}
|
||||
}
|
||||
},
|
||||
"Boolean":{"type":"boolean"},
|
||||
"ColumnInfo":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Type"
|
||||
],
|
||||
"members":{
|
||||
"CatalogName":{"shape":"String"},
|
||||
"SchemaName":{"shape":"String"},
|
||||
"TableName":{"shape":"String"},
|
||||
"Name":{"shape":"String"},
|
||||
"Label":{"shape":"String"},
|
||||
"Type":{"shape":"String"},
|
||||
"Precision":{"shape":"Integer"},
|
||||
"Scale":{"shape":"Integer"},
|
||||
"Nullable":{"shape":"ColumnNullable"},
|
||||
"CaseSensitive":{"shape":"Boolean"}
|
||||
}
|
||||
},
|
||||
"ColumnInfoList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ColumnInfo"}
|
||||
},
|
||||
"ColumnNullable":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"NOT_NULL",
|
||||
"NULLABLE",
|
||||
"UNKNOWN"
|
||||
]
|
||||
},
|
||||
"CreateNamedQueryInput":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Database",
|
||||
"QueryString"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"NameString"},
|
||||
"Description":{"shape":"DescriptionString"},
|
||||
"Database":{"shape":"DatabaseString"},
|
||||
"QueryString":{"shape":"QueryString"},
|
||||
"ClientRequestToken":{
|
||||
"shape":"IdempotencyToken",
|
||||
"idempotencyToken":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"CreateNamedQueryOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"NamedQueryId":{"shape":"NamedQueryId"}
|
||||
}
|
||||
},
|
||||
"DatabaseString":{
|
||||
"type":"string",
|
||||
"max":32,
|
||||
"min":1
|
||||
},
|
||||
"Date":{"type":"timestamp"},
|
||||
"Datum":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"VarCharValue":{"shape":"datumString"}
|
||||
}
|
||||
},
|
||||
"DeleteNamedQueryInput":{
|
||||
"type":"structure",
|
||||
"required":["NamedQueryId"],
|
||||
"members":{
|
||||
"NamedQueryId":{
|
||||
"shape":"NamedQueryId",
|
||||
"idempotencyToken":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"DeleteNamedQueryOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"DescriptionString":{
|
||||
"type":"string",
|
||||
"max":1024,
|
||||
"min":1
|
||||
},
|
||||
"EncryptionConfiguration":{
|
||||
"type":"structure",
|
||||
"required":["EncryptionOption"],
|
||||
"members":{
|
||||
"EncryptionOption":{"shape":"EncryptionOption"},
|
||||
"KmsKey":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"EncryptionOption":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"SSE_S3",
|
||||
"SSE_KMS",
|
||||
"CSE_KMS"
|
||||
]
|
||||
},
|
||||
"ErrorCode":{
|
||||
"type":"string",
|
||||
"max":256,
|
||||
"min":1
|
||||
},
|
||||
"ErrorMessage":{"type":"string"},
|
||||
"GetNamedQueryInput":{
|
||||
"type":"structure",
|
||||
"required":["NamedQueryId"],
|
||||
"members":{
|
||||
"NamedQueryId":{"shape":"NamedQueryId"}
|
||||
}
|
||||
},
|
||||
"GetNamedQueryOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"NamedQuery":{"shape":"NamedQuery"}
|
||||
}
|
||||
},
|
||||
"GetQueryExecutionInput":{
|
||||
"type":"structure",
|
||||
"required":["QueryExecutionId"],
|
||||
"members":{
|
||||
"QueryExecutionId":{"shape":"QueryExecutionId"}
|
||||
}
|
||||
},
|
||||
"GetQueryExecutionOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"QueryExecution":{"shape":"QueryExecution"}
|
||||
}
|
||||
},
|
||||
"GetQueryResultsInput":{
|
||||
"type":"structure",
|
||||
"required":["QueryExecutionId"],
|
||||
"members":{
|
||||
"QueryExecutionId":{"shape":"QueryExecutionId"},
|
||||
"NextToken":{"shape":"Token"},
|
||||
"MaxResults":{"shape":"MaxQueryResults"}
|
||||
}
|
||||
},
|
||||
"GetQueryResultsOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ResultSet":{"shape":"ResultSet"},
|
||||
"NextToken":{"shape":"Token"}
|
||||
}
|
||||
},
|
||||
"IdempotencyToken":{
|
||||
"type":"string",
|
||||
"max":128,
|
||||
"min":32
|
||||
},
|
||||
"Integer":{"type":"integer"},
|
||||
"InternalServerException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true,
|
||||
"fault":true
|
||||
},
|
||||
"InvalidRequestException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"AthenaErrorCode":{"shape":"ErrorCode"},
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"ListNamedQueriesInput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"NextToken":{"shape":"Token"},
|
||||
"MaxResults":{"shape":"MaxNamedQueriesCount"}
|
||||
}
|
||||
},
|
||||
"ListNamedQueriesOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"NamedQueryIds":{"shape":"NamedQueryIdList"},
|
||||
"NextToken":{"shape":"Token"}
|
||||
}
|
||||
},
|
||||
"ListQueryExecutionsInput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"NextToken":{"shape":"Token"},
|
||||
"MaxResults":{"shape":"MaxQueryExecutionsCount"}
|
||||
}
|
||||
},
|
||||
"ListQueryExecutionsOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"QueryExecutionIds":{"shape":"QueryExecutionIdList"},
|
||||
"NextToken":{"shape":"Token"}
|
||||
}
|
||||
},
|
||||
"Long":{"type":"long"},
|
||||
"MaxNamedQueriesCount":{
|
||||
"type":"integer",
|
||||
"box":true,
|
||||
"max":50,
|
||||
"min":0
|
||||
},
|
||||
"MaxQueryExecutionsCount":{
|
||||
"type":"integer",
|
||||
"box":true,
|
||||
"max":50,
|
||||
"min":0
|
||||
},
|
||||
"MaxQueryResults":{
|
||||
"type":"integer",
|
||||
"box":true,
|
||||
"max":1000,
|
||||
"min":0
|
||||
},
|
||||
"NameString":{
|
||||
"type":"string",
|
||||
"max":128,
|
||||
"min":1
|
||||
},
|
||||
"NamedQuery":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Database",
|
||||
"QueryString"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"NameString"},
|
||||
"Description":{"shape":"DescriptionString"},
|
||||
"Database":{"shape":"DatabaseString"},
|
||||
"QueryString":{"shape":"QueryString"},
|
||||
"NamedQueryId":{"shape":"NamedQueryId"}
|
||||
}
|
||||
},
|
||||
"NamedQueryId":{"type":"string"},
|
||||
"NamedQueryIdList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"NamedQueryId"},
|
||||
"max":50,
|
||||
"min":1
|
||||
},
|
||||
"NamedQueryList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"NamedQuery"}
|
||||
},
|
||||
"QueryExecution":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"QueryExecutionId":{"shape":"QueryExecutionId"},
|
||||
"Query":{"shape":"QueryString"},
|
||||
"ResultConfiguration":{"shape":"ResultConfiguration"},
|
||||
"QueryExecutionContext":{"shape":"QueryExecutionContext"},
|
||||
"Status":{"shape":"QueryExecutionStatus"},
|
||||
"Statistics":{"shape":"QueryExecutionStatistics"}
|
||||
}
|
||||
},
|
||||
"QueryExecutionContext":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Database":{"shape":"DatabaseString"}
|
||||
}
|
||||
},
|
||||
"QueryExecutionId":{"type":"string"},
|
||||
"QueryExecutionIdList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"QueryExecutionId"},
|
||||
"max":50,
|
||||
"min":1
|
||||
},
|
||||
"QueryExecutionList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"QueryExecution"}
|
||||
},
|
||||
"QueryExecutionState":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"QUEUED",
|
||||
"RUNNING",
|
||||
"SUCCEEDED",
|
||||
"FAILED",
|
||||
"CANCELLED"
|
||||
]
|
||||
},
|
||||
"QueryExecutionStatistics":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"EngineExecutionTimeInMillis":{"shape":"Long"},
|
||||
"DataScannedInBytes":{"shape":"Long"}
|
||||
}
|
||||
},
|
||||
"QueryExecutionStatus":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"State":{"shape":"QueryExecutionState"},
|
||||
"StateChangeReason":{"shape":"String"},
|
||||
"SubmissionDateTime":{"shape":"Date"},
|
||||
"CompletionDateTime":{"shape":"Date"}
|
||||
}
|
||||
},
|
||||
"QueryString":{
|
||||
"type":"string",
|
||||
"max":262144,
|
||||
"min":1
|
||||
},
|
||||
"ResultConfiguration":{
|
||||
"type":"structure",
|
||||
"required":["OutputLocation"],
|
||||
"members":{
|
||||
"OutputLocation":{"shape":"String"},
|
||||
"EncryptionConfiguration":{"shape":"EncryptionConfiguration"}
|
||||
}
|
||||
},
|
||||
"ResultSet":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Rows":{"shape":"RowList"},
|
||||
"ResultSetMetadata":{"shape":"ResultSetMetadata"}
|
||||
}
|
||||
},
|
||||
"ResultSetMetadata":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ColumnInfo":{"shape":"ColumnInfoList"}
|
||||
}
|
||||
},
|
||||
"Row":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Data":{"shape":"datumList"}
|
||||
}
|
||||
},
|
||||
"RowList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Row"}
|
||||
},
|
||||
"StartQueryExecutionInput":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"QueryString",
|
||||
"ResultConfiguration"
|
||||
],
|
||||
"members":{
|
||||
"QueryString":{"shape":"QueryString"},
|
||||
"ClientRequestToken":{
|
||||
"shape":"IdempotencyToken",
|
||||
"idempotencyToken":true
|
||||
},
|
||||
"QueryExecutionContext":{"shape":"QueryExecutionContext"},
|
||||
"ResultConfiguration":{"shape":"ResultConfiguration"}
|
||||
}
|
||||
},
|
||||
"StartQueryExecutionOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"QueryExecutionId":{"shape":"QueryExecutionId"}
|
||||
}
|
||||
},
|
||||
"StopQueryExecutionInput":{
|
||||
"type":"structure",
|
||||
"required":["QueryExecutionId"],
|
||||
"members":{
|
||||
"QueryExecutionId":{
|
||||
"shape":"QueryExecutionId",
|
||||
"idempotencyToken":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"StopQueryExecutionOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"String":{"type":"string"},
|
||||
"ThrottleReason":{
|
||||
"type":"string",
|
||||
"enum":["CONCURRENT_QUERY_LIMIT_EXCEEDED"]
|
||||
},
|
||||
"Token":{"type":"string"},
|
||||
"TooManyRequestsException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"},
|
||||
"Reason":{"shape":"ThrottleReason"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"UnprocessedNamedQueryId":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"NamedQueryId":{"shape":"NamedQueryId"},
|
||||
"ErrorCode":{"shape":"ErrorCode"},
|
||||
"ErrorMessage":{"shape":"ErrorMessage"}
|
||||
}
|
||||
},
|
||||
"UnprocessedNamedQueryIdList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"UnprocessedNamedQueryId"}
|
||||
},
|
||||
"UnprocessedQueryExecutionId":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"QueryExecutionId":{"shape":"QueryExecutionId"},
|
||||
"ErrorCode":{"shape":"ErrorCode"},
|
||||
"ErrorMessage":{"shape":"ErrorMessage"}
|
||||
}
|
||||
},
|
||||
"UnprocessedQueryExecutionIdList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"UnprocessedQueryExecutionId"}
|
||||
},
|
||||
"datumList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Datum"}
|
||||
},
|
||||
"datumString":{"type":"string"}
|
||||
}
|
||||
}
|
467
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/docs-2.json
generated
vendored
Normal file
467
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/docs-2.json
generated
vendored
Normal file
|
@ -0,0 +1,467 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<p>Amazon Athena is an interactive query service that lets you use standard SQL to analyze data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay only for the queries you run. Athena scales automatically—executing queries in parallel—so results are fast, even with large datasets and complex queries. For more information, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/what-is.html\">What is Amazon Athena</a> in the <i>Amazon Athena User Guide</i>.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
|
||||
"operations": {
|
||||
"BatchGetNamedQuery": "<p>Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Use <a>ListNamedQueries</a> to get the list of named query IDs. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under <a>UnprocessedNamedQueryId</a>. Named queries are different from executed queries. Use <a>BatchGetQueryExecution</a> to get details about each unique query execution, and <a>ListQueryExecutions</a> to get a list of query execution IDs.</p>",
|
||||
"BatchGetQueryExecution": "<p>Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. To get a list of query execution IDs, use <a>ListQueryExecutions</a>. Query executions are different from named (saved) queries. Use <a>BatchGetNamedQuery</a> to get details about named queries.</p>",
|
||||
"CreateNamedQuery": "<p>Creates a named query.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
|
||||
"DeleteNamedQuery": "<p>Deletes a named query.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
|
||||
"GetNamedQuery": "<p>Returns information about a single query.</p>",
|
||||
"GetQueryExecution": "<p>Returns information about a single execution of a query. Each time a query executes, information about the query execution is saved with a unique ID.</p>",
|
||||
"GetQueryResults": "<p>Returns the results of a single query execution specified by <code>QueryExecutionId</code>. This request does not execute the query but returns results. Use <a>StartQueryExecution</a> to run a query.</p>",
|
||||
"ListNamedQueries": "<p>Provides a list of all available query IDs.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
|
||||
"ListQueryExecutions": "<p>Provides a list of all available query execution IDs.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
|
||||
"StartQueryExecution": "<p>Runs (executes) the SQL query statements contained in the <code>Query</code> string.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>",
|
||||
"StopQueryExecution": "<p>Stops a query execution.</p> <p>For code samples using the AWS SDK for Java, see <a href=\"http://docs.aws.amazon.com/athena/latest/ug/code-samples.html\">Examples and Code Samples</a> in the <i>Amazon Athena User Guide</i>.</p>"
|
||||
},
|
||||
"shapes": {
|
||||
"BatchGetNamedQueryInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetNamedQueryOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetQueryExecutionInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetQueryExecutionOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Boolean": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ColumnInfo$CaseSensitive": "<p>Indicates whether values in the column are case-sensitive.</p>"
|
||||
}
|
||||
},
|
||||
"ColumnInfo": {
|
||||
"base": "<p>Information about the columns in a query execution result.</p>",
|
||||
"refs": {
|
||||
"ColumnInfoList$member": null
|
||||
}
|
||||
},
|
||||
"ColumnInfoList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResultSetMetadata$ColumnInfo": "<p>Information about the columns in a query execution result.</p>"
|
||||
}
|
||||
},
|
||||
"ColumnNullable": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ColumnInfo$Nullable": "<p>Indicates the column's nullable status.</p>"
|
||||
}
|
||||
},
|
||||
"CreateNamedQueryInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateNamedQueryOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DatabaseString": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateNamedQueryInput$Database": "<p>The database to which the query belongs.</p>",
|
||||
"NamedQuery$Database": "<p>The database to which the query belongs.</p>",
|
||||
"QueryExecutionContext$Database": "<p>The name of the database.</p>"
|
||||
}
|
||||
},
|
||||
"Date": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"QueryExecutionStatus$SubmissionDateTime": "<p>The date and time that the query was submitted.</p>",
|
||||
"QueryExecutionStatus$CompletionDateTime": "<p>The date and time that the query completed.</p>"
|
||||
}
|
||||
},
|
||||
"Datum": {
|
||||
"base": "<p>A piece of data (a field in the table).</p>",
|
||||
"refs": {
|
||||
"datumList$member": null
|
||||
}
|
||||
},
|
||||
"DeleteNamedQueryInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteNamedQueryOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescriptionString": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateNamedQueryInput$Description": "<p>A brief explanation of the query.</p>",
|
||||
"NamedQuery$Description": "<p>A brief description of the query.</p>"
|
||||
}
|
||||
},
|
||||
"EncryptionConfiguration": {
|
||||
"base": "<p>If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption option used.</p>",
|
||||
"refs": {
|
||||
"ResultConfiguration$EncryptionConfiguration": "<p>If query results are encrypted in S3, indicates the S3 encryption option used (for example, <code>SSE-KMS</code> or <code>CSE-KMS</code> and key information.</p>"
|
||||
}
|
||||
},
|
||||
"EncryptionOption": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"EncryptionConfiguration$EncryptionOption": "<p>Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (<code>SSE-S3</code>), server-side encryption with KMS-managed keys (<code>SSE-KMS</code>), or client-side encryption with KMS-managed keys (CSE-KMS) is used.</p>"
|
||||
}
|
||||
},
|
||||
"ErrorCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"InvalidRequestException$AthenaErrorCode": null,
|
||||
"UnprocessedNamedQueryId$ErrorCode": "<p>The error code returned when the processing request for the named query failed, if applicable.</p>",
|
||||
"UnprocessedQueryExecutionId$ErrorCode": "<p>The error code returned when the query execution failed to process, if applicable.</p>"
|
||||
}
|
||||
},
|
||||
"ErrorMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"InternalServerException$Message": null,
|
||||
"InvalidRequestException$Message": null,
|
||||
"TooManyRequestsException$Message": null,
|
||||
"UnprocessedNamedQueryId$ErrorMessage": "<p>The error message returned when the processing request for the named query failed, if applicable.</p>",
|
||||
"UnprocessedQueryExecutionId$ErrorMessage": "<p>The error message returned when the query execution failed to process, if applicable.</p>"
|
||||
}
|
||||
},
|
||||
"GetNamedQueryInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetNamedQueryOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetQueryExecutionInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetQueryExecutionOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetQueryResultsInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetQueryResultsOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"IdempotencyToken": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateNamedQueryInput$ClientRequestToken": "<p>A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another <code>CreateNamedQuery</code> request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the <code>QueryString</code>, an error is returned.</p> <important> <p>This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.</p> </important>",
|
||||
"StartQueryExecutionInput$ClientRequestToken": "<p>A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another <code>StartQueryExecution</code> request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the <code>QueryString</code>, an error is returned.</p> <important> <p>This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.</p> </important>"
|
||||
}
|
||||
},
|
||||
"Integer": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ColumnInfo$Precision": "<p>For <code>DECIMAL</code> data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.</p>",
|
||||
"ColumnInfo$Scale": "<p>For <code>DECIMAL</code> data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.</p>"
|
||||
}
|
||||
},
|
||||
"InternalServerException": {
|
||||
"base": "<p>Indicates a platform issue, which may be due to a transient condition or outage.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidRequestException": {
|
||||
"base": "<p>Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListNamedQueriesInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListNamedQueriesOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListQueryExecutionsInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListQueryExecutionsOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Long": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"QueryExecutionStatistics$EngineExecutionTimeInMillis": "<p>The number of milliseconds that the query took to execute.</p>",
|
||||
"QueryExecutionStatistics$DataScannedInBytes": "<p>The number of bytes in the data that was queried.</p>"
|
||||
}
|
||||
},
|
||||
"MaxNamedQueriesCount": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListNamedQueriesInput$MaxResults": "<p>The maximum number of queries to return in this request.</p>"
|
||||
}
|
||||
},
|
||||
"MaxQueryExecutionsCount": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListQueryExecutionsInput$MaxResults": "<p>The maximum number of query executions to return in this request.</p>"
|
||||
}
|
||||
},
|
||||
"MaxQueryResults": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetQueryResultsInput$MaxResults": "<p>The maximum number of results (rows) to return in this request.</p>"
|
||||
}
|
||||
},
|
||||
"NameString": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateNamedQueryInput$Name": "<p>The plain language name for the query.</p>",
|
||||
"NamedQuery$Name": "<p>The plain-language name of the query.</p>"
|
||||
}
|
||||
},
|
||||
"NamedQuery": {
|
||||
"base": "<p>A query, where <code>QueryString</code> is the SQL query statements that comprise the query.</p>",
|
||||
"refs": {
|
||||
"GetNamedQueryOutput$NamedQuery": "<p>Information about the query.</p>",
|
||||
"NamedQueryList$member": null
|
||||
}
|
||||
},
|
||||
"NamedQueryId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateNamedQueryOutput$NamedQueryId": "<p>The unique ID of the query.</p>",
|
||||
"DeleteNamedQueryInput$NamedQueryId": "<p>The unique ID of the query to delete.</p>",
|
||||
"GetNamedQueryInput$NamedQueryId": "<p>The unique ID of the query. Use <a>ListNamedQueries</a> to get query IDs.</p>",
|
||||
"NamedQuery$NamedQueryId": "<p>The unique identifier of the query.</p>",
|
||||
"NamedQueryIdList$member": null,
|
||||
"UnprocessedNamedQueryId$NamedQueryId": "<p>The unique identifier of the named query.</p>"
|
||||
}
|
||||
},
|
||||
"NamedQueryIdList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchGetNamedQueryInput$NamedQueryIds": "<p>An array of query IDs.</p>",
|
||||
"ListNamedQueriesOutput$NamedQueryIds": "<p>The list of unique query IDs.</p>"
|
||||
}
|
||||
},
|
||||
"NamedQueryList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchGetNamedQueryOutput$NamedQueries": "<p>Information about the named query IDs submitted.</p>"
|
||||
}
|
||||
},
|
||||
"QueryExecution": {
|
||||
"base": "<p>Information about a single instance of a query execution.</p>",
|
||||
"refs": {
|
||||
"GetQueryExecutionOutput$QueryExecution": "<p>Information about the query execution.</p>",
|
||||
"QueryExecutionList$member": null
|
||||
}
|
||||
},
|
||||
"QueryExecutionContext": {
|
||||
"base": "<p>The database in which the query execution occurs.</p>",
|
||||
"refs": {
|
||||
"QueryExecution$QueryExecutionContext": "<p>The database in which the query execution occurred.</p>",
|
||||
"StartQueryExecutionInput$QueryExecutionContext": "<p>The database within which the query executes.</p>"
|
||||
}
|
||||
},
|
||||
"QueryExecutionId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetQueryExecutionInput$QueryExecutionId": "<p>The unique ID of the query execution.</p>",
|
||||
"GetQueryResultsInput$QueryExecutionId": "<p>The unique ID of the query execution.</p>",
|
||||
"QueryExecution$QueryExecutionId": "<p>The unique identifier for each query execution.</p>",
|
||||
"QueryExecutionIdList$member": null,
|
||||
"StartQueryExecutionOutput$QueryExecutionId": "<p>The unique ID of the query that ran as a result of this request.</p>",
|
||||
"StopQueryExecutionInput$QueryExecutionId": "<p>The unique ID of the query execution to stop.</p>",
|
||||
"UnprocessedQueryExecutionId$QueryExecutionId": "<p>The unique identifier of the query execution.</p>"
|
||||
}
|
||||
},
|
||||
"QueryExecutionIdList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchGetQueryExecutionInput$QueryExecutionIds": "<p>An array of query execution IDs.</p>",
|
||||
"ListQueryExecutionsOutput$QueryExecutionIds": "<p>The unique IDs of each query execution as an array of strings.</p>"
|
||||
}
|
||||
},
|
||||
"QueryExecutionList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchGetQueryExecutionOutput$QueryExecutions": "<p>Information about a query execution.</p>"
|
||||
}
|
||||
},
|
||||
"QueryExecutionState": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"QueryExecutionStatus$State": "<p>The state of query execution. <code>SUBMITTED</code> indicates that the query is queued for execution. <code>RUNNING</code> indicates that the query is scanning data and returning results. <code>SUCCEEDED</code> indicates that the query completed without error. <code>FAILED</code> indicates that the query experienced an error and did not complete processing. <code>CANCELLED</code> indicates that user input interrupted query execution.</p>"
|
||||
}
|
||||
},
|
||||
"QueryExecutionStatistics": {
|
||||
"base": "<p>The amount of data scanned during the query execution and the amount of time that it took to execute.</p>",
|
||||
"refs": {
|
||||
"QueryExecution$Statistics": "<p>The amount of data scanned during the query execution and the amount of time that it took to execute.</p>"
|
||||
}
|
||||
},
|
||||
"QueryExecutionStatus": {
|
||||
"base": "<p>The completion date, current state, submission time, and state change reason (if applicable) for the query execution.</p>",
|
||||
"refs": {
|
||||
"QueryExecution$Status": "<p>The completion date, current state, submission time, and state change reason (if applicable) for the query execution.</p>"
|
||||
}
|
||||
},
|
||||
"QueryString": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateNamedQueryInput$QueryString": "<p>The text of the query itself. In other words, all query statements.</p>",
|
||||
"NamedQuery$QueryString": "<p>The SQL query statements that comprise the query.</p>",
|
||||
"QueryExecution$Query": "<p>The SQL query statements which the query execution ran.</p>",
|
||||
"StartQueryExecutionInput$QueryString": "<p>The SQL query statements to be executed.</p>"
|
||||
}
|
||||
},
|
||||
"ResultConfiguration": {
|
||||
"base": "<p>The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results.</p>",
|
||||
"refs": {
|
||||
"QueryExecution$ResultConfiguration": "<p>The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.</p>",
|
||||
"StartQueryExecutionInput$ResultConfiguration": "<p>Specifies information about where and how to save the results of the query execution.</p>"
|
||||
}
|
||||
},
|
||||
"ResultSet": {
|
||||
"base": "<p>The metadata and rows that comprise a query result set. The metadata describes the column structure and data types.</p>",
|
||||
"refs": {
|
||||
"GetQueryResultsOutput$ResultSet": "<p>The results of the query execution.</p>"
|
||||
}
|
||||
},
|
||||
"ResultSetMetadata": {
|
||||
"base": "<p>The metadata that describes the column structure and data types of a table of query results.</p>",
|
||||
"refs": {
|
||||
"ResultSet$ResultSetMetadata": "<p>The metadata that describes the column structure and data types of a table of query results.</p>"
|
||||
}
|
||||
},
|
||||
"Row": {
|
||||
"base": "<p>The rows that comprise a query result table.</p>",
|
||||
"refs": {
|
||||
"RowList$member": null
|
||||
}
|
||||
},
|
||||
"RowList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResultSet$Rows": "<p>The rows in the table.</p>"
|
||||
}
|
||||
},
|
||||
"StartQueryExecutionInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"StartQueryExecutionOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"StopQueryExecutionInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"StopQueryExecutionOutput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"String": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ColumnInfo$CatalogName": "<p>The catalog to which the query results belong.</p>",
|
||||
"ColumnInfo$SchemaName": "<p>The schema name (database name) to which the query results belong.</p>",
|
||||
"ColumnInfo$TableName": "<p>The table name for the query results.</p>",
|
||||
"ColumnInfo$Name": "<p>The name of the column.</p>",
|
||||
"ColumnInfo$Label": "<p>A column label.</p>",
|
||||
"ColumnInfo$Type": "<p>The data type of the column.</p>",
|
||||
"EncryptionConfiguration$KmsKey": "<p>For <code>SSE-KMS</code> and <code>CSE-KMS</code>, this is the KMS key ARN or ID.</p>",
|
||||
"QueryExecutionStatus$StateChangeReason": "<p>Further detail about the status of the query.</p>",
|
||||
"ResultConfiguration$OutputLocation": "<p>The location in S3 where query results are stored.</p>"
|
||||
}
|
||||
},
|
||||
"ThrottleReason": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TooManyRequestsException$Reason": null
|
||||
}
|
||||
},
|
||||
"Token": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetQueryResultsInput$NextToken": "<p>The token that specifies where to start pagination if a previous request was truncated.</p>",
|
||||
"GetQueryResultsOutput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>",
|
||||
"ListNamedQueriesInput$NextToken": "<p>The token that specifies where to start pagination if a previous request was truncated.</p>",
|
||||
"ListNamedQueriesOutput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>",
|
||||
"ListQueryExecutionsInput$NextToken": "<p>The token that specifies where to start pagination if a previous request was truncated.</p>",
|
||||
"ListQueryExecutionsOutput$NextToken": "<p>A token to be used by the next request if this request is truncated.</p>"
|
||||
}
|
||||
},
|
||||
"TooManyRequestsException": {
|
||||
"base": "<p>Indicates that the request was throttled.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UnprocessedNamedQueryId": {
|
||||
"base": "<p>Information about a named query ID that could not be processed.</p>",
|
||||
"refs": {
|
||||
"UnprocessedNamedQueryIdList$member": null
|
||||
}
|
||||
},
|
||||
"UnprocessedNamedQueryIdList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchGetNamedQueryOutput$UnprocessedNamedQueryIds": "<p>Information about provided query IDs.</p>"
|
||||
}
|
||||
},
|
||||
"UnprocessedQueryExecutionId": {
|
||||
"base": "<p>Describes a query execution that failed to process.</p>",
|
||||
"refs": {
|
||||
"UnprocessedQueryExecutionIdList$member": null
|
||||
}
|
||||
},
|
||||
"UnprocessedQueryExecutionIdList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchGetQueryExecutionOutput$UnprocessedQueryExecutionIds": "<p>Information about the query executions that failed to run.</p>"
|
||||
}
|
||||
},
|
||||
"datumList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Row$Data": "<p>The data that populates a row in a query result table.</p>"
|
||||
}
|
||||
},
|
||||
"datumString": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Datum$VarCharValue": "<p>The value of the datum.</p>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
5
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/examples-1.json
generated
vendored
Normal file
5
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/examples-1.json
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
19
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/paginators-1.json
generated
vendored
Normal file
19
vendor/github.com/aws/aws-sdk-go/models/apis/athena/2017-05-18/paginators-1.json
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"pagination": {
|
||||
"GetQueryResults": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListNamedQueries": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListQueryExecutions": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
}
|
||||
}
|
||||
}
|
94
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/api-2.json
generated
vendored
94
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/api-2.json
generated
vendored
|
@ -102,7 +102,8 @@
|
|||
"errors":[
|
||||
{"shape":"LimitExceededFault"},
|
||||
{"shape":"AlreadyExistsFault"},
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ResourceInUseFault"}
|
||||
]
|
||||
},
|
||||
"DeleteAutoScalingGroup":{
|
||||
|
@ -186,7 +187,8 @@
|
|||
},
|
||||
"input":{"shape":"DeleteTagsType"},
|
||||
"errors":[
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ResourceInUseFault"}
|
||||
]
|
||||
},
|
||||
"DescribeAccountLimits":{
|
||||
|
@ -1077,6 +1079,21 @@
|
|||
"Tags":{"shape":"Tags"}
|
||||
}
|
||||
},
|
||||
"CustomizedMetricSpecification":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"MetricName",
|
||||
"Namespace",
|
||||
"Statistic"
|
||||
],
|
||||
"members":{
|
||||
"MetricName":{"shape":"MetricName"},
|
||||
"Namespace":{"shape":"MetricNamespace"},
|
||||
"Dimensions":{"shape":"MetricDimensions"},
|
||||
"Statistic":{"shape":"MetricStatistic"},
|
||||
"Unit":{"shape":"MetricUnit"}
|
||||
}
|
||||
},
|
||||
"DeleteAutoScalingGroupType":{
|
||||
"type":"structure",
|
||||
"required":["AutoScalingGroupName"],
|
||||
|
@ -1344,6 +1361,7 @@
|
|||
"Metrics":{"shape":"Metrics"}
|
||||
}
|
||||
},
|
||||
"DisableScaleIn":{"type":"boolean"},
|
||||
"Ebs":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1568,7 +1586,8 @@
|
|||
},
|
||||
"LifecycleHookNames":{
|
||||
"type":"list",
|
||||
"member":{"shape":"AsciiStringMaxLen255"}
|
||||
"member":{"shape":"AsciiStringMaxLen255"},
|
||||
"max":50
|
||||
},
|
||||
"LifecycleHooks":{
|
||||
"type":"list",
|
||||
|
@ -1644,6 +1663,23 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"MetricCollectionType"}
|
||||
},
|
||||
"MetricDimension":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Value"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"MetricDimensionName"},
|
||||
"Value":{"shape":"MetricDimensionValue"}
|
||||
}
|
||||
},
|
||||
"MetricDimensionName":{"type":"string"},
|
||||
"MetricDimensionValue":{"type":"string"},
|
||||
"MetricDimensions":{
|
||||
"type":"list",
|
||||
"member":{"shape":"MetricDimension"}
|
||||
},
|
||||
"MetricGranularityType":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1654,7 +1690,29 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"MetricGranularityType"}
|
||||
},
|
||||
"MetricName":{"type":"string"},
|
||||
"MetricNamespace":{"type":"string"},
|
||||
"MetricScale":{"type":"double"},
|
||||
"MetricStatistic":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"Average",
|
||||
"Minimum",
|
||||
"Maximum",
|
||||
"SampleCount",
|
||||
"Sum"
|
||||
]
|
||||
},
|
||||
"MetricType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"ASGAverageCPUUtilization",
|
||||
"ASGAverageNetworkIn",
|
||||
"ASGAverageNetworkOut",
|
||||
"ALBRequestCountPerTarget"
|
||||
]
|
||||
},
|
||||
"MetricUnit":{"type":"string"},
|
||||
"Metrics":{
|
||||
"type":"list",
|
||||
"member":{"shape":"XmlStringMaxLen255"}
|
||||
|
@ -1696,7 +1754,8 @@
|
|||
"PolicyARNType":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"PolicyARN":{"shape":"ResourceName"}
|
||||
"PolicyARN":{"shape":"ResourceName"},
|
||||
"Alarms":{"shape":"Alarms"}
|
||||
}
|
||||
},
|
||||
"PolicyIncrement":{"type":"integer"},
|
||||
|
@ -1708,6 +1767,14 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"XmlStringMaxLen64"}
|
||||
},
|
||||
"PredefinedMetricSpecification":{
|
||||
"type":"structure",
|
||||
"required":["PredefinedMetricType"],
|
||||
"members":{
|
||||
"PredefinedMetricType":{"shape":"MetricType"},
|
||||
"ResourceLabel":{"shape":"XmlStringMaxLen1023"}
|
||||
}
|
||||
},
|
||||
"ProcessNames":{
|
||||
"type":"list",
|
||||
"member":{"shape":"XmlStringMaxLen255"}
|
||||
|
@ -1771,8 +1838,7 @@
|
|||
"type":"structure",
|
||||
"required":[
|
||||
"AutoScalingGroupName",
|
||||
"PolicyName",
|
||||
"AdjustmentType"
|
||||
"PolicyName"
|
||||
],
|
||||
"members":{
|
||||
"AutoScalingGroupName":{"shape":"ResourceName"},
|
||||
|
@ -1785,7 +1851,8 @@
|
|||
"Cooldown":{"shape":"Cooldown"},
|
||||
"MetricAggregationType":{"shape":"XmlStringMaxLen32"},
|
||||
"StepAdjustments":{"shape":"StepAdjustments"},
|
||||
"EstimatedInstanceWarmup":{"shape":"EstimatedInstanceWarmup"}
|
||||
"EstimatedInstanceWarmup":{"shape":"EstimatedInstanceWarmup"},
|
||||
"TargetTrackingConfiguration":{"shape":"TargetTrackingConfiguration"}
|
||||
}
|
||||
},
|
||||
"PutScheduledUpdateGroupActionType":{
|
||||
|
@ -1902,7 +1969,8 @@
|
|||
"StepAdjustments":{"shape":"StepAdjustments"},
|
||||
"MetricAggregationType":{"shape":"XmlStringMaxLen32"},
|
||||
"EstimatedInstanceWarmup":{"shape":"EstimatedInstanceWarmup"},
|
||||
"Alarms":{"shape":"Alarms"}
|
||||
"Alarms":{"shape":"Alarms"},
|
||||
"TargetTrackingConfiguration":{"shape":"TargetTrackingConfiguration"}
|
||||
}
|
||||
},
|
||||
"ScalingProcessQuery":{
|
||||
|
@ -2072,6 +2140,16 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"XmlStringMaxLen511"}
|
||||
},
|
||||
"TargetTrackingConfiguration":{
|
||||
"type":"structure",
|
||||
"required":["TargetValue"],
|
||||
"members":{
|
||||
"PredefinedMetricSpecification":{"shape":"PredefinedMetricSpecification"},
|
||||
"CustomizedMetricSpecification":{"shape":"CustomizedMetricSpecification"},
|
||||
"TargetValue":{"shape":"MetricScale"},
|
||||
"DisableScaleIn":{"shape":"DisableScaleIn"}
|
||||
}
|
||||
},
|
||||
"TerminateInstanceInAutoScalingGroupType":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
|
132
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/docs-2.json
generated
vendored
132
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/docs-2.json
generated
vendored
|
@ -2,9 +2,9 @@
|
|||
"version": "2.0",
|
||||
"service": "<fullname>Auto Scaling</fullname> <p>Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.</p>",
|
||||
"operations": {
|
||||
"AttachInstances": "<p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p> <p>When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.</p> <p>If there is a Classic load balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-instance-asg.html\">Attach EC2 Instances to Your Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"AttachInstances": "<p>Attaches one or more EC2 instances to the specified Auto Scaling group.</p> <p>When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.</p> <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-instance-asg.html\">Attach EC2 Instances to Your Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"AttachLoadBalancerTargetGroups": "<p>Attaches one or more target groups to the specified Auto Scaling group.</p> <p>To describe the target groups for an Auto Scaling group, use <a>DescribeLoadBalancerTargetGroups</a>. To detach the target group from the Auto Scaling group, use <a>DetachLoadBalancerTargetGroups</a>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-load-balancer-asg.html\">Attach a Load Balancer to Your Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"AttachLoadBalancers": "<p>Attaches one or more Classic load balancers to the specified Auto Scaling group.</p> <p>To attach an Application load balancer instead, see <a>AttachLoadBalancerTargetGroups</a>.</p> <p>To describe the load balancers for an Auto Scaling group, use <a>DescribeLoadBalancers</a>. To detach the load balancer from the Auto Scaling group, use <a>DetachLoadBalancers</a>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-load-balancer-asg.html\">Attach a Load Balancer to Your Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"AttachLoadBalancers": "<p>Attaches one or more Classic Load Balancers to the specified Auto Scaling group.</p> <p>To attach an Application Load Balancer instead, see <a>AttachLoadBalancerTargetGroups</a>.</p> <p>To describe the load balancers for an Auto Scaling group, use <a>DescribeLoadBalancers</a>. To detach the load balancer from the Auto Scaling group, use <a>DetachLoadBalancers</a>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/attach-load-balancer-asg.html\">Attach a Load Balancer to Your Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"CompleteLifecycleAction": "<p>Completes the lifecycle action for the specified token or instance with the specified result.</p> <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:</p> <ol> <li> <p>(Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.</p> </li> <li> <p>(Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.</p> </li> <li> <p>Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.</p> </li> <li> <p>If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.</p> </li> <li> <p> <b>If you finish before the timeout period ends, complete the lifecycle action.</b> </p> </li> </ol> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html\">Auto Scaling Lifecycle</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"CreateAutoScalingGroup": "<p>Creates an Auto Scaling group with the specified name and attributes.</p> <p>If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see <a>DescribeAccountLimits</a>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroup.html\">Auto Scaling Groups</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"CreateLaunchConfiguration": "<p>Creates a launch configuration.</p> <p>If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see <a>DescribeAccountLimits</a>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/LaunchConfiguration.html\">Launch Configurations</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
|
@ -25,7 +25,7 @@
|
|||
"DescribeLifecycleHookTypes": "<p>Describes the available types of lifecycle hooks.</p>",
|
||||
"DescribeLifecycleHooks": "<p>Describes the lifecycle hooks for the specified Auto Scaling group.</p>",
|
||||
"DescribeLoadBalancerTargetGroups": "<p>Describes the target groups for the specified Auto Scaling group.</p>",
|
||||
"DescribeLoadBalancers": "<p>Describes the load balancers for the specified Auto Scaling group.</p> <p>Note that this operation describes only Classic load balancers. If you have Application load balancers, use <a>DescribeLoadBalancerTargetGroups</a> instead.</p>",
|
||||
"DescribeLoadBalancers": "<p>Describes the load balancers for the specified Auto Scaling group.</p> <p>Note that this operation describes only Classic Load Balancers. If you have Application Load Balancers, use <a>DescribeLoadBalancerTargetGroups</a> instead.</p>",
|
||||
"DescribeMetricCollectionTypes": "<p>Describes the available CloudWatch metrics for Auto Scaling.</p> <p>Note that the <code>GroupStandbyInstances</code> metric is not returned by default. You must explicitly request this metric when calling <a>EnableMetricsCollection</a>.</p>",
|
||||
"DescribeNotificationConfigurations": "<p>Describes the notification actions associated with the specified Auto Scaling group.</p>",
|
||||
"DescribePolicies": "<p>Describes the policies for the specified Auto Scaling group.</p>",
|
||||
|
@ -34,9 +34,9 @@
|
|||
"DescribeScheduledActions": "<p>Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use <a>DescribeScalingActivities</a>.</p>",
|
||||
"DescribeTags": "<p>Describes the specified tags.</p> <p>You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.</p> <p>You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.</p>",
|
||||
"DescribeTerminationPolicyTypes": "<p>Describes the termination policies supported by Auto Scaling.</p>",
|
||||
"DetachInstances": "<p>Removes one or more instances from the specified Auto Scaling group.</p> <p>After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.</p> <p>If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.</p> <p>If there is a Classic load balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/detach-instance-asg.html\">Detach EC2 Instances from Your Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"DetachInstances": "<p>Removes one or more instances from the specified Auto Scaling group.</p> <p>After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.</p> <p>If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.</p> <p>If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/detach-instance-asg.html\">Detach EC2 Instances from Your Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"DetachLoadBalancerTargetGroups": "<p>Detaches one or more target groups from the specified Auto Scaling group.</p>",
|
||||
"DetachLoadBalancers": "<p>Detaches one or more Classic load balancers from the specified Auto Scaling group.</p> <p>Note that this operation detaches only Classic load balancers. If you have Application load balancers, use <a>DetachLoadBalancerTargetGroups</a> instead.</p> <p>When you detach a load balancer, it enters the <code>Removing</code> state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using <a>DescribeLoadBalancers</a>. Note that the instances remain running.</p>",
|
||||
"DetachLoadBalancers": "<p>Detaches one or more Classic Load Balancers from the specified Auto Scaling group.</p> <p>Note that this operation detaches only Classic Load Balancers. If you have Application Load Balancers, use <a>DetachLoadBalancerTargetGroups</a> instead.</p> <p>When you detach a load balancer, it enters the <code>Removing</code> state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using <a>DescribeLoadBalancers</a>. Note that the instances remain running.</p>",
|
||||
"DisableMetricsCollection": "<p>Disables group metrics for the specified Auto Scaling group.</p>",
|
||||
"EnableMetricsCollection": "<p>Enables group metrics for the specified Auto Scaling group. For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-monitoring.html\">Monitoring Your Auto Scaling Groups and Instances</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"EnterStandby": "<p>Moves the specified instances into <code>Standby</code> mode.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/AutoScalingGroupLifecycle.html\">Auto Scaling Lifecycle</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
|
@ -109,6 +109,7 @@
|
|||
"Alarms": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PolicyARNType$Alarms": "<p>The CloudWatch alarms created for the target tracking policy. This parameter will be empty if the policy type is anything other than <code>TargetTrackingScaling</code>.</p>",
|
||||
"ScalingPolicy$Alarms": "<p>The CloudWatch alarms related to the policy.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -318,7 +319,7 @@
|
|||
"refs": {
|
||||
"AutoScalingGroup$DefaultCooldown": "<p>The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.</p>",
|
||||
"CreateAutoScalingGroupType$DefaultCooldown": "<p>The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html\">Auto Scaling Cooldowns</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"PutScalingPolicyType$Cooldown": "<p>The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies.</p> <p>This parameter is not supported unless the policy type is <code>SimpleScaling</code>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html\">Auto Scaling Cooldowns</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"PutScalingPolicyType$Cooldown": "<p>The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies.</p> <p>This parameter is supported if the policy type is <code>SimpleScaling</code>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html\">Auto Scaling Cooldowns</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"ScalingPolicy$Cooldown": "<p>The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.</p>",
|
||||
"UpdateAutoScalingGroupType$DefaultCooldown": "<p>The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/Cooldown.html\">Auto Scaling Cooldowns</a> in the <i>Auto Scaling User Guide</i>.</p>"
|
||||
}
|
||||
|
@ -338,6 +339,12 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"CustomizedMetricSpecification": {
|
||||
"base": "<p>Configures a customized metric for a target tracking policy.</p>",
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$CustomizedMetricSpecification": "<p>A customized metric.</p>"
|
||||
}
|
||||
},
|
||||
"DeleteAutoScalingGroupType": {
|
||||
"base": "<p>Contains the parameters for DeleteAutoScalingGroup.</p>",
|
||||
"refs": {
|
||||
|
@ -503,6 +510,12 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"DisableScaleIn": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$DisableScaleIn": "<p>If the parameter is true, then scale-in will be disabled for the target tracking policy, i.e. the target tracking policy will not scale in the Auto Scaling group. The default value is false.</p>"
|
||||
}
|
||||
},
|
||||
"Ebs": {
|
||||
"base": "<p>Describes an Amazon EBS volume.</p>",
|
||||
"refs": {
|
||||
|
@ -546,7 +559,7 @@
|
|||
"EstimatedInstanceWarmup": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PutScalingPolicyType$EstimatedInstanceWarmup": "<p>The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.</p> <p>This parameter is not supported if the policy type is <code>SimpleScaling</code>.</p>",
|
||||
"PutScalingPolicyType$EstimatedInstanceWarmup": "<p>The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.</p> <p>This parameter is supported if the policy type is <code>StepScaling</code> or <code>TargetTrackingScaling</code>.</p>",
|
||||
"ScalingPolicy$EstimatedInstanceWarmup": "<p>The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -745,12 +758,12 @@
|
|||
"refs": {
|
||||
"AttachLoadBalancersType$LoadBalancerNames": "<p>One or more load balancer names.</p>",
|
||||
"AutoScalingGroup$LoadBalancerNames": "<p>One or more load balancers associated with the group.</p>",
|
||||
"CreateAutoScalingGroupType$LoadBalancerNames": "<p>One or more Classic load balancers. To specify an Application load balancer, use <code>TargetGroupARNs</code> instead.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html\">Using a Load Balancer With an Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"CreateAutoScalingGroupType$LoadBalancerNames": "<p>One or more Classic Load Balancers. To specify an Application Load Balancer, use <code>TargetGroupARNs</code> instead.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/create-asg-from-instance.html\">Using a Load Balancer With an Auto Scaling Group</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"DetachLoadBalancersType$LoadBalancerNames": "<p>One or more load balancer names.</p>"
|
||||
}
|
||||
},
|
||||
"LoadBalancerState": {
|
||||
"base": "<p>Describes the state of a Classic load balancer.</p> <p>If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is <code>InService</code>.</p> <p>If you attach a load balancer to an existing Auto Scaling group, the initial state is <code>Adding</code>. The state transitions to <code>Added</code> after all instances in the group are registered with the load balancer. If ELB health checks are enabled for the load balancer, the state transitions to <code>InService</code> after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the <code>Added</code> state.</p>",
|
||||
"base": "<p>Describes the state of a Classic Load Balancer.</p> <p>If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is <code>InService</code>.</p> <p>If you attach a load balancer to an existing Auto Scaling group, the initial state is <code>Adding</code>. The state transitions to <code>Added</code> after all instances in the group are registered with the load balancer. If ELB health checks are enabled for the load balancer, the state transitions to <code>InService</code> after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the <code>Added</code> state.</p>",
|
||||
"refs": {
|
||||
"LoadBalancerStates$member": null
|
||||
}
|
||||
|
@ -788,16 +801,16 @@
|
|||
"MaxRecords": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AutoScalingGroupNamesType$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"DescribeAutoScalingInstancesType$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"DescribeLoadBalancerTargetGroupsRequest$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"DescribeLoadBalancersRequest$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"DescribeNotificationConfigurationsType$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"DescribePoliciesType$MaxRecords": "<p>The maximum number of items to be returned with each call.</p>",
|
||||
"DescribeScalingActivitiesType$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"DescribeScheduledActionsType$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"DescribeTagsType$MaxRecords": "<p>The maximum number of items to return with this call.</p>",
|
||||
"LaunchConfigurationNamesType$MaxRecords": "<p>The maximum number of items to return with this call. The default is 100.</p>"
|
||||
"AutoScalingGroupNamesType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"DescribeAutoScalingInstancesType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"DescribeLoadBalancerTargetGroupsRequest$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"DescribeLoadBalancersRequest$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"DescribeNotificationConfigurationsType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"DescribePoliciesType$MaxRecords": "<p>The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"DescribeScalingActivitiesType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 100.</p>",
|
||||
"DescribeScheduledActionsType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"DescribeTagsType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>",
|
||||
"LaunchConfigurationNamesType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.</p>"
|
||||
}
|
||||
},
|
||||
"MetricCollectionType": {
|
||||
|
@ -812,6 +825,30 @@
|
|||
"DescribeMetricCollectionTypesAnswer$Metrics": "<p>One or more metrics.</p>"
|
||||
}
|
||||
},
|
||||
"MetricDimension": {
|
||||
"base": "<p>Describes the dimension of a metric.</p>",
|
||||
"refs": {
|
||||
"MetricDimensions$member": null
|
||||
}
|
||||
},
|
||||
"MetricDimensionName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MetricDimension$Name": "<p>The name of the dimension.</p>"
|
||||
}
|
||||
},
|
||||
"MetricDimensionValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MetricDimension$Value": "<p>The value of the dimension.</p>"
|
||||
}
|
||||
},
|
||||
"MetricDimensions": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Dimensions": "<p>The dimensions of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricGranularityType": {
|
||||
"base": "<p>Describes a granularity of a metric.</p>",
|
||||
"refs": {
|
||||
|
@ -824,13 +861,44 @@
|
|||
"DescribeMetricCollectionTypesAnswer$Granularities": "<p>The granularities for the metrics.</p>"
|
||||
}
|
||||
},
|
||||
"MetricName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$MetricName": "<p>The name of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricNamespace": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Namespace": "<p>The namespace of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricScale": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExecutePolicyType$MetricValue": "<p>The metric value to compare to <code>BreachThreshold</code>. This enables you to execute a policy of type <code>StepScaling</code> and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59.</p> <p>If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error.</p> <p>This parameter is required if the policy type is <code>StepScaling</code> and not supported otherwise.</p>",
|
||||
"ExecutePolicyType$BreachThreshold": "<p>The breach threshold for the alarm.</p> <p>This parameter is required if the policy type is <code>StepScaling</code> and not supported otherwise.</p>",
|
||||
"StepAdjustment$MetricIntervalLowerBound": "<p>The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.</p>",
|
||||
"StepAdjustment$MetricIntervalUpperBound": "<p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.</p> <p>The upper bound must be greater than the lower bound.</p>"
|
||||
"StepAdjustment$MetricIntervalUpperBound": "<p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.</p> <p>The upper bound must be greater than the lower bound.</p>",
|
||||
"TargetTrackingConfiguration$TargetValue": "<p>The target value for the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricStatistic": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Statistic": "<p>The statistic of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PredefinedMetricSpecification$PredefinedMetricType": "<p>The metric type.</p>"
|
||||
}
|
||||
},
|
||||
"MetricUnit": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedMetricSpecification$Unit": "<p>The unit of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"Metrics": {
|
||||
|
@ -843,7 +911,7 @@
|
|||
"MinAdjustmentMagnitude": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PutScalingPolicyType$MinAdjustmentMagnitude": "<p>The minimum number of instances to scale. If the value of <code>AdjustmentType</code> is <code>PercentChangeInCapacity</code>, the scaling policy changes the <code>DesiredCapacity</code> of the Auto Scaling group by at least this many instances. Otherwise, the error is <code>ValidationError</code>.</p>",
|
||||
"PutScalingPolicyType$MinAdjustmentMagnitude": "<p>The minimum number of instances to scale. If the value of <code>AdjustmentType</code> is <code>PercentChangeInCapacity</code>, the scaling policy changes the <code>DesiredCapacity</code> of the Auto Scaling group by at least this many instances. Otherwise, the error is <code>ValidationError</code>.</p> <p>This parameter is supported if the policy type is <code>SimpleScaling</code> or <code>StepScaling</code>.</p>",
|
||||
"ScalingPolicy$MinAdjustmentMagnitude": "<p>The minimum number of instances to scale. If the value of <code>AdjustmentType</code> is <code>PercentChangeInCapacity</code>, the scaling policy changes the <code>DesiredCapacity</code> of the Auto Scaling group by at least this many instances. Otherwise, the error is <code>ValidationError</code>.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -926,6 +994,12 @@
|
|||
"DescribePoliciesType$PolicyTypes": "<p>One or more policy types. Valid values are <code>SimpleScaling</code> and <code>StepScaling</code>.</p>"
|
||||
}
|
||||
},
|
||||
"PredefinedMetricSpecification": {
|
||||
"base": "<p>Configures a predefined metric for a target tracking policy. The following predefined metrics are available:</p> <ul> <li> <p> <code>ASGAverageCPUUtilization</code> - average CPU utilization of the Auto Scaling group</p> </li> <li> <p> <code>ASGAverageNetworkIn</code> - average number of bytes received on all network interfaces by the Auto Scaling group</p> </li> <li> <p> <code>ASGAverageNetworkOut</code> - average number of bytes sent out on all network interfaces by the Auto Scaling group</p> </li> <li> <p> <code>ALBRequestCountPerTarget</code> - number of requests completed per target in an Application Load Balancer target group</p> </li> </ul>",
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$PredefinedMetricSpecification": "<p>A predefined metric. You can specify either a predefined metric or a customized metric.</p>"
|
||||
}
|
||||
},
|
||||
"ProcessNames": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -1253,6 +1327,13 @@
|
|||
"DetachLoadBalancerTargetGroupsType$TargetGroupARNs": "<p>The Amazon Resource Names (ARN) of the target groups.</p>"
|
||||
}
|
||||
},
|
||||
"TargetTrackingConfiguration": {
|
||||
"base": "<p>Represents a target tracking policy configuration.</p>",
|
||||
"refs": {
|
||||
"PutScalingPolicyType$TargetTrackingConfiguration": "<p>The configuration of a target tracking policy.</p> <p>This parameter is required if the policy type is <code>TargetTrackingScaling</code> and not supported otherwise.</p>",
|
||||
"ScalingPolicy$TargetTrackingConfiguration": "<p>A target tracking policy.</p>"
|
||||
}
|
||||
},
|
||||
"TerminateInstanceInAutoScalingGroupType": {
|
||||
"base": "<p>Contains the parameters for TerminateInstanceInAutoScalingGroup.</p>",
|
||||
"refs": {
|
||||
|
@ -1336,6 +1417,7 @@
|
|||
"refs": {
|
||||
"Activity$Cause": "<p>The reason the activity began.</p>",
|
||||
"LifecycleHook$NotificationMetadata": "<p>Additional information that you want to include any time Auto Scaling sends a message to the notification target.</p>",
|
||||
"PredefinedMetricSpecification$ResourceLabel": "<p>Identifies the resource associated with the metric type. For predefined metric types <code>ASGAverageCPUUtilization</code>, <code>ASGAverageNetworkIn</code> and <code>ASGAverageNetworkOut</code>, the parameter must not be specified as the resource associated with the metric type is the Auto Scaling group. For predefined metric type <code>ALBRequestCountPerTarget</code>, the parameter must be specified in the format <code>app/<i>load-balancer-name</i>/<i>load-balancer-id</i>/targetgroup/<i>target-group-name</i>/<i>target-group-id</i> </code>, where <code>app/<i>load-balancer-name</i>/<i>load-balancer-id</i> </code> is the final portion of the load balancer ARN, and <code>targetgroup/<i>target-group-name</i>/<i>target-group-id</i> </code> is the final portion of the target group ARN. The target group must be attached to the Auto Scaling group.</p>",
|
||||
"PutLifecycleHookType$NotificationMetadata": "<p>Contains additional information that you want to include any time Auto Scaling sends a message to the notification target.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -1383,7 +1465,7 @@
|
|||
"AutoScalingGroup$Status": "<p>The current state of the group when <a>DeleteAutoScalingGroup</a> is in progress.</p>",
|
||||
"AutoScalingInstanceDetails$AutoScalingGroupName": "<p>The name of the Auto Scaling group associated with the instance.</p>",
|
||||
"AutoScalingInstanceDetails$AvailabilityZone": "<p>The Availability Zone for the instance.</p>",
|
||||
"AutoScalingInstanceDetails$LaunchConfigurationName": "<p>The launch configuration associated with the instance.</p>",
|
||||
"AutoScalingInstanceDetails$LaunchConfigurationName": "<p>The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.</p>",
|
||||
"AutoScalingNotificationTypes$member": null,
|
||||
"AvailabilityZones$member": null,
|
||||
"BlockDeviceMapping$VirtualName": "<p>The name of the virtual device (for example, <code>ephemeral0</code>).</p>",
|
||||
|
@ -1424,7 +1506,7 @@
|
|||
"ProcessNames$member": null,
|
||||
"ProcessType$ProcessName": "<p>One of the following processes:</p> <ul> <li> <p> <code>Launch</code> </p> </li> <li> <p> <code>Terminate</code> </p> </li> <li> <p> <code>AddToLoadBalancer</code> </p> </li> <li> <p> <code>AlarmNotification</code> </p> </li> <li> <p> <code>AZRebalance</code> </p> </li> <li> <p> <code>HealthCheck</code> </p> </li> <li> <p> <code>ReplaceUnhealthy</code> </p> </li> <li> <p> <code>ScheduledActions</code> </p> </li> </ul>",
|
||||
"PutScalingPolicyType$PolicyName": "<p>The name of the policy.</p>",
|
||||
"PutScalingPolicyType$AdjustmentType": "<p>The adjustment type. Valid values are <code>ChangeInCapacity</code>, <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/as-scale-based-on-demand.html\">Dynamic Scaling</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"PutScalingPolicyType$AdjustmentType": "<p>The adjustment type. The valid values are <code>ChangeInCapacity</code>, <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.</p> <p>This parameter is supported if the policy type is <code>SimpleScaling</code> or <code>StepScaling</code>.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/as-scale-based-on-demand.html\">Dynamic Scaling</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"PutScheduledUpdateGroupActionType$ScheduledActionName": "<p>The name of this scaling action.</p>",
|
||||
"PutScheduledUpdateGroupActionType$Recurrence": "<p>The recurring schedule for this action, in Unix cron syntax format. For more information, see <a href=\"http://en.wikipedia.org/wiki/Cron\">Cron</a> in Wikipedia.</p>",
|
||||
"ResourceContentionFault$message": "<p/>",
|
||||
|
@ -1449,7 +1531,7 @@
|
|||
"AutoScalingInstanceDetails$HealthStatus": "<p>The last reported health status of this instance. \"Healthy\" means that the instance is healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy and Auto Scaling should terminate and replace it.</p>",
|
||||
"CreateAutoScalingGroupType$HealthCheckType": "<p>The service to use for the health checks. The valid values are <code>EC2</code> and <code>ELB</code>.</p> <p>By default, health checks use Amazon EC2 instance status checks to determine the health of an instance. For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html\">Health Checks</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"Instance$HealthStatus": "<p>The last reported health status of the instance. \"Healthy\" means that the instance is healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy and Auto Scaling should terminate and replace it.</p>",
|
||||
"PutScalingPolicyType$MetricAggregationType": "<p>The aggregation type for the CloudWatch metrics. Valid values are <code>Minimum</code>, <code>Maximum</code>, and <code>Average</code>. If the aggregation type is null, the value is treated as <code>Average</code>.</p> <p>This parameter is not supported if the policy type is <code>SimpleScaling</code>.</p>",
|
||||
"PutScalingPolicyType$MetricAggregationType": "<p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>, <code>Maximum</code>, and <code>Average</code>. If the aggregation type is null, the value is treated as <code>Average</code>.</p> <p>This parameter is supported if the policy type is <code>StepScaling</code>.</p>",
|
||||
"ScalingPolicy$MetricAggregationType": "<p>The aggregation type for the CloudWatch metrics. Valid values are <code>Minimum</code>, <code>Maximum</code>, and <code>Average</code>.</p>",
|
||||
"SetInstanceHealthQuery$HealthStatus": "<p>The health status of the instance. Set to <code>Healthy</code> if you want the instance to remain in service. Set to <code>Unhealthy</code> if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance.</p>",
|
||||
"UpdateAutoScalingGroupType$HealthCheckType": "<p>The service to use for the health checks. The valid values are <code>EC2</code> and <code>ELB</code>.</p>"
|
||||
|
@ -1468,7 +1550,7 @@
|
|||
"CreateLaunchConfigurationType$PlacementTenancy": "<p>The tenancy of the instance. An instance with a tenancy of <code>dedicated</code> runs on single-tenant hardware and can only be launched into a VPC.</p> <p>You must set the value of this parameter to <code>dedicated</code> if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to <code>default</code>).</p> <p>If you specify this parameter, be sure to specify at least one subnet when you create your group.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/asg-in-vpc.html\">Launching Auto Scaling Instances in a VPC</a> in the <i>Auto Scaling User Guide</i>.</p> <p>Valid values: <code>default</code> | <code>dedicated</code> </p>",
|
||||
"LaunchConfiguration$PlacementTenancy": "<p>The tenancy of the instance, either <code>default</code> or <code>dedicated</code>. An instance with <code>dedicated</code> tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.</p>",
|
||||
"PolicyTypes$member": null,
|
||||
"PutScalingPolicyType$PolicyType": "<p>The policy type. Valid values are <code>SimpleScaling</code> and <code>StepScaling</code>. If the policy type is null, the value is treated as <code>SimpleScaling</code>.</p>",
|
||||
"PutScalingPolicyType$PolicyType": "<p>The policy type. The valid values are <code>SimpleScaling</code>, <code>StepScaling</code>, and <code>TargetTrackingScaling</code>. If the policy type is null, the value is treated as <code>SimpleScaling</code>.</p>",
|
||||
"ScalingPolicy$PolicyType": "<p>The policy type. Valid values are <code>SimpleScaling</code> and <code>StepScaling</code>.</p>"
|
||||
}
|
||||
},
|
||||
|
|
3
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/examples-1.json
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/examples-1.json
generated
vendored
|
@ -410,7 +410,8 @@
|
|||
"HealthStatus": "Healthy",
|
||||
"InstanceId": "i-4ba0837f",
|
||||
"LaunchConfigurationName": "my-launch-config",
|
||||
"LifecycleState": "InService"
|
||||
"LifecycleState": "InService",
|
||||
"ProtectedFromScaleIn": false
|
||||
}
|
||||
],
|
||||
"LaunchConfigurationName": "my-launch-config",
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/paginators-1.json
generated
vendored
18
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/paginators-1.json
generated
vendored
|
@ -2,51 +2,51 @@
|
|||
"pagination": {
|
||||
"DescribeAutoScalingGroups": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "AutoScalingGroups"
|
||||
},
|
||||
"DescribeAutoScalingInstances": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "AutoScalingInstances"
|
||||
},
|
||||
"DescribeLaunchConfigurations": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "LaunchConfigurations"
|
||||
},
|
||||
"DescribeNotificationConfigurations": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "NotificationConfigurations"
|
||||
},
|
||||
"DescribePolicies": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "ScalingPolicies"
|
||||
},
|
||||
"DescribeScalingActivities": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Activities"
|
||||
},
|
||||
"DescribeScheduledActions": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "ScheduledUpdateGroupActions"
|
||||
},
|
||||
"DescribeTags": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxRecords",
|
||||
"output_token": "NextToken",
|
||||
"result_key": "Tags"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
12
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/api-2.json
generated
vendored
12
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/api-2.json
generated
vendored
|
@ -236,13 +236,14 @@
|
|||
"BudgetName":{
|
||||
"type":"string",
|
||||
"max":100,
|
||||
"pattern":"[^:]+"
|
||||
"pattern":"[^:\\\\]+"
|
||||
},
|
||||
"BudgetType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"USAGE",
|
||||
"COST"
|
||||
"COST",
|
||||
"RI_UTILIZATION"
|
||||
]
|
||||
},
|
||||
"Budgets":{
|
||||
|
@ -588,7 +589,7 @@
|
|||
],
|
||||
"members":{
|
||||
"Amount":{"shape":"NumericValue"},
|
||||
"Unit":{"shape":"GenericString"}
|
||||
"Unit":{"shape":"UnitValue"}
|
||||
}
|
||||
},
|
||||
"Subscriber":{
|
||||
|
@ -629,11 +630,16 @@
|
|||
"TimeUnit":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"DAILY",
|
||||
"MONTHLY",
|
||||
"QUARTERLY",
|
||||
"ANNUALLY"
|
||||
]
|
||||
},
|
||||
"UnitValue":{
|
||||
"type":"string",
|
||||
"min":1
|
||||
},
|
||||
"UpdateBudgetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
|
13
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/docs-2.json
generated
vendored
13
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/docs-2.json
generated
vendored
|
@ -45,7 +45,7 @@
|
|||
}
|
||||
},
|
||||
"BudgetName": {
|
||||
"base": "A string represents the budget name. No \":\" character is allowed.",
|
||||
"base": "A string represents the budget name. No \":\" and \"\\\" character is allowed.",
|
||||
"refs": {
|
||||
"Budget$BudgetName": null,
|
||||
"CreateNotificationRequest$BudgetName": null,
|
||||
|
@ -61,7 +61,7 @@
|
|||
}
|
||||
},
|
||||
"BudgetType": {
|
||||
"base": "The type of a budget. Can be COST or USAGE.",
|
||||
"base": "The type of a budget. It should be COST, USAGE, or RI_UTILIZATION.",
|
||||
"refs": {
|
||||
"Budget$BudgetType": null
|
||||
}
|
||||
|
@ -236,7 +236,6 @@
|
|||
"DescribeSubscribersForNotificationRequest$NextToken": null,
|
||||
"DescribeSubscribersForNotificationResponse$NextToken": null,
|
||||
"DimensionValues$member": null,
|
||||
"Spend$Unit": null,
|
||||
"Subscriber$Address": null
|
||||
}
|
||||
},
|
||||
|
@ -365,11 +364,17 @@
|
|||
}
|
||||
},
|
||||
"TimeUnit": {
|
||||
"base": "The time unit of the budget. e.g. weekly, monthly, etc.",
|
||||
"base": "The time unit of the budget. e.g. MONTHLY, QUARTERLY, etc.",
|
||||
"refs": {
|
||||
"Budget$TimeUnit": null
|
||||
}
|
||||
},
|
||||
"UnitValue": {
|
||||
"base": "A string to represent budget spend unit. It should be not null and not empty.",
|
||||
"refs": {
|
||||
"Spend$Unit": null
|
||||
}
|
||||
},
|
||||
"UpdateBudgetRequest": {
|
||||
"base": "Request of UpdateBudget",
|
||||
"refs": {
|
||||
|
|
568
vendor/github.com/aws/aws-sdk-go/models/apis/clouddirectory/2016-05-10/api-2.json
generated
vendored
568
vendor/github.com/aws/aws-sdk-go/models/apis/clouddirectory/2016-05-10/api-2.json
generated
vendored
|
@ -120,6 +120,28 @@
|
|||
{"shape":"NotIndexException"}
|
||||
]
|
||||
},
|
||||
"AttachTypedLink":{
|
||||
"name":"AttachTypedLink",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/attach",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"AttachTypedLinkRequest"},
|
||||
"output":{"shape":"AttachTypedLinkResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidAttachmentException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"FacetValidationException"}
|
||||
]
|
||||
},
|
||||
"BatchRead":{
|
||||
"name":"BatchRead",
|
||||
"http":{
|
||||
|
@ -198,7 +220,8 @@
|
|||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"FacetAlreadyExistsException"},
|
||||
{"shape":"InvalidRuleException"}
|
||||
{"shape":"InvalidRuleException"},
|
||||
{"shape":"FacetValidationException"}
|
||||
]
|
||||
},
|
||||
"CreateIndex":{
|
||||
|
@ -268,6 +291,28 @@
|
|||
{"shape":"AccessDeniedException"}
|
||||
]
|
||||
},
|
||||
"CreateTypedLinkFacet":{
|
||||
"name":"CreateTypedLinkFacet",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/create",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"CreateTypedLinkFacetRequest"},
|
||||
"output":{"shape":"CreateTypedLinkFacetResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"FacetAlreadyExistsException"},
|
||||
{"shape":"InvalidRuleException"},
|
||||
{"shape":"FacetValidationException"}
|
||||
]
|
||||
},
|
||||
"DeleteDirectory":{
|
||||
"name":"DeleteDirectory",
|
||||
"http":{
|
||||
|
@ -285,7 +330,8 @@
|
|||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"DirectoryDeletedException"},
|
||||
{"shape":"RetryableConflictException"}
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"InvalidArnException"}
|
||||
]
|
||||
},
|
||||
"DeleteFacet":{
|
||||
|
@ -350,6 +396,26 @@
|
|||
{"shape":"StillContainsLinksException"}
|
||||
]
|
||||
},
|
||||
"DeleteTypedLinkFacet":{
|
||||
"name":"DeleteTypedLinkFacet",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/delete",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"DeleteTypedLinkFacetRequest"},
|
||||
"output":{"shape":"DeleteTypedLinkFacetResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"FacetNotFoundException"}
|
||||
]
|
||||
},
|
||||
"DetachFromIndex":{
|
||||
"name":"DetachFromIndex",
|
||||
"http":{
|
||||
|
@ -414,6 +480,25 @@
|
|||
{"shape":"NotPolicyException"}
|
||||
]
|
||||
},
|
||||
"DetachTypedLink":{
|
||||
"name":"DetachTypedLink",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/detach",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"DetachTypedLinkRequest"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"FacetValidationException"}
|
||||
]
|
||||
},
|
||||
"DisableDirectory":{
|
||||
"name":"DisableDirectory",
|
||||
"http":{
|
||||
|
@ -430,7 +515,8 @@
|
|||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"RetryableConflictException"}
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"InvalidArnException"}
|
||||
]
|
||||
},
|
||||
"EnableDirectory":{
|
||||
|
@ -449,7 +535,8 @@
|
|||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"RetryableConflictException"}
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"InvalidArnException"}
|
||||
]
|
||||
},
|
||||
"GetDirectory":{
|
||||
|
@ -530,6 +617,27 @@
|
|||
{"shape":"ValidationException"}
|
||||
]
|
||||
},
|
||||
"GetTypedLinkFacetInformation":{
|
||||
"name":"GetTypedLinkFacetInformation",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/get",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"GetTypedLinkFacetInformationRequest"},
|
||||
"output":{"shape":"GetTypedLinkFacetInformationResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"FacetNotFoundException"}
|
||||
]
|
||||
},
|
||||
"ListAppliedSchemaArns":{
|
||||
"name":"ListAppliedSchemaArns",
|
||||
"http":{
|
||||
|
@ -650,6 +758,27 @@
|
|||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"ListIncomingTypedLinks":{
|
||||
"name":"ListIncomingTypedLinks",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/incoming",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"ListIncomingTypedLinksRequest"},
|
||||
"output":{"shape":"ListIncomingTypedLinksResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"FacetValidationException"}
|
||||
]
|
||||
},
|
||||
"ListIndex":{
|
||||
"name":"ListIndex",
|
||||
"http":{
|
||||
|
@ -782,6 +911,27 @@
|
|||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"ListOutgoingTypedLinks":{
|
||||
"name":"ListOutgoingTypedLinks",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/outgoing",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"ListOutgoingTypedLinksRequest"},
|
||||
"output":{"shape":"ListOutgoingTypedLinksResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"FacetValidationException"}
|
||||
]
|
||||
},
|
||||
"ListPolicyAttachments":{
|
||||
"name":"ListPolicyAttachments",
|
||||
"http":{
|
||||
|
@ -845,6 +995,47 @@
|
|||
{"shape":"InvalidTaggingRequestException"}
|
||||
]
|
||||
},
|
||||
"ListTypedLinkFacetAttributes":{
|
||||
"name":"ListTypedLinkFacetAttributes",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/attributes",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"ListTypedLinkFacetAttributesRequest"},
|
||||
"output":{"shape":"ListTypedLinkFacetAttributesResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"FacetNotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"ListTypedLinkFacetNames":{
|
||||
"name":"ListTypedLinkFacetNames",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/list",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"ListTypedLinkFacetNamesRequest"},
|
||||
"output":{"shape":"ListTypedLinkFacetNamesResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"LookupPolicy":{
|
||||
"name":"LookupPolicy",
|
||||
"http":{
|
||||
|
@ -1029,6 +1220,29 @@
|
|||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"ResourceNotFoundException"}
|
||||
]
|
||||
},
|
||||
"UpdateTypedLinkFacet":{
|
||||
"name":"UpdateTypedLinkFacet",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"UpdateTypedLinkFacetRequest"},
|
||||
"output":{"shape":"UpdateTypedLinkFacetResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalServiceException"},
|
||||
{"shape":"InvalidArnException"},
|
||||
{"shape":"RetryableConflictException"},
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"AccessDeniedException"},
|
||||
{"shape":"FacetValidationException"},
|
||||
{"shape":"InvalidFacetUpdateException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"FacetNotFoundException"},
|
||||
{"shape":"InvalidRuleException"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"shapes":{
|
||||
|
@ -1159,6 +1373,33 @@
|
|||
"AttachedObjectIdentifier":{"shape":"ObjectIdentifier"}
|
||||
}
|
||||
},
|
||||
"AttachTypedLinkRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"DirectoryArn",
|
||||
"SourceObjectReference",
|
||||
"TargetObjectReference",
|
||||
"TypedLinkFacet",
|
||||
"Attributes"
|
||||
],
|
||||
"members":{
|
||||
"DirectoryArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"SourceObjectReference":{"shape":"ObjectReference"},
|
||||
"TargetObjectReference":{"shape":"ObjectReference"},
|
||||
"TypedLinkFacet":{"shape":"TypedLinkSchemaAndFacetName"},
|
||||
"Attributes":{"shape":"AttributeNameAndValueList"}
|
||||
}
|
||||
},
|
||||
"AttachTypedLinkResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"TypedLinkSpecifier":{"shape":"TypedLinkSpecifier"}
|
||||
}
|
||||
},
|
||||
"AttributeKey":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1197,6 +1438,25 @@
|
|||
"min":1,
|
||||
"pattern":"^[a-zA-Z0-9._-]*$"
|
||||
},
|
||||
"AttributeNameAndValue":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AttributeName",
|
||||
"Value"
|
||||
],
|
||||
"members":{
|
||||
"AttributeName":{"shape":"AttributeName"},
|
||||
"Value":{"shape":"TypedAttributeValue"}
|
||||
}
|
||||
},
|
||||
"AttributeNameAndValueList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"AttributeNameAndValue"}
|
||||
},
|
||||
"AttributeNameList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"AttributeName"}
|
||||
},
|
||||
"BatchAddFacetToObject":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1638,6 +1898,26 @@
|
|||
"SchemaArn":{"shape":"Arn"}
|
||||
}
|
||||
},
|
||||
"CreateTypedLinkFacetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SchemaArn",
|
||||
"Facet"
|
||||
],
|
||||
"members":{
|
||||
"SchemaArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"Facet":{"shape":"TypedLinkFacet"}
|
||||
}
|
||||
},
|
||||
"CreateTypedLinkFacetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"Date":{"type":"timestamp"},
|
||||
"DatetimeAttributeValue":{"type":"timestamp"},
|
||||
"DeleteDirectoryRequest":{
|
||||
|
@ -1715,6 +1995,26 @@
|
|||
"SchemaArn":{"shape":"Arn"}
|
||||
}
|
||||
},
|
||||
"DeleteTypedLinkFacetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SchemaArn",
|
||||
"Name"
|
||||
],
|
||||
"members":{
|
||||
"SchemaArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"Name":{"shape":"TypedLinkName"}
|
||||
}
|
||||
},
|
||||
"DeleteTypedLinkFacetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"DetachFromIndexRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1783,6 +2083,21 @@
|
|||
"members":{
|
||||
}
|
||||
},
|
||||
"DetachTypedLinkRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"DirectoryArn",
|
||||
"TypedLinkSpecifier"
|
||||
],
|
||||
"members":{
|
||||
"DirectoryArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"TypedLinkSpecifier":{"shape":"TypedLinkSpecifier"}
|
||||
}
|
||||
},
|
||||
"Directory":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -2069,6 +2384,27 @@
|
|||
"Document":{"shape":"SchemaJsonDocument"}
|
||||
}
|
||||
},
|
||||
"GetTypedLinkFacetInformationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SchemaArn",
|
||||
"Name"
|
||||
],
|
||||
"members":{
|
||||
"SchemaArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"Name":{"shape":"TypedLinkName"}
|
||||
}
|
||||
},
|
||||
"GetTypedLinkFacetInformationResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"IdentityAttributeOrder":{"shape":"AttributeNameList"}
|
||||
}
|
||||
},
|
||||
"IndexAttachment":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -2162,7 +2498,9 @@
|
|||
},
|
||||
"LinkName":{
|
||||
"type":"string",
|
||||
"max":64
|
||||
"max":64,
|
||||
"min":1,
|
||||
"pattern":"[^\\/\\[\\]\\(\\):\\{\\}#@!?\\s\\\\;]+"
|
||||
},
|
||||
"LinkNameAlreadyInUseException":{
|
||||
"type":"structure",
|
||||
|
@ -2296,6 +2634,33 @@
|
|||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListIncomingTypedLinksRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"DirectoryArn",
|
||||
"ObjectReference"
|
||||
],
|
||||
"members":{
|
||||
"DirectoryArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"ObjectReference":{"shape":"ObjectReference"},
|
||||
"FilterAttributeRanges":{"shape":"TypedLinkAttributeRangeList"},
|
||||
"FilterTypedLink":{"shape":"TypedLinkSchemaAndFacetName"},
|
||||
"NextToken":{"shape":"NextToken"},
|
||||
"MaxResults":{"shape":"NumberResults"},
|
||||
"ConsistencyLevel":{"shape":"ConsistencyLevel"}
|
||||
}
|
||||
},
|
||||
"ListIncomingTypedLinksResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"LinkSpecifiers":{"shape":"TypedLinkSpecifierList"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListIndexRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2467,6 +2832,33 @@
|
|||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListOutgoingTypedLinksRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"DirectoryArn",
|
||||
"ObjectReference"
|
||||
],
|
||||
"members":{
|
||||
"DirectoryArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"ObjectReference":{"shape":"ObjectReference"},
|
||||
"FilterAttributeRanges":{"shape":"TypedLinkAttributeRangeList"},
|
||||
"FilterTypedLink":{"shape":"TypedLinkSchemaAndFacetName"},
|
||||
"NextToken":{"shape":"NextToken"},
|
||||
"MaxResults":{"shape":"NumberResults"},
|
||||
"ConsistencyLevel":{"shape":"ConsistencyLevel"}
|
||||
}
|
||||
},
|
||||
"ListOutgoingTypedLinksResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"TypedLinkSpecifiers":{"shape":"TypedLinkSpecifierList"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListPolicyAttachmentsRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2526,6 +2918,50 @@
|
|||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListTypedLinkFacetAttributesRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SchemaArn",
|
||||
"Name"
|
||||
],
|
||||
"members":{
|
||||
"SchemaArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"Name":{"shape":"TypedLinkName"},
|
||||
"NextToken":{"shape":"NextToken"},
|
||||
"MaxResults":{"shape":"NumberResults"}
|
||||
}
|
||||
},
|
||||
"ListTypedLinkFacetAttributesResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Attributes":{"shape":"TypedLinkAttributeDefinitionList"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListTypedLinkFacetNamesRequest":{
|
||||
"type":"structure",
|
||||
"required":["SchemaArn"],
|
||||
"members":{
|
||||
"SchemaArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"NextToken":{"shape":"NextToken"},
|
||||
"MaxResults":{"shape":"NumberResults"}
|
||||
}
|
||||
},
|
||||
"ListTypedLinkFacetNamesResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"FacetNames":{"shape":"TypedLinkNameList"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"LookupPolicyRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2922,6 +3358,104 @@
|
|||
"EndValue":{"shape":"TypedAttributeValue"}
|
||||
}
|
||||
},
|
||||
"TypedLinkAttributeDefinition":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Type",
|
||||
"RequiredBehavior"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"AttributeName"},
|
||||
"Type":{"shape":"FacetAttributeType"},
|
||||
"DefaultValue":{"shape":"TypedAttributeValue"},
|
||||
"IsImmutable":{"shape":"Bool"},
|
||||
"Rules":{"shape":"RuleMap"},
|
||||
"RequiredBehavior":{"shape":"RequiredAttributeBehavior"}
|
||||
}
|
||||
},
|
||||
"TypedLinkAttributeDefinitionList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TypedLinkAttributeDefinition"}
|
||||
},
|
||||
"TypedLinkAttributeRange":{
|
||||
"type":"structure",
|
||||
"required":["Range"],
|
||||
"members":{
|
||||
"AttributeName":{"shape":"AttributeName"},
|
||||
"Range":{"shape":"TypedAttributeValueRange"}
|
||||
}
|
||||
},
|
||||
"TypedLinkAttributeRangeList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TypedLinkAttributeRange"}
|
||||
},
|
||||
"TypedLinkFacet":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Attributes",
|
||||
"IdentityAttributeOrder"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"TypedLinkName"},
|
||||
"Attributes":{"shape":"TypedLinkAttributeDefinitionList"},
|
||||
"IdentityAttributeOrder":{"shape":"AttributeNameList"}
|
||||
}
|
||||
},
|
||||
"TypedLinkFacetAttributeUpdate":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Attribute",
|
||||
"Action"
|
||||
],
|
||||
"members":{
|
||||
"Attribute":{"shape":"TypedLinkAttributeDefinition"},
|
||||
"Action":{"shape":"UpdateActionType"}
|
||||
}
|
||||
},
|
||||
"TypedLinkFacetAttributeUpdateList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TypedLinkFacetAttributeUpdate"}
|
||||
},
|
||||
"TypedLinkName":{
|
||||
"type":"string",
|
||||
"pattern":"^[a-zA-Z0-9._-]*$"
|
||||
},
|
||||
"TypedLinkNameList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TypedLinkName"}
|
||||
},
|
||||
"TypedLinkSchemaAndFacetName":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SchemaArn",
|
||||
"TypedLinkName"
|
||||
],
|
||||
"members":{
|
||||
"SchemaArn":{"shape":"Arn"},
|
||||
"TypedLinkName":{"shape":"TypedLinkName"}
|
||||
}
|
||||
},
|
||||
"TypedLinkSpecifier":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"TypedLinkFacet",
|
||||
"SourceObjectReference",
|
||||
"TargetObjectReference",
|
||||
"IdentityAttributeValues"
|
||||
],
|
||||
"members":{
|
||||
"TypedLinkFacet":{"shape":"TypedLinkSchemaAndFacetName"},
|
||||
"SourceObjectReference":{"shape":"ObjectReference"},
|
||||
"TargetObjectReference":{"shape":"ObjectReference"},
|
||||
"IdentityAttributeValues":{"shape":"AttributeNameAndValueList"}
|
||||
}
|
||||
},
|
||||
"TypedLinkSpecifierList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TypedLinkSpecifier"}
|
||||
},
|
||||
"UnsupportedIndexTypeException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -3019,6 +3553,30 @@
|
|||
"SchemaArn":{"shape":"Arn"}
|
||||
}
|
||||
},
|
||||
"UpdateTypedLinkFacetRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SchemaArn",
|
||||
"Name",
|
||||
"AttributeUpdates",
|
||||
"IdentityAttributeOrder"
|
||||
],
|
||||
"members":{
|
||||
"SchemaArn":{
|
||||
"shape":"Arn",
|
||||
"location":"header",
|
||||
"locationName":"x-amz-data-partition"
|
||||
},
|
||||
"Name":{"shape":"TypedLinkName"},
|
||||
"AttributeUpdates":{"shape":"TypedLinkFacetAttributeUpdateList"},
|
||||
"IdentityAttributeOrder":{"shape":"AttributeNameList"}
|
||||
}
|
||||
},
|
||||
"UpdateTypedLinkFacetResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"ValidationException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
|
632
vendor/github.com/aws/aws-sdk-go/models/apis/clouddirectory/2016-05-10/docs-2.json
generated
vendored
632
vendor/github.com/aws/aws-sdk-go/models/apis/clouddirectory/2016-05-10/docs-2.json
generated
vendored
File diff suppressed because it is too large
Load diff
10
vendor/github.com/aws/aws-sdk-go/models/apis/clouddirectory/2016-05-10/paginators-1.json
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/models/apis/clouddirectory/2016-05-10/paginators-1.json
generated
vendored
|
@ -75,6 +75,16 @@
|
|||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTypedLinkFacetAttributes": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"ListTypedLinkFacetNames": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
"limit_key": "MaxResults"
|
||||
},
|
||||
"LookupPolicy": {
|
||||
"input_token": "NextToken",
|
||||
"output_token": "NextToken",
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/models/apis/cloudfront/2017-03-25/docs-2.json
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/models/apis/cloudfront/2017-03-25/docs-2.json
generated
vendored
|
@ -27,7 +27,7 @@
|
|||
"TagResource": "<p>Add tags to a CloudFront resource.</p>",
|
||||
"UntagResource": "<p>Remove tags from a CloudFront resource.</p>",
|
||||
"UpdateCloudFrontOriginAccessIdentity": "<p>Update an origin access identity. </p>",
|
||||
"UpdateDistribution": "<p>Update a distribution. </p>",
|
||||
"UpdateDistribution": "<p>Updates the configuration for a web distribution. Perform the following steps.</p> <p>For information about updating a distribution using the CloudFront console, see <a href=\"http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html\">Creating or Updating a Web Distribution Using the CloudFront Console </a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p> <b>To update a web distribution using the CloudFront API</b> </p> <ol> <li> <p>Submit a <a>GetDistributionConfig</a> request to get the current configuration and an <code>Etag</code> header for the distribution.</p> <note> <p>If you update the distribution again, you need to get a new <code>Etag</code> header.</p> </note> </li> <li> <p>Update the XML document that was returned in the response to your <code>GetDistributionConfig</code> request to include the desired changes. You can't change the value of <code>CallerReference</code>. If you try to change this value, CloudFront returns an <code>IllegalUpdate</code> error.</p> <important> <p>The new configuration replaces the existing configuration; the values that you specify in an <code>UpdateDistribution</code> request are not merged into the existing configuration. When you add, delete, or replace values in an element that allows multiple values (for example, <code>CNAME</code>), you must specify all of the values that you want to appear in the updated distribution. In addition, you must update the corresponding <code>Quantity</code> element.</p> </important> </li> <li> <p>Submit an <code>UpdateDistribution</code> request to update the configuration for your distribution:</p> <ul> <li> <p>In the request body, include the XML document that you updated in Step 2. The request body must include an XML document with a <code>DistributionConfig</code> element.</p> </li> <li> <p>Set the value of the HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GetDistributionConfig</code> request in Step 1.</p> </li> </ul> </li> <li> <p>Review the response to the <code>UpdateDistribution</code> request to confirm that the configuration was successfully updated.</p> </li> <li> <p>Optional: Submit a <a>GetDistribution</a> request to confirm that your changes have propagated. When propagation is complete, the value of <code>Status</code> is <code>Deployed</code>.</p> <important> <p>Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a distribution. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the <code>Quantity</code> element and the number of values you're actually specifying.</p> </important> </li> </ol>",
|
||||
"UpdateStreamingDistribution": "<p>Update a streaming distribution. </p>"
|
||||
},
|
||||
"shapes": {
|
||||
|
@ -1384,7 +1384,7 @@
|
|||
"QueryStringCacheKeysList$member": null,
|
||||
"S3Origin$DomainName": "<p>The DNS name of the Amazon S3 origin. </p>",
|
||||
"S3Origin$OriginAccessIdentity": "<p>The CloudFront origin access identity to associate with the RTMP distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.</p> <p>If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty <code>OriginAccessIdentity</code> element.</p> <p>To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty <code>OriginAccessIdentity</code> element.</p> <p>To replace the origin access identity, update the distribution configuration and specify the new origin access identity.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html\">Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content</a> in the <i>Amazon Amazon CloudFront Developer Guide</i>.</p>",
|
||||
"S3OriginConfig$OriginAccessIdentity": "<p>The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can <i>only</i> access objects in an Amazon S3 bucket through CloudFront. The format of the value is:</p> <p>origin-access-identity/CloudFront/<i>ID-of-origin-access-identity</i> </p> <p>where <code> <i>ID-of-origin-access-identity</i> </code> is the value that CloudFront returned in the <code>ID</code> element when you created the origin access identity.</p> <p>If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty <code>OriginAccessIdentity</code> element.</p> <p>To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty <code>OriginAccessIdentity</code> element.</p> <p>To replace the origin access identity, update the distribution configuration and specify the new origin access identity.</p> <p>For more information about the origin access identity, see <a href=\"http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>",
|
||||
"S3OriginConfig$OriginAccessIdentity": "<p>The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can <i>only</i> access objects in an Amazon S3 bucket through CloudFront. The format of the value is:</p> <p>origin-access-identity/cloudfront/<i>ID-of-origin-access-identity</i> </p> <p>where <code> <i>ID-of-origin-access-identity</i> </code> is the value that CloudFront returned in the <code>ID</code> element when you created the origin access identity.</p> <p>If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty <code>OriginAccessIdentity</code> element.</p> <p>To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty <code>OriginAccessIdentity</code> element.</p> <p>To replace the origin access identity, update the distribution configuration and specify the new origin access identity.</p> <p>For more information about the origin access identity, see <a href=\"http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>",
|
||||
"Signer$AwsAccountNumber": "<p>An AWS account that is included in the <code>TrustedSigners</code> complex type for this RTMP distribution. Valid values include:</p> <ul> <li> <p> <code>self</code>, which is the AWS account used to create the distribution.</p> </li> <li> <p>An AWS account number.</p> </li> </ul>",
|
||||
"StreamingDistribution$Id": "<p>The identifier for the RTMP distribution. For example: <code>EGTXBD79EXAMPLE</code>.</p>",
|
||||
"StreamingDistribution$ARN": null,
|
||||
|
|
6
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/api-2.json
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/api-2.json
generated
vendored
|
@ -530,7 +530,8 @@
|
|||
"type":{"shape":"EnvironmentType"},
|
||||
"image":{"shape":"NonEmptyString"},
|
||||
"computeType":{"shape":"ComputeType"},
|
||||
"environmentVariables":{"shape":"EnvironmentVariables"}
|
||||
"environmentVariables":{"shape":"EnvironmentVariables"},
|
||||
"privilegedMode":{"shape":"WrapperBoolean"}
|
||||
}
|
||||
},
|
||||
"ProjectName":{
|
||||
|
@ -666,7 +667,7 @@
|
|||
"TimeOut":{
|
||||
"type":"integer",
|
||||
"max":480,
|
||||
"min":1
|
||||
"min":5
|
||||
},
|
||||
"Timestamp":{"type":"timestamp"},
|
||||
"UpdateProjectInput":{
|
||||
|
@ -696,6 +697,7 @@
|
|||
"min":1,
|
||||
"pattern":"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=@+\\\\-]*)$"
|
||||
},
|
||||
"WrapperBoolean":{"type":"boolean"},
|
||||
"WrapperInt":{"type":"integer"},
|
||||
"WrapperLong":{"type":"long"}
|
||||
}
|
||||
|
|
10
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/docs-2.json
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/docs-2.json
generated
vendored
|
@ -441,7 +441,7 @@
|
|||
"BuildArtifacts$md5sum": "<p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a checksum tool to confirm both file integrity and authenticity.</p> <note> <p>This value is available only if the build project's <code>packaging</code> value is set to <code>ZIP</code>.</p> </note>",
|
||||
"EnvironmentImage$name": "<p>The name of the Docker image.</p>",
|
||||
"EnvironmentImage$description": "<p>The description of the Docker image.</p>",
|
||||
"EnvironmentVariable$value": "<p>The value of the environment variable.</p>",
|
||||
"EnvironmentVariable$value": "<p>The value of the environment variable.</p> <important> <p>We strongly discourage using environment variables to store sensitive values, especially AWS secret key IDs and secret access keys. Environment variables can be displayed in plain text using tools such as the AWS CodeBuild console and the AWS Command Line Interface (AWS CLI).</p> </important>",
|
||||
"ListBuildsForProjectInput$nextToken": "<p>During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a <i>next token</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.</p>",
|
||||
"ListBuildsForProjectOutput$nextToken": "<p>If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a <i>next token</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call.</p>",
|
||||
"ListBuildsInput$nextToken": "<p>During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a <i>next token</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.</p>",
|
||||
|
@ -456,7 +456,7 @@
|
|||
"ProjectArtifacts$location": "<p>Information about the build output artifact location, as follows:</p> <ul> <li> <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output locations instead of AWS CodeBuild.</p> </li> <li> <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, then this value will be ignored if specified, because no build output will be produced.</p> </li> <li> <p>If <code>type</code> is set to <code>S3</code>, this is the name of the output bucket.</p> </li> </ul>",
|
||||
"ProjectArtifacts$path": "<p>Along with <code>namespaceType</code> and <code>name</code>, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows:</p> <ul> <li> <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild.</p> </li> <li> <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, then this value will be ignored if specified, because no build output will be produced.</p> </li> <li> <p>If <code>type</code> is set to <code>S3</code>, this is the path to the output artifact. If <code>path</code> is not specified, then <code>path</code> will not be used.</p> </li> </ul> <p>For example, if <code>path</code> is set to <code>MyArtifacts</code>, <code>namespaceType</code> is set to <code>NONE</code>, and <code>name</code> is set to <code>MyArtifact.zip</code>, then the output artifact would be stored in the output bucket at <code>MyArtifacts/MyArtifact.zip</code>.</p>",
|
||||
"ProjectArtifacts$name": "<p>Along with <code>path</code> and <code>namespaceType</code>, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows:</p> <ul> <li> <p>If <code>type</code> is set to <code>CODEPIPELINE</code>, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild.</p> </li> <li> <p>If <code>type</code> is set to <code>NO_ARTIFACTS</code>, then this value will be ignored if specified, because no build output will be produced.</p> </li> <li> <p>If <code>type</code> is set to <code>S3</code>, this is the name of the output artifact object.</p> </li> </ul> <p>For example, if <code>path</code> is set to <code>MyArtifacts</code>, <code>namespaceType</code> is set to <code>BUILD_ID</code>, and <code>name</code> is set to <code>MyArtifact.zip</code>, then the output artifact would be stored in <code>MyArtifacts/<i>build-ID</i>/MyArtifact.zip</code>.</p>",
|
||||
"ProjectSource$location": "<p>Information about the location of the source code to be built. Valid values include:</p> <ul> <li> <p>For source code settings that are specified in the source action of a pipeline in AWS CodePipeline, <code>location</code> should not be specified. If it is specified, AWS CodePipeline will ignore it. This is because AWS CodePipeline uses the settings in a pipeline's source action instead of this value.</p> </li> <li> <p>For source code in an AWS CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec (for example, <code>https://git-codecommit.<i>region-ID</i>.amazonaws.com/v1/repos/<i>repo-name</i> </code>).</p> </li> <li> <p>For source code in an Amazon Simple Storage Service (Amazon S3) input bucket, the path to the ZIP file that contains the source code (for example, <code> <i>bucket-name</i>/<i>path</i>/<i>to</i>/<i>object-name</i>.zip</code>)</p> </li> <li> <p>For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec. Also, you must connect your AWS account to your GitHub account. To do this, use the AWS CodeBuild console to begin creating a build project, and follow the on-screen instructions to complete the connection. (After you have connected to your GitHub account, you do not need to finish creating the build project, and you may then leave the AWS CodeBuild console.) To instruct AWS CodeBuild to then use this connection, in the <code>source</code> object, set the <code>auth</code> object's <code>type</code> value to <code>OAUTH</code>.</p> </li> </ul>",
|
||||
"ProjectSource$location": "<p>Information about the location of the source code to be built. Valid values include:</p> <ul> <li> <p>For source code settings that are specified in the source action of a pipeline in AWS CodePipeline, <code>location</code> should not be specified. If it is specified, AWS CodePipeline will ignore it. This is because AWS CodePipeline uses the settings in a pipeline's source action instead of this value.</p> </li> <li> <p>For source code in an AWS CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec (for example, <code>https://git-codecommit.<i>region-ID</i>.amazonaws.com/v1/repos/<i>repo-name</i> </code>).</p> </li> <li> <p>For source code in an Amazon Simple Storage Service (Amazon S3) input bucket, the path to the ZIP file that contains the source code (for example, <code> <i>bucket-name</i>/<i>path</i>/<i>to</i>/<i>object-name</i>.zip</code>)</p> </li> <li> <p>For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec. Also, you must connect your AWS account to your GitHub account. To do this, use the AWS CodeBuild console to begin creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub <b>Authorize application</b> page that displays, for <b>Organization access</b>, choose <b>Request access</b> next to each repository you want to allow AWS CodeBuild to have access to. Then choose <b>Authorize application</b>. (After you have connected to your GitHub account, you do not need to finish creating the build project, and you may then leave the AWS CodeBuild console.) To instruct AWS CodeBuild to then use this connection, in the <code>source</code> object, set the <code>auth</code> object's <code>type</code> value to <code>OAUTH</code>.</p> </li> </ul>",
|
||||
"ProjectSource$buildspec": "<p>The build spec declaration to use for the builds in this build project.</p> <p>If this value is not specified, a build spec must be included along with the source code to be built.</p>",
|
||||
"SourceAuth$resource": "<p>The resource value that applies to the specified authorization type.</p>",
|
||||
"StartBuildInput$sourceVersion": "<p>A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of:</p> <ul> <li> <p>For AWS CodeCommit or GitHub: the commit ID to use.</p> </li> <li> <p>For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.</p> </li> </ul>",
|
||||
|
@ -513,6 +513,12 @@
|
|||
"Tag$value": "<p>The tag's value.</p>"
|
||||
}
|
||||
},
|
||||
"WrapperBoolean": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ProjectEnvironment$privilegedMode": "<p>If set to true, enables running the Docker daemon inside a Docker container; otherwise, false or not specified (the default). This value must be set to true only if this build project will be used to build Docker images, and the specified build environment image is not one provided by AWS CodeBuild with Docker support. Otherwise, all associated builds that attempt to interact with the Docker daemon will fail. Note that you must also start the Docker daemon so that your builds can interact with it as needed. One way to do this is to initialize the Docker daemon in the install phase of your build spec by running the following build commands. (Do not run the following build commands if the specified build environment image is provided by AWS CodeBuild with Docker support.)</p> <p> <code>- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=vfs& - timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"</code> </p>"
|
||||
}
|
||||
},
|
||||
"WrapperInt": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
|
92
vendor/github.com/aws/aws-sdk-go/models/apis/codedeploy/2014-10-06/api-2.json
generated
vendored
92
vendor/github.com/aws/aws-sdk-go/models/apis/codedeploy/2014-10-06/api-2.json
generated
vendored
|
@ -178,7 +178,8 @@
|
|||
{"shape":"DeploymentLimitExceededException"},
|
||||
{"shape":"InvalidTargetInstancesException"},
|
||||
{"shape":"InvalidAutoRollbackConfigException"},
|
||||
{"shape":"InvalidLoadBalancerInfoException"}
|
||||
{"shape":"InvalidLoadBalancerInfoException"},
|
||||
{"shape":"InvalidFileExistsBehaviorException"}
|
||||
]
|
||||
},
|
||||
"CreateDeploymentConfig":{
|
||||
|
@ -467,7 +468,8 @@
|
|||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"InvalidDeploymentIdException"},
|
||||
{"shape":"InvalidInstanceStatusException"},
|
||||
{"shape":"InvalidInstanceTypeException"}
|
||||
{"shape":"InvalidInstanceTypeException"},
|
||||
{"shape":"InvalidDeploymentInstanceTypeException"}
|
||||
]
|
||||
},
|
||||
"ListDeployments":{
|
||||
|
@ -490,6 +492,19 @@
|
|||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"ListGitHubAccountTokenNames":{
|
||||
"name":"ListGitHubAccountTokenNames",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"ListGitHubAccountTokenNamesInput"},
|
||||
"output":{"shape":"ListGitHubAccountTokenNamesOutput"},
|
||||
"errors":[
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"ResourceValidationException"}
|
||||
]
|
||||
},
|
||||
"ListOnPremisesInstances":{
|
||||
"name":"ListOnPremisesInstances",
|
||||
"http":{
|
||||
|
@ -692,7 +707,8 @@
|
|||
"applicationId":{"shape":"ApplicationId"},
|
||||
"applicationName":{"shape":"ApplicationName"},
|
||||
"createTime":{"shape":"Timestamp"},
|
||||
"linkedToGitHub":{"shape":"Boolean"}
|
||||
"linkedToGitHub":{"shape":"Boolean"},
|
||||
"gitHubAccountName":{"shape":"GitHubAccountTokenName"}
|
||||
}
|
||||
},
|
||||
"ApplicationLimitExceededException":{
|
||||
|
@ -966,7 +982,8 @@
|
|||
"ignoreApplicationStopFailures":{"shape":"Boolean"},
|
||||
"targetInstances":{"shape":"TargetInstances"},
|
||||
"autoRollbackConfiguration":{"shape":"AutoRollbackConfiguration"},
|
||||
"updateOutdatedInstancesOnly":{"shape":"Boolean"}
|
||||
"updateOutdatedInstancesOnly":{"shape":"Boolean"},
|
||||
"fileExistsBehavior":{"shape":"FileExistsBehavior"}
|
||||
}
|
||||
},
|
||||
"CreateDeploymentOutput":{
|
||||
|
@ -1105,7 +1122,9 @@
|
|||
"autoRollbackConfiguration":{"shape":"AutoRollbackConfiguration"},
|
||||
"deploymentStyle":{"shape":"DeploymentStyle"},
|
||||
"blueGreenDeploymentConfiguration":{"shape":"BlueGreenDeploymentConfiguration"},
|
||||
"loadBalancerInfo":{"shape":"LoadBalancerInfo"}
|
||||
"loadBalancerInfo":{"shape":"LoadBalancerInfo"},
|
||||
"lastSuccessfulDeployment":{"shape":"LastDeploymentInfo"},
|
||||
"lastAttemptedDeployment":{"shape":"LastDeploymentInfo"}
|
||||
}
|
||||
},
|
||||
"DeploymentGroupInfoList":{
|
||||
|
@ -1147,6 +1166,7 @@
|
|||
"deploymentGroupName":{"shape":"DeploymentGroupName"},
|
||||
"deploymentConfigName":{"shape":"DeploymentConfigName"},
|
||||
"deploymentId":{"shape":"DeploymentId"},
|
||||
"previousRevision":{"shape":"RevisionLocation"},
|
||||
"revision":{"shape":"RevisionLocation"},
|
||||
"status":{"shape":"DeploymentStatus"},
|
||||
"errorInformation":{"shape":"ErrorInformation"},
|
||||
|
@ -1165,7 +1185,8 @@
|
|||
"instanceTerminationWaitTimeStarted":{"shape":"Boolean"},
|
||||
"blueGreenDeploymentConfiguration":{"shape":"BlueGreenDeploymentConfiguration"},
|
||||
"loadBalancerInfo":{"shape":"LoadBalancerInfo"},
|
||||
"additionalDeploymentStatusInfo":{"shape":"AdditionalDeploymentStatusInfo"}
|
||||
"additionalDeploymentStatusInfo":{"shape":"AdditionalDeploymentStatusInfo"},
|
||||
"fileExistsBehavior":{"shape":"FileExistsBehavior"}
|
||||
}
|
||||
},
|
||||
"DeploymentIsNotInReadyStateException":{
|
||||
|
@ -1343,6 +1364,14 @@
|
|||
}
|
||||
},
|
||||
"ErrorMessage":{"type":"string"},
|
||||
"FileExistsBehavior":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"DISALLOW",
|
||||
"OVERWRITE",
|
||||
"RETAIN"
|
||||
]
|
||||
},
|
||||
"GenericRevisionInfo":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1458,6 +1487,17 @@
|
|||
"instanceInfo":{"shape":"InstanceInfo"}
|
||||
}
|
||||
},
|
||||
"GitHubAccountTokenDoesNotExistException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"GitHubAccountTokenName":{"type":"string"},
|
||||
"GitHubAccountTokenNameList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"GitHubAccountTokenName"}
|
||||
},
|
||||
"GitHubLocation":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1677,6 +1717,12 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidDeploymentInstanceTypeException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidDeploymentStatusException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1695,6 +1741,12 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidFileExistsBehaviorException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidIamSessionArnException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1816,6 +1868,15 @@
|
|||
"exception":true
|
||||
},
|
||||
"Key":{"type":"string"},
|
||||
"LastDeploymentInfo":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"deploymentId":{"shape":"DeploymentId"},
|
||||
"status":{"shape":"DeploymentStatus"},
|
||||
"endTime":{"shape":"Timestamp"},
|
||||
"createTime":{"shape":"Timestamp"}
|
||||
}
|
||||
},
|
||||
"LifecycleErrorCode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
|
@ -1956,6 +2017,19 @@
|
|||
"nextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListGitHubAccountTokenNamesInput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"nextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListGitHubAccountTokenNamesOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"tokenNameList":{"shape":"GitHubAccountTokenNameList"},
|
||||
"nextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListOnPremisesInstancesInput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -2050,6 +2124,12 @@
|
|||
}
|
||||
},
|
||||
"Repository":{"type":"string"},
|
||||
"ResourceValidationException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"RevisionDoesNotExistException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
|
233
vendor/github.com/aws/aws-sdk-go/models/apis/codedeploy/2014-10-06/docs-2.json
generated
vendored
233
vendor/github.com/aws/aws-sdk-go/models/apis/codedeploy/2014-10-06/docs-2.json
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<fullname>AWS CodeDeploy</fullname> <p> <b>Overview</b> </p> <p>This reference guide provides descriptions of the AWS CodeDeploy APIs. For more information about AWS CodeDeploy, see the <a href=\"http://docs.aws.amazon.com/codedeploy/latest/userguide\">AWS CodeDeploy User Guide</a>.</p> <p> <b>Using the APIs</b> </p> <p>You can use the AWS CodeDeploy APIs to work with the following:</p> <ul> <li> <p>Applications are unique identifiers used by AWS CodeDeploy to ensure the correct combinations of revisions, deployment configurations, and deployment groups are being referenced during deployments.</p> <p>You can use the AWS CodeDeploy APIs to create, delete, get, list, and update applications.</p> </li> <li> <p>Deployment configurations are sets of deployment rules and success and failure conditions used by AWS CodeDeploy during deployments.</p> <p>You can use the AWS CodeDeploy APIs to create, delete, get, and list deployment configurations.</p> </li> <li> <p>Deployment groups are groups of instances to which application revisions can be deployed.</p> <p>You can use the AWS CodeDeploy APIs to create, delete, get, list, and update deployment groups.</p> </li> <li> <p>Instances represent Amazon EC2 instances to which application revisions are deployed. Instances are identified by their Amazon EC2 tags or Auto Scaling group names. Instances belong to deployment groups.</p> <p>You can use the AWS CodeDeploy APIs to get and list instance.</p> </li> <li> <p>Deployments represent the process of deploying revisions to instances.</p> <p>You can use the AWS CodeDeploy APIs to create, get, list, and stop deployments.</p> </li> <li> <p>Application revisions are archive files stored in Amazon S3 buckets or GitHub repositories. These revisions contain source content (such as source code, web pages, executable files, and deployment scripts) along with an application specification (AppSpec) file. (The AppSpec file is unique to AWS CodeDeploy; it defines the deployment actions you want AWS CodeDeploy to execute.) For application revisions stored in Amazon S3 buckets, an application revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For application revisions stored in GitHub repositories, an application revision is uniquely identified by its repository name and commit ID. Application revisions are deployed through deployment groups.</p> <p>You can use the AWS CodeDeploy APIs to get, list, and register application revisions.</p> </li> </ul>",
|
||||
"service": "<fullname>AWS CodeDeploy</fullname> <p>AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances or on-premises instances running in your own facility.</p> <p>You can deploy a nearly unlimited variety of application content, such as code, web and configuration files, executables, packages, scripts, multimedia files, and so on. AWS CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use AWS CodeDeploy.</p> <p>AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications, without many of the risks associated with error-prone manual deployments.</p> <p> <b>AWS CodeDeploy Components</b> </p> <p>Use the information in this guide to help you work with the following AWS CodeDeploy components:</p> <ul> <li> <p> <b>Application</b>: A name that uniquely identifies the application you want to deploy. AWS CodeDeploy uses this name, which functions as a container, to ensure the correct combination of revision, deployment configuration, and deployment group are referenced during a deployment.</p> </li> <li> <p> <b>Deployment group</b>: A set of individual instances. A deployment group contains individually tagged instances, Amazon EC2 instances in Auto Scaling groups, or both. </p> </li> <li> <p> <b>Deployment configuration</b>: A set of deployment rules and deployment success and failure conditions used by AWS CodeDeploy during a deployment.</p> </li> <li> <p> <b>Deployment</b>: The process, and the components involved in the process, of installing content on one or more instances. </p> </li> <li> <p> <b>Application revisions</b>: An archive file containing source content—source code, web pages, executable files, and deployment scripts—along with an application specification file (AppSpec file). Revisions are stored in Amazon S3 buckets or GitHub repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely identified by its commit ID.</p> </li> </ul> <p>This guide also contains information to help you get details about the instances in your deployments and to make on-premises instances available for AWS CodeDeploy deployments.</p> <p> <b>AWS CodeDeploy Information Resources</b> </p> <ul> <li> <p> <a href=\"http://docs.aws.amazon.com/codedeploy/latest/userguide\">AWS CodeDeploy User Guide</a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/codedeploy/latest/APIReference/\">AWS CodeDeploy API Reference Guide</a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/cli/latest/reference/deploy/index.html\">AWS CLI Reference for AWS CodeDeploy</a> </p> </li> <li> <p> <a href=\"https://forums.aws.amazon.com/forum.jspa?forumID=179\">AWS CodeDeploy Developer Forum</a> </p> </li> </ul>",
|
||||
"operations": {
|
||||
"AddTagsToOnPremisesInstances": "<p>Adds tags to on-premises instances.</p>",
|
||||
"BatchGetApplicationRevisions": "<p>Gets information about one or more application revisions.</p>",
|
||||
|
@ -9,7 +9,7 @@
|
|||
"BatchGetDeploymentInstances": "<p>Gets information about one or more instance that are part of a deployment group.</p>",
|
||||
"BatchGetDeployments": "<p>Gets information about one or more deployments.</p>",
|
||||
"BatchGetOnPremisesInstances": "<p>Gets information about one or more on-premises instances.</p>",
|
||||
"ContinueDeployment": "<p>Starts the process of rerouting traffic from instances in the original environment to instances in thereplacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.) </p>",
|
||||
"ContinueDeployment": "<p>For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.) </p>",
|
||||
"CreateApplication": "<p>Creates an application.</p>",
|
||||
"CreateDeployment": "<p>Deploys an application revision through the specified deployment group.</p>",
|
||||
"CreateDeploymentConfig": "<p>Creates a deployment configuration.</p>",
|
||||
|
@ -31,6 +31,7 @@
|
|||
"ListDeploymentGroups": "<p>Lists the deployment groups for an application registered with the applicable IAM user or AWS account.</p>",
|
||||
"ListDeploymentInstances": "<p>Lists the instance for a deployment associated with the applicable IAM user or AWS account.</p>",
|
||||
"ListDeployments": "<p>Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.</p>",
|
||||
"ListGitHubAccountTokenNames": "<p>Lists the names of stored connections to GitHub accounts.</p>",
|
||||
"ListOnPremisesInstances": "<p>Gets a list of names for one or more on-premises instances.</p> <p>Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.</p>",
|
||||
"RegisterApplicationRevision": "<p>Registers with AWS CodeDeploy a revision for the specified application.</p>",
|
||||
"RegisterOnPremisesInstance": "<p>Registers an on-premises instance.</p> <note> <p>Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.</p> </note>",
|
||||
|
@ -61,9 +62,9 @@
|
|||
"AlarmConfiguration": {
|
||||
"base": "<p>Information about alarms associated with the deployment group.</p>",
|
||||
"refs": {
|
||||
"CreateDeploymentGroupInput$alarmConfiguration": "<p>Information to add about Amazon CloudWatch alarms when the deployment group is created. </p>",
|
||||
"CreateDeploymentGroupInput$alarmConfiguration": "<p>Information to add about Amazon CloudWatch alarms when the deployment group is created.</p>",
|
||||
"DeploymentGroupInfo$alarmConfiguration": "<p>A list of alarms associated with the deployment group.</p>",
|
||||
"UpdateDeploymentGroupInput$alarmConfiguration": "<p>Information to add or change about Amazon CloudWatch alarms when the deployment group is updated. </p>"
|
||||
"UpdateDeploymentGroupInput$alarmConfiguration": "<p>Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.</p>"
|
||||
}
|
||||
},
|
||||
"AlarmList": {
|
||||
|
@ -223,62 +224,62 @@
|
|||
}
|
||||
},
|
||||
"BatchGetApplicationRevisionsInput": {
|
||||
"base": "<p>Represents the input of a batch get application revisions operation.</p>",
|
||||
"base": "<p>Represents the input of a BatchGetApplicationRevisions operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetApplicationRevisionsOutput": {
|
||||
"base": "<p>Represents the output of a batch get application revisions operation.</p>",
|
||||
"base": "<p>Represents the output of a BatchGetApplicationRevisions operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetApplicationsInput": {
|
||||
"base": "<p>Represents the input of a batch get applications operation.</p>",
|
||||
"base": "<p>Represents the input of a BatchGetApplications operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetApplicationsOutput": {
|
||||
"base": "<p>Represents the output of a batch get applications operation.</p>",
|
||||
"base": "<p>Represents the output of a BatchGetApplications operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetDeploymentGroupsInput": {
|
||||
"base": "<p>Represents the input of a batch get deployment groups operation.</p>",
|
||||
"base": "<p>Represents the input of a BatchGetDeploymentGroups operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetDeploymentGroupsOutput": {
|
||||
"base": "<p>Represents the output of a batch get deployment groups operation.</p>",
|
||||
"base": "<p>Represents the output of a BatchGetDeploymentGroups operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetDeploymentInstancesInput": {
|
||||
"base": "<p>Represents the input of a batch get deployment instances operation.</p>",
|
||||
"base": "<p>Represents the input of a BatchGetDeploymentInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetDeploymentInstancesOutput": {
|
||||
"base": "<p>Represents the output of a batch get deployment instance operation.</p>",
|
||||
"base": "<p>Represents the output of a BatchGetDeploymentInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetDeploymentsInput": {
|
||||
"base": "<p>Represents the input of a batch get deployments operation.</p>",
|
||||
"base": "<p>Represents the input of a BatchGetDeployments operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetDeploymentsOutput": {
|
||||
"base": "<p>Represents the output of a batch get deployments operation.</p>",
|
||||
"base": "<p>Represents the output of a BatchGetDeployments operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetOnPremisesInstancesInput": {
|
||||
"base": "<p>Represents the input of a batch get on-premises instances operation.</p>",
|
||||
"base": "<p>Represents the input of a BatchGetOnPremisesInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"BatchGetOnPremisesInstancesOutput": {
|
||||
"base": "<p>Represents the output of a batch get on-premises instances operation.</p>",
|
||||
"base": "<p>Represents the output of a BatchGetOnPremisesInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -339,62 +340,62 @@
|
|||
}
|
||||
},
|
||||
"CreateApplicationInput": {
|
||||
"base": "<p>Represents the input of a create application operation.</p>",
|
||||
"base": "<p>Represents the input of a CreateApplication operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateApplicationOutput": {
|
||||
"base": "<p>Represents the output of a create application operation.</p>",
|
||||
"base": "<p>Represents the output of a CreateApplication operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateDeploymentConfigInput": {
|
||||
"base": "<p>Represents the input of a create deployment configuration operation.</p>",
|
||||
"base": "<p>Represents the input of a CreateDeploymentConfig operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateDeploymentConfigOutput": {
|
||||
"base": "<p>Represents the output of a create deployment configuration operation.</p>",
|
||||
"base": "<p>Represents the output of a CreateDeploymentConfig operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateDeploymentGroupInput": {
|
||||
"base": "<p>Represents the input of a create deployment group operation.</p>",
|
||||
"base": "<p>Represents the input of a CreateDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateDeploymentGroupOutput": {
|
||||
"base": "<p>Represents the output of a create deployment group operation.</p>",
|
||||
"base": "<p>Represents the output of a CreateDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateDeploymentInput": {
|
||||
"base": "<p>Represents the input of a create deployment operation.</p>",
|
||||
"base": "<p>Represents the input of a CreateDeployment operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateDeploymentOutput": {
|
||||
"base": "<p>Represents the output of a create deployment operation.</p>",
|
||||
"base": "<p>Represents the output of a CreateDeployment operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteApplicationInput": {
|
||||
"base": "<p>Represents the input of a delete application operation.</p>",
|
||||
"base": "<p>Represents the input of a DeleteApplication operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteDeploymentConfigInput": {
|
||||
"base": "<p>Represents the input of a delete deployment configuration operation.</p>",
|
||||
"base": "<p>Represents the input of a DeleteDeploymentConfig operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteDeploymentGroupInput": {
|
||||
"base": "<p>Represents the input of a delete deployment group operation.</p>",
|
||||
"base": "<p>Represents the input of a DeleteDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteDeploymentGroupOutput": {
|
||||
"base": "<p>Represents the output of a delete deployment group operation.</p>",
|
||||
"base": "<p>Represents the output of a DeleteDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -440,7 +441,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"CreateDeploymentConfigInput$deploymentConfigName": "<p>The name of the deployment configuration to create.</p>",
|
||||
"CreateDeploymentGroupInput$deploymentConfigName": "<p>If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.</p> <p>CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or the deployment group.</p> <p>For more information about the predefined deployment configurations in AWS CodeDeploy, see see <a href=\"http://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html\">Working with Deployment Groups in AWS CodeDeploy</a> in the AWS CodeDeploy User Guide.</p>",
|
||||
"CreateDeploymentGroupInput$deploymentConfigName": "<p>If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.</p> <p>CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or the deployment group.</p> <p>For more information about the predefined deployment configurations in AWS CodeDeploy, see <a href=\"http://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html\">Working with Deployment Groups in AWS CodeDeploy</a> in the AWS CodeDeploy User Guide.</p>",
|
||||
"CreateDeploymentInput$deploymentConfigName": "<p>The name of a deployment configuration associated with the applicable IAM user or AWS account.</p> <p>If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.</p>",
|
||||
"DeleteDeploymentConfigInput$deploymentConfigName": "<p>The name of a deployment configuration associated with the applicable IAM user or AWS account.</p>",
|
||||
"DeploymentConfigInfo$deploymentConfigName": "<p>The deployment configuration name.</p>",
|
||||
|
@ -547,6 +548,7 @@
|
|||
"GetDeploymentInput$deploymentId": "<p>A deployment ID associated with the applicable IAM user or AWS account.</p>",
|
||||
"GetDeploymentInstanceInput$deploymentId": "<p>The unique ID of a deployment.</p>",
|
||||
"InstanceSummary$deploymentId": "<p>The deployment ID.</p>",
|
||||
"LastDeploymentInfo$deploymentId": "<p>The deployment ID.</p>",
|
||||
"ListDeploymentInstancesInput$deploymentId": "<p>The unique ID of a deployment.</p>",
|
||||
"RollbackInfo$rollbackDeploymentId": "<p>The ID of the deployment rollback.</p>",
|
||||
"RollbackInfo$rollbackTriggeringDeploymentId": "<p>The deployment ID of the deployment that was underway and triggered a rollback deployment because it failed or was stopped.</p>",
|
||||
|
@ -609,7 +611,8 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"DeploymentInfo$status": "<p>The current state of the deployment as a whole.</p>",
|
||||
"DeploymentStatusList$member": null
|
||||
"DeploymentStatusList$member": null,
|
||||
"LastDeploymentInfo$status": "<p>The status of the most recent deployment.</p>"
|
||||
}
|
||||
},
|
||||
"DeploymentStatusList": {
|
||||
|
@ -619,18 +622,18 @@
|
|||
}
|
||||
},
|
||||
"DeploymentStyle": {
|
||||
"base": "<p>Information about the type of deployment, either standard or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"base": "<p>Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"refs": {
|
||||
"CreateDeploymentGroupInput$deploymentStyle": "<p>Information about the type of deployment, standard or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"DeploymentGroupInfo$deploymentStyle": "<p>Information about the type of deployment, either standard or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"DeploymentInfo$deploymentStyle": "<p>Information about the type of deployment, either standard or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"UpdateDeploymentGroupInput$deploymentStyle": "<p>Information about the type of deployment, either standard or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>"
|
||||
"CreateDeploymentGroupInput$deploymentStyle": "<p>Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"DeploymentGroupInfo$deploymentStyle": "<p>Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"DeploymentInfo$deploymentStyle": "<p>Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>",
|
||||
"UpdateDeploymentGroupInput$deploymentStyle": "<p>Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.</p>"
|
||||
}
|
||||
},
|
||||
"DeploymentType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DeploymentStyle$deploymentType": "<p>Indicates whether to run a standard deployment or a blue/green deployment.</p>"
|
||||
"DeploymentStyle$deploymentType": "<p>Indicates whether to run an in-place deployment or a blue/green deployment.</p>"
|
||||
}
|
||||
},
|
||||
"DeploymentsInfoList": {
|
||||
|
@ -647,7 +650,7 @@
|
|||
}
|
||||
},
|
||||
"DeregisterOnPremisesInstanceInput": {
|
||||
"base": "<p>Represents the input of a deregister on-premises instance operation.</p>",
|
||||
"base": "<p>Represents the input of a DeregisterOnPremisesInstance operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -680,7 +683,7 @@
|
|||
}
|
||||
},
|
||||
"EC2TagFilter": {
|
||||
"base": "<p>Information about a tag filter.</p>",
|
||||
"base": "<p>Information about an EC2 tag filter.</p>",
|
||||
"refs": {
|
||||
"EC2TagFilterList$member": null
|
||||
}
|
||||
|
@ -688,7 +691,7 @@
|
|||
"EC2TagFilterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateDeploymentGroupInput$ec2TagFilters": "<p>The Amazon EC2 tags on which to filter.</p>",
|
||||
"CreateDeploymentGroupInput$ec2TagFilters": "<p>The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags.</p>",
|
||||
"DeploymentGroupInfo$ec2TagFilters": "<p>The Amazon EC2 tags on which to filter.</p>",
|
||||
"TargetInstances$tagFilters": "<p>The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment.</p>",
|
||||
"UpdateDeploymentGroupInput$ec2TagFilters": "<p>The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.</p>"
|
||||
|
@ -701,7 +704,7 @@
|
|||
}
|
||||
},
|
||||
"ELBInfo": {
|
||||
"base": "<p>Information about a load balancer in Elastic Load Balancing to use in a blue/green deployment.</p>",
|
||||
"base": "<p>Information about a load balancer in Elastic Load Balancing to use in a deployment.</p>",
|
||||
"refs": {
|
||||
"ELBInfoList$member": null
|
||||
}
|
||||
|
@ -709,13 +712,13 @@
|
|||
"ELBInfoList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"LoadBalancerInfo$elbInfoList": "<p>An array containing information about the load balancer in Elastic Load Balancing to use in a blue/green deployment.</p>"
|
||||
"LoadBalancerInfo$elbInfoList": "<p>An array containing information about the load balancer in Elastic Load Balancing to use in a deployment.</p>"
|
||||
}
|
||||
},
|
||||
"ELBName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ELBInfo$name": "<p>The name of the load balancer that will be used to route traffic from original instances to replacement instances in a blue/green deployment.</p>"
|
||||
"ELBInfo$name": "<p>For blue/green deployments, the name of the load balancer that will be used to route traffic from original instances to replacement instances in a blue/green deployment. For in-place deployments, the name of the load balancer that instances are deregistered from so they are not serving traffic during a deployment, and then re-registered with after the deployment completes.</p>"
|
||||
}
|
||||
},
|
||||
"ETag": {
|
||||
|
@ -745,6 +748,13 @@
|
|||
"ErrorInformation$message": "<p>An accompanying error message.</p>"
|
||||
}
|
||||
},
|
||||
"FileExistsBehavior": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateDeploymentInput$fileExistsBehavior": "<p>Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.</p> <p>The fileExistsBehavior parameter takes any of the following values:</p> <ul> <li> <p>DISALLOW: The deployment fails. This is also the default behavior if no option is specified.</p> </li> <li> <p>OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.</p> </li> <li> <p>RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.</p> </li> </ul>",
|
||||
"DeploymentInfo$fileExistsBehavior": "<p>Information about how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.</p> <ul> <li> <p>DISALLOW: The deployment fails. This is also the default behavior if no option is specified.</p> </li> <li> <p>OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.</p> </li> <li> <p>RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"GenericRevisionInfo": {
|
||||
"base": "<p>Information about an application revision.</p>",
|
||||
"refs": {
|
||||
|
@ -753,75 +763,93 @@
|
|||
}
|
||||
},
|
||||
"GetApplicationInput": {
|
||||
"base": "<p>Represents the input of a get application operation.</p>",
|
||||
"base": "<p>Represents the input of a GetApplication operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetApplicationOutput": {
|
||||
"base": "<p>Represents the output of a get application operation.</p>",
|
||||
"base": "<p>Represents the output of a GetApplication operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetApplicationRevisionInput": {
|
||||
"base": "<p>Represents the input of a get application revision operation.</p>",
|
||||
"base": "<p>Represents the input of a GetApplicationRevision operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetApplicationRevisionOutput": {
|
||||
"base": "<p>Represents the output of a get application revision operation.</p>",
|
||||
"base": "<p>Represents the output of a GetApplicationRevision operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentConfigInput": {
|
||||
"base": "<p>Represents the input of a get deployment configuration operation.</p>",
|
||||
"base": "<p>Represents the input of a GetDeploymentConfig operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentConfigOutput": {
|
||||
"base": "<p>Represents the output of a get deployment configuration operation.</p>",
|
||||
"base": "<p>Represents the output of a GetDeploymentConfig operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentGroupInput": {
|
||||
"base": "<p>Represents the input of a get deployment group operation.</p>",
|
||||
"base": "<p>Represents the input of a GetDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentGroupOutput": {
|
||||
"base": "<p>Represents the output of a get deployment group operation.</p>",
|
||||
"base": "<p>Represents the output of a GetDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentInput": {
|
||||
"base": "<p>Represents the input of a get deployment operation.</p>",
|
||||
"base": "<p>Represents the input of a GetDeployment operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentInstanceInput": {
|
||||
"base": "<p>Represents the input of a get deployment instance operation.</p>",
|
||||
"base": "<p>Represents the input of a GetDeploymentInstance operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentInstanceOutput": {
|
||||
"base": "<p>Represents the output of a get deployment instance operation.</p>",
|
||||
"base": "<p>Represents the output of a GetDeploymentInstance operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetDeploymentOutput": {
|
||||
"base": "<p>Represents the output of a get deployment operation.</p>",
|
||||
"base": "<p>Represents the output of a GetDeployment operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetOnPremisesInstanceInput": {
|
||||
"base": "<p>Represents the input of a get on-premises instance operation.</p>",
|
||||
"base": "<p>Represents the input of a GetOnPremisesInstance operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetOnPremisesInstanceOutput": {
|
||||
"base": "<p>Represents the output of a get on-premises instance operation.</p>",
|
||||
"base": "<p>Represents the output of a GetOnPremisesInstance operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GitHubAccountTokenDoesNotExistException": {
|
||||
"base": "<p>No GitHub account connection exists with the named specified in the call.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GitHubAccountTokenName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ApplicationInfo$gitHubAccountName": "<p>The name for a connection to a GitHub account.</p>",
|
||||
"GitHubAccountTokenNameList$member": null
|
||||
}
|
||||
},
|
||||
"GitHubAccountTokenNameList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListGitHubAccountTokenNamesOutput$tokenNameList": "<p>A list of names of connections to GitHub accounts.</p>"
|
||||
}
|
||||
},
|
||||
"GitHubLocation": {
|
||||
"base": "<p>Information about the location of application artifacts stored in GitHub.</p>",
|
||||
"refs": {
|
||||
|
@ -1063,13 +1091,18 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidDeploymentInstanceTypeException": {
|
||||
"base": "<p>An instance type was specified for an in-place deployment. Instance types are supported for blue/green deployments only.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidDeploymentStatusException": {
|
||||
"base": "<p>The specified deployment status doesn't exist or cannot be determined.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidDeploymentStyleException": {
|
||||
"base": "<p>An invalid deployment style was specified. Valid deployment types include \"IN_PLACE\" and \"BLUE_GREEN\". Valid deployment options for blue/green deployments include \"WITH_TRAFFIC_CONTROL\" and \"WITHOUT_TRAFFIC_CONTROL\".</p>",
|
||||
"base": "<p>An invalid deployment style was specified. Valid deployment types include \"IN_PLACE\" and \"BLUE_GREEN\". Valid deployment options include \"WITH_TRAFFIC_CONTROL\" and \"WITHOUT_TRAFFIC_CONTROL\".</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -1078,6 +1111,11 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidFileExistsBehaviorException": {
|
||||
"base": "<p>An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy handles files or directories that already exist in a deployment target location but weren't part of the previous successful deployment. Valid values include \"DISALLOW\", \"OVERWRITE\", and \"RETAIN\".</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidIamSessionArnException": {
|
||||
"base": "<p>The IAM session ARN was specified in an invalid format.</p>",
|
||||
"refs": {
|
||||
|
@ -1186,6 +1224,13 @@
|
|||
"TagFilter$Key": "<p>The on-premises instance tag filter key.</p>"
|
||||
}
|
||||
},
|
||||
"LastDeploymentInfo": {
|
||||
"base": "<p>Information about the most recent attempted or successful deployment to a deployment group.</p>",
|
||||
"refs": {
|
||||
"DeploymentGroupInfo$lastSuccessfulDeployment": "<p>Information about the most recent successful deployment to the deployment group.</p>",
|
||||
"DeploymentGroupInfo$lastAttemptedDeployment": "<p>Information about the most recent attempted deployment to the deployment group.</p>"
|
||||
}
|
||||
},
|
||||
"LifecycleErrorCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -1228,67 +1273,77 @@
|
|||
}
|
||||
},
|
||||
"ListApplicationRevisionsInput": {
|
||||
"base": "<p>Represents the input of a list application revisions operation.</p>",
|
||||
"base": "<p>Represents the input of a ListApplicationRevisions operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListApplicationRevisionsOutput": {
|
||||
"base": "<p>Represents the output of a list application revisions operation.</p>",
|
||||
"base": "<p>Represents the output of a ListApplicationRevisions operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListApplicationsInput": {
|
||||
"base": "<p>Represents the input of a list applications operation.</p>",
|
||||
"base": "<p>Represents the input of a ListApplications operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListApplicationsOutput": {
|
||||
"base": "<p>Represents the output of a list applications operation.</p>",
|
||||
"base": "<p>Represents the output of a ListApplications operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentConfigsInput": {
|
||||
"base": "<p>Represents the input of a list deployment configurations operation.</p>",
|
||||
"base": "<p>Represents the input of a ListDeploymentConfigs operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentConfigsOutput": {
|
||||
"base": "<p>Represents the output of a list deployment configurations operation.</p>",
|
||||
"base": "<p>Represents the output of a ListDeploymentConfigs operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentGroupsInput": {
|
||||
"base": "<p>Represents the input of a list deployment groups operation.</p>",
|
||||
"base": "<p>Represents the input of a ListDeploymentGroups operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentGroupsOutput": {
|
||||
"base": "<p>Represents the output of a list deployment groups operation.</p>",
|
||||
"base": "<p>Represents the output of a ListDeploymentGroups operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentInstancesInput": {
|
||||
"base": "<p>Represents the input of a list deployment instances operation.</p>",
|
||||
"base": "<p>Represents the input of a ListDeploymentInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentInstancesOutput": {
|
||||
"base": "<p>Represents the output of a list deployment instances operation.</p>",
|
||||
"base": "<p>Represents the output of a ListDeploymentInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentsInput": {
|
||||
"base": "<p>Represents the input of a list deployments operation.</p>",
|
||||
"base": "<p>Represents the input of a ListDeployments operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListDeploymentsOutput": {
|
||||
"base": "<p>Represents the output of a list deployments operation.</p>",
|
||||
"base": "<p>Represents the output of a ListDeployments operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListGitHubAccountTokenNamesInput": {
|
||||
"base": "<p>Represents the input of a ListGitHubAccountTokenNames operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListGitHubAccountTokenNamesOutput": {
|
||||
"base": "<p>Represents the output of a ListGitHubAccountTokenNames operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListOnPremisesInstancesInput": {
|
||||
"base": "<p>Represents the input of a list on-premises instances operation.</p>",
|
||||
"base": "<p>Represents the input of a ListOnPremisesInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -1304,12 +1359,12 @@
|
|||
}
|
||||
},
|
||||
"LoadBalancerInfo": {
|
||||
"base": "<p>Information about the load balancer used in a blue/green deployment.</p>",
|
||||
"base": "<p>Information about the load balancer used in a deployment.</p>",
|
||||
"refs": {
|
||||
"CreateDeploymentGroupInput$loadBalancerInfo": "<p>Information about the load balancer used in a blue/green deployment.</p>",
|
||||
"DeploymentGroupInfo$loadBalancerInfo": "<p>Information about the load balancer to use in a blue/green deployment.</p>",
|
||||
"DeploymentInfo$loadBalancerInfo": "<p>Information about the load balancer used in this blue/green deployment.</p>",
|
||||
"UpdateDeploymentGroupInput$loadBalancerInfo": "<p>Information about the load balancer used in a blue/green deployment.</p>"
|
||||
"CreateDeploymentGroupInput$loadBalancerInfo": "<p>Information about the load balancer used in a deployment.</p>",
|
||||
"DeploymentGroupInfo$loadBalancerInfo": "<p>Information about the load balancer to use in a deployment.</p>",
|
||||
"DeploymentInfo$loadBalancerInfo": "<p>Information about the load balancer used in the deployment.</p>",
|
||||
"UpdateDeploymentGroupInput$loadBalancerInfo": "<p>Information about the load balancer used in a deployment.</p>"
|
||||
}
|
||||
},
|
||||
"LogTail": {
|
||||
|
@ -1334,7 +1389,7 @@
|
|||
"MinimumHealthyHostsType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MinimumHealthyHosts$type": "<p>The minimum healthy instance type:</p> <ul> <li> <p>HOST_COUNT: The minimum number of healthy instance as an absolute value.</p> </li> <li> <p>FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment.</p> </li> </ul> <p>In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.</p> <note> <p>In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime will return a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy will try to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment still succeeds.</p> </note>"
|
||||
"MinimumHealthyHosts$type": "<p>The minimum healthy instance type:</p> <ul> <li> <p>HOST_COUNT: The minimum number of healthy instance as an absolute value.</p> </li> <li> <p>FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment.</p> </li> </ul> <p>In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.</p> <note> <p>In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime will return a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy will try to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment still succeeds.</p> </note> <p>For more information, see <a href=\"http://docs.aws.amazon.com/codedeploy/latest/userguide/instances-health.html\">AWS CodeDeploy Instance Health</a> in the <i>AWS CodeDeploy User Guide</i>.</p>"
|
||||
}
|
||||
},
|
||||
"MinimumHealthyHostsValue": {
|
||||
|
@ -1363,6 +1418,8 @@
|
|||
"ListDeploymentInstancesOutput$nextToken": "<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.</p>",
|
||||
"ListDeploymentsInput$nextToken": "<p>An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.</p>",
|
||||
"ListDeploymentsOutput$nextToken": "<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.</p>",
|
||||
"ListGitHubAccountTokenNamesInput$nextToken": "<p>An identifier returned from the previous ListGitHubAccountTokenNames call. It can be used to return the next set of names in the list. </p>",
|
||||
"ListGitHubAccountTokenNamesOutput$nextToken": "<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent ListGitHubAccountTokenNames call to return the next set of names in the list. </p>",
|
||||
"ListOnPremisesInstancesInput$nextToken": "<p>An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.</p>",
|
||||
"ListOnPremisesInstancesOutput$nextToken": "<p>If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.</p>"
|
||||
}
|
||||
|
@ -1374,7 +1431,7 @@
|
|||
}
|
||||
},
|
||||
"RegisterApplicationRevisionInput": {
|
||||
"base": "<p>Represents the input of a register application revision operation.</p>",
|
||||
"base": "<p>Represents the input of a RegisterApplicationRevision operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -1390,7 +1447,7 @@
|
|||
}
|
||||
},
|
||||
"RemoveTagsFromOnPremisesInstancesInput": {
|
||||
"base": "<p>Represents the input of a remove tags from on-premises instances operation.</p>",
|
||||
"base": "<p>Represents the input of a RemoveTagsFromOnPremisesInstances operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -1400,6 +1457,11 @@
|
|||
"GitHubLocation$repository": "<p>The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision. </p> <p>Specified as account/repository.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceValidationException": {
|
||||
"base": "<p>The specified resource could not be validated.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"RevisionDoesNotExistException": {
|
||||
"base": "<p>The named revision does not exist with the applicable IAM user or AWS account.</p>",
|
||||
"refs": {
|
||||
|
@ -1422,6 +1484,7 @@
|
|||
"refs": {
|
||||
"CreateDeploymentInput$revision": "<p>The type and location of the revision to deploy.</p>",
|
||||
"DeploymentGroupInfo$targetRevision": "<p>Information about the deployment group's target revision, including type and location.</p>",
|
||||
"DeploymentInfo$previousRevision": "<p>Information about the application revision that was deployed to the deployment group before the most recent successful deployment.</p>",
|
||||
"DeploymentInfo$revision": "<p>Information about the location of stored application artifacts and the service from which to retrieve them.</p>",
|
||||
"GetApplicationRevisionInput$revision": "<p>Information about the application revision to get, including type and location.</p>",
|
||||
"GetApplicationRevisionOutput$revision": "<p>Additional information about the revision, including type and location.</p>",
|
||||
|
@ -1505,12 +1568,12 @@
|
|||
}
|
||||
},
|
||||
"StopDeploymentInput": {
|
||||
"base": "<p>Represents the input of a stop deployment operation.</p>",
|
||||
"base": "<p>Represents the input of a StopDeployment operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"StopDeploymentOutput": {
|
||||
"base": "<p>Represents the output of a stop deployment operation.</p>",
|
||||
"base": "<p>Represents the output of a StopDeployment operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -1535,7 +1598,7 @@
|
|||
"TagFilterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateDeploymentGroupInput$onPremisesInstanceTagFilters": "<p>The on-premises instance tags on which to filter.</p>",
|
||||
"CreateDeploymentGroupInput$onPremisesInstanceTagFilters": "<p>The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags.</p>",
|
||||
"DeploymentGroupInfo$onPremisesInstanceTagFilters": "<p>The on-premises instance tags on which to filter.</p>",
|
||||
"ListOnPremisesInstancesInput$tagFilters": "<p>The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.</p>",
|
||||
"UpdateDeploymentGroupInput$onPremisesInstanceTagFilters": "<p>The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.</p>"
|
||||
|
@ -1592,6 +1655,8 @@
|
|||
"InstanceInfo$registerTime": "<p>The time at which the on-premises instance was registered.</p>",
|
||||
"InstanceInfo$deregisterTime": "<p>If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.</p>",
|
||||
"InstanceSummary$lastUpdatedAt": "<p>A timestamp indicating when the instance information was last updated.</p>",
|
||||
"LastDeploymentInfo$endTime": "<p>A timestamp indicating when the most recent deployment to the deployment group completed.</p>",
|
||||
"LastDeploymentInfo$createTime": "<p>A timestamp indicating when the most recent deployment to the deployment group started.</p>",
|
||||
"LifecycleEvent$startTime": "<p>A timestamp indicating when the deployment lifecycle event started.</p>",
|
||||
"LifecycleEvent$endTime": "<p>A timestamp indicating when the deployment lifecycle event ended.</p>",
|
||||
"TimeRange$start": "<p>The start time of the time range.</p> <note> <p>Specify null to leave the start time open-ended.</p> </note>",
|
||||
|
@ -1647,17 +1712,17 @@
|
|||
}
|
||||
},
|
||||
"UpdateApplicationInput": {
|
||||
"base": "<p>Represents the input of an update application operation.</p>",
|
||||
"base": "<p>Represents the input of an UpdateApplication operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateDeploymentGroupInput": {
|
||||
"base": "<p>Represents the input of an update deployment group operation.</p>",
|
||||
"base": "<p>Represents the input of an UpdateDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateDeploymentGroupOutput": {
|
||||
"base": "<p>Represents the output of an update deployment group operation.</p>",
|
||||
"base": "<p>Represents the output of an UpdateDeploymentGroup operation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
|
50
vendor/github.com/aws/aws-sdk-go/models/apis/codepipeline/2015-07-09/api-2.json
generated
vendored
50
vendor/github.com/aws/aws-sdk-go/models/apis/codepipeline/2015-07-09/api-2.json
generated
vendored
|
@ -202,6 +202,20 @@
|
|||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"ListPipelineExecutions":{
|
||||
"name":"ListPipelineExecutions",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"ListPipelineExecutionsInput"},
|
||||
"output":{"shape":"ListPipelineExecutionsOutput"},
|
||||
"errors":[
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"PipelineNotFoundException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"ListPipelines":{
|
||||
"name":"ListPipelines",
|
||||
"http":{
|
||||
|
@ -488,7 +502,7 @@
|
|||
},
|
||||
"ActionConfigurationQueryableValue":{
|
||||
"type":"string",
|
||||
"max":20,
|
||||
"max":50,
|
||||
"min":1,
|
||||
"pattern":"[a-zA-Z0-9_-]+"
|
||||
},
|
||||
|
@ -1192,6 +1206,22 @@
|
|||
"nextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListPipelineExecutionsInput":{
|
||||
"type":"structure",
|
||||
"required":["pipelineName"],
|
||||
"members":{
|
||||
"pipelineName":{"shape":"PipelineName"},
|
||||
"maxResults":{"shape":"MaxResults"},
|
||||
"nextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListPipelineExecutionsOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"pipelineExecutionSummaries":{"shape":"PipelineExecutionSummaryList"},
|
||||
"nextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"ListPipelinesInput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1209,6 +1239,11 @@
|
|||
"type":"integer",
|
||||
"min":1
|
||||
},
|
||||
"MaxResults":{
|
||||
"type":"integer",
|
||||
"max":100,
|
||||
"min":1
|
||||
},
|
||||
"MaximumArtifactCount":{
|
||||
"type":"integer",
|
||||
"max":5,
|
||||
|
@ -1297,6 +1332,19 @@
|
|||
"Failed"
|
||||
]
|
||||
},
|
||||
"PipelineExecutionSummary":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"pipelineExecutionId":{"shape":"PipelineExecutionId"},
|
||||
"status":{"shape":"PipelineExecutionStatus"},
|
||||
"startTime":{"shape":"Timestamp"},
|
||||
"lastUpdateTime":{"shape":"Timestamp"}
|
||||
}
|
||||
},
|
||||
"PipelineExecutionSummaryList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"PipelineExecutionSummary"}
|
||||
},
|
||||
"PipelineList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"PipelineSummary"}
|
||||
|
|
98
vendor/github.com/aws/aws-sdk-go/models/apis/codepipeline/2015-07-09/docs-2.json
generated
vendored
98
vendor/github.com/aws/aws-sdk-go/models/apis/codepipeline/2015-07-09/docs-2.json
generated
vendored
|
@ -16,6 +16,7 @@
|
|||
"GetPipelineState": "<p>Returns information about the state of a pipeline, including the stages and actions.</p>",
|
||||
"GetThirdPartyJobDetails": "<p>Requests the details of a job for a third party action. Only used for partner actions.</p> <important> <p>When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.</p> </important>",
|
||||
"ListActionTypes": "<p>Gets a summary of all AWS CodePipeline action types associated with your account.</p>",
|
||||
"ListPipelineExecutions": "<p>Gets a summary of the most recent executions for a pipeline.</p>",
|
||||
"ListPipelines": "<p>Gets a summary of all of the pipelines associated with your account.</p>",
|
||||
"PollForJobs": "<p>Returns information about any jobs for AWS CodePipeline to act upon.</p> <important> <p>When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts. Additionally, this API returns any secret values defined for the action.</p> </important>",
|
||||
"PollForThirdPartyJobs": "<p>Determines whether there are any third party jobs for a job worker to act on. Only used for partner actions.</p> <important> <p>When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts.</p> </important>",
|
||||
|
@ -33,8 +34,8 @@
|
|||
"AWSSessionCredentials": {
|
||||
"base": "<p>Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.</p>",
|
||||
"refs": {
|
||||
"JobData$artifactCredentials": null,
|
||||
"ThirdPartyJobData$artifactCredentials": null
|
||||
"JobData$artifactCredentials": "<p>Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.</p>",
|
||||
"ThirdPartyJobData$artifactCredentials": "<p>Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline. </p>"
|
||||
}
|
||||
},
|
||||
"AccessKeyId": {
|
||||
|
@ -81,8 +82,8 @@
|
|||
"ActionConfiguration": {
|
||||
"base": "<p>Represents information about an action configuration.</p>",
|
||||
"refs": {
|
||||
"JobData$actionConfiguration": null,
|
||||
"ThirdPartyJobData$actionConfiguration": null
|
||||
"JobData$actionConfiguration": "<p>Represents information about an action configuration.</p>",
|
||||
"ThirdPartyJobData$actionConfiguration": "<p>Represents information about an action configuration.</p>"
|
||||
}
|
||||
},
|
||||
"ActionConfigurationKey": {
|
||||
|
@ -134,7 +135,7 @@
|
|||
"ActionContext": {
|
||||
"base": "<p>Represents the context of an action within the stage of a pipeline to a job worker.</p>",
|
||||
"refs": {
|
||||
"PipelineContext$action": null
|
||||
"PipelineContext$action": "<p/>"
|
||||
}
|
||||
},
|
||||
"ActionDeclaration": {
|
||||
|
@ -146,7 +147,7 @@
|
|||
"ActionExecution": {
|
||||
"base": "<p>Represents information about the run of an action.</p>",
|
||||
"refs": {
|
||||
"ActionState$latestExecution": null
|
||||
"ActionState$latestExecution": "<p>Represents information about the run of an action.</p>"
|
||||
}
|
||||
},
|
||||
"ActionExecutionStatus": {
|
||||
|
@ -194,8 +195,8 @@
|
|||
"ActionRevision": {
|
||||
"base": "<p>Represents information about the version (or revision) of an action.</p>",
|
||||
"refs": {
|
||||
"ActionState$currentRevision": null,
|
||||
"PutActionRevisionInput$actionRevision": null
|
||||
"ActionState$currentRevision": "<p>Represents information about the version (or revision) of an action.</p>",
|
||||
"PutActionRevisionInput$actionRevision": "<p>Represents information about the version (or revision) of an action.</p>"
|
||||
}
|
||||
},
|
||||
"ActionRunOrder": {
|
||||
|
@ -220,18 +221,18 @@
|
|||
"base": "<p>Returns information about the details of an action type.</p>",
|
||||
"refs": {
|
||||
"ActionTypeList$member": null,
|
||||
"CreateCustomActionTypeOutput$actionType": null
|
||||
"CreateCustomActionTypeOutput$actionType": "<p>Returns information about the details of an action type.</p>"
|
||||
}
|
||||
},
|
||||
"ActionTypeId": {
|
||||
"base": "<p>Represents information about an action type.</p>",
|
||||
"refs": {
|
||||
"ActionDeclaration$actionTypeId": "<p>The configuration information for the action type.</p>",
|
||||
"ActionType$id": null,
|
||||
"JobData$actionTypeId": null,
|
||||
"PollForJobsInput$actionTypeId": null,
|
||||
"PollForThirdPartyJobsInput$actionTypeId": null,
|
||||
"ThirdPartyJobData$actionTypeId": null
|
||||
"ActionType$id": "<p>Represents information about an action type.</p>",
|
||||
"JobData$actionTypeId": "<p>Represents information about an action type.</p>",
|
||||
"PollForJobsInput$actionTypeId": "<p>Represents information about an action type.</p>",
|
||||
"PollForThirdPartyJobsInput$actionTypeId": "<p>Represents information about an action type.</p>",
|
||||
"ThirdPartyJobData$actionTypeId": "<p>Represents information about an action type.</p>"
|
||||
}
|
||||
},
|
||||
"ActionTypeList": {
|
||||
|
@ -249,7 +250,7 @@
|
|||
"base": "<p>Returns information about the settings for an action type.</p>",
|
||||
"refs": {
|
||||
"ActionType$settings": "<p>The settings for the action type.</p>",
|
||||
"CreateCustomActionTypeInput$settings": null
|
||||
"CreateCustomActionTypeInput$settings": "<p>Returns information about the settings for an action type.</p>"
|
||||
}
|
||||
},
|
||||
"ApprovalAlreadyCompletedException": {
|
||||
|
@ -292,8 +293,8 @@
|
|||
"refs": {
|
||||
"ActionType$inputArtifactDetails": "<p>The details of the input artifact for the action, such as its commit ID.</p>",
|
||||
"ActionType$outputArtifactDetails": "<p>The details of the output artifact of the action, such as its commit ID.</p>",
|
||||
"CreateCustomActionTypeInput$inputArtifactDetails": null,
|
||||
"CreateCustomActionTypeInput$outputArtifactDetails": null
|
||||
"CreateCustomActionTypeInput$inputArtifactDetails": "<p>The details of the input artifact for the action, such as its commit ID.</p>",
|
||||
"CreateCustomActionTypeInput$outputArtifactDetails": "<p>The details of the output artifact of the action, such as its commit ID.</p>"
|
||||
}
|
||||
},
|
||||
"ArtifactList": {
|
||||
|
@ -339,15 +340,15 @@
|
|||
}
|
||||
},
|
||||
"ArtifactStore": {
|
||||
"base": "<p>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 <a href=\"http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket\">Concepts</a>.</p>",
|
||||
"base": "<p>The Amazon S3 bucket where artifacts are stored for the pipeline.</p>",
|
||||
"refs": {
|
||||
"PipelineDeclaration$artifactStore": null
|
||||
"PipelineDeclaration$artifactStore": "<p>Represents the context of an action within the stage of a pipeline to a job worker. </p>"
|
||||
}
|
||||
},
|
||||
"ArtifactStoreLocation": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ArtifactStore$location": "<p>The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.</p>"
|
||||
"ArtifactStore$location": "<p>The Amazon S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder within the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any Amazon S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts.</p>"
|
||||
}
|
||||
},
|
||||
"ArtifactStoreType": {
|
||||
|
@ -438,7 +439,7 @@
|
|||
"base": "<p>Represents information about a current revision.</p>",
|
||||
"refs": {
|
||||
"PutJobSuccessResultInput$currentRevision": "<p>The ID of the current revision of the artifact successfully worked upon by the job.</p>",
|
||||
"PutThirdPartyJobSuccessResultInput$currentRevision": null
|
||||
"PutThirdPartyJobSuccessResultInput$currentRevision": "<p>Represents information about a current revision.</p>"
|
||||
}
|
||||
},
|
||||
"DeleteCustomActionTypeInput": {
|
||||
|
@ -484,7 +485,7 @@
|
|||
"base": "<p>Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.</p>",
|
||||
"refs": {
|
||||
"ArtifactStore$encryptionKey": "<p>The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.</p>",
|
||||
"JobData$encryptionKey": null,
|
||||
"JobData$encryptionKey": "<p>Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. </p>",
|
||||
"ThirdPartyJobData$encryptionKey": "<p>The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key Management Service (AWS KMS) key. This is optional and might not be present.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -510,7 +511,7 @@
|
|||
"base": "<p>The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.</p>",
|
||||
"refs": {
|
||||
"PutJobSuccessResultInput$executionDetails": "<p>The execution details of the successful job, such as the actions taken by the job worker.</p>",
|
||||
"PutThirdPartyJobSuccessResultInput$executionDetails": null
|
||||
"PutThirdPartyJobSuccessResultInput$executionDetails": "<p>The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline. </p>"
|
||||
}
|
||||
},
|
||||
"ExecutionId": {
|
||||
|
@ -532,7 +533,7 @@
|
|||
"base": "<p>Represents information about failure details.</p>",
|
||||
"refs": {
|
||||
"PutJobFailureResultInput$failureDetails": "<p>The details about the failure of a job.</p>",
|
||||
"PutThirdPartyJobFailureResultInput$failureDetails": null
|
||||
"PutThirdPartyJobFailureResultInput$failureDetails": "<p>Represents information about failure details.</p>"
|
||||
}
|
||||
},
|
||||
"FailureType": {
|
||||
|
@ -663,7 +664,7 @@
|
|||
"base": "<p>Represents additional information about a job required for a job worker to complete the job.</p>",
|
||||
"refs": {
|
||||
"Job$data": "<p>Additional data about a job.</p>",
|
||||
"JobDetails$data": null
|
||||
"JobDetails$data": "<p>Represents additional information about a job required for a job worker to complete the job. </p>"
|
||||
}
|
||||
},
|
||||
"JobDetails": {
|
||||
|
@ -735,6 +736,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListPipelineExecutionsInput": {
|
||||
"base": "<p>Represents the input of a list pipeline executions action.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListPipelineExecutionsOutput": {
|
||||
"base": "<p>Represents the output of a list pipeline executions action. </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListPipelinesInput": {
|
||||
"base": "<p>Represents the input of a list pipelines action.</p>",
|
||||
"refs": {
|
||||
|
@ -752,6 +763,12 @@
|
|||
"PollForThirdPartyJobsInput$maxBatchSize": "<p>The maximum number of jobs to return in a poll for jobs call.</p>"
|
||||
}
|
||||
},
|
||||
"MaxResults": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListPipelineExecutionsInput$maxResults": "<p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. The available pipeline execution history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.</p>"
|
||||
}
|
||||
},
|
||||
"MaximumArtifactCount": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -776,6 +793,8 @@
|
|||
"refs": {
|
||||
"ListActionTypesInput$nextToken": "<p>An identifier that was returned from the previous list action types call, which can be used to return the next set of action types in the list.</p>",
|
||||
"ListActionTypesOutput$nextToken": "<p>If the amount of returned information is significantly large, an identifier is also returned which can be used in a subsequent list action types call to return the next set of action types in the list.</p>",
|
||||
"ListPipelineExecutionsInput$nextToken": "<p>The token that was returned from the previous list pipeline executions call, which can be used to return the next set of pipeline executions in the list.</p>",
|
||||
"ListPipelineExecutionsOutput$nextToken": "<p>A token that can be used in the next list pipeline executions call to return the next set of pipeline executions. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.</p>",
|
||||
"ListPipelinesInput$nextToken": "<p>An identifier that was returned from the previous list pipelines call, which can be used to return the next set of pipelines in the list.</p>",
|
||||
"ListPipelinesOutput$nextToken": "<p>If the amount of returned information is significantly large, an identifier is also returned which can be used in a subsequent list pipelines call to return the next set of pipelines in the list.</p>"
|
||||
}
|
||||
|
@ -816,16 +835,16 @@
|
|||
"PipelineContext": {
|
||||
"base": "<p>Represents information about a pipeline to a job worker.</p>",
|
||||
"refs": {
|
||||
"JobData$pipelineContext": null,
|
||||
"ThirdPartyJobData$pipelineContext": null
|
||||
"JobData$pipelineContext": "<p>Represents information about a pipeline to a job worker.</p>",
|
||||
"ThirdPartyJobData$pipelineContext": "<p>Represents information about a pipeline to a job worker.</p>"
|
||||
}
|
||||
},
|
||||
"PipelineDeclaration": {
|
||||
"base": "<p>Represents the structure of actions and stages to be performed in the pipeline.</p>",
|
||||
"refs": {
|
||||
"CreatePipelineInput$pipeline": null,
|
||||
"CreatePipelineOutput$pipeline": null,
|
||||
"GetPipelineOutput$pipeline": null,
|
||||
"CreatePipelineInput$pipeline": "<p>Represents the structure of actions and stages to be performed in the pipeline. </p>",
|
||||
"CreatePipelineOutput$pipeline": "<p>Represents the structure of actions and stages to be performed in the pipeline. </p>",
|
||||
"GetPipelineOutput$pipeline": "<p>Represents the structure of actions and stages to be performed in the pipeline. </p>",
|
||||
"UpdatePipelineInput$pipeline": "<p>The name of the pipeline to be updated.</p>",
|
||||
"UpdatePipelineOutput$pipeline": "<p>The structure of the updated pipeline.</p>"
|
||||
}
|
||||
|
@ -841,6 +860,7 @@
|
|||
"refs": {
|
||||
"GetPipelineExecutionInput$pipelineExecutionId": "<p>The ID of the pipeline execution about which you want to get execution details.</p>",
|
||||
"PipelineExecution$pipelineExecutionId": "<p>The ID of the pipeline execution.</p>",
|
||||
"PipelineExecutionSummary$pipelineExecutionId": "<p>The ID of the pipeline execution.</p>",
|
||||
"PutActionRevisionOutput$pipelineExecutionId": "<p>The ID of the current workflow state of the pipeline.</p>",
|
||||
"RetryStageExecutionInput$pipelineExecutionId": "<p>The ID of the pipeline execution in the failed stage to be retried. Use the <a>GetPipelineState</a> action to retrieve the current pipelineExecutionId of the failed stage</p>",
|
||||
"RetryStageExecutionOutput$pipelineExecutionId": "<p>The ID of the current workflow execution in the failed stage.</p>",
|
||||
|
@ -856,7 +876,20 @@
|
|||
"PipelineExecutionStatus": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PipelineExecution$status": "<p>The status of the pipeline execution.</p> <ul> <li> <p>InProgress: The pipeline execution is currently running.</p> </li> <li> <p>Succeeded: The pipeline execution completed successfully. </p> </li> <li> <p>Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution caught up and continued through the pipeline instead. </p> </li> <li> <p>Failed: The pipeline did not complete successfully.</p> </li> </ul>"
|
||||
"PipelineExecution$status": "<p>The status of the pipeline execution.</p> <ul> <li> <p>InProgress: The pipeline execution is currently running.</p> </li> <li> <p>Succeeded: The pipeline execution completed successfully. </p> </li> <li> <p>Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution caught up and continued through the pipeline instead. </p> </li> <li> <p>Failed: The pipeline execution did not complete successfully.</p> </li> </ul>",
|
||||
"PipelineExecutionSummary$status": "<p>The status of the pipeline execution.</p> <ul> <li> <p>InProgress: The pipeline execution is currently running.</p> </li> <li> <p>Succeeded: The pipeline execution completed successfully. </p> </li> <li> <p>Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution caught up and continued through the pipeline instead. </p> </li> <li> <p>Failed: The pipeline execution did not complete successfully.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"PipelineExecutionSummary": {
|
||||
"base": "<p>Summary information about a pipeline execution.</p>",
|
||||
"refs": {
|
||||
"PipelineExecutionSummaryList$member": null
|
||||
}
|
||||
},
|
||||
"PipelineExecutionSummaryList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListPipelineExecutionsOutput$pipelineExecutionSummaries": "<p>A list of executions in the history of a pipeline.</p>"
|
||||
}
|
||||
},
|
||||
"PipelineList": {
|
||||
|
@ -875,6 +908,7 @@
|
|||
"GetPipelineInput$name": "<p>The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.</p>",
|
||||
"GetPipelineStateInput$name": "<p>The name of the pipeline about which you want to get information.</p>",
|
||||
"GetPipelineStateOutput$pipelineName": "<p>The name of the pipeline for which you want to get the state.</p>",
|
||||
"ListPipelineExecutionsInput$pipelineName": "<p>The name of the pipeline for which you want to get execution summary information.</p>",
|
||||
"PipelineContext$pipelineName": "<p>The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.</p>",
|
||||
"PipelineDeclaration$name": "<p>The name of the action to be performed.</p>",
|
||||
"PipelineExecution$pipelineName": "<p>The name of the pipeline that was executed.</p>",
|
||||
|
@ -1201,6 +1235,8 @@
|
|||
"ArtifactRevision$created": "<p>The date and time when the most recent revision of the artifact was created, in timestamp format.</p>",
|
||||
"GetPipelineStateOutput$created": "<p>The date and time the pipeline was created, in timestamp format.</p>",
|
||||
"GetPipelineStateOutput$updated": "<p>The date and time the pipeline was last updated, in timestamp format.</p>",
|
||||
"PipelineExecutionSummary$startTime": "<p>The date and time when the pipeline execution began, in timestamp format.</p>",
|
||||
"PipelineExecutionSummary$lastUpdateTime": "<p>The date and time of the last change to the pipeline execution, in timestamp format.</p>",
|
||||
"PipelineSummary$created": "<p>The date and time the pipeline was created, in timestamp format.</p>",
|
||||
"PipelineSummary$updated": "<p>The date and time of the last update to the pipeline, in timestamp format.</p>",
|
||||
"PutApprovalResultOutput$approvedAt": "<p>The timestamp showing when the approval or rejection was submitted.</p>"
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/models/apis/codepipeline/2015-07-09/paginators-1.json
generated
vendored
Normal file
4
vendor/github.com/aws/aws-sdk-go/models/apis/codepipeline/2015-07-09/paginators-1.json
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
556
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json
generated
vendored
556
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json
generated
vendored
|
@ -305,6 +305,9 @@
|
|||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"UserNotFoundException"},
|
||||
{"shape":"InvalidSmsRoleAccessPolicyException"},
|
||||
{"shape":"InvalidEmailRoleAccessPolicyException"},
|
||||
{"shape":"InvalidSmsRoleTrustRelationshipException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
|
@ -526,6 +529,24 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"CreateIdentityProvider":{
|
||||
"name":"CreateIdentityProvider",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CreateIdentityProviderRequest"},
|
||||
"output":{"shape":"CreateIdentityProviderResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"DuplicateProviderException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"CreateUserImportJob":{
|
||||
"name":"CreateUserImportJob",
|
||||
"http":{
|
||||
|
@ -578,6 +599,23 @@
|
|||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"ScopeDoesNotExistException"},
|
||||
{"shape":"InvalidOAuthFlowException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"CreateUserPoolDomain":{
|
||||
"name":"CreateUserPoolDomain",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CreateUserPoolDomainRequest"},
|
||||
"output":{"shape":"CreateUserPoolDomainResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
|
@ -596,6 +634,22 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"DeleteIdentityProvider":{
|
||||
"name":"DeleteIdentityProvider",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteIdentityProviderRequest"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"UnsupportedIdentityProviderException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"DeleteUser":{
|
||||
"name":"DeleteUser",
|
||||
"http":{
|
||||
|
@ -666,6 +720,37 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"DeleteUserPoolDomain":{
|
||||
"name":"DeleteUserPoolDomain",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteUserPoolDomainRequest"},
|
||||
"output":{"shape":"DeleteUserPoolDomainResponse"},
|
||||
"errors":[
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"DescribeIdentityProvider":{
|
||||
"name":"DescribeIdentityProvider",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeIdentityProviderRequest"},
|
||||
"output":{"shape":"DescribeIdentityProviderResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"DescribeUserImportJob":{
|
||||
"name":"DescribeUserImportJob",
|
||||
"http":{
|
||||
|
@ -715,6 +800,21 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"DescribeUserPoolDomain":{
|
||||
"name":"DescribeUserPoolDomain",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeUserPoolDomainRequest"},
|
||||
"output":{"shape":"DescribeUserPoolDomainResponse"},
|
||||
"errors":[
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"ForgetDevice":{
|
||||
"name":"ForgetDevice",
|
||||
"http":{
|
||||
|
@ -813,6 +913,22 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"GetIdentityProviderByIdentifier":{
|
||||
"name":"GetIdentityProviderByIdentifier",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"GetIdentityProviderByIdentifierRequest"},
|
||||
"output":{"shape":"GetIdentityProviderByIdentifierResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"GetUser":{
|
||||
"name":"GetUser",
|
||||
"http":{
|
||||
|
@ -938,6 +1054,22 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"ListIdentityProviders":{
|
||||
"name":"ListIdentityProviders",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"ListIdentityProvidersRequest"},
|
||||
"output":{"shape":"ListIdentityProvidersResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"ListUserImportJobs":{
|
||||
"name":"ListUserImportJobs",
|
||||
"http":{
|
||||
|
@ -1188,6 +1320,23 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"UpdateIdentityProvider":{
|
||||
"name":"UpdateIdentityProvider",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"UpdateIdentityProviderRequest"},
|
||||
"output":{"shape":"UpdateIdentityProviderResponse"},
|
||||
"errors":[
|
||||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"UnsupportedIdentityProviderException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"UpdateUserAttributes":{
|
||||
"name":"UpdateUserAttributes",
|
||||
"http":{
|
||||
|
@ -1253,6 +1402,8 @@
|
|||
{"shape":"InvalidParameterException"},
|
||||
{"shape":"TooManyRequestsException"},
|
||||
{"shape":"NotAuthorizedException"},
|
||||
{"shape":"ScopeDoesNotExistException"},
|
||||
{"shape":"InvalidOAuthFlowException"},
|
||||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
|
@ -1281,6 +1432,7 @@
|
|||
}
|
||||
},
|
||||
"shapes":{
|
||||
"AWSAccountIdType":{"type":"string"},
|
||||
"AddCustomAttributesRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1706,6 +1858,11 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"AttributeType"}
|
||||
},
|
||||
"AttributeMappingType":{
|
||||
"type":"map",
|
||||
"key":{"shape":"CustomAttributeNameType"},
|
||||
"value":{"shape":"StringType"}
|
||||
},
|
||||
"AttributeNameListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"AttributeNameType"}
|
||||
|
@ -1756,6 +1913,12 @@
|
|||
}
|
||||
},
|
||||
"BooleanType":{"type":"boolean"},
|
||||
"CallbackURLsListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"RedirectUrlType"},
|
||||
"max":100,
|
||||
"min":0
|
||||
},
|
||||
"ChallengeNameType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
|
@ -1782,7 +1945,8 @@
|
|||
"type":"structure",
|
||||
"required":[
|
||||
"PreviousPassword",
|
||||
"ProposedPassword"
|
||||
"ProposedPassword",
|
||||
"AccessToken"
|
||||
],
|
||||
"members":{
|
||||
"PreviousPassword":{"shape":"PasswordType"},
|
||||
|
@ -1954,6 +2118,30 @@
|
|||
"Group":{"shape":"GroupType"}
|
||||
}
|
||||
},
|
||||
"CreateIdentityProviderRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"UserPoolId",
|
||||
"ProviderName",
|
||||
"ProviderType",
|
||||
"ProviderDetails"
|
||||
],
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"ProviderName":{"shape":"ProviderNameType"},
|
||||
"ProviderType":{"shape":"IdentityProviderTypeType"},
|
||||
"ProviderDetails":{"shape":"ProviderDetailsType"},
|
||||
"AttributeMapping":{"shape":"AttributeMappingType"},
|
||||
"IdpIdentifiers":{"shape":"IdpIdentifiersListType"}
|
||||
}
|
||||
},
|
||||
"CreateIdentityProviderResponse":{
|
||||
"type":"structure",
|
||||
"required":["IdentityProvider"],
|
||||
"members":{
|
||||
"IdentityProvider":{"shape":"IdentityProviderType"}
|
||||
}
|
||||
},
|
||||
"CreateUserImportJobRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1986,7 +2174,14 @@
|
|||
"RefreshTokenValidity":{"shape":"RefreshTokenValidityType"},
|
||||
"ReadAttributes":{"shape":"ClientPermissionListType"},
|
||||
"WriteAttributes":{"shape":"ClientPermissionListType"},
|
||||
"ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"}
|
||||
"ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"},
|
||||
"SupportedIdentityProviders":{"shape":"SupportedIdentityProvidersListType"},
|
||||
"CallbackURLs":{"shape":"CallbackURLsListType"},
|
||||
"LogoutURLs":{"shape":"LogoutURLsListType"},
|
||||
"DefaultRedirectURI":{"shape":"RedirectUrlType"},
|
||||
"AllowedOAuthFlows":{"shape":"OAuthFlowsType"},
|
||||
"AllowedOAuthScopes":{"shape":"ScopeListType"},
|
||||
"AllowedOAuthFlowsUserPoolClient":{"shape":"BooleanType"}
|
||||
}
|
||||
},
|
||||
"CreateUserPoolClientResponse":{
|
||||
|
@ -1995,6 +2190,22 @@
|
|||
"UserPoolClient":{"shape":"UserPoolClientType"}
|
||||
}
|
||||
},
|
||||
"CreateUserPoolDomainRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Domain",
|
||||
"UserPoolId"
|
||||
],
|
||||
"members":{
|
||||
"Domain":{"shape":"DomainType"},
|
||||
"UserPoolId":{"shape":"UserPoolIdType"}
|
||||
}
|
||||
},
|
||||
"CreateUserPoolDomainResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"CreateUserPoolRequest":{
|
||||
"type":"structure",
|
||||
"required":["PoolName"],
|
||||
|
@ -2004,6 +2215,7 @@
|
|||
"LambdaConfig":{"shape":"LambdaConfigType"},
|
||||
"AutoVerifiedAttributes":{"shape":"VerifiedAttributesListType"},
|
||||
"AliasAttributes":{"shape":"AliasAttributesListType"},
|
||||
"UsernameAttributes":{"shape":"UsernameAttributesListType"},
|
||||
"SmsVerificationMessage":{"shape":"SmsVerificationMessageType"},
|
||||
"EmailVerificationMessage":{"shape":"EmailVerificationMessageType"},
|
||||
"EmailVerificationSubject":{"shape":"EmailVerificationSubjectType"},
|
||||
|
@ -2047,9 +2259,23 @@
|
|||
"UserPoolId":{"shape":"UserPoolIdType"}
|
||||
}
|
||||
},
|
||||
"DeleteIdentityProviderRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"UserPoolId",
|
||||
"ProviderName"
|
||||
],
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"ProviderName":{"shape":"ProviderNameType"}
|
||||
}
|
||||
},
|
||||
"DeleteUserAttributesRequest":{
|
||||
"type":"structure",
|
||||
"required":["UserAttributeNames"],
|
||||
"required":[
|
||||
"UserAttributeNames",
|
||||
"AccessToken"
|
||||
],
|
||||
"members":{
|
||||
"UserAttributeNames":{"shape":"AttributeNameListType"},
|
||||
"AccessToken":{"shape":"TokenModelType"}
|
||||
|
@ -2071,6 +2297,22 @@
|
|||
"ClientId":{"shape":"ClientIdType"}
|
||||
}
|
||||
},
|
||||
"DeleteUserPoolDomainRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Domain",
|
||||
"UserPoolId"
|
||||
],
|
||||
"members":{
|
||||
"Domain":{"shape":"DomainType"},
|
||||
"UserPoolId":{"shape":"UserPoolIdType"}
|
||||
}
|
||||
},
|
||||
"DeleteUserPoolDomainResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"DeleteUserPoolRequest":{
|
||||
"type":"structure",
|
||||
"required":["UserPoolId"],
|
||||
|
@ -2080,6 +2322,7 @@
|
|||
},
|
||||
"DeleteUserRequest":{
|
||||
"type":"structure",
|
||||
"required":["AccessToken"],
|
||||
"members":{
|
||||
"AccessToken":{"shape":"TokenModelType"}
|
||||
}
|
||||
|
@ -2095,6 +2338,24 @@
|
|||
"EMAIL"
|
||||
]
|
||||
},
|
||||
"DescribeIdentityProviderRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"UserPoolId",
|
||||
"ProviderName"
|
||||
],
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"ProviderName":{"shape":"ProviderNameType"}
|
||||
}
|
||||
},
|
||||
"DescribeIdentityProviderResponse":{
|
||||
"type":"structure",
|
||||
"required":["IdentityProvider"],
|
||||
"members":{
|
||||
"IdentityProvider":{"shape":"IdentityProviderType"}
|
||||
}
|
||||
},
|
||||
"DescribeUserImportJobRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2129,6 +2390,19 @@
|
|||
"UserPoolClient":{"shape":"UserPoolClientType"}
|
||||
}
|
||||
},
|
||||
"DescribeUserPoolDomainRequest":{
|
||||
"type":"structure",
|
||||
"required":["Domain"],
|
||||
"members":{
|
||||
"Domain":{"shape":"DomainType"}
|
||||
}
|
||||
},
|
||||
"DescribeUserPoolDomainResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"DomainDescription":{"shape":"DomainDescriptionType"}
|
||||
}
|
||||
},
|
||||
"DescribeUserPoolRequest":{
|
||||
"type":"structure",
|
||||
"required":["UserPoolId"],
|
||||
|
@ -2192,6 +2466,44 @@
|
|||
"DeviceLastAuthenticatedDate":{"shape":"DateType"}
|
||||
}
|
||||
},
|
||||
"DomainDescriptionType":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"AWSAccountId":{"shape":"AWSAccountIdType"},
|
||||
"Domain":{"shape":"DomainType"},
|
||||
"S3Bucket":{"shape":"S3BucketType"},
|
||||
"CloudFrontDistribution":{"shape":"ArnType"},
|
||||
"Version":{"shape":"DomainVersionType"},
|
||||
"Status":{"shape":"DomainStatusType"}
|
||||
}
|
||||
},
|
||||
"DomainStatusType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"CREATING",
|
||||
"DELETING",
|
||||
"UPDATING",
|
||||
"ACTIVE"
|
||||
]
|
||||
},
|
||||
"DomainType":{
|
||||
"type":"string",
|
||||
"max":1024,
|
||||
"min":1
|
||||
},
|
||||
"DomainVersionType":{
|
||||
"type":"string",
|
||||
"max":20,
|
||||
"min":1
|
||||
},
|
||||
"DuplicateProviderException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"MessageType"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"EmailAddressType":{
|
||||
"type":"string",
|
||||
"pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+@[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
|
||||
|
@ -2205,7 +2517,7 @@
|
|||
},
|
||||
"EmailVerificationMessageType":{
|
||||
"type":"string",
|
||||
"max":2048,
|
||||
"max":20000,
|
||||
"min":6,
|
||||
"pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*\\{####\\}[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*"
|
||||
},
|
||||
|
@ -2307,9 +2619,30 @@
|
|||
"Group":{"shape":"GroupType"}
|
||||
}
|
||||
},
|
||||
"GetIdentityProviderByIdentifierRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"UserPoolId",
|
||||
"IdpIdentifier"
|
||||
],
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"IdpIdentifier":{"shape":"IdpIdentifierType"}
|
||||
}
|
||||
},
|
||||
"GetIdentityProviderByIdentifierResponse":{
|
||||
"type":"structure",
|
||||
"required":["IdentityProvider"],
|
||||
"members":{
|
||||
"IdentityProvider":{"shape":"IdentityProviderType"}
|
||||
}
|
||||
},
|
||||
"GetUserAttributeVerificationCodeRequest":{
|
||||
"type":"structure",
|
||||
"required":["AttributeName"],
|
||||
"required":[
|
||||
"AccessToken",
|
||||
"AttributeName"
|
||||
],
|
||||
"members":{
|
||||
"AccessToken":{"shape":"TokenModelType"},
|
||||
"AttributeName":{"shape":"AttributeNameType"}
|
||||
|
@ -2323,6 +2656,7 @@
|
|||
},
|
||||
"GetUserRequest":{
|
||||
"type":"structure",
|
||||
"required":["AccessToken"],
|
||||
"members":{
|
||||
"AccessToken":{"shape":"TokenModelType"}
|
||||
}
|
||||
|
@ -2341,6 +2675,7 @@
|
|||
},
|
||||
"GlobalSignOutRequest":{
|
||||
"type":"structure",
|
||||
"required":["AccessToken"],
|
||||
"members":{
|
||||
"AccessToken":{"shape":"TokenModelType"}
|
||||
}
|
||||
|
@ -2379,6 +2714,35 @@
|
|||
"CreationDate":{"shape":"DateType"}
|
||||
}
|
||||
},
|
||||
"IdentityProviderType":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"ProviderName":{"shape":"ProviderNameType"},
|
||||
"ProviderType":{"shape":"IdentityProviderTypeType"},
|
||||
"ProviderDetails":{"shape":"ProviderDetailsType"},
|
||||
"AttributeMapping":{"shape":"AttributeMappingType"},
|
||||
"IdpIdentifiers":{"shape":"IdpIdentifiersListType"},
|
||||
"LastModifiedDate":{"shape":"DateType"},
|
||||
"CreationDate":{"shape":"DateType"}
|
||||
}
|
||||
},
|
||||
"IdentityProviderTypeType":{
|
||||
"type":"string",
|
||||
"enum":["SAML"]
|
||||
},
|
||||
"IdpIdentifierType":{
|
||||
"type":"string",
|
||||
"max":40,
|
||||
"min":1,
|
||||
"pattern":"[\\w\\s+=.@-]+"
|
||||
},
|
||||
"IdpIdentifiersListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"IdpIdentifierType"},
|
||||
"max":50,
|
||||
"min":0
|
||||
},
|
||||
"InitiateAuthRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2424,6 +2788,13 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidOAuthFlowException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"MessageType"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidParameterException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -2511,10 +2882,32 @@
|
|||
"NextToken":{"shape":"PaginationKey"}
|
||||
}
|
||||
},
|
||||
"ListIdentityProvidersRequest":{
|
||||
"type":"structure",
|
||||
"required":["UserPoolId"],
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"MaxResults":{"shape":"ListProvidersLimitType"},
|
||||
"NextToken":{"shape":"PaginationKeyType"}
|
||||
}
|
||||
},
|
||||
"ListIdentityProvidersResponse":{
|
||||
"type":"structure",
|
||||
"required":["Providers"],
|
||||
"members":{
|
||||
"Providers":{"shape":"ProvidersListType"},
|
||||
"NextToken":{"shape":"PaginationKeyType"}
|
||||
}
|
||||
},
|
||||
"ListOfStringTypes":{
|
||||
"type":"list",
|
||||
"member":{"shape":"StringType"}
|
||||
},
|
||||
"ListProvidersLimitType":{
|
||||
"type":"integer",
|
||||
"max":60,
|
||||
"min":1
|
||||
},
|
||||
"ListUserImportJobsRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2603,6 +2996,12 @@
|
|||
"PaginationToken":{"shape":"SearchPaginationTokenType"}
|
||||
}
|
||||
},
|
||||
"LogoutURLsListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"RedirectUrlType"},
|
||||
"max":100,
|
||||
"min":0
|
||||
},
|
||||
"LongType":{"type":"long"},
|
||||
"MFAMethodNotFoundException":{
|
||||
"type":"structure",
|
||||
|
@ -2659,6 +3058,20 @@
|
|||
"MaxValue":{"shape":"StringType"}
|
||||
}
|
||||
},
|
||||
"OAuthFlowType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"code",
|
||||
"implicit",
|
||||
"client_credentials"
|
||||
]
|
||||
},
|
||||
"OAuthFlowsType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"OAuthFlowType"},
|
||||
"max":3,
|
||||
"min":0
|
||||
},
|
||||
"PaginationKey":{
|
||||
"type":"string",
|
||||
"min":1,
|
||||
|
@ -2719,6 +3132,32 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"ProviderDescription":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ProviderName":{"shape":"ProviderNameType"},
|
||||
"ProviderType":{"shape":"IdentityProviderTypeType"},
|
||||
"LastModifiedDate":{"shape":"DateType"},
|
||||
"CreationDate":{"shape":"DateType"}
|
||||
}
|
||||
},
|
||||
"ProviderDetailsType":{
|
||||
"type":"map",
|
||||
"key":{"shape":"StringType"},
|
||||
"value":{"shape":"StringType"}
|
||||
},
|
||||
"ProviderNameType":{
|
||||
"type":"string",
|
||||
"max":32,
|
||||
"min":1,
|
||||
"pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
|
||||
},
|
||||
"ProvidersListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ProviderDescription"},
|
||||
"max":50,
|
||||
"min":0
|
||||
},
|
||||
"QueryLimit":{
|
||||
"type":"integer",
|
||||
"max":60,
|
||||
|
@ -2729,6 +3168,12 @@
|
|||
"max":60,
|
||||
"min":0
|
||||
},
|
||||
"RedirectUrlType":{
|
||||
"type":"string",
|
||||
"max":1024,
|
||||
"min":1,
|
||||
"pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
|
||||
},
|
||||
"RefreshTokenValidityType":{
|
||||
"type":"integer",
|
||||
"max":3650,
|
||||
|
@ -2781,6 +3226,12 @@
|
|||
"AuthenticationResult":{"shape":"AuthenticationResultType"}
|
||||
}
|
||||
},
|
||||
"S3BucketType":{
|
||||
"type":"string",
|
||||
"max":1024,
|
||||
"min":3,
|
||||
"pattern":"^[0-9A-Za-z\\.\\-_]*(?<!\\.)$"
|
||||
},
|
||||
"SchemaAttributeType":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -2808,6 +3259,23 @@
|
|||
"max":50,
|
||||
"min":1
|
||||
},
|
||||
"ScopeDoesNotExistException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"MessageType"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"ScopeListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ScopeType"}
|
||||
},
|
||||
"ScopeType":{
|
||||
"type":"string",
|
||||
"max":256,
|
||||
"min":1,
|
||||
"pattern":"[\\x21\\x23-\\x5B\\x5D-\\x7E]+"
|
||||
},
|
||||
"SearchPaginationTokenType":{
|
||||
"type":"string",
|
||||
"min":1,
|
||||
|
@ -2863,9 +3331,14 @@
|
|||
},
|
||||
"SignUpResponse":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"UserConfirmed",
|
||||
"UserSub"
|
||||
],
|
||||
"members":{
|
||||
"UserConfirmed":{"shape":"BooleanType"},
|
||||
"CodeDeliveryDetails":{"shape":"CodeDeliveryDetailsType"}
|
||||
"CodeDeliveryDetails":{"shape":"CodeDeliveryDetailsType"},
|
||||
"UserSub":{"shape":"StringType"}
|
||||
}
|
||||
},
|
||||
"SmsConfigurationType":{
|
||||
|
@ -2931,6 +3404,10 @@
|
|||
}
|
||||
},
|
||||
"StringType":{"type":"string"},
|
||||
"SupportedIdentityProvidersListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ProviderNameType"}
|
||||
},
|
||||
"TokenModelType":{
|
||||
"type":"string",
|
||||
"pattern":"[A-Za-z0-9-_=.]+",
|
||||
|
@ -2957,6 +3434,13 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"UnsupportedIdentityProviderException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"MessageType"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"UnsupportedUserStateException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -3001,9 +3485,33 @@
|
|||
"Group":{"shape":"GroupType"}
|
||||
}
|
||||
},
|
||||
"UpdateIdentityProviderRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"UserPoolId",
|
||||
"ProviderName"
|
||||
],
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"},
|
||||
"ProviderName":{"shape":"ProviderNameType"},
|
||||
"ProviderDetails":{"shape":"ProviderDetailsType"},
|
||||
"AttributeMapping":{"shape":"AttributeMappingType"},
|
||||
"IdpIdentifiers":{"shape":"IdpIdentifiersListType"}
|
||||
}
|
||||
},
|
||||
"UpdateIdentityProviderResponse":{
|
||||
"type":"structure",
|
||||
"required":["IdentityProvider"],
|
||||
"members":{
|
||||
"IdentityProvider":{"shape":"IdentityProviderType"}
|
||||
}
|
||||
},
|
||||
"UpdateUserAttributesRequest":{
|
||||
"type":"structure",
|
||||
"required":["UserAttributes"],
|
||||
"required":[
|
||||
"UserAttributes",
|
||||
"AccessToken"
|
||||
],
|
||||
"members":{
|
||||
"UserAttributes":{"shape":"AttributeListType"},
|
||||
"AccessToken":{"shape":"TokenModelType"}
|
||||
|
@ -3028,7 +3536,14 @@
|
|||
"RefreshTokenValidity":{"shape":"RefreshTokenValidityType"},
|
||||
"ReadAttributes":{"shape":"ClientPermissionListType"},
|
||||
"WriteAttributes":{"shape":"ClientPermissionListType"},
|
||||
"ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"}
|
||||
"ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"},
|
||||
"SupportedIdentityProviders":{"shape":"SupportedIdentityProvidersListType"},
|
||||
"CallbackURLs":{"shape":"CallbackURLsListType"},
|
||||
"LogoutURLs":{"shape":"LogoutURLsListType"},
|
||||
"DefaultRedirectURI":{"shape":"RedirectUrlType"},
|
||||
"AllowedOAuthFlows":{"shape":"OAuthFlowsType"},
|
||||
"AllowedOAuthScopes":{"shape":"ScopeListType"},
|
||||
"AllowedOAuthFlowsUserPoolClient":{"shape":"BooleanType"}
|
||||
}
|
||||
},
|
||||
"UpdateUserPoolClientResponse":{
|
||||
|
@ -3167,7 +3682,17 @@
|
|||
"RefreshTokenValidity":{"shape":"RefreshTokenValidityType"},
|
||||
"ReadAttributes":{"shape":"ClientPermissionListType"},
|
||||
"WriteAttributes":{"shape":"ClientPermissionListType"},
|
||||
"ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"}
|
||||
"ExplicitAuthFlows":{"shape":"ExplicitAuthFlowsListType"},
|
||||
"SupportedIdentityProviders":{"shape":"SupportedIdentityProvidersListType"},
|
||||
"CallbackURLs":{"shape":"CallbackURLsListType"},
|
||||
"LogoutURLs":{"shape":"LogoutURLsListType"},
|
||||
"DefaultRedirectURI":{"shape":"RedirectUrlType"},
|
||||
"AllowedOAuthFlows":{"shape":"OAuthFlowsType"},
|
||||
"AllowedOAuthScopes":{"shape":"ScopeListType"},
|
||||
"AllowedOAuthFlowsUserPoolClient":{
|
||||
"shape":"BooleanType",
|
||||
"box":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"UserPoolDescriptionType":{
|
||||
|
@ -3236,6 +3761,7 @@
|
|||
"SchemaAttributes":{"shape":"SchemaAttributesListType"},
|
||||
"AutoVerifiedAttributes":{"shape":"VerifiedAttributesListType"},
|
||||
"AliasAttributes":{"shape":"AliasAttributesListType"},
|
||||
"UsernameAttributes":{"shape":"UsernameAttributesListType"},
|
||||
"SmsVerificationMessage":{"shape":"SmsVerificationMessageType"},
|
||||
"EmailVerificationMessage":{"shape":"EmailVerificationMessageType"},
|
||||
"EmailVerificationSubject":{"shape":"EmailVerificationSubjectType"},
|
||||
|
@ -3275,6 +3801,17 @@
|
|||
"MFAOptions":{"shape":"MFAOptionListType"}
|
||||
}
|
||||
},
|
||||
"UsernameAttributeType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"phone_number",
|
||||
"email"
|
||||
]
|
||||
},
|
||||
"UsernameAttributesListType":{
|
||||
"type":"list",
|
||||
"member":{"shape":"UsernameAttributeType"}
|
||||
},
|
||||
"UsernameExistsException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -3307,6 +3844,7 @@
|
|||
"VerifyUserAttributeRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"AccessToken",
|
||||
"AttributeName",
|
||||
"Code"
|
||||
],
|
||||
|
|
513
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json
generated
vendored
513
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json
generated
vendored
File diff suppressed because it is too large
Load diff
4
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/paginators-1.json
generated
vendored
Normal file
4
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/paginators-1.json
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
3
vendor/github.com/aws/aws-sdk-go/models/apis/config/2014-11-12/api-2.json
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/models/apis/config/2014-11-12/api-2.json
generated
vendored
|
@ -1294,7 +1294,8 @@
|
|||
"AWS::Redshift::ClusterParameterGroup",
|
||||
"AWS::Redshift::ClusterSecurityGroup",
|
||||
"AWS::Redshift::ClusterSubnetGroup",
|
||||
"AWS::Redshift::EventSubscription"
|
||||
"AWS::Redshift::EventSubscription",
|
||||
"AWS::CloudWatch::Alarm"
|
||||
]
|
||||
},
|
||||
"ResourceTypeList":{
|
||||
|
|
1085
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/api-2.json
generated
vendored
Normal file
1085
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/api-2.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
751
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/docs-2.json
generated
vendored
Normal file
751
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/docs-2.json
generated
vendored
Normal file
|
@ -0,0 +1,751 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can create a DAX cluster easily, using the AWS Management Console. With a few simple modifications to your code, your application can begin taking advantage of the DAX cluster and realize significant improvements in read performance.</p>",
|
||||
"operations": {
|
||||
"CreateCluster": "<p>Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.</p>",
|
||||
"CreateParameterGroup": "<p>Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.</p>",
|
||||
"CreateSubnetGroup": "<p>Creates a new subnet group.</p>",
|
||||
"DecreaseReplicationFactor": "<p>Removes one or more nodes from a DAX cluster.</p> <note> <p>You cannot use <code>DecreaseReplicationFactor</code> to remove the last node in a DAX cluster. If you need to do this, use <code>DeleteCluster</code> instead.</p> </note>",
|
||||
"DeleteCluster": "<p>Deletes a previously provisioned DAX cluster. <i>DeleteCluster</i> deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.</p>",
|
||||
"DeleteParameterGroup": "<p>Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.</p>",
|
||||
"DeleteSubnetGroup": "<p>Deletes a subnet group.</p> <note> <p>You cannot delete a subnet group if it is associated with any DAX clusters.</p> </note>",
|
||||
"DescribeClusters": "<p>Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.</p> <p>If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.</p> <p>If the cluster is in the DELETING state, only cluster level information will be displayed.</p> <p>If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is <i>available</i>, the cluster is ready for use.</p> <p>If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.</p>",
|
||||
"DescribeDefaultParameters": "<p>Returns the default system parameter information for the DAX caching software.</p>",
|
||||
"DescribeEvents": "<p>Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.</p> <p>By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.</p>",
|
||||
"DescribeParameterGroups": "<p>Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.</p>",
|
||||
"DescribeParameters": "<p>Returns the detailed parameter list for a particular parameter group.</p>",
|
||||
"DescribeSubnetGroups": "<p>Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.</p>",
|
||||
"IncreaseReplicationFactor": "<p>Adds one or more nodes to a DAX cluster.</p>",
|
||||
"ListTags": "<p>List all of the tags for a DAX cluster. You can call <code>ListTags</code> up to 10 times per second, per account.</p>",
|
||||
"RebootNode": "<p>Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.</p>",
|
||||
"TagResource": "<p>Associates a set of tags with a DAX resource. You can call <code>TagResource</code> up to 5 times per second, per account. </p>",
|
||||
"UntagResource": "<p>Removes the association of tags from a DAX resource. You can call <code>UntagResource</code> up to 5 times per second, per account. </p>",
|
||||
"UpdateCluster": "<p>Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.</p>",
|
||||
"UpdateParameterGroup": "<p>Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.</p>",
|
||||
"UpdateSubnetGroup": "<p>Modifies an existing subnet group.</p>"
|
||||
},
|
||||
"shapes": {
|
||||
"AvailabilityZoneList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateClusterRequest$AvailabilityZones": "<p>The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs.</p>",
|
||||
"DecreaseReplicationFactorRequest$AvailabilityZones": "<p>The Availability Zone(s) from which to remove nodes.</p>",
|
||||
"IncreaseReplicationFactorRequest$AvailabilityZones": "<p>The Availability Zones (AZs) in which the cluster nodes will be created. All nodes belonging to the cluster are placed in these Availability Zones. Use this parameter if you want to distribute the nodes across multiple AZs.</p>"
|
||||
}
|
||||
},
|
||||
"AwsQueryErrorMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"InvalidParameterCombinationException$message": null,
|
||||
"InvalidParameterValueException$message": null
|
||||
}
|
||||
},
|
||||
"ChangeType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Parameter$ChangeType": "<p>The conditions under which changes to this parameter can be applied. For example, <code>requires-reboot</code> indicates that a new value for this parameter will only take effect if a node is rebooted.</p>"
|
||||
}
|
||||
},
|
||||
"Cluster": {
|
||||
"base": "<p>Contains all of the attributes of a specific DAX cluster.</p>",
|
||||
"refs": {
|
||||
"ClusterList$member": null,
|
||||
"CreateClusterResponse$Cluster": "<p>A description of the DAX cluster that you have created.</p>",
|
||||
"DecreaseReplicationFactorResponse$Cluster": "<p>A description of the DAX cluster, after you have decreased its replication factor.</p>",
|
||||
"DeleteClusterResponse$Cluster": "<p>A description of the DAX cluster that is being deleted.</p>",
|
||||
"IncreaseReplicationFactorResponse$Cluster": "<p>A description of the DAX cluster. with its new replication factor.</p>",
|
||||
"RebootNodeResponse$Cluster": "<p>A description of the DAX cluster after a node has been rebooted.</p>",
|
||||
"UpdateClusterResponse$Cluster": "<p>A description of the DAX cluster, after it has been modified.</p>"
|
||||
}
|
||||
},
|
||||
"ClusterAlreadyExistsFault": {
|
||||
"base": "<p>You already have a DAX cluster with the given identifier.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ClusterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeClustersResponse$Clusters": "<p>The descriptions of your DAX clusters, in response to a <i>DescribeClusters</i> request.</p>"
|
||||
}
|
||||
},
|
||||
"ClusterNameList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeClustersRequest$ClusterNames": "<p>The names of the DAX clusters being described.</p>"
|
||||
}
|
||||
},
|
||||
"ClusterNotFoundFault": {
|
||||
"base": "<p>The requested cluster ID does not refer to an existing DAX cluster.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ClusterQuotaForCustomerExceededFault": {
|
||||
"base": "<p>You have attempted to exceed the maximum number of DAX clusters for your AWS account.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateClusterRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateClusterResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateParameterGroupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateParameterGroupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateSubnetGroupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateSubnetGroupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DecreaseReplicationFactorRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DecreaseReplicationFactorResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteClusterRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteClusterResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteParameterGroupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteParameterGroupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteSubnetGroupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteSubnetGroupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeClustersRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeClustersResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeDefaultParametersRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeDefaultParametersResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventsRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventsResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeParameterGroupsRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeParameterGroupsResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeParametersRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeParametersResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeSubnetGroupsRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeSubnetGroupsResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Endpoint": {
|
||||
"base": "<p>Represents the information required for client programs to connect to the configuration endpoint for a DAX cluster, or to an individual node within the cluster.</p>",
|
||||
"refs": {
|
||||
"Cluster$ClusterDiscoveryEndpoint": "<p>The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number. Client applications can specify this endpoint, rather than an individual node endpoint, and allow the DAX client software to intelligently route requests and responses to nodes in the DAX cluster.</p>",
|
||||
"Node$Endpoint": "<p>The endpoint for the node, consisting of a DNS name and a port number. Client applications can connect directly to a node endpoint, if desired (as an alternative to allowing DAX client software to intelligently route requests and responses to nodes in the DAX cluster.</p>"
|
||||
}
|
||||
},
|
||||
"Event": {
|
||||
"base": "<p>Represents a single occurrence of something interesting within the system. Some examples of events are creating a DAX cluster, adding or removing a node, or rebooting a node.</p>",
|
||||
"refs": {
|
||||
"EventList$member": null
|
||||
}
|
||||
},
|
||||
"EventList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEventsResponse$Events": "<p>An array of events. Each element in the array represents one event.</p>"
|
||||
}
|
||||
},
|
||||
"IncreaseReplicationFactorRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"IncreaseReplicationFactorResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InsufficientClusterCapacityFault": {
|
||||
"base": "<p>There are not enough system resources to create the cluster you requested (or to resize an already-existing cluster). </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Integer": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateClusterRequest$ReplicationFactor": "<p>The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas. For additional fault tolerance, you can create a multiple node cluster with one or more read replicas. To do this, set <i>ReplicationFactor</i> to 2 or more.</p> <note> <p>AWS recommends that you have at least two read replicas per cluster.</p> </note>",
|
||||
"DecreaseReplicationFactorRequest$NewReplicationFactor": "<p>The new number of nodes for the DAX cluster.</p>",
|
||||
"Endpoint$Port": "<p>The port number that applications should use to connect to the endpoint.</p>",
|
||||
"IncreaseReplicationFactorRequest$NewReplicationFactor": "<p>The new number of nodes for the DAX cluster.</p>"
|
||||
}
|
||||
},
|
||||
"IntegerOptional": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Cluster$TotalNodes": "<p>The total number of nodes in the cluster.</p>",
|
||||
"Cluster$ActiveNodes": "<p>The number of nodes in the cluster that are active (i.e., capable of serving requests).</p>",
|
||||
"DescribeClustersRequest$MaxResults": "<p>The maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</p>",
|
||||
"DescribeDefaultParametersRequest$MaxResults": "<p>The maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</p>",
|
||||
"DescribeEventsRequest$Duration": "<p>The number of minutes' worth of events to retrieve.</p>",
|
||||
"DescribeEventsRequest$MaxResults": "<p>The maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</p>",
|
||||
"DescribeParameterGroupsRequest$MaxResults": "<p>The maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</p>",
|
||||
"DescribeParametersRequest$MaxResults": "<p>The maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</p>",
|
||||
"DescribeSubnetGroupsRequest$MaxResults": "<p>The maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p> <p>The value for <code>MaxResults</code> must be between 20 and 100.</p>"
|
||||
}
|
||||
},
|
||||
"InvalidARNFault": {
|
||||
"base": "<p>The Amazon Resource Name (ARN) supplied in the request is not valid.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidClusterStateFault": {
|
||||
"base": "<p>The requested DAX cluster is not in the <i>available</i> state.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidParameterCombinationException": {
|
||||
"base": "<p>Two or more incompatible parameters were specified.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidParameterGroupStateFault": {
|
||||
"base": "<p>One or more parameters in a parameter group are in an invalid state.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidParameterValueException": {
|
||||
"base": "<p>The value for a parameter is invalid.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidSubnet": {
|
||||
"base": "<p>An invalid subnet identifier was specified.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidVPCNetworkStateFault": {
|
||||
"base": "<p>The VPC network is in an invalid state.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"IsModifiable": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Parameter$IsModifiable": "<p>Whether the customer is allowed to modify the parameter.</p>"
|
||||
}
|
||||
},
|
||||
"KeyList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"UntagResourceRequest$TagKeys": "<p>A list of tag keys. If the DAX cluster has any tags with these keys, then the tags are removed from the cluster.</p>"
|
||||
}
|
||||
},
|
||||
"ListTagsRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ListTagsResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Node": {
|
||||
"base": "<p>Represents an individual node within a DAX cluster.</p>",
|
||||
"refs": {
|
||||
"NodeList$member": null
|
||||
}
|
||||
},
|
||||
"NodeIdentifierList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Cluster$NodeIdsToRemove": "<p>A list of nodes to be removed from the cluster.</p>",
|
||||
"DecreaseReplicationFactorRequest$NodeIdsToRemove": "<p>The unique identifiers of the nodes to be removed from the cluster.</p>",
|
||||
"ParameterGroupStatus$NodeIdsToReboot": "<p>The node IDs of one or more nodes to be rebooted.</p>"
|
||||
}
|
||||
},
|
||||
"NodeList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Cluster$Nodes": "<p>A list of nodes that are currently in the cluster.</p>"
|
||||
}
|
||||
},
|
||||
"NodeNotFoundFault": {
|
||||
"base": "<p>None of the nodes in the cluster have the given node ID.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"NodeQuotaForClusterExceededFault": {
|
||||
"base": "<p>You have attempted to exceed the maximum number of nodes for a DAX cluster.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"NodeQuotaForCustomerExceededFault": {
|
||||
"base": "<p>You have attempted to exceed the maximum number of nodes for your AWS account.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"NodeTypeSpecificValue": {
|
||||
"base": "<p>Represents a parameter value that is applicable to a particular node type.</p>",
|
||||
"refs": {
|
||||
"NodeTypeSpecificValueList$member": null
|
||||
}
|
||||
},
|
||||
"NodeTypeSpecificValueList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Parameter$NodeTypeSpecificValues": "<p>A list of node types, and specific parameter values for each node.</p>"
|
||||
}
|
||||
},
|
||||
"NotificationConfiguration": {
|
||||
"base": "<p>Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).</p>",
|
||||
"refs": {
|
||||
"Cluster$NotificationConfiguration": "<p>Describes a notification topic and its status. Notification topics are used for publishing DAX events to subscribers using Amazon Simple Notification Service (SNS).</p>"
|
||||
}
|
||||
},
|
||||
"Parameter": {
|
||||
"base": "<p>Describes an individual setting that controls some aspect of DAX behavior.</p>",
|
||||
"refs": {
|
||||
"ParameterList$member": null
|
||||
}
|
||||
},
|
||||
"ParameterGroup": {
|
||||
"base": "<p>A named set of parameters that are applied to all of the nodes in a DAX cluster.</p>",
|
||||
"refs": {
|
||||
"CreateParameterGroupResponse$ParameterGroup": "<p>Represents the output of a <i>CreateParameterGroup</i> action.</p>",
|
||||
"ParameterGroupList$member": null,
|
||||
"UpdateParameterGroupResponse$ParameterGroup": "<p>The parameter group that has been modified.</p>"
|
||||
}
|
||||
},
|
||||
"ParameterGroupAlreadyExistsFault": {
|
||||
"base": "<p>The specified parameter group already exists.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ParameterGroupList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeParameterGroupsResponse$ParameterGroups": "<p>An array of parameter groups. Each element in the array represents one parameter group.</p>"
|
||||
}
|
||||
},
|
||||
"ParameterGroupNameList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeParameterGroupsRequest$ParameterGroupNames": "<p>The names of the parameter groups.</p>"
|
||||
}
|
||||
},
|
||||
"ParameterGroupNotFoundFault": {
|
||||
"base": "<p>The specified parameter group does not exist.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ParameterGroupQuotaExceededFault": {
|
||||
"base": "<p>You have attempted to exceed the maximum number of parameter groups.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ParameterGroupStatus": {
|
||||
"base": "<p>The status of a parameter group.</p>",
|
||||
"refs": {
|
||||
"Cluster$ParameterGroup": "<p>The parameter group being used by nodes in the cluster.</p>"
|
||||
}
|
||||
},
|
||||
"ParameterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeDefaultParametersResponse$Parameters": "<p>A list of parameters. Each element in the list represents one parameter.</p>",
|
||||
"DescribeParametersResponse$Parameters": "<p>A list of parameters within a parameter group. Each element in the list represents one parameter.</p>"
|
||||
}
|
||||
},
|
||||
"ParameterNameValue": {
|
||||
"base": "<p>An individual DAX parameter.</p>",
|
||||
"refs": {
|
||||
"ParameterNameValueList$member": null
|
||||
}
|
||||
},
|
||||
"ParameterNameValueList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"UpdateParameterGroupRequest$ParameterNameValues": "<p>An array of name-value pairs for the parameters in the group. Each element in the array represents a single parameter.</p>"
|
||||
}
|
||||
},
|
||||
"ParameterType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Parameter$ParameterType": "<p>Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.</p>"
|
||||
}
|
||||
},
|
||||
"RebootNodeRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"RebootNodeResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SecurityGroupIdentifierList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateClusterRequest$SecurityGroupIds": "<p>A list of security group IDs to be assigned to each node in the DAX cluster. (Each of the security group ID is system-generated.)</p> <p>If this parameter is not specified, DAX assigns the default VPC security group to each node.</p>",
|
||||
"UpdateClusterRequest$SecurityGroupIds": "<p>A list of user-specified security group IDs to be assigned to each node in the DAX cluster. If this parameter is not specified, DAX assigns the default VPC security group to each node.</p>"
|
||||
}
|
||||
},
|
||||
"SecurityGroupMembership": {
|
||||
"base": "<p>An individual VPC security group and its status.</p>",
|
||||
"refs": {
|
||||
"SecurityGroupMembershipList$member": null
|
||||
}
|
||||
},
|
||||
"SecurityGroupMembershipList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Cluster$SecurityGroups": "<p>A list of security groups, and the status of each, for the nodes in the cluster.</p>"
|
||||
}
|
||||
},
|
||||
"SourceType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEventsRequest$SourceType": "<p>The event source to retrieve events for. If no value is specified, all events are returned.</p>",
|
||||
"Event$SourceType": "<p>Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.</p>"
|
||||
}
|
||||
},
|
||||
"String": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AvailabilityZoneList$member": null,
|
||||
"Cluster$ClusterName": "<p>The name of the DAX cluster.</p>",
|
||||
"Cluster$Description": "<p>The description of the cluster.</p>",
|
||||
"Cluster$ClusterArn": "<p>The Amazon Resource Name (ARN) that uniquely identifies the cluster. </p>",
|
||||
"Cluster$NodeType": "<p>The node type for the nodes in the cluster. (All nodes in a DAX cluster are of the same type.)</p>",
|
||||
"Cluster$Status": "<p>The current status of the cluster.</p>",
|
||||
"Cluster$PreferredMaintenanceWindow": "<p>A range of time when maintenance of DAX cluster software will be performed. For example: <code>sun:01:00-sun:09:00</code>. Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window.</p>",
|
||||
"Cluster$SubnetGroup": "<p>The subnet group where the DAX cluster is running.</p>",
|
||||
"Cluster$IamRoleArn": "<p>A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf.</p>",
|
||||
"ClusterNameList$member": null,
|
||||
"CreateClusterRequest$ClusterName": "<p>The cluster identifier. This parameter is stored as a lowercase string.</p> <p> <b>Constraints:</b> </p> <ul> <li> <p>A name must contain from 1 to 20 alphanumeric characters or hyphens.</p> </li> <li> <p>The first character must be a letter.</p> </li> <li> <p>A name cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>",
|
||||
"CreateClusterRequest$NodeType": "<p>The compute and memory capacity of the nodes in the cluster.</p>",
|
||||
"CreateClusterRequest$Description": "<p>A description of the cluster.</p>",
|
||||
"CreateClusterRequest$SubnetGroupName": "<p>The name of the subnet group to be used for the replication group.</p> <important> <p>DAX clusters can only run in an Amazon VPC environment. All of the subnets that you specify in a subnet group must exist in the same VPC.</p> </important>",
|
||||
"CreateClusterRequest$PreferredMaintenanceWindow": "<p>Specifies the weekly time range during which maintenance on the DAX 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 <code>ddd</code> are:</p> <ul> <li> <p> <code>sun</code> </p> </li> <li> <p> <code>mon</code> </p> </li> <li> <p> <code>tue</code> </p> </li> <li> <p> <code>wed</code> </p> </li> <li> <p> <code>thu</code> </p> </li> <li> <p> <code>fri</code> </p> </li> <li> <p> <code>sat</code> </p> </li> </ul> <p>Example: <code>sun:05:00-sun:09:00</code> </p> <note> <p>If you don't specify a preferred maintenance window when you create or modify a cache cluster, DAX assigns a 60-minute maintenance window on a randomly selected day of the week.</p> </note>",
|
||||
"CreateClusterRequest$NotificationTopicArn": "<p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent.</p> <note> <p>The Amazon SNS topic owner must be same as the DAX cluster owner.</p> </note>",
|
||||
"CreateClusterRequest$IamRoleArn": "<p>A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf.</p>",
|
||||
"CreateClusterRequest$ParameterGroupName": "<p>The parameter group to be associated with the DAX cluster.</p>",
|
||||
"CreateParameterGroupRequest$ParameterGroupName": "<p>The name of the parameter group to apply to all of the clusters in this replication group.</p>",
|
||||
"CreateParameterGroupRequest$Description": "<p>A description of the parameter group.</p>",
|
||||
"CreateSubnetGroupRequest$SubnetGroupName": "<p>A name for the subnet group. This value is stored as a lowercase string. </p>",
|
||||
"CreateSubnetGroupRequest$Description": "<p>A description for the subnet group</p>",
|
||||
"DecreaseReplicationFactorRequest$ClusterName": "<p>The name of the DAX cluster from which you want to remove nodes.</p>",
|
||||
"DeleteClusterRequest$ClusterName": "<p>The name of the cluster to be deleted.</p>",
|
||||
"DeleteParameterGroupRequest$ParameterGroupName": "<p>The name of the parameter group to delete.</p>",
|
||||
"DeleteParameterGroupResponse$DeletionMessage": "<p>A user-specified message for this action (i.e., a reason for deleting the parameter group).</p>",
|
||||
"DeleteSubnetGroupRequest$SubnetGroupName": "<p>The name of the subnet group to delete.</p>",
|
||||
"DeleteSubnetGroupResponse$DeletionMessage": "<p>A user-specified message for this action (i.e., a reason for deleting the subnet group).</p>",
|
||||
"DescribeClustersRequest$NextToken": "<p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.</p>",
|
||||
"DescribeClustersResponse$NextToken": "<p>Provides an identifier to allow retrieval of paginated results.</p>",
|
||||
"DescribeDefaultParametersRequest$NextToken": "<p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.</p>",
|
||||
"DescribeDefaultParametersResponse$NextToken": "<p>Provides an identifier to allow retrieval of paginated results.</p>",
|
||||
"DescribeEventsRequest$SourceName": "<p>The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.</p>",
|
||||
"DescribeEventsRequest$NextToken": "<p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.</p>",
|
||||
"DescribeEventsResponse$NextToken": "<p>Provides an identifier to allow retrieval of paginated results.</p>",
|
||||
"DescribeParameterGroupsRequest$NextToken": "<p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.</p>",
|
||||
"DescribeParameterGroupsResponse$NextToken": "<p>Provides an identifier to allow retrieval of paginated results.</p>",
|
||||
"DescribeParametersRequest$ParameterGroupName": "<p>The name of the parameter group.</p>",
|
||||
"DescribeParametersRequest$Source": "<p>How the parameter is defined. For example, <code>system</code> denotes a system-defined parameter.</p>",
|
||||
"DescribeParametersRequest$NextToken": "<p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.</p>",
|
||||
"DescribeParametersResponse$NextToken": "<p>Provides an identifier to allow retrieval of paginated results.</p>",
|
||||
"DescribeSubnetGroupsRequest$NextToken": "<p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by <code>MaxResults</code>.</p>",
|
||||
"DescribeSubnetGroupsResponse$NextToken": "<p>Provides an identifier to allow retrieval of paginated results.</p>",
|
||||
"Endpoint$Address": "<p>The DNS hostname of the endpoint.</p>",
|
||||
"Event$SourceName": "<p>The source of the event. For example, if the event occurred at the node level, the source would be the node ID.</p>",
|
||||
"Event$Message": "<p>A user-defined message associated with the event.</p>",
|
||||
"IncreaseReplicationFactorRequest$ClusterName": "<p>The name of the DAX cluster that will receive additional nodes.</p>",
|
||||
"KeyList$member": null,
|
||||
"ListTagsRequest$ResourceName": "<p>The name of the DAX resource to which the tags belong.</p>",
|
||||
"ListTagsRequest$NextToken": "<p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token.</p>",
|
||||
"ListTagsResponse$NextToken": "<p>If this value is present, there are additional results to be displayed. To retrieve them, call <code>ListTags</code> again, with <code>NextToken</code> set to this value.</p>",
|
||||
"Node$NodeId": "<p>A system-generated identifier for the node.</p>",
|
||||
"Node$AvailabilityZone": "<p>The Availability Zone (AZ) in which the node has been deployed.</p>",
|
||||
"Node$NodeStatus": "<p>The current status of the node. For example: <code>available</code>.</p>",
|
||||
"Node$ParameterGroupStatus": "<p>The status of the parameter group associated with this node. For example, <code>in-sync</code>.</p>",
|
||||
"NodeIdentifierList$member": null,
|
||||
"NodeTypeSpecificValue$NodeType": "<p>A node type to which the parameter value applies.</p>",
|
||||
"NodeTypeSpecificValue$Value": "<p>The parameter value for this node type.</p>",
|
||||
"NotificationConfiguration$TopicArn": "<p>The Amazon Resource Name (ARN) that identifies the topic. </p>",
|
||||
"NotificationConfiguration$TopicStatus": "<p>The current state of the topic.</p>",
|
||||
"Parameter$ParameterName": "<p>The name of the parameter.</p>",
|
||||
"Parameter$ParameterValue": "<p>The value for the parameter.</p>",
|
||||
"Parameter$Description": "<p>A description of the parameter</p>",
|
||||
"Parameter$Source": "<p>How the parameter is defined. For example, <code>system</code> denotes a system-defined parameter.</p>",
|
||||
"Parameter$DataType": "<p>The data type of the parameter. For example, <code>integer</code>:</p>",
|
||||
"Parameter$AllowedValues": "<p>A range of values within which the parameter can be set.</p>",
|
||||
"ParameterGroup$ParameterGroupName": "<p>The name of the parameter group.</p>",
|
||||
"ParameterGroup$Description": "<p>A description of the parameter group.</p>",
|
||||
"ParameterGroupNameList$member": null,
|
||||
"ParameterGroupStatus$ParameterGroupName": "<p>The name of the parameter group.</p>",
|
||||
"ParameterGroupStatus$ParameterApplyStatus": "<p>The status of parameter updates. </p>",
|
||||
"ParameterNameValue$ParameterName": "<p>The name of the parameter.</p>",
|
||||
"ParameterNameValue$ParameterValue": "<p>The value of the parameter.</p>",
|
||||
"RebootNodeRequest$ClusterName": "<p>The name of the DAX cluster containing the node to be rebooted.</p>",
|
||||
"RebootNodeRequest$NodeId": "<p>The system-assigned ID of the node to be rebooted.</p>",
|
||||
"SecurityGroupIdentifierList$member": null,
|
||||
"SecurityGroupMembership$SecurityGroupIdentifier": "<p>The unique ID for this security group.</p>",
|
||||
"SecurityGroupMembership$Status": "<p>The status of this security group.</p>",
|
||||
"Subnet$SubnetIdentifier": "<p>The system-assigned identifier for the subnet.</p>",
|
||||
"Subnet$SubnetAvailabilityZone": "<p>The Availability Zone (AZ) for subnet subnet.</p>",
|
||||
"SubnetGroup$SubnetGroupName": "<p>The name of the subnet group.</p>",
|
||||
"SubnetGroup$Description": "<p>The description of the subnet group.</p>",
|
||||
"SubnetGroup$VpcId": "<p>The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.</p>",
|
||||
"SubnetGroupNameList$member": null,
|
||||
"SubnetIdentifierList$member": null,
|
||||
"Tag$Key": "<p>The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.</p>",
|
||||
"Tag$Value": "<p>The value of the tag. Tag values are case-sensitive and can be null. </p>",
|
||||
"TagResourceRequest$ResourceName": "<p>The name of the DAX resource to which tags should be added.</p>",
|
||||
"UntagResourceRequest$ResourceName": "<p>The name of the DAX resource from which the tags should be removed.</p>",
|
||||
"UpdateClusterRequest$ClusterName": "<p>The name of the DAX cluster to be modified.</p>",
|
||||
"UpdateClusterRequest$Description": "<p>A description of the changes being made to the cluster.</p>",
|
||||
"UpdateClusterRequest$PreferredMaintenanceWindow": "<p>A range of time when maintenance of DAX cluster software will be performed. For example: <code>sun:01:00-sun:09:00</code>. Cluster maintenance normally takes less than 30 minutes, and is performed automatically within the maintenance window.</p>",
|
||||
"UpdateClusterRequest$NotificationTopicArn": "<p>The Amazon Resource Name (ARN) that identifies the topic.</p>",
|
||||
"UpdateClusterRequest$NotificationTopicStatus": "<p>The current state of the topic.</p>",
|
||||
"UpdateClusterRequest$ParameterGroupName": "<p>The name of a parameter group for this cluster.</p>",
|
||||
"UpdateParameterGroupRequest$ParameterGroupName": "<p>The name of the parameter group.</p>",
|
||||
"UpdateSubnetGroupRequest$SubnetGroupName": "<p>The name of the subnet group.</p>",
|
||||
"UpdateSubnetGroupRequest$Description": "<p>A description of the subnet group.</p>"
|
||||
}
|
||||
},
|
||||
"Subnet": {
|
||||
"base": "<p>Represents the subnet associated with a DAX cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with DAX.</p>",
|
||||
"refs": {
|
||||
"SubnetList$member": null
|
||||
}
|
||||
},
|
||||
"SubnetGroup": {
|
||||
"base": "<p>Represents the output of one of the following actions:</p> <ul> <li> <p> <i>CreateSubnetGroup</i> </p> </li> <li> <p> <i>ModifySubnetGroup</i> </p> </li> </ul>",
|
||||
"refs": {
|
||||
"CreateSubnetGroupResponse$SubnetGroup": "<p>Represents the output of a <i>CreateSubnetGroup</i> operation.</p>",
|
||||
"SubnetGroupList$member": null,
|
||||
"UpdateSubnetGroupResponse$SubnetGroup": "<p>The subnet group that has been modified.</p>"
|
||||
}
|
||||
},
|
||||
"SubnetGroupAlreadyExistsFault": {
|
||||
"base": "<p>The specified subnet group already exists.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SubnetGroupInUseFault": {
|
||||
"base": "<p>The specified subnet group is currently in use.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SubnetGroupList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeSubnetGroupsResponse$SubnetGroups": "<p>An array of subnet groups. Each element in the array represents a single subnet group.</p>"
|
||||
}
|
||||
},
|
||||
"SubnetGroupNameList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeSubnetGroupsRequest$SubnetGroupNames": "<p>The name of the subnet group.</p>"
|
||||
}
|
||||
},
|
||||
"SubnetGroupNotFoundFault": {
|
||||
"base": "<p>The requested subnet group name does not refer to an existing subnet group.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SubnetGroupQuotaExceededFault": {
|
||||
"base": "<p>The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SubnetIdentifierList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateSubnetGroupRequest$SubnetIds": "<p>A list of VPC subnet IDs for the subnet group.</p>",
|
||||
"UpdateSubnetGroupRequest$SubnetIds": "<p>A list of subnet IDs in the subnet group.</p>"
|
||||
}
|
||||
},
|
||||
"SubnetInUse": {
|
||||
"base": "<p>The requested subnet is being used by another subnet group.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SubnetList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"SubnetGroup$Subnets": "<p>A list of subnets associated with the subnet group. </p>"
|
||||
}
|
||||
},
|
||||
"SubnetQuotaExceededFault": {
|
||||
"base": "<p>The request cannot be processed because it would exceed the allowed number of subnets in a subnet group.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"TStamp": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEventsRequest$StartTime": "<p>The beginning of the time interval to retrieve events for, specified in ISO 8601 format.</p>",
|
||||
"DescribeEventsRequest$EndTime": "<p>The end of the time interval for which to retrieve events, specified in ISO 8601 format.</p>",
|
||||
"Event$Date": "<p>The date and time when the event occurred.</p>",
|
||||
"Node$NodeCreateTime": "<p>The date and time (in UNIX epoch format) when the node was launched.</p>"
|
||||
}
|
||||
},
|
||||
"Tag": {
|
||||
"base": "<p>A description of a tag. Every tag is a key-value pair. You can add up to 50 tags to a single DAX cluster.</p> <p>AWS-assigned tag names and values are automatically assigned the <code>aws:</code> prefix, which the user cannot assign. AWS-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix <code>user:</code>.</p> <p>You cannot backdate the application of a tag.</p>",
|
||||
"refs": {
|
||||
"TagList$member": null
|
||||
}
|
||||
},
|
||||
"TagList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateClusterRequest$Tags": "<p>A set of tags to associate with the DAX cluster. </p>",
|
||||
"ListTagsResponse$Tags": "<p>A list of tags currently associated with the DAX cluster.</p>",
|
||||
"TagResourceRequest$Tags": "<p>The tags to be assigned to the DAX resource. </p>",
|
||||
"TagResourceResponse$Tags": "<p>The list of tags that are associated with the DAX resource.</p>",
|
||||
"UntagResourceResponse$Tags": "<p>The tag keys that have been removed from the cluster.</p>"
|
||||
}
|
||||
},
|
||||
"TagNotFoundFault": {
|
||||
"base": "<p>The tag does not exist.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"TagQuotaPerResourceExceeded": {
|
||||
"base": "<p>You have exceeded the maximum number of tags for this DAX cluster.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"TagResourceRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"TagResourceResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UntagResourceRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UntagResourceResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateClusterRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateClusterResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateParameterGroupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateParameterGroupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateSubnetGroupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateSubnetGroupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
5
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/examples-1.json
generated
vendored
Normal file
5
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/examples-1.json
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
}
|
||||
}
|
4
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/paginators-1.json
generated
vendored
Normal file
4
vendor/github.com/aws/aws-sdk-go/models/apis/dax/2017-04-19/paginators-1.json
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
28
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/api-2.json
generated
vendored
28
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/api-2.json
generated
vendored
|
@ -594,6 +594,7 @@
|
|||
"type":"structure",
|
||||
"members":{
|
||||
"exportIds":{"shape":"ExportIds"},
|
||||
"filters":{"shape":"ExportFilters"},
|
||||
"maxResults":{"shape":"Integer"},
|
||||
"nextToken":{"shape":"NextToken"}
|
||||
}
|
||||
|
@ -653,6 +654,23 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"ExportDataFormat"}
|
||||
},
|
||||
"ExportFilter":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"name",
|
||||
"values",
|
||||
"condition"
|
||||
],
|
||||
"members":{
|
||||
"name":{"shape":"FilterName"},
|
||||
"values":{"shape":"FilterValues"},
|
||||
"condition":{"shape":"Condition"}
|
||||
}
|
||||
},
|
||||
"ExportFilters":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ExportFilter"}
|
||||
},
|
||||
"ExportIds":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ConfigurationsExportId"}
|
||||
|
@ -670,7 +688,10 @@
|
|||
"exportStatus":{"shape":"ExportStatus"},
|
||||
"statusMessage":{"shape":"ExportStatusMessage"},
|
||||
"configurationsDownloadUrl":{"shape":"ConfigurationsDownloadUrl"},
|
||||
"exportRequestTime":{"shape":"ExportRequestTime"}
|
||||
"exportRequestTime":{"shape":"ExportRequestTime"},
|
||||
"isTruncated":{"shape":"Boolean"},
|
||||
"requestedStartTime":{"shape":"TimeStamp"},
|
||||
"requestedEndTime":{"shape":"TimeStamp"}
|
||||
}
|
||||
},
|
||||
"ExportRequestTime":{"type":"timestamp"},
|
||||
|
@ -854,7 +875,10 @@
|
|||
"StartExportTaskRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"exportDataFormat":{"shape":"ExportDataFormats"}
|
||||
"exportDataFormat":{"shape":"ExportDataFormats"},
|
||||
"filters":{"shape":"ExportFilters"},
|
||||
"startTime":{"shape":"TimeStamp"},
|
||||
"endTime":{"shape":"TimeStamp"}
|
||||
}
|
||||
},
|
||||
"StartExportTaskResponse":{
|
||||
|
|
39
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/docs-2.json
generated
vendored
39
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/docs-2.json
generated
vendored
|
@ -18,7 +18,7 @@
|
|||
"ListConfigurations": "<p>Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria identifies the relationship requirements.</p>",
|
||||
"ListServerNeighbors": "<p>Retrieves a list of servers that are one network hop away from a specified server.</p>",
|
||||
"StartDataCollectionByAgentIds": "<p>Instructs the specified agents or connectors to start collecting data.</p>",
|
||||
"StartExportTask": "<p>Export the configuration data about discovered configuration items and relationships to an S3 bucket in a specified format.</p>",
|
||||
"StartExportTask": "<p> Begins the export of discovered data to an S3 bucket.</p> <p> If you specify <code>agentId</code> in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using <code>startTime</code> and <code>endTime</code>. Export of detailed agent data is limited to five concurrently running exports. </p> <p> If you do not include an <code>agentId</code> filter, summary data is exported that includes both AWS Agentless Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two exports per day. </p>",
|
||||
"StopDataCollectionByAgentIds": "<p>Instructs the specified agents or connectors to stop collecting data.</p>",
|
||||
"UpdateApplication": "<p>Updates metadata about an application.</p>"
|
||||
},
|
||||
|
@ -115,6 +115,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"AgentConfigurationStatus$operationSucceeded": "<p>Information about the status of the <code>StartDataCollection</code> and <code>StopDataCollection</code> operations. The system has recorded the data collection operation. The agent/connector receives this command the next time it polls for a new command. </p>",
|
||||
"ExportInfo$isTruncated": "<p>If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using <code>startDate</code> and <code>endDate</code>.</p>",
|
||||
"ListServerNeighborsRequest$portInformationNeeded": "<p>Flag to indicate if port and protocol information is needed as part of the response.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -127,6 +128,7 @@
|
|||
"Condition": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExportFilter$condition": "<p>Supported condition: <code>EQUALS</code> </p>",
|
||||
"Filter$condition": "<p>A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by <i>AND</i>. If you specify multiple values for a particular filter, the system differentiates the values using <i>OR</i>. Calling either <i>DescribeConfigurations</i> or <i>ListConfigurations</i> returns attributes of matching configuration items.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -185,7 +187,7 @@
|
|||
"ConfigurationsDownloadUrl": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExportInfo$configurationsDownloadUrl": "<p>A URL for an Amazon S3 bucket where you can review the configuration data. The URL is displayed only if the export succeeded.</p>"
|
||||
"ExportInfo$configurationsDownloadUrl": "<p>A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.</p>"
|
||||
}
|
||||
},
|
||||
"ConfigurationsExportId": {
|
||||
|
@ -193,8 +195,8 @@
|
|||
"refs": {
|
||||
"ExportConfigurationsResponse$exportId": "<p>A unique identifier that you can use to query the export status.</p>",
|
||||
"ExportIds$member": null,
|
||||
"ExportInfo$exportId": "<p>A unique identifier that you can use to query the export.</p>",
|
||||
"StartExportTaskResponse$exportId": "<p> A unique identifier used to query the status of an export request.</p>"
|
||||
"ExportInfo$exportId": "<p>A unique identifier used to query an export.</p>",
|
||||
"StartExportTaskResponse$exportId": "<p>A unique identifier used to query the status of an export request.</p>"
|
||||
}
|
||||
},
|
||||
"CreateApplicationRequest": {
|
||||
|
@ -338,6 +340,19 @@
|
|||
"StartExportTaskRequest$exportDataFormat": "<p>The file format for the returned export data. Default value is <code>CSV</code>.</p>"
|
||||
}
|
||||
},
|
||||
"ExportFilter": {
|
||||
"base": "<p>Used to select which agent's data is to be exported. A single agent ID may be selected for export using the <a href=\"http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html\">StartExportTask</a> action.</p>",
|
||||
"refs": {
|
||||
"ExportFilters$member": null
|
||||
}
|
||||
},
|
||||
"ExportFilters": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeExportTasksRequest$filters": "<p>One or more filters.</p> <ul> <li> <p> <code>AgentId</code> - ID of the agent whose collected data will be exported</p> </li> </ul>",
|
||||
"StartExportTaskRequest$filters": "<p>If a filter is present, it selects the single <code>agentId</code> of the Application Discovery Agent for which data is exported. The <code>agentId</code> can be found in the results of the <code>DescribeAgents</code> API or CLI. If no filter is present, <code>startTime</code> and <code>endTime</code> are ignored and exported data includes both Agentless Discovery Connector data and summary data from Application Discovery agents. </p>"
|
||||
}
|
||||
},
|
||||
"ExportIds": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -346,7 +361,7 @@
|
|||
}
|
||||
},
|
||||
"ExportInfo": {
|
||||
"base": "<p>Information regarding the export status of the discovered data. The value is an array of objects.</p>",
|
||||
"base": "<p>Information regarding the export status of discovered data. The value is an array of objects.</p>",
|
||||
"refs": {
|
||||
"ExportsInfo$member": null
|
||||
}
|
||||
|
@ -354,19 +369,19 @@
|
|||
"ExportRequestTime": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExportInfo$exportRequestTime": "<p>The time that the configuration data export was initiated.</p>"
|
||||
"ExportInfo$exportRequestTime": "<p>The time that the data export was initiated.</p>"
|
||||
}
|
||||
},
|
||||
"ExportStatus": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExportInfo$exportStatus": "<p>The status of the configuration data export. The status can succeed, fail, or be in-progress.</p>"
|
||||
"ExportInfo$exportStatus": "<p>The status of the data export job.</p>"
|
||||
}
|
||||
},
|
||||
"ExportStatusMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExportInfo$statusMessage": "<p>Helpful status messages for API callers. For example: Too many exports in the last 6 hours. Export in progress. Export was successful.</p>"
|
||||
"ExportInfo$statusMessage": "<p>A status message provided for API callers.</p>"
|
||||
}
|
||||
},
|
||||
"ExportsInfo": {
|
||||
|
@ -385,6 +400,7 @@
|
|||
"FilterName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExportFilter$name": "<p>A single <code>ExportFilter</code> name. Supported filters: <code>agentId</code>.</p>",
|
||||
"TagFilter$name": "<p>A name of the tag filter.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -397,6 +413,7 @@
|
|||
"FilterValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExportFilter$values": "<p>A single <code>agentId</code> for a Discovery Agent. An <code>agentId</code> can be found using the <a href=\"http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html\">DescribeAgents</a> action. Typically an ADS <code>agentId</code> is in the form <code>o-0123456789abcdef0</code>.</p>",
|
||||
"Filter$values": "<p>A string value on which to filter. For example, if you choose the <code>destinationServer.osVersion</code> filter name, you could specify <code>Ubuntu</code> for the value.</p>",
|
||||
"TagFilter$values": "<p>Values for the tag filter.</p>"
|
||||
}
|
||||
|
@ -651,7 +668,11 @@
|
|||
"TimeStamp": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ConfigurationTag$timeOfCreation": "<p>The time the configuration tag was created in Coordinated Universal Time (UTC).</p>"
|
||||
"ConfigurationTag$timeOfCreation": "<p>The time the configuration tag was created in Coordinated Universal Time (UTC).</p>",
|
||||
"ExportInfo$requestedStartTime": "<p>The value of <code>startTime</code> parameter in the <code>StartExportTask</code> request. If no <code>startTime</code> was requested, this result does not appear in <code>ExportInfo</code>.</p>",
|
||||
"ExportInfo$requestedEndTime": "<p>The <code>endTime</code> used in the <code>StartExportTask</code> request. If no <code>endTime</code> was requested, this result does not appear in <code>ExportInfo</code>.</p>",
|
||||
"StartExportTaskRequest$startTime": "<p>The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.</p>",
|
||||
"StartExportTaskRequest$endTime": "<p>The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.</p>"
|
||||
}
|
||||
},
|
||||
"UpdateApplicationRequest": {
|
||||
|
|
390
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/api-2.json
generated
vendored
390
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/api-2.json
generated
vendored
|
@ -40,6 +40,22 @@
|
|||
{"shape":"AccessDeniedFault"}
|
||||
]
|
||||
},
|
||||
"CreateEventSubscription":{
|
||||
"name":"CreateEventSubscription",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CreateEventSubscriptionMessage"},
|
||||
"output":{"shape":"CreateEventSubscriptionResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceQuotaExceededFault"},
|
||||
{"shape":"ResourceAlreadyExistsFault"},
|
||||
{"shape":"SNSInvalidTopicFault"},
|
||||
{"shape":"SNSNoAuthorizationFault"},
|
||||
{"shape":"ResourceNotFoundFault"}
|
||||
]
|
||||
},
|
||||
"CreateReplicationInstance":{
|
||||
"name":"CreateReplicationInstance",
|
||||
"http":{
|
||||
|
@ -87,6 +103,7 @@
|
|||
"input":{"shape":"CreateReplicationTaskMessage"},
|
||||
"output":{"shape":"CreateReplicationTaskResponse"},
|
||||
"errors":[
|
||||
{"shape":"AccessDeniedFault"},
|
||||
{"shape":"InvalidResourceStateFault"},
|
||||
{"shape":"ResourceAlreadyExistsFault"},
|
||||
{"shape":"ResourceNotFoundFault"},
|
||||
|
@ -120,6 +137,19 @@
|
|||
{"shape":"InvalidResourceStateFault"}
|
||||
]
|
||||
},
|
||||
"DeleteEventSubscription":{
|
||||
"name":"DeleteEventSubscription",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteEventSubscriptionMessage"},
|
||||
"output":{"shape":"DeleteEventSubscriptionResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundFault"},
|
||||
{"shape":"InvalidResourceStateFault"}
|
||||
]
|
||||
},
|
||||
"DeleteReplicationInstance":{
|
||||
"name":"DeleteReplicationInstance",
|
||||
"http":{
|
||||
|
@ -213,6 +243,36 @@
|
|||
{"shape":"ResourceNotFoundFault"}
|
||||
]
|
||||
},
|
||||
"DescribeEventCategories":{
|
||||
"name":"DescribeEventCategories",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeEventCategoriesMessage"},
|
||||
"output":{"shape":"DescribeEventCategoriesResponse"}
|
||||
},
|
||||
"DescribeEventSubscriptions":{
|
||||
"name":"DescribeEventSubscriptions",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeEventSubscriptionsMessage"},
|
||||
"output":{"shape":"DescribeEventSubscriptionsResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundFault"}
|
||||
]
|
||||
},
|
||||
"DescribeEvents":{
|
||||
"name":"DescribeEvents",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeEventsMessage"},
|
||||
"output":{"shape":"DescribeEventsResponse"}
|
||||
},
|
||||
"DescribeOrderableReplicationInstances":{
|
||||
"name":"DescribeOrderableReplicationInstances",
|
||||
"http":{
|
||||
|
@ -334,7 +394,23 @@
|
|||
{"shape":"InvalidResourceStateFault"},
|
||||
{"shape":"ResourceNotFoundFault"},
|
||||
{"shape":"ResourceAlreadyExistsFault"},
|
||||
{"shape":"KMSKeyNotAccessibleFault"}
|
||||
{"shape":"KMSKeyNotAccessibleFault"},
|
||||
{"shape":"AccessDeniedFault"}
|
||||
]
|
||||
},
|
||||
"ModifyEventSubscription":{
|
||||
"name":"ModifyEventSubscription",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"ModifyEventSubscriptionMessage"},
|
||||
"output":{"shape":"ModifyEventSubscriptionResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceQuotaExceededFault"},
|
||||
{"shape":"ResourceNotFoundFault"},
|
||||
{"shape":"SNSInvalidTopicFault"},
|
||||
{"shape":"SNSNoAuthorizationFault"}
|
||||
]
|
||||
},
|
||||
"ModifyReplicationInstance":{
|
||||
|
@ -401,6 +477,19 @@
|
|||
{"shape":"ResourceQuotaExceededFault"}
|
||||
]
|
||||
},
|
||||
"ReloadTables":{
|
||||
"name":"ReloadTables",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"ReloadTablesMessage"},
|
||||
"output":{"shape":"ReloadTablesResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundFault"},
|
||||
{"shape":"InvalidResourceStateFault"}
|
||||
]
|
||||
},
|
||||
"RemoveTagsFromResource":{
|
||||
"name":"RemoveTagsFromResource",
|
||||
"http":{
|
||||
|
@ -494,6 +583,21 @@
|
|||
"members":{
|
||||
}
|
||||
},
|
||||
"AuthMechanismValue":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"default",
|
||||
"mongodb_cr",
|
||||
"scram_sha_1"
|
||||
]
|
||||
},
|
||||
"AuthTypeValue":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"no",
|
||||
"password"
|
||||
]
|
||||
},
|
||||
"AvailabilityZone":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -525,6 +629,13 @@
|
|||
}
|
||||
},
|
||||
"CertificateWallet":{"type":"blob"},
|
||||
"CompressionTypeValue":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"none",
|
||||
"gzip"
|
||||
]
|
||||
},
|
||||
"Connection":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -563,7 +674,10 @@
|
|||
"KmsKeyId":{"shape":"String"},
|
||||
"Tags":{"shape":"TagList"},
|
||||
"CertificateArn":{"shape":"String"},
|
||||
"SslMode":{"shape":"DmsSslModeValue"}
|
||||
"SslMode":{"shape":"DmsSslModeValue"},
|
||||
"DynamoDbSettings":{"shape":"DynamoDbSettings"},
|
||||
"S3Settings":{"shape":"S3Settings"},
|
||||
"MongoDbSettings":{"shape":"MongoDbSettings"}
|
||||
}
|
||||
},
|
||||
"CreateEndpointResponse":{
|
||||
|
@ -572,6 +686,28 @@
|
|||
"Endpoint":{"shape":"Endpoint"}
|
||||
}
|
||||
},
|
||||
"CreateEventSubscriptionMessage":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SubscriptionName",
|
||||
"SnsTopicArn"
|
||||
],
|
||||
"members":{
|
||||
"SubscriptionName":{"shape":"String"},
|
||||
"SnsTopicArn":{"shape":"String"},
|
||||
"SourceType":{"shape":"String"},
|
||||
"EventCategories":{"shape":"EventCategoriesList"},
|
||||
"SourceIds":{"shape":"SourceIdsList"},
|
||||
"Enabled":{"shape":"BooleanOptional"},
|
||||
"Tags":{"shape":"TagList"}
|
||||
}
|
||||
},
|
||||
"CreateEventSubscriptionResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"EventSubscription":{"shape":"EventSubscription"}
|
||||
}
|
||||
},
|
||||
"CreateReplicationInstanceMessage":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -674,6 +810,19 @@
|
|||
"Endpoint":{"shape":"Endpoint"}
|
||||
}
|
||||
},
|
||||
"DeleteEventSubscriptionMessage":{
|
||||
"type":"structure",
|
||||
"required":["SubscriptionName"],
|
||||
"members":{
|
||||
"SubscriptionName":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"DeleteEventSubscriptionResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"EventSubscription":{"shape":"EventSubscription"}
|
||||
}
|
||||
},
|
||||
"DeleteReplicationInstanceMessage":{
|
||||
"type":"structure",
|
||||
"required":["ReplicationInstanceArn"],
|
||||
|
@ -783,6 +932,56 @@
|
|||
"Endpoints":{"shape":"EndpointList"}
|
||||
}
|
||||
},
|
||||
"DescribeEventCategoriesMessage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"SourceType":{"shape":"String"},
|
||||
"Filters":{"shape":"FilterList"}
|
||||
}
|
||||
},
|
||||
"DescribeEventCategoriesResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"EventCategoryGroupList":{"shape":"EventCategoryGroupList"}
|
||||
}
|
||||
},
|
||||
"DescribeEventSubscriptionsMessage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"SubscriptionName":{"shape":"String"},
|
||||
"Filters":{"shape":"FilterList"},
|
||||
"MaxRecords":{"shape":"IntegerOptional"},
|
||||
"Marker":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"DescribeEventSubscriptionsResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Marker":{"shape":"String"},
|
||||
"EventSubscriptionsList":{"shape":"EventSubscriptionsList"}
|
||||
}
|
||||
},
|
||||
"DescribeEventsMessage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"SourceIdentifier":{"shape":"String"},
|
||||
"SourceType":{"shape":"SourceType"},
|
||||
"StartTime":{"shape":"TStamp"},
|
||||
"EndTime":{"shape":"TStamp"},
|
||||
"Duration":{"shape":"IntegerOptional"},
|
||||
"EventCategories":{"shape":"EventCategoriesList"},
|
||||
"Filters":{"shape":"FilterList"},
|
||||
"MaxRecords":{"shape":"IntegerOptional"},
|
||||
"Marker":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"DescribeEventsResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Marker":{"shape":"String"},
|
||||
"Events":{"shape":"EventList"}
|
||||
}
|
||||
},
|
||||
"DescribeOrderableReplicationInstancesMessage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -897,6 +1096,13 @@
|
|||
"verify-full"
|
||||
]
|
||||
},
|
||||
"DynamoDbSettings":{
|
||||
"type":"structure",
|
||||
"required":["ServiceAccessRoleArn"],
|
||||
"members":{
|
||||
"ServiceAccessRoleArn":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"Endpoint":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -912,7 +1118,11 @@
|
|||
"KmsKeyId":{"shape":"String"},
|
||||
"EndpointArn":{"shape":"String"},
|
||||
"CertificateArn":{"shape":"String"},
|
||||
"SslMode":{"shape":"DmsSslModeValue"}
|
||||
"SslMode":{"shape":"DmsSslModeValue"},
|
||||
"ExternalId":{"shape":"String"},
|
||||
"DynamoDbSettings":{"shape":"DynamoDbSettings"},
|
||||
"S3Settings":{"shape":"S3Settings"},
|
||||
"MongoDbSettings":{"shape":"MongoDbSettings"}
|
||||
}
|
||||
},
|
||||
"EndpointList":{
|
||||
|
@ -922,6 +1132,65 @@
|
|||
"locationName":"Endpoint"
|
||||
}
|
||||
},
|
||||
"Event":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"SourceIdentifier":{"shape":"String"},
|
||||
"SourceType":{"shape":"SourceType"},
|
||||
"Message":{"shape":"String"},
|
||||
"EventCategories":{"shape":"EventCategoriesList"},
|
||||
"Date":{"shape":"TStamp"}
|
||||
}
|
||||
},
|
||||
"EventCategoriesList":{
|
||||
"type":"list",
|
||||
"member":{
|
||||
"shape":"String",
|
||||
"locationName":"EventCategory"
|
||||
}
|
||||
},
|
||||
"EventCategoryGroup":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"SourceType":{"shape":"String"},
|
||||
"EventCategories":{"shape":"EventCategoriesList"}
|
||||
}
|
||||
},
|
||||
"EventCategoryGroupList":{
|
||||
"type":"list",
|
||||
"member":{
|
||||
"shape":"EventCategoryGroup",
|
||||
"locationName":"EventCategoryGroup"
|
||||
}
|
||||
},
|
||||
"EventList":{
|
||||
"type":"list",
|
||||
"member":{
|
||||
"shape":"Event",
|
||||
"locationName":"Event"
|
||||
}
|
||||
},
|
||||
"EventSubscription":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"CustomerAwsId":{"shape":"String"},
|
||||
"CustSubscriptionId":{"shape":"String"},
|
||||
"SnsTopicArn":{"shape":"String"},
|
||||
"Status":{"shape":"String"},
|
||||
"SubscriptionCreationTime":{"shape":"String"},
|
||||
"SourceType":{"shape":"String"},
|
||||
"SourceIdsList":{"shape":"SourceIdsList"},
|
||||
"EventCategoriesList":{"shape":"EventCategoriesList"},
|
||||
"Enabled":{"shape":"Boolean"}
|
||||
}
|
||||
},
|
||||
"EventSubscriptionsList":{
|
||||
"type":"list",
|
||||
"member":{
|
||||
"shape":"EventSubscription",
|
||||
"locationName":"EventSubscription"
|
||||
}
|
||||
},
|
||||
"ExceptionMessage":{"type":"string"},
|
||||
"Filter":{
|
||||
"type":"structure",
|
||||
|
@ -954,7 +1223,8 @@
|
|||
"members":{
|
||||
"CertificateIdentifier":{"shape":"String"},
|
||||
"CertificatePem":{"shape":"String"},
|
||||
"CertificateWallet":{"shape":"CertificateWallet"}
|
||||
"CertificateWallet":{"shape":"CertificateWallet"},
|
||||
"Tags":{"shape":"TagList"}
|
||||
}
|
||||
},
|
||||
"ImportCertificateResponse":{
|
||||
|
@ -1041,7 +1311,10 @@
|
|||
"DatabaseName":{"shape":"String"},
|
||||
"ExtraConnectionAttributes":{"shape":"String"},
|
||||
"CertificateArn":{"shape":"String"},
|
||||
"SslMode":{"shape":"DmsSslModeValue"}
|
||||
"SslMode":{"shape":"DmsSslModeValue"},
|
||||
"DynamoDbSettings":{"shape":"DynamoDbSettings"},
|
||||
"S3Settings":{"shape":"S3Settings"},
|
||||
"MongoDbSettings":{"shape":"MongoDbSettings"}
|
||||
}
|
||||
},
|
||||
"ModifyEndpointResponse":{
|
||||
|
@ -1050,6 +1323,23 @@
|
|||
"Endpoint":{"shape":"Endpoint"}
|
||||
}
|
||||
},
|
||||
"ModifyEventSubscriptionMessage":{
|
||||
"type":"structure",
|
||||
"required":["SubscriptionName"],
|
||||
"members":{
|
||||
"SubscriptionName":{"shape":"String"},
|
||||
"SnsTopicArn":{"shape":"String"},
|
||||
"SourceType":{"shape":"String"},
|
||||
"EventCategories":{"shape":"EventCategoriesList"},
|
||||
"Enabled":{"shape":"BooleanOptional"}
|
||||
}
|
||||
},
|
||||
"ModifyEventSubscriptionResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"EventSubscription":{"shape":"EventSubscription"}
|
||||
}
|
||||
},
|
||||
"ModifyReplicationInstanceMessage":{
|
||||
"type":"structure",
|
||||
"required":["ReplicationInstanceArn"],
|
||||
|
@ -1109,6 +1399,29 @@
|
|||
"ReplicationTask":{"shape":"ReplicationTask"}
|
||||
}
|
||||
},
|
||||
"MongoDbSettings":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Username":{"shape":"String"},
|
||||
"Password":{"shape":"SecretString"},
|
||||
"ServerName":{"shape":"String"},
|
||||
"Port":{"shape":"IntegerOptional"},
|
||||
"DatabaseName":{"shape":"String"},
|
||||
"AuthType":{"shape":"AuthTypeValue"},
|
||||
"AuthMechanism":{"shape":"AuthMechanismValue"},
|
||||
"NestingLevel":{"shape":"NestingLevelValue"},
|
||||
"ExtractDocId":{"shape":"String"},
|
||||
"DocsToInvestigate":{"shape":"String"},
|
||||
"AuthSource":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"NestingLevelValue":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"none",
|
||||
"one"
|
||||
]
|
||||
},
|
||||
"OrderableReplicationInstance":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1163,6 +1476,23 @@
|
|||
"refreshing"
|
||||
]
|
||||
},
|
||||
"ReloadTablesMessage":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ReplicationTaskArn",
|
||||
"TablesToReload"
|
||||
],
|
||||
"members":{
|
||||
"ReplicationTaskArn":{"shape":"String"},
|
||||
"TablesToReload":{"shape":"TableListToReload"}
|
||||
}
|
||||
},
|
||||
"ReloadTablesResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ReplicationTaskArn":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"RemoveTagsFromResourceMessage":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1324,6 +1654,32 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"S3Settings":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ServiceAccessRoleArn":{"shape":"String"},
|
||||
"ExternalTableDefinition":{"shape":"String"},
|
||||
"CsvRowDelimiter":{"shape":"String"},
|
||||
"CsvDelimiter":{"shape":"String"},
|
||||
"BucketFolder":{"shape":"String"},
|
||||
"BucketName":{"shape":"String"},
|
||||
"CompressionType":{"shape":"CompressionTypeValue"}
|
||||
}
|
||||
},
|
||||
"SNSInvalidTopicFault":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"ExceptionMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"SNSNoAuthorizationFault":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"ExceptionMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"SchemaList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"String"}
|
||||
|
@ -1332,6 +1688,17 @@
|
|||
"type":"string",
|
||||
"sensitive":true
|
||||
},
|
||||
"SourceIdsList":{
|
||||
"type":"list",
|
||||
"member":{
|
||||
"shape":"String",
|
||||
"locationName":"SourceId"
|
||||
}
|
||||
},
|
||||
"SourceType":{
|
||||
"type":"string",
|
||||
"enum":["replication-instance"]
|
||||
},
|
||||
"StartReplicationTaskMessage":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1424,6 +1791,10 @@
|
|||
}
|
||||
},
|
||||
"TStamp":{"type":"timestamp"},
|
||||
"TableListToReload":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TableToReload"}
|
||||
},
|
||||
"TableStatistics":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1434,6 +1805,8 @@
|
|||
"Updates":{"shape":"Long"},
|
||||
"Ddls":{"shape":"Long"},
|
||||
"FullLoadRows":{"shape":"Long"},
|
||||
"FullLoadCondtnlChkFailedRows":{"shape":"Long"},
|
||||
"FullLoadErrorRows":{"shape":"Long"},
|
||||
"LastUpdateTime":{"shape":"TStamp"},
|
||||
"TableState":{"shape":"String"}
|
||||
}
|
||||
|
@ -1442,6 +1815,13 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"TableStatistics"}
|
||||
},
|
||||
"TableToReload":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"SchemaName":{"shape":"String"},
|
||||
"TableName":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"Tag":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
|
302
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/docs-2.json
generated
vendored
302
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/docs-2.json
generated
vendored
|
@ -1,14 +1,16 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<fullname>AWS Database Migration Service</fullname> <p>AWS Database Migration Service (AWS DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to MySQL or SQL Server to PostgreSQL.</p>",
|
||||
"service": "<fullname>AWS Database Migration Service</fullname> <p>AWS Database Migration Service (AWS DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to MySQL or SQL Server to PostgreSQL.</p> <p>For more information about AWS DMS, see the AWS DMS user guide at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/Welcome.html\"> What Is AWS Database Migration Service? </a> </p>",
|
||||
"operations": {
|
||||
"AddTagsToResource": "<p>Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS.</p>",
|
||||
"CreateEndpoint": "<p>Creates an endpoint using the provided settings.</p>",
|
||||
"CreateEventSubscription": "<p> Creates an AWS DMS event notification subscription. </p> <p>You can specify the type of source (<code>SourceType</code>) you want to be notified of, provide a list of AWS DMS source IDs (<code>SourceIds</code>) that triggers the events, and provide a list of event categories (<code>EventCategories</code>) for events you want to be notified of. If you specify both the <code>SourceType</code> and <code>SourceIds</code>, such as <code>SourceType = replication-instance</code> and <code>SourceIdentifier = my-replinstance</code>, you will be notified of all the replication instance events for the specified source. If you specify a <code>SourceType</code> but don't specify a <code>SourceIdentifier</code>, you receive notice of the events for that source type for all your AWS DMS sources. If you don't specify either <code>SourceType</code> nor <code>SourceIdentifier</code>, you will be notified of events generated from all AWS DMS sources belonging to your customer account.</p> <p>For more information about AWS DMS events, see <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html\"> Working with Events and Notifications </a> in the AWS Database MIgration Service User Guide.</p>",
|
||||
"CreateReplicationInstance": "<p>Creates the replication instance using the specified parameters.</p>",
|
||||
"CreateReplicationSubnetGroup": "<p>Creates a replication subnet group given a list of the subnet IDs in a VPC.</p>",
|
||||
"CreateReplicationTask": "<p>Creates a replication task using the specified parameters.</p>",
|
||||
"DeleteCertificate": "<p>Deletes the specified certificate. </p>",
|
||||
"DeleteEndpoint": "<p>Deletes the specified endpoint.</p> <note> <p>All tasks associated with the endpoint must be deleted before you can delete the endpoint.</p> </note> <p/>",
|
||||
"DeleteEventSubscription": "<p> Deletes an AWS DMS event subscription. </p>",
|
||||
"DeleteReplicationInstance": "<p>Deletes the specified replication instance.</p> <note> <p>You must delete any migration tasks that are associated with the replication instance before you can delete it.</p> </note> <p/>",
|
||||
"DeleteReplicationSubnetGroup": "<p>Deletes a subnet group.</p>",
|
||||
"DeleteReplicationTask": "<p>Deletes the specified replication task.</p>",
|
||||
|
@ -17,6 +19,9 @@
|
|||
"DescribeConnections": "<p>Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.</p>",
|
||||
"DescribeEndpointTypes": "<p>Returns information about the type of endpoints available.</p>",
|
||||
"DescribeEndpoints": "<p>Returns information about the endpoints for your account in the current region.</p>",
|
||||
"DescribeEventCategories": "<p>Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html\"> Working with Events and Notifications </a> in the AWS Database Migration Service User Guide. </p>",
|
||||
"DescribeEventSubscriptions": "<p>Lists all the event subscriptions for a customer account. The description of a subscription includes <code>SubscriptionName</code>, <code>SNSTopicARN</code>, <code>CustomerID</code>, <code>SourceType</code>, <code>SourceID</code>, <code>CreationTime</code>, and <code>Status</code>. </p> <p>If you specify <code>SubscriptionName</code>, this action lists the description for that subscription.</p>",
|
||||
"DescribeEvents": "<p> Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on AWS DMS events, see <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html\"> Working with Events and Notifications </a>. </p>",
|
||||
"DescribeOrderableReplicationInstances": "<p>Returns information about the replication instance types that can be created in the specified region.</p>",
|
||||
"DescribeRefreshSchemasStatus": "<p>Returns the status of the RefreshSchemas operation.</p>",
|
||||
"DescribeReplicationInstances": "<p>Returns information about replication instances for your account in the current region.</p>",
|
||||
|
@ -27,12 +32,14 @@
|
|||
"ImportCertificate": "<p>Uploads the specified certificate.</p>",
|
||||
"ListTagsForResource": "<p>Lists all tags for an AWS DMS resource.</p>",
|
||||
"ModifyEndpoint": "<p>Modifies the specified endpoint.</p>",
|
||||
"ModifyEventSubscription": "<p>Modifies an existing AWS DMS event notification subscription. </p>",
|
||||
"ModifyReplicationInstance": "<p>Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.</p> <p>Some settings are applied during the maintenance window.</p> <p/>",
|
||||
"ModifyReplicationSubnetGroup": "<p>Modifies the settings for the specified replication subnet group.</p>",
|
||||
"ModifyReplicationTask": "<p>Modifies the specified replication task.</p> <p>You can't modify the task endpoints. The task must be stopped before you can modify it. </p>",
|
||||
"ModifyReplicationTask": "<p>Modifies the specified replication task.</p> <p>You can't modify the task endpoints. The task must be stopped before you can modify it. </p> <p>For more information about AWS DMS tasks, see the AWS DMS user guide at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html\"> Working with Migration Tasks </a> </p>",
|
||||
"RefreshSchemas": "<p>Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.</p>",
|
||||
"ReloadTables": "<p>Reloads the target database table with the source data. </p>",
|
||||
"RemoveTagsFromResource": "<p>Removes metadata tags from a DMS resource.</p>",
|
||||
"StartReplicationTask": "<p>Starts the replication task.</p>",
|
||||
"StartReplicationTask": "<p>Starts the replication task.</p> <p>For more information about AWS DMS tasks, see the AWS DMS user guide at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html\"> Working with Migration Tasks </a> </p>",
|
||||
"StopReplicationTask": "<p>Stops the replication task.</p> <p/>",
|
||||
"TestConnection": "<p>Tests the connection between the replication instance and the endpoint.</p>"
|
||||
},
|
||||
|
@ -64,6 +71,18 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"AuthMechanismValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MongoDbSettings$AuthMechanism": "<p> The authentication mechanism you use to access the MongoDB source endpoint.</p> <p>Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1 </p> <p>DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No.</p>"
|
||||
}
|
||||
},
|
||||
"AuthTypeValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MongoDbSettings$AuthType": "<p> The authentication type you use to access the MongoDB source endpoint.</p> <p>Valid values: NO, PASSWORD </p> <p>When NO is selected, user name and password parameters are not used and can be empty. </p>"
|
||||
}
|
||||
},
|
||||
"AvailabilityZone": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -73,6 +92,7 @@
|
|||
"Boolean": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"EventSubscription$Enabled": "<p>Boolean value that indicates if the event subscription is enabled.</p>",
|
||||
"ModifyReplicationInstanceMessage$ApplyImmediately": "<p>Indicates whether the changes should be applied immediately or during the next maintenance window.</p>",
|
||||
"ModifyReplicationInstanceMessage$AllowMajorVersionUpgrade": "<p>Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.</p> <p>Constraints: This parameter must be set to true when specifying a value for the <code>EngineVersion</code> parameter that is a different major version than the replication instance's current version.</p>",
|
||||
"ReplicationInstance$MultiAZ": "<p> Specifies if the replication instance is a Multi-AZ deployment. You cannot set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter is set to <code>true</code>. </p>",
|
||||
|
@ -84,9 +104,11 @@
|
|||
"BooleanOptional": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateEventSubscriptionMessage$Enabled": "<p> A Boolean value; set to <b>true</b> to activate the subscription, or set to <b>false</b> to create the subscription but not activate it. </p>",
|
||||
"CreateReplicationInstanceMessage$MultiAZ": "<p> Specifies if the replication instance is a Multi-AZ deployment. You cannot set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter is set to <code>true</code>. </p>",
|
||||
"CreateReplicationInstanceMessage$AutoMinorVersionUpgrade": "<p>Indicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window.</p> <p>Default: <code>true</code> </p>",
|
||||
"CreateReplicationInstanceMessage$PubliclyAccessible": "<p> Specifies the accessibility options for the replication instance. A value of <code>true</code> represents an instance with a public IP address. A value of <code>false</code> represents an instance with a private IP address. The default value is <code>true</code>. </p>",
|
||||
"ModifyEventSubscriptionMessage$Enabled": "<p> A Boolean value; set to <b>true</b> to activate the subscription. </p>",
|
||||
"ModifyReplicationInstanceMessage$MultiAZ": "<p> Specifies if the replication instance is a Multi-AZ deployment. You cannot set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter is set to <code>true</code>. </p>",
|
||||
"ModifyReplicationInstanceMessage$AutoMinorVersionUpgrade": "<p> Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to <code>true</code> during the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version. </p>",
|
||||
"ReplicationPendingModifiedValues$MultiAZ": "<p> Specifies if the replication instance is a Multi-AZ deployment. You cannot set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter is set to <code>true</code>. </p>"
|
||||
|
@ -113,6 +135,12 @@
|
|||
"ImportCertificateMessage$CertificateWallet": "<p>The location of the imported Oracle Wallet certificate for use with SSL.</p>"
|
||||
}
|
||||
},
|
||||
"CompressionTypeValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"S3Settings$CompressionType": "<p> An optional parameter to use GZIP to compress the target files. Set to GZIP to compress the target files. Set to NONE (the default) or do not use to leave the files uncompressed. </p>"
|
||||
}
|
||||
},
|
||||
"Connection": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -136,6 +164,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateEventSubscriptionMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateEventSubscriptionResponse": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateReplicationInstanceMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -186,6 +224,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteEventSubscriptionMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteEventSubscriptionResponse": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteReplicationInstanceMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -266,6 +314,36 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventCategoriesMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventCategoriesResponse": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventSubscriptionsMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventSubscriptionsResponse": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventsMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeEventsResponse": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeOrderableReplicationInstancesMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -344,6 +422,14 @@
|
|||
"ModifyEndpointMessage$SslMode": "<p>The SSL mode to be used.</p> <p>SSL mode can be one of four values: none, require, verify-ca, verify-full. </p> <p>The default value is none.</p>"
|
||||
}
|
||||
},
|
||||
"DynamoDbSettings": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
"CreateEndpointMessage$DynamoDbSettings": "<p>Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see the <b>Using Object Mapping to Migrate Data to DynamoDB</b> section at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html\"> Using an Amazon DynamoDB Database as a Target for AWS Database Migration Service</a>. </p>",
|
||||
"Endpoint$DynamoDbSettings": "<p>The settings for the target DynamoDB database. For more information, see the <code>DynamoDBSettings</code> structure.</p>",
|
||||
"ModifyEndpointMessage$DynamoDbSettings": "<p>Settings in JSON format for the target Amazon DynamoDB endpoint. For more information about the available settings, see the <b>Using Object Mapping to Migrate Data to DynamoDB</b> section at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html\"> Using an Amazon DynamoDB Database as a Target for AWS Database Migration Service</a>. </p>"
|
||||
}
|
||||
},
|
||||
"Endpoint": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -359,6 +445,56 @@
|
|||
"DescribeEndpointsResponse$Endpoints": "<p>Endpoint description.</p>"
|
||||
}
|
||||
},
|
||||
"Event": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
"EventList$member": null
|
||||
}
|
||||
},
|
||||
"EventCategoriesList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateEventSubscriptionMessage$EventCategories": "<p> A list of event categories for a source type that you want to subscribe to. You can see a list of the categories for a given source type by calling the <b>DescribeEventCategories</b> action or in the topic <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html\"> Working with Events and Notifications</a> in the AWS Database Migration Service User Guide. </p>",
|
||||
"DescribeEventsMessage$EventCategories": "<p>A list of event categories for a source type that you want to subscribe to.</p>",
|
||||
"Event$EventCategories": "<p>The event categories available for the specified source type.</p>",
|
||||
"EventCategoryGroup$EventCategories": "<p> A list of event categories for a <code>SourceType</code> that you want to subscribe to. </p>",
|
||||
"EventSubscription$EventCategoriesList": "<p>A lists of event categories.</p>",
|
||||
"ModifyEventSubscriptionMessage$EventCategories": "<p> A list of event categories for a source type that you want to subscribe to. Use the <code>DescribeEventCategories</code> action to see a list of event categories. </p>"
|
||||
}
|
||||
},
|
||||
"EventCategoryGroup": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
"EventCategoryGroupList$member": null
|
||||
}
|
||||
},
|
||||
"EventCategoryGroupList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEventCategoriesResponse$EventCategoryGroupList": "<p>A list of event categories.</p>"
|
||||
}
|
||||
},
|
||||
"EventList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEventsResponse$Events": "<p>The events described.</p>"
|
||||
}
|
||||
},
|
||||
"EventSubscription": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
"CreateEventSubscriptionResponse$EventSubscription": "<p>The event subscription that was created.</p>",
|
||||
"DeleteEventSubscriptionResponse$EventSubscription": "<p>The event subscription that was deleted.</p>",
|
||||
"EventSubscriptionsList$member": null,
|
||||
"ModifyEventSubscriptionResponse$EventSubscription": "<p>The modified event subscription.</p>"
|
||||
}
|
||||
},
|
||||
"EventSubscriptionsList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEventSubscriptionsResponse$EventSubscriptionsList": "<p>A list of event subscriptions.</p>"
|
||||
}
|
||||
},
|
||||
"ExceptionMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -372,6 +508,8 @@
|
|||
"ResourceAlreadyExistsFault$message": "<p/>",
|
||||
"ResourceNotFoundFault$message": "<p/>",
|
||||
"ResourceQuotaExceededFault$message": "<p/>",
|
||||
"SNSInvalidTopicFault$message": "<p/>",
|
||||
"SNSNoAuthorizationFault$message": "<p/>",
|
||||
"StorageQuotaExceededFault$message": "<p/>",
|
||||
"SubnetAlreadyInUse$message": "<p/>",
|
||||
"UpgradeDependencyFailureFault$message": "<p/>"
|
||||
|
@ -390,6 +528,9 @@
|
|||
"DescribeConnectionsMessage$Filters": "<p>The filters applied to the connection.</p> <p>Valid filter names: endpoint-arn | replication-instance-arn</p>",
|
||||
"DescribeEndpointTypesMessage$Filters": "<p>Filters applied to the describe action.</p> <p>Valid filter names: engine-name | endpoint-type</p>",
|
||||
"DescribeEndpointsMessage$Filters": "<p>Filters applied to the describe action.</p> <p>Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name</p>",
|
||||
"DescribeEventCategoriesMessage$Filters": "<p>Filters applied to the action.</p>",
|
||||
"DescribeEventSubscriptionsMessage$Filters": "<p>Filters applied to the action.</p>",
|
||||
"DescribeEventsMessage$Filters": "<p>Filters applied to the action.</p>",
|
||||
"DescribeReplicationInstancesMessage$Filters": "<p>Filters applied to the describe action.</p> <p>Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version</p>",
|
||||
"DescribeReplicationSubnetGroupsMessage$Filters": "<p>Filters applied to the describe action.</p>",
|
||||
"DescribeReplicationTasksMessage$Filters": "<p>Filters applied to the describe action.</p> <p>Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn</p>"
|
||||
|
@ -441,6 +582,9 @@
|
|||
"DescribeConnectionsMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
"DescribeEndpointTypesMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
"DescribeEndpointsMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
"DescribeEventSubscriptionsMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
"DescribeEventsMessage$Duration": "<p>The duration of the events to be listed.</p>",
|
||||
"DescribeEventsMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
"DescribeOrderableReplicationInstancesMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
"DescribeReplicationInstancesMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
"DescribeReplicationSubnetGroupsMessage$MaxRecords": "<p> The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. </p> <p>Default: 100</p> <p>Constraints: Minimum 20, maximum 100.</p>",
|
||||
|
@ -450,6 +594,7 @@
|
|||
"Endpoint$Port": "<p>The port value used to access the endpoint.</p>",
|
||||
"ModifyEndpointMessage$Port": "<p>The port used by the endpoint database.</p>",
|
||||
"ModifyReplicationInstanceMessage$AllocatedStorage": "<p>The amount of storage (in gigabytes) to be allocated for the replication instance.</p>",
|
||||
"MongoDbSettings$Port": "<p> The port value for the MongoDB source endpoint. </p>",
|
||||
"ReplicationPendingModifiedValues$AllocatedStorage": "<p>The amount of storage (in gigabytes) that is allocated for the replication instance.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -499,7 +644,9 @@
|
|||
"TableStatistics$Deletes": "<p>The number of delete actions performed on a table.</p>",
|
||||
"TableStatistics$Updates": "<p>The number of update actions performed on a table.</p>",
|
||||
"TableStatistics$Ddls": "<p>The Data Definition Language (DDL) used to build and modify the structure of your tables.</p>",
|
||||
"TableStatistics$FullLoadRows": "<p>The number of rows added during the Full Load operation.</p>"
|
||||
"TableStatistics$FullLoadRows": "<p>The number of rows added during the Full Load operation.</p>",
|
||||
"TableStatistics$FullLoadCondtnlChkFailedRows": "<p>The number of rows that failed conditional checks during the Full Load operation (valid only for DynamoDB as a target migrations).</p>",
|
||||
"TableStatistics$FullLoadErrorRows": "<p>The number of rows that failed to load during the Full Load operation (valid only for DynamoDB as a target migrations).</p>"
|
||||
}
|
||||
},
|
||||
"MigrationTypeValue": {
|
||||
|
@ -520,6 +667,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"ModifyEventSubscriptionMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ModifyEventSubscriptionResponse": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ModifyReplicationInstanceMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -550,6 +707,20 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"MongoDbSettings": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
"CreateEndpointMessage$MongoDbSettings": "<p>Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the <b>Configuration Properties When Using MongoDB as a Source for AWS Database Migration Service</b> section at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html\"> Using Amazon S3 as a Target for AWS Database Migration Service</a>. </p>",
|
||||
"Endpoint$MongoDbSettings": "<p>The settings for the MongoDB source endpoint. For more information, see the <code>MongoDbSettings</code> structure.</p>",
|
||||
"ModifyEndpointMessage$MongoDbSettings": "<p>Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the <b>Configuration Properties When Using MongoDB as a Source for AWS Database Migration Service</b> section at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html\"> Using Amazon S3 as a Target for AWS Database Migration Service</a>. </p>"
|
||||
}
|
||||
},
|
||||
"NestingLevelValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"MongoDbSettings$NestingLevel": "<p> Specifies either document or table mode. </p> <p>Valid values: NONE, ONE</p> <p>Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.</p>"
|
||||
}
|
||||
},
|
||||
"OrderableReplicationInstance": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -585,6 +756,16 @@
|
|||
"RefreshSchemasStatus$Status": "<p>The status of the schema.</p>"
|
||||
}
|
||||
},
|
||||
"ReloadTablesMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ReloadTablesResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"RemoveTagsFromResourceMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -695,6 +876,24 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"S3Settings": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
"CreateEndpointMessage$S3Settings": "<p>Settings in JSON format for the target S3 endpoint. For more information about the available settings, see the <b>Extra Connection Attributes</b> section at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html\"> Using Amazon S3 as a Target for AWS Database Migration Service</a>. </p>",
|
||||
"Endpoint$S3Settings": "<p>The settings for the S3 target endpoint. For more information, see the <code>S3Settings</code> structure.</p>",
|
||||
"ModifyEndpointMessage$S3Settings": "<p>Settings in JSON format for the target S3 endpoint. For more information about the available settings, see the <b>Extra Connection Attributes</b> section at <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html\"> Using Amazon S3 as a Target for AWS Database Migration Service</a>. </p>"
|
||||
}
|
||||
},
|
||||
"SNSInvalidTopicFault": {
|
||||
"base": "<p>The SNS topic is invalid.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SNSNoAuthorizationFault": {
|
||||
"base": "<p>You are not authorized for the SNS subscription.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SchemaList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -705,7 +904,22 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"CreateEndpointMessage$Password": "<p>The password to be used to login to the endpoint database.</p>",
|
||||
"ModifyEndpointMessage$Password": "<p>The password to be used to login to the endpoint database.</p>"
|
||||
"ModifyEndpointMessage$Password": "<p>The password to be used to login to the endpoint database.</p>",
|
||||
"MongoDbSettings$Password": "<p> The password for the user account you use to access the MongoDB source endpoint. </p>"
|
||||
}
|
||||
},
|
||||
"SourceIdsList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateEventSubscriptionMessage$SourceIds": "<p> The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens. </p>",
|
||||
"EventSubscription$SourceIdsList": "<p>A list of source Ids for the event subscription.</p>"
|
||||
}
|
||||
},
|
||||
"SourceType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEventsMessage$SourceType": "<p>The type of AWS DMS resource that generates events.</p> <p>Valid values: replication-instance | migration-task</p>",
|
||||
"Event$SourceType": "<p> The type of AWS DMS resource that generates events. </p> <p>Valid values: replication-instance | endpoint | migration-task</p>"
|
||||
}
|
||||
},
|
||||
"StartReplicationTaskMessage": {
|
||||
|
@ -757,13 +971,16 @@
|
|||
"Connection$EndpointIdentifier": "<p>The identifier of the endpoint. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.</p>",
|
||||
"Connection$ReplicationInstanceIdentifier": "<p>The replication instance identifier. This parameter is stored as a lowercase string.</p>",
|
||||
"CreateEndpointMessage$EndpointIdentifier": "<p>The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.</p>",
|
||||
"CreateEndpointMessage$EngineName": "<p>The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.</p>",
|
||||
"CreateEndpointMessage$EngineName": "<p>The type of engine for the endpoint. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.</p>",
|
||||
"CreateEndpointMessage$Username": "<p>The user name to be used to login to the endpoint database.</p>",
|
||||
"CreateEndpointMessage$ServerName": "<p>The name of the server where the endpoint database resides.</p>",
|
||||
"CreateEndpointMessage$DatabaseName": "<p>The name of the endpoint database.</p>",
|
||||
"CreateEndpointMessage$ExtraConnectionAttributes": "<p>Additional attributes associated with the connection.</p>",
|
||||
"CreateEndpointMessage$KmsKeyId": "<p>The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.</p>",
|
||||
"CreateEndpointMessage$CertificateArn": "<p>The Amazon Resource Number (ARN) for the certificate.</p>",
|
||||
"CreateEventSubscriptionMessage$SubscriptionName": "<p>The name of the DMS event notification subscription. </p> <p>Constraints: The name must be less than 255 characters. </p>",
|
||||
"CreateEventSubscriptionMessage$SnsTopicArn": "<p> The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. </p>",
|
||||
"CreateEventSubscriptionMessage$SourceType": "<p> The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to <code>replication-instance</code>. If this value is not specified, all events are returned. </p> <p>Valid values: replication-instance | migration-task</p>",
|
||||
"CreateReplicationInstanceMessage$ReplicationInstanceIdentifier": "<p>The replication instance identifier. This parameter is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul> <p>Example: <code>myrepinstance</code> </p>",
|
||||
"CreateReplicationInstanceMessage$ReplicationInstanceClass": "<p>The compute and memory capacity of the replication instance as specified by the replication instance class.</p> <p> Valid Values: <code>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </code> </p>",
|
||||
"CreateReplicationInstanceMessage$AvailabilityZone": "<p>The EC2 Availability Zone that the replication instance will be created in.</p> <p>Default: A random, system-chosen Availability Zone in the endpoint's region.</p> <p> Example: <code>us-east-1d</code> </p>",
|
||||
|
@ -773,14 +990,15 @@
|
|||
"CreateReplicationInstanceMessage$KmsKeyId": "<p>The KMS key identifier that will be used to encrypt the content on the replication instance. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.</p>",
|
||||
"CreateReplicationSubnetGroupMessage$ReplicationSubnetGroupIdentifier": "<p>The name for the replication subnet group. This value is stored as a lowercase string.</p> <p>Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be \"default\".</p> <p>Example: <code>mySubnetgroup</code> </p>",
|
||||
"CreateReplicationSubnetGroupMessage$ReplicationSubnetGroupDescription": "<p>The description for the subnet group.</p>",
|
||||
"CreateReplicationTaskMessage$ReplicationTaskIdentifier": "<p>The replication task identifier.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>",
|
||||
"CreateReplicationTaskMessage$ReplicationTaskIdentifier": "<p>The replication task identifier.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 255 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>",
|
||||
"CreateReplicationTaskMessage$SourceEndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"CreateReplicationTaskMessage$TargetEndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"CreateReplicationTaskMessage$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
"CreateReplicationTaskMessage$TableMappings": "<p>The path of the JSON file that contains the table mappings. Preceed the path with \"file://\".</p> <p>For example, --table-mappings file://mappingfile.json</p>",
|
||||
"CreateReplicationTaskMessage$TableMappings": "<p>When using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with \"file://\". When working with the DMS API, provide the JSON as the parameter value.</p> <p>For example, --table-mappings file://mappingfile.json</p>",
|
||||
"CreateReplicationTaskMessage$ReplicationTaskSettings": "<p>Settings for the task, such as target metadata settings. For a complete list of task settings, see <a href=\"http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html\">Task Settings for AWS Database Migration Service Tasks</a>.</p>",
|
||||
"DeleteCertificateMessage$CertificateArn": "<p>The Amazon Resource Name (ARN) of the deleted certificate.</p>",
|
||||
"DeleteEndpointMessage$EndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"DeleteEventSubscriptionMessage$SubscriptionName": "<p>The name of the DMS event notification subscription to be deleted.</p>",
|
||||
"DeleteReplicationInstanceMessage$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance to be deleted.</p>",
|
||||
"DeleteReplicationSubnetGroupMessage$ReplicationSubnetGroupIdentifier": "<p>The subnet group name of the replication instance.</p>",
|
||||
"DeleteReplicationTaskMessage$ReplicationTaskArn": "<p>The Amazon Resource Name (ARN) of the replication task to be deleted.</p>",
|
||||
|
@ -792,6 +1010,13 @@
|
|||
"DescribeEndpointTypesResponse$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeEndpointsMessage$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeEndpointsResponse$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeEventCategoriesMessage$SourceType": "<p> The type of AWS DMS resource that generates events. </p> <p>Valid values: replication-instance | migration-task</p>",
|
||||
"DescribeEventSubscriptionsMessage$SubscriptionName": "<p>The name of the AWS DMS event subscription to be described.</p>",
|
||||
"DescribeEventSubscriptionsMessage$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeEventSubscriptionsResponse$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeEventsMessage$SourceIdentifier": "<p> The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens. </p>",
|
||||
"DescribeEventsMessage$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeEventsResponse$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeOrderableReplicationInstancesMessage$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeOrderableReplicationInstancesResponse$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeRefreshSchemasStatusMessage$EndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
|
@ -808,8 +1033,9 @@
|
|||
"DescribeTableStatisticsMessage$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DescribeTableStatisticsResponse$ReplicationTaskArn": "<p>The Amazon Resource Name (ARN) of the replication task.</p>",
|
||||
"DescribeTableStatisticsResponse$Marker": "<p> An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>. </p>",
|
||||
"DynamoDbSettings$ServiceAccessRoleArn": "<p> The Amazon Resource Name (ARN) used by the service access IAM role. </p>",
|
||||
"Endpoint$EndpointIdentifier": "<p>The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.</p>",
|
||||
"Endpoint$EngineName": "<p>The database engine name. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.</p>",
|
||||
"Endpoint$EngineName": "<p>The database engine name. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.</p>",
|
||||
"Endpoint$Username": "<p>The user name used to connect to the endpoint.</p>",
|
||||
"Endpoint$ServerName": "<p>The name of the server at the endpoint.</p>",
|
||||
"Endpoint$DatabaseName": "<p>The name of the database at the endpoint.</p>",
|
||||
|
@ -818,6 +1044,17 @@
|
|||
"Endpoint$KmsKeyId": "<p>The KMS key identifier that will be used to encrypt the connection parameters. If you do not specify a value for the KmsKeyId parameter, then AWS DMS will use your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS region.</p>",
|
||||
"Endpoint$EndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"Endpoint$CertificateArn": "<p>The Amazon Resource Name (ARN) used for SSL connection to the endpoint.</p>",
|
||||
"Endpoint$ExternalId": "<p> Value returned by a call to CreateEndpoint that can be used for cross-account validation. Use it on a subsequent call to CreateEndpoint to create the endpoint with a cross-account. </p>",
|
||||
"Event$SourceIdentifier": "<p> The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens. </p> <p>Constraints:replication instance, endpoint, migration task</p>",
|
||||
"Event$Message": "<p>The event message.</p>",
|
||||
"EventCategoriesList$member": null,
|
||||
"EventCategoryGroup$SourceType": "<p> The type of AWS DMS resource that generates events. </p> <p>Valid values: replication-instance | replication-server | security-group | migration-task</p>",
|
||||
"EventSubscription$CustomerAwsId": "<p>The AWS customer account associated with the AWS DMS event notification subscription.</p>",
|
||||
"EventSubscription$CustSubscriptionId": "<p>The AWS DMS event notification subscription Id.</p>",
|
||||
"EventSubscription$SnsTopicArn": "<p>The topic ARN of the AWS DMS event notification subscription.</p>",
|
||||
"EventSubscription$Status": "<p>The status of the AWS DMS event notification subscription.</p> <p>Constraints:</p> <p>Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist</p> <p>The status \"no-permission\" indicates that AWS DMS no longer has permission to post to the SNS topic. The status \"topic-not-exist\" indicates that the topic was deleted after the subscription was created.</p>",
|
||||
"EventSubscription$SubscriptionCreationTime": "<p>The time the RDS event notification subscription was created.</p>",
|
||||
"EventSubscription$SourceType": "<p> The type of AWS DMS resource that generates events. </p> <p>Valid values: replication-instance | replication-server | security-group | migration-task</p>",
|
||||
"Filter$Name": "<p>The name of the filter.</p>",
|
||||
"FilterValueList$member": null,
|
||||
"ImportCertificateMessage$CertificateIdentifier": "<p>The customer-assigned name of the certificate. Valid characters are A-z and 0-9.</p>",
|
||||
|
@ -826,12 +1063,15 @@
|
|||
"ListTagsForResourceMessage$ResourceArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the AWS DMS resource.</p>",
|
||||
"ModifyEndpointMessage$EndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"ModifyEndpointMessage$EndpointIdentifier": "<p>The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.</p>",
|
||||
"ModifyEndpointMessage$EngineName": "<p>The type of engine for the endpoint. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.</p>",
|
||||
"ModifyEndpointMessage$EngineName": "<p>The type of engine for the endpoint. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, DYNAMODB, MONGODB, SYBASE, and SQLSERVER.</p>",
|
||||
"ModifyEndpointMessage$Username": "<p>The user name to be used to login to the endpoint database.</p>",
|
||||
"ModifyEndpointMessage$ServerName": "<p>The name of the server where the endpoint database resides.</p>",
|
||||
"ModifyEndpointMessage$DatabaseName": "<p>The name of the endpoint database.</p>",
|
||||
"ModifyEndpointMessage$ExtraConnectionAttributes": "<p>Additional attributes associated with the connection.</p>",
|
||||
"ModifyEndpointMessage$CertificateArn": "<p>The Amazon Resource Name (ARN) of the certificate used for SSL connection.</p>",
|
||||
"ModifyEventSubscriptionMessage$SubscriptionName": "<p>The name of the AWS DMS event notification subscription to be modified.</p>",
|
||||
"ModifyEventSubscriptionMessage$SnsTopicArn": "<p> The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.</p>",
|
||||
"ModifyEventSubscriptionMessage$SourceType": "<p> The type of AWS DMS resource that generates the events you want to subscribe to. </p> <p>Valid values: replication-instance | migration-task</p>",
|
||||
"ModifyReplicationInstanceMessage$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
"ModifyReplicationInstanceMessage$ReplicationInstanceClass": "<p>The compute and memory capacity of the replication instance.</p> <p> Valid Values: <code>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </code> </p>",
|
||||
"ModifyReplicationInstanceMessage$PreferredMaintenanceWindow": "<p>The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.</p> <p>Default: Uses existing setting</p> <p>Format: ddd:hh24:mi-ddd:hh24:mi</p> <p>Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun</p> <p>Constraints: Must be at least 30 minutes</p>",
|
||||
|
@ -840,9 +1080,15 @@
|
|||
"ModifyReplicationSubnetGroupMessage$ReplicationSubnetGroupIdentifier": "<p>The name of the replication instance subnet group.</p>",
|
||||
"ModifyReplicationSubnetGroupMessage$ReplicationSubnetGroupDescription": "<p>The description of the replication instance subnet group.</p>",
|
||||
"ModifyReplicationTaskMessage$ReplicationTaskArn": "<p>The Amazon Resource Name (ARN) of the replication task.</p>",
|
||||
"ModifyReplicationTaskMessage$ReplicationTaskIdentifier": "<p>The replication task identifier.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>",
|
||||
"ModifyReplicationTaskMessage$TableMappings": "<p>The path of the JSON file that contains the table mappings. Preceed the path with \"file://\".</p> <p>For example, --table-mappings file://mappingfile.json</p>",
|
||||
"ModifyReplicationTaskMessage$ReplicationTaskIdentifier": "<p>The replication task identifier.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 255 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>",
|
||||
"ModifyReplicationTaskMessage$TableMappings": "<p>When using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with \"file://\". When working with the DMS API, provide the JSON as the parameter value.</p> <p>For example, --table-mappings file://mappingfile.json</p>",
|
||||
"ModifyReplicationTaskMessage$ReplicationTaskSettings": "<p>JSON file that contains settings for the task, such as target metadata settings.</p>",
|
||||
"MongoDbSettings$Username": "<p>The user name you use to access the MongoDB source endpoint. </p>",
|
||||
"MongoDbSettings$ServerName": "<p> The name of the server on the MongoDB source endpoint. </p>",
|
||||
"MongoDbSettings$DatabaseName": "<p> The database name on the MongoDB source endpoint. </p>",
|
||||
"MongoDbSettings$ExtractDocId": "<p> Specifies the document ID. Use this attribute when <code>NestingLevel</code> is set to NONE. </p> <p>Default value is false. </p>",
|
||||
"MongoDbSettings$DocsToInvestigate": "<p> Indicates the number of documents to preview to determine the document organization. Use this attribute when <code>NestingLevel</code> is set to ONE. </p> <p>Must be a positive value greater than 0. Default value is 1000.</p>",
|
||||
"MongoDbSettings$AuthSource": "<p> The MongoDB database name. This attribute is not used when <code>authType=NO</code>. </p> <p>The default is admin.</p>",
|
||||
"OrderableReplicationInstance$EngineVersion": "<p>The version of the replication engine.</p>",
|
||||
"OrderableReplicationInstance$ReplicationInstanceClass": "<p>The compute and memory capacity of the replication instance.</p> <p> Valid Values: <code>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </code> </p>",
|
||||
"OrderableReplicationInstance$StorageType": "<p>The type of storage used by the replication instance.</p>",
|
||||
|
@ -851,6 +1097,8 @@
|
|||
"RefreshSchemasStatus$EndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"RefreshSchemasStatus$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
"RefreshSchemasStatus$LastFailureMessage": "<p>The last failure message for the schema.</p>",
|
||||
"ReloadTablesMessage$ReplicationTaskArn": "<p>The Amazon Resource Name (ARN) of the replication instance. </p>",
|
||||
"ReloadTablesResponse$ReplicationTaskArn": "<p>The Amazon Resource Name (ARN) of the replication task. </p>",
|
||||
"RemoveTagsFromResourceMessage$ResourceArn": "<p>>The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be removed from.</p>",
|
||||
"ReplicationInstance$ReplicationInstanceIdentifier": "<p>The replication instance identifier. This parameter is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul> <p>Example: <code>myrepinstance</code> </p>",
|
||||
"ReplicationInstance$ReplicationInstanceClass": "<p>The compute and memory capacity of the replication instance.</p> <p> Valid Values: <code>dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge </code> </p>",
|
||||
|
@ -871,7 +1119,7 @@
|
|||
"ReplicationSubnetGroup$ReplicationSubnetGroupDescription": "<p>The description of the replication subnet group.</p>",
|
||||
"ReplicationSubnetGroup$VpcId": "<p>The ID of the VPC.</p>",
|
||||
"ReplicationSubnetGroup$SubnetGroupStatus": "<p>The status of the subnet group.</p>",
|
||||
"ReplicationTask$ReplicationTaskIdentifier": "<p>The replication task identifier.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>",
|
||||
"ReplicationTask$ReplicationTaskIdentifier": "<p>The replication task identifier.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 255 alphanumeric characters or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>",
|
||||
"ReplicationTask$SourceEndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"ReplicationTask$TargetEndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"ReplicationTask$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
|
@ -881,16 +1129,25 @@
|
|||
"ReplicationTask$LastFailureMessage": "<p>The last error (failure) message generated for the replication instance.</p>",
|
||||
"ReplicationTask$StopReason": "<p>The reason the replication task was stopped.</p>",
|
||||
"ReplicationTask$ReplicationTaskArn": "<p>The Amazon Resource Name (ARN) of the replication task.</p>",
|
||||
"S3Settings$ServiceAccessRoleArn": "<p> The Amazon Resource Name (ARN) used by the service access IAM role. </p>",
|
||||
"S3Settings$ExternalTableDefinition": "<p> </p>",
|
||||
"S3Settings$CsvRowDelimiter": "<p> The delimiter used to separate rows in the source files. The default is a carriage return (\\n). </p>",
|
||||
"S3Settings$CsvDelimiter": "<p> The delimiter used to separate columns in the source files. The default is a comma. </p>",
|
||||
"S3Settings$BucketFolder": "<p> An optional parameter to set a folder name in the S3 bucket. If provided, tables are created in the path <bucketFolder>/<schema_name>/<table_name>/. If this parameter is not specified, then the path used is <schema_name>/<table_name>/. </p>",
|
||||
"S3Settings$BucketName": "<p> The name of the S3 bucket. </p>",
|
||||
"SchemaList$member": null,
|
||||
"SourceIdsList$member": null,
|
||||
"StartReplicationTaskMessage$ReplicationTaskArn": "<p>The Amazon Resource Number (ARN) of the replication task to be started.</p>",
|
||||
"StopReplicationTaskMessage$ReplicationTaskArn": "<p>The Amazon Resource Number(ARN) of the replication task to be stopped.</p>",
|
||||
"Subnet$SubnetIdentifier": "<p>The subnet identifier.</p>",
|
||||
"Subnet$SubnetStatus": "<p>The status of the subnet.</p>",
|
||||
"SubnetIdentifierList$member": null,
|
||||
"SupportedEndpointType$EngineName": "<p>The database engine name. Valid values include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.</p>",
|
||||
"SupportedEndpointType$EngineName": "<p>The database engine name. Valid values, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.</p>",
|
||||
"TableStatistics$SchemaName": "<p>The schema name.</p>",
|
||||
"TableStatistics$TableName": "<p>The name of the table.</p>",
|
||||
"TableStatistics$TableState": "<p>The state of the table.</p>",
|
||||
"TableToReload$SchemaName": "<p>The schema name of the table to be reloaded.</p>",
|
||||
"TableToReload$TableName": "<p>The table name of the table to be reloaded.</p>",
|
||||
"Tag$Key": "<p>A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and cannot be prefixed with \"aws:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").</p>",
|
||||
"Tag$Value": "<p>A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and cannot be prefixed with \"aws:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").</p>",
|
||||
"TestConnectionMessage$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
|
@ -943,6 +1200,9 @@
|
|||
"Certificate$ValidFromDate": "<p>The beginning date that the certificate is valid.</p>",
|
||||
"Certificate$ValidToDate": "<p>The final date that the certificate is valid.</p>",
|
||||
"CreateReplicationTaskMessage$CdcStartTime": "<p>The start time for the Change Data Capture (CDC) operation.</p>",
|
||||
"DescribeEventsMessage$StartTime": "<p>The start time for the events to be listed.</p>",
|
||||
"DescribeEventsMessage$EndTime": "<p>The end time for the events to be listed.</p>",
|
||||
"Event$Date": "<p>The date of the event.</p>",
|
||||
"ModifyReplicationTaskMessage$CdcStartTime": "<p>The start time for the Change Data Capture (CDC) operation.</p>",
|
||||
"RefreshSchemasStatus$LastRefreshDate": "<p>The date the schema was last refreshed.</p>",
|
||||
"ReplicationInstance$InstanceCreateTime": "<p>The time the replication instance was created.</p>",
|
||||
|
@ -952,6 +1212,12 @@
|
|||
"TableStatistics$LastUpdateTime": "<p>The last time the table was updated.</p>"
|
||||
}
|
||||
},
|
||||
"TableListToReload": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ReloadTablesMessage$TablesToReload": "<p>The name and schema of the table to be reloaded. </p>"
|
||||
}
|
||||
},
|
||||
"TableStatistics": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -964,6 +1230,12 @@
|
|||
"DescribeTableStatisticsResponse$TableStatistics": "<p>The table statistics.</p>"
|
||||
}
|
||||
},
|
||||
"TableToReload": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
"TableListToReload$member": null
|
||||
}
|
||||
},
|
||||
"Tag": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -975,9 +1247,11 @@
|
|||
"refs": {
|
||||
"AddTagsToResourceMessage$Tags": "<p>The tag to be assigned to the DMS resource.</p>",
|
||||
"CreateEndpointMessage$Tags": "<p>Tags to be added to the endpoint.</p>",
|
||||
"CreateEventSubscriptionMessage$Tags": "<p>A tag to be attached to the event subscription.</p>",
|
||||
"CreateReplicationInstanceMessage$Tags": "<p>Tags to be associated with the replication instance.</p>",
|
||||
"CreateReplicationSubnetGroupMessage$Tags": "<p>The tag to be assigned to the subnet group.</p>",
|
||||
"CreateReplicationTaskMessage$Tags": "<p>Tags to be added to the replication instance.</p>",
|
||||
"ImportCertificateMessage$Tags": "<p>The tags associated with the certificate.</p>",
|
||||
"ListTagsForResourceResponse$TagList": "<p>A list of tags for the resource.</p>"
|
||||
}
|
||||
},
|
||||
|
|
1048
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/examples-1.json
generated
vendored
1048
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/examples-1.json
generated
vendored
File diff suppressed because it is too large
Load diff
64
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/paginators-1.json
generated
vendored
Normal file
64
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/paginators-1.json
generated
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
{
|
||||
"pagination": {
|
||||
"DescribeCertificates": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeConnections": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeEndpointTypes": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeEndpoints": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeEventSubscriptions": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeEvents": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeOrderableReplicationInstances": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeReplicationInstances": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeReplicationSubnetGroups": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeReplicationTasks": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeSchemas": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeTableStatistics": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue