vendor: update all dependencies
This commit is contained in:
parent
940df88eb2
commit
d64789528d
4309 changed files with 1327278 additions and 1001118 deletions
1
vendor/github.com/aws/aws-sdk-go/.travis.yml
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/.travis.yml
generated
vendored
|
@ -8,6 +8,7 @@ go:
|
|||
- 1.7.x
|
||||
- 1.8.x
|
||||
- 1.9.x
|
||||
- 1.10.x
|
||||
- tip
|
||||
|
||||
# Use Go 1.5's vendoring experiment for 1.5 tests.
|
||||
|
|
348
vendor/github.com/aws/aws-sdk-go/CHANGELOG.md
generated
vendored
348
vendor/github.com/aws/aws-sdk-go/CHANGELOG.md
generated
vendored
|
@ -1,3 +1,351 @@
|
|||
Release v1.13.16 (2018-03-16)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/elasticbeanstalk`: Updates service API and documentation
|
||||
* AWS Elastic Beanstalk is launching a new public API named DescribeAccountAttributes which allows customers to access account level attributes. In this release, the API will support quotas for resources such as applications, application versions, and environments.
|
||||
|
||||
Release v1.13.15 (2018-03-15)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/organizations`: Updates service API and documentation
|
||||
* This release adds additional reason codes to improve clarity to exceptions that can occur.
|
||||
* `service/pinpoint`: Updates service API and documentation
|
||||
* With this release, you can delete endpoints from your Amazon Pinpoint projects. Customers can now specify one of their leased dedicated long or short codes to send text messages.
|
||||
* `service/sagemaker`: Updates service API, documentation, and paginators
|
||||
* This release provides support for ml.p3.xlarge instance types for notebook instances. Lifecycle configuration is now available to customize your notebook instances on start; the configuration can be reused between multiple notebooks. If a notebook instance is attached to a VPC you can now opt out of internet access that by default is provided by SageMaker.
|
||||
|
||||
Release v1.13.14 (2018-03-14)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/lightsail`: Updates service API and documentation
|
||||
* Updates to existing Lightsail documentation
|
||||
|
||||
Release v1.13.13 (2018-03-13)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/servicediscovery`: Updates service API and documentation
|
||||
* This release adds support for custom health checks, which let you check the health of resources that aren't accessible over the internet. For example, you can use a custom health check when the instance is in an Amazon VPC.
|
||||
|
||||
Release v1.13.12 (2018-03-12)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/cloudhsmv2`: Updates service API
|
||||
* CreateCluster can now take both 8 and 17 character Subnet IDs. DeleteHsm can now take both 8 and 17 character ENI IDs.
|
||||
* `service/discovery`: Updates service API and documentation
|
||||
* Documentation updates for discovery
|
||||
* `service/iot`: Updates service API and documentation
|
||||
* We added new fields to the response of the following APIs. (1) describe-certificate: added new generationId, customerVersion fields (2) describe-ca-certificate: added new generationId, customerVersion and lastModifiedDate fields (3) get-policy: added generationId, creationDate and lastModifiedDate fields
|
||||
* `service/redshift`: Updates service API and documentation
|
||||
* DescribeClusterSnapshotsMessage with ClusterExists flag returns snapshots of existing clusters. Else both existing and deleted cluster snapshots are returned
|
||||
|
||||
Release v1.13.11 (2018-03-08)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/AWSMigrationHub`: Updates service API and documentation
|
||||
* `service/ecs`: Updates service API and documentation
|
||||
* Amazon Elastic Container Service (ECS) now supports container health checks. Customers can now specify a docker container health check command and parameters in their task definition. ECS will monitor, report and take scheduling action based on the health status.
|
||||
* `service/pinpoint`: Updates service API and documentation
|
||||
* With this release, you can export endpoints from your Amazon Pinpoint projects. You can export a) all of the endpoints assigned to a project or b) the subset of endpoints assigned to a segment.
|
||||
* `service/rds`: Updates service documentation
|
||||
* Documentation updates for RDS
|
||||
|
||||
Release v1.13.10 (2018-03-07)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/medialive`: Updates service API and documentation
|
||||
* Updates API to model required traits and minimum/maximum constraints.
|
||||
|
||||
Release v1.13.9 (2018-03-06)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ecs`: Updates service documentation
|
||||
* Documentation updates for Amazon ECS
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
|
||||
Release v1.13.8 (2018-03-01)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ec2`: Updates service API and documentation
|
||||
* Added support for modifying Placement Group association of instances via ModifyInstancePlacement API.
|
||||
* `service/events`: Updates service API and documentation
|
||||
* Added BatchParameters to the PutTargets API
|
||||
* `service/servicecatalog`: Updates service API and documentation
|
||||
* This release of ServiceCatalog adds the DeleteTagOption API.
|
||||
* `service/ssm`: Updates service API and documentation
|
||||
* This Inventory release supports the status message details reported by the last sync for the resource data sync API.
|
||||
* `service/storagegateway`: Updates service API and documentation
|
||||
* AWS Storage Gateway (File) support for two new file share attributes are added. 1. Users can specify the S3 Canned ACL to use for new objects created in the file share. 2. Users can create file shares for requester-pays buckets.
|
||||
|
||||
Release v1.13.7 (2018-02-28)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/application-autoscaling`: Updates service API and documentation
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
|
||||
Release v1.13.6 (2018-02-27)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ecr`: Updates service documentation
|
||||
* Documentation updates for Amazon ECR.
|
||||
|
||||
Release v1.13.5 (2018-02-26)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/route53`: Updates service API
|
||||
* Added support for creating LBR rules using ap-northeast-3 region.
|
||||
* `service/sts`: Updates service API and documentation
|
||||
* Increased SAMLAssertion parameter size from 50000 to 100000 for AWS Security Token Service AssumeRoleWithSAML API to allow customers to pass bigger SAML assertions
|
||||
|
||||
Release v1.13.4 (2018-02-23)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/appstream`: Updates service API and documentation
|
||||
* This API update is to enable customers to copy their Amazon AppStream 2.0 images within and between AWS Regions
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
|
||||
Release v1.13.3 (2018-02-22)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ce`: Updates service API and documentation
|
||||
* `service/elasticloadbalancingv2`: Updates service documentation
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
|
||||
Release v1.13.2 (2018-02-21)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/codecommit`: Updates service API and documentation
|
||||
* This release adds an API for adding a file directly to an AWS CodeCommit repository without requiring a Git client.
|
||||
* `service/ec2`: Updates service API and documentation
|
||||
* Adds support for tagging an EBS snapshot as part of the API call that creates the EBS snapshot
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/serverlessrepo`: Updates service API, documentation, and paginators
|
||||
|
||||
Release v1.13.1 (2018-02-20)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/autoscaling`: Updates service API and documentation
|
||||
* Amazon EC2 Auto Scaling support for service-linked roles
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/waf`: Updates service API and documentation
|
||||
* The new PermissionPolicy APIs in AWS WAF Regional allow customers to attach resource-based policies to their entities.
|
||||
* `service/waf-regional`: Updates service API and documentation
|
||||
|
||||
Release v1.13.0 (2018-02-19)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/config`: Updates service API
|
||||
* With this release, AWS Config updated the ConfigurationItemStatus enum values. The values prior to this update did not represent appropriate values returned by GetResourceConfigHistory. You must update your code to enumerate the new enum values so this is a breaking change. To map old properties to new properties, use the following descriptions: New discovered resource - Old property: Discovered, New property: ResourceDiscovered. Updated resource - Old property: Ok, New property: OK. Deleted resource - Old property: Deleted, New property: ResourceDeleted or ResourceDeletedNotRecorded. Not-recorded resource - Old property: N/A, New property: ResourceNotRecorded or ResourceDeletedNotRecorded.
|
||||
|
||||
Release v1.12.79 (2018-02-16)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/rds`: Updates service API and documentation
|
||||
* Updates RDS API to indicate whether a DBEngine supports read replicas.
|
||||
|
||||
Release v1.12.78 (2018-02-15)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/gamelift`: Updates service API and documentation
|
||||
* Updates to allow Fleets to run on On-Demand or Spot instances.
|
||||
* `service/mediaconvert`: Updates service API and documentation
|
||||
* Nielsen ID3 tags can now be inserted into transport stream (TS) and HLS outputs. For more information on Nielsen configuration you can go to https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobs-nielsenconfiguration
|
||||
|
||||
Release v1.12.77 (2018-02-14)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/appsync`: Updates service API and documentation
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/lex-models`: Updates service API and documentation
|
||||
|
||||
Release v1.12.76 (2018-02-13)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/glacier`: Updates service documentation
|
||||
* Documentation updates for glacier
|
||||
* `service/route53`: Updates service API
|
||||
* Added support for creating Private Hosted Zones and metric-based healthchecks in the ap-northeast-3 region for whitelisted customers.
|
||||
|
||||
Release v1.12.75 (2018-02-12)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/cognito-idp`: Updates service API and documentation
|
||||
* `service/ec2`: Updates service API and documentation
|
||||
* Network interfaces now supply the following additional status of "associated" to better distinguish the current status.
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/guardduty`: Updates service API and documentation
|
||||
* Added PortProbeAction information to the Action section of the port probe-type finding.
|
||||
* `service/kms`: Updates service API
|
||||
* This release of AWS Key Management Service includes support for InvalidArnException in the RetireGrant API.
|
||||
* `service/rds`: Updates service documentation
|
||||
* Aurora MySQL now supports MySQL 5.7.
|
||||
|
||||
Release v1.12.74 (2018-02-09)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/ec2`: Updates service API and documentation
|
||||
* Users can now better understand the longer ID opt-in status of their account using the two new APIs DescribeAggregateIdFormat and DescribePrincipalIdFormat
|
||||
* `service/lex-models`: Updates service API and documentation
|
||||
* `service/runtime.lex`: Updates service API and documentation
|
||||
|
||||
Release v1.12.73 (2018-02-08)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/appstream`: Updates service API and documentation
|
||||
* Adds support for allowing customers to provide a redirect URL for a stack. Users will be redirected to the link provided by the admin at the end of their streaming session.
|
||||
* `service/budgets`: Updates service API and documentation
|
||||
* Making budgetLimit and timePeriod optional, and updating budgets docs.
|
||||
* `service/dms`: Updates service API, documentation, and paginators
|
||||
* This release includes the addition of two new APIs: describe replication instance task logs and reboot instance. The first allows user to see how much storage each log for a task on a given instance is occupying. The second gives users the option to reboot the application software on the instance and force a fail over for MAZ instances to test robustness of their integration with our service.
|
||||
* `service/ds`: Updates service API
|
||||
* Updated the regex of some input parameters to support longer EC2 identifiers.
|
||||
* `service/dynamodb`: Updates service API and documentation
|
||||
* Amazon DynamoDB now supports server-side encryption using a default service key (alias/aws/dynamodb) from the AWS Key Management Service (KMS). AWS KMS is a service that combines secure, highly available hardware and software to provide a key management system scaled for the cloud. AWS KMS is used via the AWS Management Console or APIs to centrally create encryption keys, define the policies that control how keys can be used, and audit key usage to prove they are being used correctly. For more information, see the Amazon DynamoDB Developer Guide.
|
||||
* `service/gamelift`: Updates service API and documentation
|
||||
* Amazon GameLift FlexMatch added the StartMatchBackfill API. This API allows developers to add new players to an existing game session using the same matchmaking rules and player data that were used to initially create the session.
|
||||
* `service/medialive`: Updates service API and documentation
|
||||
* AWS Elemental MediaLive has added support for updating channel settings for idle channels. You can now update channel name, channel outputs and output destinations, encoder settings, user role ARN, and input specifications. Channel settings can be updated in the console or with API calls. Please note that running channels need to be stopped before they can be updated. We've also deprecated the 'Reserved' field.
|
||||
* `service/mediastore`: Updates service API and documentation
|
||||
* AWS Elemental MediaStore now supports per-container CORS configuration.
|
||||
|
||||
Release v1.12.72 (2018-02-07)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/glue`: Updates service API and documentation
|
||||
* This new feature will now allow customers to add a customized json classifier. They can specify a json path to indicate the object, array or field of the json documents they'd like crawlers to inspect when they crawl json files.
|
||||
* `service/servicecatalog`: Updates service API, documentation, and paginators
|
||||
* This release of Service Catalog adds SearchProvisionedProducts API and ProvisionedProductPlan APIs.
|
||||
* `service/servicediscovery`: Updates service API and documentation
|
||||
* This release adds support for registering CNAME record types and creating Route 53 alias records that route traffic to Amazon Elastic Load Balancers using Amazon Route 53 Auto Naming APIs.
|
||||
* `service/ssm`: Updates service API and documentation
|
||||
* This Patch Manager release supports configuring Linux repos as part of patch baselines, controlling updates of non-OS security packages and also creating patch baselines for SUSE12
|
||||
|
||||
### SDK Enhancements
|
||||
* `private/model/api`: Add validation to ensure there is no duplication of services in models/apis ([#1758](https://github.com/aws/aws-sdk-go/pull/1758))
|
||||
* Prevents the SDK from mistakenly generating code a single service multiple times with different model versions.
|
||||
* `example/service/ec2/instancesbyRegion`: Fix typos in example ([#1762](https://github.com/aws/aws-sdk-go/pull/1762))
|
||||
* `private/model/api`: removing SDK API reference crosslinks from input/output shapes. (#1765)
|
||||
|
||||
### SDK Bugs
|
||||
* `aws/session`: Fix bug in session.New not supporting AWS_SDK_LOAD_CONFIG ([#1770](https://github.com/aws/aws-sdk-go/pull/1770))
|
||||
* Fixes a bug in the session.New function that was not correctly sourcing the shared configuration files' path.
|
||||
* Fixes [#1771](https://github.com/aws/aws-sdk-go/pull/1771)
|
||||
Release v1.12.71 (2018-02-05)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/acm`: Updates service documentation
|
||||
* Documentation updates for acm
|
||||
* `service/cloud9`: Updates service documentation and examples
|
||||
* API usage examples for AWS Cloud9.
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/kinesis`: Updates service API and documentation
|
||||
* Using ListShards a Kinesis Data Streams customer or client can get information about shards in a data stream (including meta-data for each shard) without obtaining data stream level information.
|
||||
* `service/opsworks`: Updates service API, documentation, and waiters
|
||||
* AWS OpsWorks Stacks supports EBS encryption and HDD volume types. Also, a new DescribeOperatingSystems API is available, which lists all operating systems supported by OpsWorks Stacks.
|
||||
|
||||
Release v1.12.70 (2018-01-26)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/devicefarm`: Updates service API and documentation
|
||||
* Add InteractionMode in CreateRemoteAccessSession for DirectDeviceAccess feature.
|
||||
* `service/medialive`: Updates service API and documentation
|
||||
* Add InputSpecification to CreateChannel (specification of input attributes is used for channel sizing and affects pricing); add NotFoundException to DeleteInputSecurityGroups.
|
||||
* `service/mturk-requester`: Updates service documentation
|
||||
|
||||
Release v1.12.69 (2018-01-26)
|
||||
===
|
||||
|
||||
### SDK Bugs
|
||||
* `models/api`: Fix colliding names [#1754](https://github.com/aws/aws-sdk-go/pull/1754) [#1756](https://github.com/aws/aws-sdk-go/pull/1756)
|
||||
* SDK had duplicate folders that were causing errors in some builds.
|
||||
* Fixes [#1753](https://github.com/aws/aws-sdk-go/issues/1753)
|
||||
Release v1.12.68 (2018-01-25)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/alexaforbusiness`: Updates service API and documentation
|
||||
* `service/codebuild`: Updates service API and documentation
|
||||
* Adding support for Shallow Clone and GitHub Enterprise in AWS CodeBuild.
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/guardduty`: Adds new service
|
||||
* Added the missing AccessKeyDetails object to the resource shape.
|
||||
* `service/lambda`: Updates service API and documentation
|
||||
* AWS Lambda now supports Revision ID on your function versions and aliases, to track and apply conditional updates when you are updating your function version or alias resources.
|
||||
|
||||
### SDK Bugs
|
||||
* `service/s3/s3manager`: Fix check for nil OrigErr in Error() [#1749](https://github.com/aws/aws-sdk-go/issues/1749)
|
||||
* S3 Manager's `Error` type did not check for nil of `OrigErr` when calling `Error()`
|
||||
* Fixes [#1748](https://github.com/aws/aws-sdk-go/issues/1748)
|
||||
Release v1.12.67 (2018-01-22)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/budgets`: Updates service API and documentation
|
||||
* Add additional costTypes: IncludeDiscount, UseAmortized, to support finer control for different charges included in a cost budget.
|
||||
|
||||
Release v1.12.66 (2018-01-19)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `aws/endpoints`: Updated Regions and Endpoints metadata.
|
||||
* `service/glue`: Updates service API and documentation
|
||||
* New AWS Glue DataCatalog APIs to manage table versions and a new feature to skip archiving of the old table version when updating table.
|
||||
* `service/transcribe`: Adds new service
|
||||
|
||||
Release v1.12.65 (2018-01-18)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/sagemaker`: Updates service API and documentation
|
||||
* CreateTrainingJob and CreateEndpointConfig now supports KMS Key for volume encryption.
|
||||
|
||||
Release v1.12.64 (2018-01-17)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/autoscaling-plans`: Updates service documentation
|
||||
* `service/ec2`: Updates service documentation
|
||||
* Documentation updates for EC2
|
||||
|
||||
Release v1.12.63 (2018-01-17)
|
||||
===
|
||||
|
||||
### Service Client Updates
|
||||
* `service/application-autoscaling`: Updates service API and documentation
|
||||
* `service/autoscaling-plans`: Adds new service
|
||||
* `service/rds`: Updates service API and documentation
|
||||
* With this release you can now integrate RDS DB instances with CloudWatch Logs. We have added parameters to the operations for creating and modifying DB instances (for example CreateDBInstance) to allow you to take advantage of this capability through the CLI and API. Once you enable this feature, a stream of log events will publish to CloudWatch Logs for each log type you enable.
|
||||
|
||||
Release v1.12.62 (2018-01-15)
|
||||
===
|
||||
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/CODE_OF_CONDUCT.md
generated
vendored
Normal file
4
vendor/github.com/aws/aws-sdk-go/CODE_OF_CONDUCT.md
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
## Code of Conduct
|
||||
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
|
||||
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
|
||||
opensource-codeofconduct@amazon.com with any additional questions or comments.
|
28
vendor/github.com/aws/aws-sdk-go/aws/client/default_retryer.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go/aws/client/default_retryer.go
generated
vendored
|
@ -1,12 +1,11 @@
|
|||
package client
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/internal/sdkrand"
|
||||
)
|
||||
|
||||
// DefaultRetryer implements basic retry logic using exponential backoff for
|
||||
|
@ -31,8 +30,6 @@ func (d DefaultRetryer) MaxRetries() int {
|
|||
return d.NumMaxRetries
|
||||
}
|
||||
|
||||
var seededRand = rand.New(&lockedSource{src: rand.NewSource(time.Now().UnixNano())})
|
||||
|
||||
// RetryRules returns the delay duration before retrying this request again
|
||||
func (d DefaultRetryer) RetryRules(r *request.Request) time.Duration {
|
||||
// Set the upper limit of delay in retrying at ~five minutes
|
||||
|
@ -53,7 +50,7 @@ func (d DefaultRetryer) RetryRules(r *request.Request) time.Duration {
|
|||
retryCount = 13
|
||||
}
|
||||
|
||||
delay := (1 << uint(retryCount)) * (seededRand.Intn(minTime) + minTime)
|
||||
delay := (1 << uint(retryCount)) * (sdkrand.SeededRand.Intn(minTime) + minTime)
|
||||
return time.Duration(delay) * time.Millisecond
|
||||
}
|
||||
|
||||
|
@ -65,7 +62,7 @@ func (d DefaultRetryer) ShouldRetry(r *request.Request) bool {
|
|||
return *r.Retryable
|
||||
}
|
||||
|
||||
if r.HTTPResponse.StatusCode >= 500 {
|
||||
if r.HTTPResponse.StatusCode >= 500 && r.HTTPResponse.StatusCode != 501 {
|
||||
return true
|
||||
}
|
||||
return r.IsErrorRetryable() || d.shouldThrottle(r)
|
||||
|
@ -117,22 +114,3 @@ func canUseRetryAfterHeader(r *request.Request) bool {
|
|||
|
||||
return true
|
||||
}
|
||||
|
||||
// lockedSource is a thread-safe implementation of rand.Source
|
||||
type lockedSource struct {
|
||||
lk sync.Mutex
|
||||
src rand.Source
|
||||
}
|
||||
|
||||
func (r *lockedSource) Int63() (n int64) {
|
||||
r.lk.Lock()
|
||||
n = r.src.Int63()
|
||||
r.lk.Unlock()
|
||||
return
|
||||
}
|
||||
|
||||
func (r *lockedSource) Seed(seed int64) {
|
||||
r.lk.Lock()
|
||||
r.src.Seed(seed)
|
||||
r.lk.Unlock()
|
||||
}
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/aws/client/logger.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/aws/client/logger.go
generated
vendored
|
@ -46,6 +46,7 @@ func (reader *teeReaderCloser) Close() error {
|
|||
|
||||
func logRequest(r *request.Request) {
|
||||
logBody := r.Config.LogLevel.Matches(aws.LogDebugWithHTTPBody)
|
||||
bodySeekable := aws.IsReaderSeekable(r.Body)
|
||||
dumpedBody, err := httputil.DumpRequestOut(r.HTTPRequest, logBody)
|
||||
if err != nil {
|
||||
r.Config.Logger.Log(fmt.Sprintf(logReqErrMsg, r.ClientInfo.ServiceName, r.Operation.Name, err))
|
||||
|
@ -53,6 +54,9 @@ func logRequest(r *request.Request) {
|
|||
}
|
||||
|
||||
if logBody {
|
||||
if !bodySeekable {
|
||||
r.SetReaderBody(aws.ReadSeekCloser(r.HTTPRequest.Body))
|
||||
}
|
||||
// Reset the request body because dumpRequest will re-wrap the r.HTTPRequest's
|
||||
// Body as a NoOpCloser and will not be reset after read by the HTTP
|
||||
// client reader.
|
||||
|
|
87
vendor/github.com/aws/aws-sdk-go/aws/client/logger_test.go
generated
vendored
87
vendor/github.com/aws/aws-sdk-go/aws/client/logger_test.go
generated
vendored
|
@ -2,8 +2,17 @@ package client
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/corehandlers"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
)
|
||||
|
||||
type mockCloser struct {
|
||||
|
@ -55,3 +64,81 @@ func TestLogWriter(t *testing.T) {
|
|||
t.Errorf("Expected %q, but received %q", expected, lw.buf.String())
|
||||
}
|
||||
}
|
||||
|
||||
func TestLogRequest(t *testing.T) {
|
||||
cases := []struct {
|
||||
Body io.ReadSeeker
|
||||
ExpectBody []byte
|
||||
LogLevel aws.LogLevelType
|
||||
}{
|
||||
{
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer([]byte("body content"))),
|
||||
ExpectBody: []byte("body content"),
|
||||
},
|
||||
{
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer([]byte("body content"))),
|
||||
LogLevel: aws.LogDebugWithHTTPBody,
|
||||
ExpectBody: []byte("body content"),
|
||||
},
|
||||
{
|
||||
Body: bytes.NewReader([]byte("body content")),
|
||||
ExpectBody: []byte("body content"),
|
||||
},
|
||||
{
|
||||
Body: bytes.NewReader([]byte("body content")),
|
||||
LogLevel: aws.LogDebugWithHTTPBody,
|
||||
ExpectBody: []byte("body content"),
|
||||
},
|
||||
}
|
||||
|
||||
for i, c := range cases {
|
||||
logW := bytes.NewBuffer(nil)
|
||||
req := request.New(
|
||||
aws.Config{
|
||||
Credentials: credentials.AnonymousCredentials,
|
||||
Logger: &bufLogger{w: logW},
|
||||
LogLevel: aws.LogLevel(c.LogLevel),
|
||||
},
|
||||
metadata.ClientInfo{
|
||||
Endpoint: "https://mock-service.mock-region.amazonaws.com",
|
||||
},
|
||||
testHandlers(),
|
||||
nil,
|
||||
&request.Operation{
|
||||
Name: "APIName",
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/",
|
||||
},
|
||||
struct{}{}, nil,
|
||||
)
|
||||
req.SetReaderBody(c.Body)
|
||||
req.Build()
|
||||
|
||||
logRequest(req)
|
||||
|
||||
b, err := ioutil.ReadAll(req.HTTPRequest.Body)
|
||||
if err != nil {
|
||||
t.Fatalf("%d, expect to read SDK request Body", i)
|
||||
}
|
||||
|
||||
if e, a := c.ExpectBody, b; !reflect.DeepEqual(e, a) {
|
||||
t.Errorf("%d, expect %v body, got %v", i, e, a)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type bufLogger struct {
|
||||
w *bytes.Buffer
|
||||
}
|
||||
|
||||
func (l *bufLogger) Log(args ...interface{}) {
|
||||
fmt.Fprintln(l.w, args...)
|
||||
}
|
||||
|
||||
func testHandlers() request.Handlers {
|
||||
var handlers request.Handlers
|
||||
|
||||
handlers.Build.PushBackNamed(corehandlers.SDKVersionUserAgentHandler)
|
||||
|
||||
return handlers
|
||||
}
|
||||
|
|
22
vendor/github.com/aws/aws-sdk-go/aws/config.go
generated
vendored
22
vendor/github.com/aws/aws-sdk-go/aws/config.go
generated
vendored
|
@ -151,6 +151,15 @@ type Config struct {
|
|||
// with accelerate.
|
||||
S3UseAccelerate *bool
|
||||
|
||||
// S3DisableContentMD5Validation config option is temporarily disabled,
|
||||
// For S3 GetObject API calls, #1837.
|
||||
//
|
||||
// Set this to `true` to disable the S3 service client from automatically
|
||||
// adding the ContentMD5 to S3 Object Put and Upload API calls. This option
|
||||
// will also disable the SDK from performing object ContentMD5 validation
|
||||
// on GetObject API calls.
|
||||
S3DisableContentMD5Validation *bool
|
||||
|
||||
// Set this to `true` to disable the EC2Metadata client from overriding the
|
||||
// default http.Client's Timeout. This is helpful if you do not want the
|
||||
// EC2Metadata client to create a new http.Client. This options is only
|
||||
|
@ -336,6 +345,15 @@ func (c *Config) WithS3Disable100Continue(disable bool) *Config {
|
|||
func (c *Config) WithS3UseAccelerate(enable bool) *Config {
|
||||
c.S3UseAccelerate = &enable
|
||||
return c
|
||||
|
||||
}
|
||||
|
||||
// WithS3DisableContentMD5Validation sets a config
|
||||
// S3DisableContentMD5Validation value returning a Config pointer for chaining.
|
||||
func (c *Config) WithS3DisableContentMD5Validation(enable bool) *Config {
|
||||
c.S3DisableContentMD5Validation = &enable
|
||||
return c
|
||||
|
||||
}
|
||||
|
||||
// WithUseDualStack sets a config UseDualStack value returning a Config
|
||||
|
@ -435,6 +453,10 @@ func mergeInConfig(dst *Config, other *Config) {
|
|||
dst.S3UseAccelerate = other.S3UseAccelerate
|
||||
}
|
||||
|
||||
if other.S3DisableContentMD5Validation != nil {
|
||||
dst.S3DisableContentMD5Validation = other.S3DisableContentMD5Validation
|
||||
}
|
||||
|
||||
if other.UseDualStack != nil {
|
||||
dst.UseDualStack = other.UseDualStack
|
||||
}
|
||||
|
|
28
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers.go
generated
vendored
28
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers.go
generated
vendored
|
@ -3,12 +3,10 @@ package corehandlers
|
|||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"regexp"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
|
@ -36,18 +34,13 @@ var BuildContentLengthHandler = request.NamedHandler{Name: "core.BuildContentLen
|
|||
if slength := r.HTTPRequest.Header.Get("Content-Length"); slength != "" {
|
||||
length, _ = strconv.ParseInt(slength, 10, 64)
|
||||
} else {
|
||||
switch body := r.Body.(type) {
|
||||
case nil:
|
||||
length = 0
|
||||
case lener:
|
||||
length = int64(body.Len())
|
||||
case io.Seeker:
|
||||
r.BodyStart, _ = body.Seek(0, 1)
|
||||
end, _ := body.Seek(0, 2)
|
||||
body.Seek(r.BodyStart, 0) // make sure to seek back to original location
|
||||
length = end - r.BodyStart
|
||||
default:
|
||||
panic("Cannot get length of body, must provide `ContentLength`")
|
||||
if r.Body != nil {
|
||||
var err error
|
||||
length, err = aws.SeekerLen(r.Body)
|
||||
if err != nil {
|
||||
r.Error = awserr.New(request.ErrCodeSerialization, "failed to get request body's length", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,13 +53,6 @@ var BuildContentLengthHandler = request.NamedHandler{Name: "core.BuildContentLen
|
|||
}
|
||||
}}
|
||||
|
||||
// SDKVersionUserAgentHandler is a request handler for adding the SDK Version to the user agent.
|
||||
var SDKVersionUserAgentHandler = request.NamedHandler{
|
||||
Name: "core.SDKVersionUserAgentHandler",
|
||||
Fn: request.MakeAddToUserAgentHandler(aws.SDKName, aws.SDKVersion,
|
||||
runtime.Version(), runtime.GOOS, runtime.GOARCH),
|
||||
}
|
||||
|
||||
var reStatusCode = regexp.MustCompile(`^(\d{3})`)
|
||||
|
||||
// ValidateReqSigHandler is a request handler to ensure that the request's
|
||||
|
|
37
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/user_agent.go
generated
vendored
Normal file
37
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/user_agent.go
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
package corehandlers
|
||||
|
||||
import (
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
)
|
||||
|
||||
// SDKVersionUserAgentHandler is a request handler for adding the SDK Version
|
||||
// to the user agent.
|
||||
var SDKVersionUserAgentHandler = request.NamedHandler{
|
||||
Name: "core.SDKVersionUserAgentHandler",
|
||||
Fn: request.MakeAddToUserAgentHandler(aws.SDKName, aws.SDKVersion,
|
||||
runtime.Version(), runtime.GOOS, runtime.GOARCH),
|
||||
}
|
||||
|
||||
const execEnvVar = `AWS_EXECUTION_ENV`
|
||||
const execEnvUAKey = `exec_env`
|
||||
|
||||
// AddHostExecEnvUserAgentHander is a request handler appending the SDK's
|
||||
// execution environment to the user agent.
|
||||
//
|
||||
// If the environment variable AWS_EXECUTION_ENV is set, its value will be
|
||||
// appended to the user agent string.
|
||||
var AddHostExecEnvUserAgentHander = request.NamedHandler{
|
||||
Name: "core.AddHostExecEnvUserAgentHander",
|
||||
Fn: func(r *request.Request) {
|
||||
v := os.Getenv(execEnvVar)
|
||||
if len(v) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
request.AddToUserAgent(r, execEnvUAKey+"/"+v)
|
||||
},
|
||||
}
|
40
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/user_agent_test.go
generated
vendored
Normal file
40
vendor/github.com/aws/aws-sdk-go/aws/corehandlers/user_agent_test.go
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
package corehandlers
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
)
|
||||
|
||||
func TestAddHostExecEnvUserAgentHander(t *testing.T) {
|
||||
cases := []struct {
|
||||
ExecEnv string
|
||||
Expect string
|
||||
}{
|
||||
{ExecEnv: "Lambda", Expect: "exec_env/Lambda"},
|
||||
{ExecEnv: "", Expect: ""},
|
||||
{ExecEnv: "someThingCool", Expect: "exec_env/someThingCool"},
|
||||
}
|
||||
|
||||
for i, c := range cases {
|
||||
os.Clearenv()
|
||||
os.Setenv(execEnvVar, c.ExecEnv)
|
||||
|
||||
req := &request.Request{
|
||||
HTTPRequest: &http.Request{
|
||||
Header: http.Header{},
|
||||
},
|
||||
}
|
||||
AddHostExecEnvUserAgentHander.Fn(req)
|
||||
|
||||
if err := req.Error; err != nil {
|
||||
t.Fatalf("%d, expect no error, got %v", i, err)
|
||||
}
|
||||
|
||||
if e, a := c.Expect, req.HTTPRequest.Header.Get("User-Agent"); e != a {
|
||||
t.Errorf("%d, expect %v user agent, got %v", i, e, a)
|
||||
}
|
||||
}
|
||||
}
|
1
vendor/github.com/aws/aws-sdk-go/aws/defaults/defaults.go
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/aws/defaults/defaults.go
generated
vendored
|
@ -73,6 +73,7 @@ func Handlers() request.Handlers {
|
|||
handlers.Validate.PushBackNamed(corehandlers.ValidateEndpointHandler)
|
||||
handlers.Validate.AfterEachFn = request.HandlerListStopOnError
|
||||
handlers.Build.PushBackNamed(corehandlers.SDKVersionUserAgentHandler)
|
||||
handlers.Build.PushBackNamed(corehandlers.AddHostExecEnvUserAgentHander)
|
||||
handlers.Build.AfterEachFn = request.HandlerListStopOnError
|
||||
handlers.Sign.PushBackNamed(corehandlers.BuildContentLengthHandler)
|
||||
handlers.Send.PushBackNamed(corehandlers.ValidateReqSigHandler)
|
||||
|
|
24
vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go
generated
vendored
24
vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go
generated
vendored
|
@ -1,5 +1,10 @@
|
|||
// Package ec2metadata provides the client for making API calls to the
|
||||
// EC2 Metadata service.
|
||||
//
|
||||
// This package's client can be disabled completely by setting the environment
|
||||
// variable "AWS_EC2_METADATA_DISABLED=true". This environment variable set to
|
||||
// true instructs the SDK to disable the EC2 Metadata client. The client cannot
|
||||
// be used while the environemnt variable is set to true, (case insensitive).
|
||||
package ec2metadata
|
||||
|
||||
import (
|
||||
|
@ -7,17 +12,21 @@ import (
|
|||
"errors"
|
||||
"io"
|
||||
"net/http"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/corehandlers"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
)
|
||||
|
||||
// ServiceName is the name of the service.
|
||||
const ServiceName = "ec2metadata"
|
||||
const disableServiceEnvVar = "AWS_EC2_METADATA_DISABLED"
|
||||
|
||||
// A EC2Metadata is an EC2 Metadata service Client.
|
||||
type EC2Metadata struct {
|
||||
|
@ -75,6 +84,21 @@ func NewClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
|||
svc.Handlers.Validate.Clear()
|
||||
svc.Handlers.Validate.PushBack(validateEndpointHandler)
|
||||
|
||||
// Disable the EC2 Metadata service if the environment variable is set.
|
||||
// This shortcirctes the service's functionality to always fail to send
|
||||
// requests.
|
||||
if strings.ToLower(os.Getenv(disableServiceEnvVar)) == "true" {
|
||||
svc.Handlers.Send.SwapNamed(request.NamedHandler{
|
||||
Name: corehandlers.SendHandler.Name,
|
||||
Fn: func(r *request.Request) {
|
||||
r.Error = awserr.New(
|
||||
request.CanceledErrorCode,
|
||||
"EC2 IMDS access disabled via "+disableServiceEnvVar+" env var",
|
||||
nil)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
// Add additional options to the service config
|
||||
for _, option := range opts {
|
||||
option(svc.Client)
|
||||
|
|
62
vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service_test.go
generated
vendored
62
vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service_test.go
generated
vendored
|
@ -3,21 +3,30 @@ package ec2metadata_test
|
|||
import (
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"strings"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/ec2metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/awstesting/unit"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestClientOverrideDefaultHTTPClientTimeout(t *testing.T) {
|
||||
svc := ec2metadata.New(unit.Session)
|
||||
|
||||
assert.NotEqual(t, http.DefaultClient, svc.Config.HTTPClient)
|
||||
assert.Equal(t, 5*time.Second, svc.Config.HTTPClient.Timeout)
|
||||
if e, a := http.DefaultClient, svc.Config.HTTPClient; e == a {
|
||||
t.Errorf("expect %v, not to equal %v", e, a)
|
||||
}
|
||||
|
||||
if e, a := 5*time.Second, svc.Config.HTTPClient.Timeout; e != a {
|
||||
t.Errorf("expect %v to be %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestClientNotOverrideDefaultHTTPClientTimeout(t *testing.T) {
|
||||
|
@ -28,18 +37,25 @@ func TestClientNotOverrideDefaultHTTPClientTimeout(t *testing.T) {
|
|||
|
||||
svc := ec2metadata.New(unit.Session)
|
||||
|
||||
assert.Equal(t, http.DefaultClient, svc.Config.HTTPClient)
|
||||
if e, a := http.DefaultClient, svc.Config.HTTPClient; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
|
||||
tr, ok := svc.Config.HTTPClient.Transport.(*http.Transport)
|
||||
assert.True(t, ok)
|
||||
assert.NotNil(t, tr)
|
||||
assert.Nil(t, tr.Dial)
|
||||
tr := svc.Config.HTTPClient.Transport.(*http.Transport)
|
||||
if tr == nil {
|
||||
t.Fatalf("expect transport not to be nil")
|
||||
}
|
||||
if tr.Dial != nil {
|
||||
t.Errorf("expect dial to be nil, was not")
|
||||
}
|
||||
}
|
||||
|
||||
func TestClientDisableOverrideDefaultHTTPClientTimeout(t *testing.T) {
|
||||
svc := ec2metadata.New(unit.Session, aws.NewConfig().WithEC2MetadataDisableTimeoutOverride(true))
|
||||
|
||||
assert.Equal(t, http.DefaultClient, svc.Config.HTTPClient)
|
||||
if e, a := http.DefaultClient, svc.Config.HTTPClient; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestClientOverrideDefaultHTTPClientTimeoutRace(t *testing.T) {
|
||||
|
@ -63,6 +79,30 @@ func TestClientOverrideDefaultHTTPClientTimeoutRaceWithTransport(t *testing.T) {
|
|||
runEC2MetadataClients(t, cfg, 100)
|
||||
}
|
||||
|
||||
func TestClientDisableIMDS(t *testing.T) {
|
||||
env := awstesting.StashEnv()
|
||||
defer awstesting.PopEnv(env)
|
||||
|
||||
os.Setenv("AWS_EC2_METADATA_DISABLED", "true")
|
||||
|
||||
svc := ec2metadata.New(unit.Session)
|
||||
resp, err := svc.Region()
|
||||
if err == nil {
|
||||
t.Fatalf("expect error, got none")
|
||||
}
|
||||
if len(resp) != 0 {
|
||||
t.Errorf("expect no response, got %v", resp)
|
||||
}
|
||||
|
||||
aerr := err.(awserr.Error)
|
||||
if e, a := request.CanceledErrorCode, aerr.Code(); e != a {
|
||||
t.Errorf("expect %v error code, got %v", e, a)
|
||||
}
|
||||
if e, a := "AWS_EC2_METADATA_DISABLED", aerr.Message(); !strings.Contains(a, e) {
|
||||
t.Errorf("expect %v in error message, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func runEC2MetadataClients(t *testing.T, cfg *aws.Config, atOnce int) {
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(atOnce)
|
||||
|
@ -70,7 +110,9 @@ func runEC2MetadataClients(t *testing.T, cfg *aws.Config, atOnce int) {
|
|||
go func() {
|
||||
svc := ec2metadata.New(unit.Session, cfg)
|
||||
_, err := svc.Region()
|
||||
assert.NoError(t, err)
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
wg.Done()
|
||||
}()
|
||||
}
|
||||
|
|
23
vendor/github.com/aws/aws-sdk-go/aws/endpoints/decode.go
generated
vendored
23
vendor/github.com/aws/aws-sdk-go/aws/endpoints/decode.go
generated
vendored
|
@ -4,6 +4,7 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
)
|
||||
|
@ -84,6 +85,8 @@ func decodeV3Endpoints(modelDef modelDefinition, opts DecodeModelOptions) (Resol
|
|||
custAddEC2Metadata(p)
|
||||
custAddS3DualStack(p)
|
||||
custRmIotDataService(p)
|
||||
|
||||
custFixRuntimeSagemakerSigningName(p)
|
||||
}
|
||||
|
||||
return ps, nil
|
||||
|
@ -122,6 +125,26 @@ func custRmIotDataService(p *partition) {
|
|||
delete(p.Services, "data.iot")
|
||||
}
|
||||
|
||||
func custFixRuntimeSagemakerSigningName(p *partition) {
|
||||
// Workaround for aws/aws-sdk-go#1836
|
||||
|
||||
s, ok := p.Services["runtime.sagemaker"]
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
||||
if len(s.Defaults.CredentialScope.Service) != 0 {
|
||||
fmt.Fprintf(os.Stderr, "runtime.sagemaker signing name already set, ignoring override.\n")
|
||||
// If the value is already set don't override
|
||||
return
|
||||
}
|
||||
|
||||
s.Defaults.CredentialScope.Service = "sagemaker"
|
||||
fmt.Fprintf(os.Stderr, "sagemaker signing name not set, overriding.\n")
|
||||
|
||||
p.Services["runtime.sagemaker"] = s
|
||||
}
|
||||
|
||||
type decodeModelError struct {
|
||||
awsError
|
||||
}
|
||||
|
|
369
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
369
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
|
@ -45,6 +45,7 @@ const (
|
|||
|
||||
// Service identifiers
|
||||
const (
|
||||
A4bServiceID = "a4b" // A4b.
|
||||
AcmServiceID = "acm" // Acm.
|
||||
ApiPricingServiceID = "api.pricing" // ApiPricing.
|
||||
ApigatewayServiceID = "apigateway" // Apigateway.
|
||||
|
@ -52,8 +53,11 @@ const (
|
|||
Appstream2ServiceID = "appstream2" // Appstream2.
|
||||
AthenaServiceID = "athena" // Athena.
|
||||
AutoscalingServiceID = "autoscaling" // Autoscaling.
|
||||
AutoscalingPlansServiceID = "autoscaling-plans" // AutoscalingPlans.
|
||||
BatchServiceID = "batch" // Batch.
|
||||
BudgetsServiceID = "budgets" // Budgets.
|
||||
CeServiceID = "ce" // Ce.
|
||||
Cloud9ServiceID = "cloud9" // Cloud9.
|
||||
ClouddirectoryServiceID = "clouddirectory" // Clouddirectory.
|
||||
CloudformationServiceID = "cloudformation" // Cloudformation.
|
||||
CloudfrontServiceID = "cloudfront" // Cloudfront.
|
||||
|
@ -69,6 +73,7 @@ const (
|
|||
CognitoIdentityServiceID = "cognito-identity" // CognitoIdentity.
|
||||
CognitoIdpServiceID = "cognito-idp" // CognitoIdp.
|
||||
CognitoSyncServiceID = "cognito-sync" // CognitoSync.
|
||||
ComprehendServiceID = "comprehend" // Comprehend.
|
||||
ConfigServiceID = "config" // Config.
|
||||
CurServiceID = "cur" // Cur.
|
||||
DatapipelineServiceID = "datapipeline" // Datapipeline.
|
||||
|
@ -98,6 +103,7 @@ const (
|
|||
GlacierServiceID = "glacier" // Glacier.
|
||||
GlueServiceID = "glue" // Glue.
|
||||
GreengrassServiceID = "greengrass" // Greengrass.
|
||||
GuarddutyServiceID = "guardduty" // Guardduty.
|
||||
HealthServiceID = "health" // Health.
|
||||
IamServiceID = "iam" // Iam.
|
||||
ImportexportServiceID = "importexport" // Importexport.
|
||||
|
@ -105,12 +111,16 @@ const (
|
|||
IotServiceID = "iot" // Iot.
|
||||
KinesisServiceID = "kinesis" // Kinesis.
|
||||
KinesisanalyticsServiceID = "kinesisanalytics" // Kinesisanalytics.
|
||||
KinesisvideoServiceID = "kinesisvideo" // Kinesisvideo.
|
||||
KmsServiceID = "kms" // Kms.
|
||||
LambdaServiceID = "lambda" // Lambda.
|
||||
LightsailServiceID = "lightsail" // Lightsail.
|
||||
LogsServiceID = "logs" // Logs.
|
||||
MachinelearningServiceID = "machinelearning" // Machinelearning.
|
||||
MarketplacecommerceanalyticsServiceID = "marketplacecommerceanalytics" // Marketplacecommerceanalytics.
|
||||
MediaconvertServiceID = "mediaconvert" // Mediaconvert.
|
||||
MedialiveServiceID = "medialive" // Medialive.
|
||||
MediapackageServiceID = "mediapackage" // Mediapackage.
|
||||
MeteringMarketplaceServiceID = "metering.marketplace" // MeteringMarketplace.
|
||||
MghServiceID = "mgh" // Mgh.
|
||||
MobileanalyticsServiceID = "mobileanalytics" // Mobileanalytics.
|
||||
|
@ -125,12 +135,17 @@ const (
|
|||
RdsServiceID = "rds" // Rds.
|
||||
RedshiftServiceID = "redshift" // Redshift.
|
||||
RekognitionServiceID = "rekognition" // Rekognition.
|
||||
ResourceGroupsServiceID = "resource-groups" // ResourceGroups.
|
||||
Route53ServiceID = "route53" // Route53.
|
||||
Route53domainsServiceID = "route53domains" // Route53domains.
|
||||
RuntimeLexServiceID = "runtime.lex" // RuntimeLex.
|
||||
RuntimeSagemakerServiceID = "runtime.sagemaker" // RuntimeSagemaker.
|
||||
S3ServiceID = "s3" // S3.
|
||||
SagemakerServiceID = "sagemaker" // Sagemaker.
|
||||
SdbServiceID = "sdb" // Sdb.
|
||||
ServerlessrepoServiceID = "serverlessrepo" // Serverlessrepo.
|
||||
ServicecatalogServiceID = "servicecatalog" // Servicecatalog.
|
||||
ServicediscoveryServiceID = "servicediscovery" // Servicediscovery.
|
||||
ShieldServiceID = "shield" // Shield.
|
||||
SmsServiceID = "sms" // Sms.
|
||||
SnowballServiceID = "snowball" // Snowball.
|
||||
|
@ -144,9 +159,11 @@ const (
|
|||
SupportServiceID = "support" // Support.
|
||||
SwfServiceID = "swf" // Swf.
|
||||
TaggingServiceID = "tagging" // Tagging.
|
||||
TranslateServiceID = "translate" // Translate.
|
||||
WafServiceID = "waf" // Waf.
|
||||
WafRegionalServiceID = "waf-regional" // WafRegional.
|
||||
WorkdocsServiceID = "workdocs" // Workdocs.
|
||||
WorkmailServiceID = "workmail" // Workmail.
|
||||
WorkspacesServiceID = "workspaces" // Workspaces.
|
||||
XrayServiceID = "xray" // Xray.
|
||||
)
|
||||
|
@ -244,6 +261,12 @@ var awsPartition = partition{
|
|||
},
|
||||
},
|
||||
Services: services{
|
||||
"a4b": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-east-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"acm": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -370,17 +393,36 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"autoscaling-plans": service{
|
||||
Defaults: endpoint{
|
||||
Hostname: "autoscaling.{region}.amazonaws.com",
|
||||
Protocols: []string{"http", "https"},
|
||||
CredentialScope: credentialScope{
|
||||
Service: "autoscaling-plans",
|
||||
},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"ap-southeast-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"batch": service{
|
||||
|
||||
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-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -397,11 +439,35 @@ var awsPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"ce": service{
|
||||
PartitionEndpoint: "aws-global",
|
||||
IsRegionalized: boxedFalse,
|
||||
|
||||
Endpoints: endpoints{
|
||||
"aws-global": endpoint{
|
||||
Hostname: "ce.us-east-1.amazonaws.com",
|
||||
CredentialScope: credentialScope{
|
||||
Region: "us-east-1",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"cloud9": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-southeast-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"clouddirectory": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
|
@ -459,7 +525,11 @@ var awsPartition = partition{
|
|||
},
|
||||
},
|
||||
"cloudhsmv2": service{
|
||||
|
||||
Defaults: endpoint{
|
||||
CredentialScope: credentialScope{
|
||||
Service: "cloudhsm",
|
||||
},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
|
@ -577,6 +647,7 @@ var awsPartition = partition{
|
|||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"eu-west-3": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -588,6 +659,7 @@ 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{},
|
||||
|
@ -648,6 +720,17 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"comprehend": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"config": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -689,6 +772,8 @@ var awsPartition = partition{
|
|||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
|
@ -1044,10 +1129,13 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -1094,10 +1182,11 @@ var awsPartition = partition{
|
|||
"glue": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"greengrass": service{
|
||||
|
@ -1113,6 +1202,28 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"guardduty": service{
|
||||
IsRegionalized: boxedTrue,
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"health": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -1157,6 +1268,7 @@ var awsPartition = partition{
|
|||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
|
@ -1208,6 +1320,16 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"kinesisvideo": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"kms": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -1296,6 +1418,44 @@ var awsPartition = partition{
|
|||
"us-east-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"mediaconvert": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"medialive": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"mediapackage": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-3": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"metering.marketplace": service{
|
||||
Defaults: endpoint{
|
||||
CredentialScope: credentialScope{
|
||||
|
@ -1312,6 +1472,7 @@ var awsPartition = partition{
|
|||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"eu-west-3": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -1338,6 +1499,7 @@ var awsPartition = partition{
|
|||
},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
},
|
||||
},
|
||||
|
@ -1381,6 +1543,7 @@ 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{},
|
||||
|
@ -1395,9 +1558,15 @@ var awsPartition = partition{
|
|||
"opsworks-cm": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"organizations": service{
|
||||
|
@ -1488,9 +1657,31 @@ var awsPartition = partition{
|
|||
"rekognition": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"resource-groups": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{},
|
||||
"ap-northeast-2": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"route53": service{
|
||||
|
@ -1523,6 +1714,19 @@ var awsPartition = partition{
|
|||
"us-east-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"runtime.sagemaker": service{
|
||||
Defaults: endpoint{
|
||||
CredentialScope: credentialScope{
|
||||
Service: "sagemaker",
|
||||
},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"s3": service{
|
||||
PartitionEndpoint: "us-east-1",
|
||||
IsRegionalized: boxedTrue,
|
||||
|
@ -1582,6 +1786,15 @@ var awsPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"sagemaker": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"sdb": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"http", "https"},
|
||||
|
@ -1600,6 +1813,55 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"serverlessrepo": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"ap-northeast-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"ap-northeast-2": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"ap-south-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"ap-southeast-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"ap-southeast-2": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"ca-central-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"eu-central-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"eu-west-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"eu-west-2": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"sa-east-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"us-east-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"us-east-2": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"us-west-1": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
"us-west-2": endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
},
|
||||
},
|
||||
"servicecatalog": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -1620,6 +1882,15 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"servicediscovery": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"shield": service{
|
||||
IsRegionalized: boxedFalse,
|
||||
Defaults: endpoint{
|
||||
|
@ -1640,6 +1911,7 @@ var awsPartition = partition{
|
|||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"eu-west-3": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -1653,6 +1925,7 @@ var awsPartition = partition{
|
|||
"ap-northeast-1": endpoint{},
|
||||
"ap-south-1": endpoint{},
|
||||
"ap-southeast-2": endpoint{},
|
||||
"ca-central-1": endpoint{},
|
||||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
|
@ -1735,7 +2008,9 @@ var awsPartition = partition{
|
|||
|
||||
Endpoints: endpoints{
|
||||
"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{},
|
||||
|
@ -1890,6 +2165,7 @@ var awsPartition = partition{
|
|||
"eu-central-1": endpoint{},
|
||||
"eu-west-1": endpoint{},
|
||||
"eu-west-2": endpoint{},
|
||||
"eu-west-3": endpoint{},
|
||||
"sa-east-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
|
@ -1897,6 +2173,16 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"translate": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"us-east-1": endpoint{},
|
||||
"us-east-2": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"waf": service{
|
||||
PartitionEndpoint: "aws-global",
|
||||
IsRegionalized: boxedFalse,
|
||||
|
@ -1914,6 +2200,8 @@ 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{},
|
||||
"us-west-1": endpoint{},
|
||||
|
@ -1931,6 +2219,16 @@ var awsPartition = partition{
|
|||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"workmail": service{
|
||||
Defaults: endpoint{
|
||||
Protocols: []string{"https"},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"eu-west-1": endpoint{},
|
||||
"us-east-1": endpoint{},
|
||||
"us-west-2": endpoint{},
|
||||
},
|
||||
},
|
||||
"workspaces": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2235,6 +2533,12 @@ var awscnPartition = partition{
|
|||
"cn-northwest-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"sms": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"cn-north-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"snowball": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2302,7 +2606,8 @@ var awscnPartition = partition{
|
|||
"tagging": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"cn-north-1": endpoint{},
|
||||
"cn-north-1": endpoint{},
|
||||
"cn-northwest-1": endpoint{},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -2425,6 +2730,18 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"ecr": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"ecs": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"elasticache": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2453,6 +2770,12 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
},
|
||||
},
|
||||
"es": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"events": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2504,12 +2827,28 @@ var awsusgovPartition = partition{
|
|||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"metering.marketplace": service{
|
||||
Defaults: endpoint{
|
||||
CredentialScope: credentialScope{
|
||||
Service: "aws-marketplace",
|
||||
},
|
||||
},
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"monitoring": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"polly": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"rds": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
|
@ -2604,6 +2943,12 @@ var awsusgovPartition = partition{
|
|||
},
|
||||
"swf": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
},
|
||||
"tagging": service{
|
||||
|
||||
Endpoints: endpoints{
|
||||
"us-gov-west-1": endpoint{},
|
||||
},
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/aws/request/offset_reader.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/aws/request/offset_reader.go
generated
vendored
|
@ -3,6 +3,8 @@ package request
|
|||
import (
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
"github.com/aws/aws-sdk-go/internal/sdkio"
|
||||
)
|
||||
|
||||
// offsetReader is a thread-safe io.ReadCloser to prevent racing
|
||||
|
@ -15,7 +17,7 @@ type offsetReader struct {
|
|||
|
||||
func newOffsetReader(buf io.ReadSeeker, offset int64) *offsetReader {
|
||||
reader := &offsetReader{}
|
||||
buf.Seek(offset, 0)
|
||||
buf.Seek(offset, sdkio.SeekStart)
|
||||
|
||||
reader.buf = buf
|
||||
return reader
|
||||
|
|
7
vendor/github.com/aws/aws-sdk-go/aws/request/offset_reader_test.go
generated
vendored
7
vendor/github.com/aws/aws-sdk-go/aws/request/offset_reader_test.go
generated
vendored
|
@ -8,6 +8,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/internal/sdkio"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@ -28,15 +29,15 @@ func TestOffsetReaderSeek(t *testing.T) {
|
|||
buf := []byte("testData")
|
||||
reader := newOffsetReader(bytes.NewReader(buf), 0)
|
||||
|
||||
orig, err := reader.Seek(0, 1)
|
||||
orig, err := reader.Seek(0, sdkio.SeekCurrent)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, int64(0), orig)
|
||||
|
||||
n, err := reader.Seek(0, 2)
|
||||
n, err := reader.Seek(0, sdkio.SeekEnd)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, int64(len(buf)), n)
|
||||
|
||||
n, err = reader.Seek(orig, 0)
|
||||
n, err = reader.Seek(orig, sdkio.SeekStart)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, int64(0), n)
|
||||
}
|
||||
|
|
51
vendor/github.com/aws/aws-sdk-go/aws/request/request.go
generated
vendored
51
vendor/github.com/aws/aws-sdk-go/aws/request/request.go
generated
vendored
|
@ -14,6 +14,7 @@ import (
|
|||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/internal/sdkio"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -224,6 +225,9 @@ func (r *Request) SetContext(ctx aws.Context) {
|
|||
|
||||
// WillRetry returns if the request's can be retried.
|
||||
func (r *Request) WillRetry() bool {
|
||||
if !aws.IsReaderSeekable(r.Body) && r.HTTPRequest.Body != NoBody {
|
||||
return false
|
||||
}
|
||||
return r.Error != nil && aws.BoolValue(r.Retryable) && r.RetryCount < r.MaxRetries()
|
||||
}
|
||||
|
||||
|
@ -255,6 +259,7 @@ func (r *Request) SetStringBody(s string) {
|
|||
// SetReaderBody will set the request's body reader.
|
||||
func (r *Request) SetReaderBody(reader io.ReadSeeker) {
|
||||
r.Body = reader
|
||||
r.BodyStart, _ = reader.Seek(0, sdkio.SeekCurrent) // Get the Bodies current offset.
|
||||
r.ResetBody()
|
||||
}
|
||||
|
||||
|
@ -292,6 +297,11 @@ func (r *Request) PresignRequest(expire time.Duration) (string, http.Header, err
|
|||
return getPresignedURL(r, expire)
|
||||
}
|
||||
|
||||
// IsPresigned returns true if the request represents a presigned API url.
|
||||
func (r *Request) IsPresigned() bool {
|
||||
return r.ExpireTime != 0
|
||||
}
|
||||
|
||||
func getPresignedURL(r *Request, expire time.Duration) (string, http.Header, error) {
|
||||
if expire <= 0 {
|
||||
return "", nil, awserr.New(
|
||||
|
@ -393,7 +403,7 @@ func (r *Request) getNextRequestBody() (io.ReadCloser, error) {
|
|||
// of the SDK if they used that field.
|
||||
//
|
||||
// Related golang/go#18257
|
||||
l, err := computeBodyLength(r.Body)
|
||||
l, err := aws.SeekerLen(r.Body)
|
||||
if err != nil {
|
||||
return nil, awserr.New(ErrCodeSerialization, "failed to compute request body size", err)
|
||||
}
|
||||
|
@ -411,7 +421,8 @@ func (r *Request) getNextRequestBody() (io.ReadCloser, error) {
|
|||
// Transfer-Encoding: chunked bodies for these methods.
|
||||
//
|
||||
// This would only happen if a aws.ReaderSeekerCloser was used with
|
||||
// a io.Reader that was not also an io.Seeker.
|
||||
// a io.Reader that was not also an io.Seeker, or did not implement
|
||||
// Len() method.
|
||||
switch r.Operation.HTTPMethod {
|
||||
case "GET", "HEAD", "DELETE":
|
||||
body = NoBody
|
||||
|
@ -423,42 +434,6 @@ func (r *Request) getNextRequestBody() (io.ReadCloser, error) {
|
|||
return body, nil
|
||||
}
|
||||
|
||||
// Attempts to compute the length of the body of the reader using the
|
||||
// io.Seeker interface. If the value is not seekable because of being
|
||||
// a ReaderSeekerCloser without an unerlying Seeker -1 will be returned.
|
||||
// If no error occurs the length of the body will be returned.
|
||||
func computeBodyLength(r io.ReadSeeker) (int64, error) {
|
||||
seekable := true
|
||||
// Determine if the seeker is actually seekable. ReaderSeekerCloser
|
||||
// hides the fact that a io.Readers might not actually be seekable.
|
||||
switch v := r.(type) {
|
||||
case aws.ReaderSeekerCloser:
|
||||
seekable = v.IsSeeker()
|
||||
case *aws.ReaderSeekerCloser:
|
||||
seekable = v.IsSeeker()
|
||||
}
|
||||
if !seekable {
|
||||
return -1, nil
|
||||
}
|
||||
|
||||
curOffset, err := r.Seek(0, 1)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
endOffset, err := r.Seek(0, 2)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
_, err = r.Seek(curOffset, 0)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
return endOffset - curOffset, nil
|
||||
}
|
||||
|
||||
// GetBody will return an io.ReadSeeker of the Request's underlying
|
||||
// input body with a concurrency safe wrapper.
|
||||
func (r *Request) GetBody() io.ReadSeeker {
|
||||
|
|
25
vendor/github.com/aws/aws-sdk-go/aws/request/request_pagination.go
generated
vendored
25
vendor/github.com/aws/aws-sdk-go/aws/request/request_pagination.go
generated
vendored
|
@ -142,13 +142,28 @@ func (r *Request) nextPageTokens() []interface{} {
|
|||
tokens := []interface{}{}
|
||||
tokenAdded := false
|
||||
for _, outToken := range r.Operation.OutputTokens {
|
||||
v, _ := awsutil.ValuesAtPath(r.Data, outToken)
|
||||
if len(v) > 0 {
|
||||
tokens = append(tokens, v[0])
|
||||
tokenAdded = true
|
||||
} else {
|
||||
vs, _ := awsutil.ValuesAtPath(r.Data, outToken)
|
||||
if len(vs) == 0 {
|
||||
tokens = append(tokens, nil)
|
||||
continue
|
||||
}
|
||||
v := vs[0]
|
||||
|
||||
switch tv := v.(type) {
|
||||
case *string:
|
||||
if len(aws.StringValue(tv)) == 0 {
|
||||
tokens = append(tokens, nil)
|
||||
continue
|
||||
}
|
||||
case string:
|
||||
if len(tv) == 0 {
|
||||
tokens = append(tokens, nil)
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
tokenAdded = true
|
||||
tokens = append(tokens, v)
|
||||
}
|
||||
if !tokenAdded {
|
||||
return nil
|
||||
|
|
141
vendor/github.com/aws/aws-sdk-go/aws/request/request_pagination_test.go
generated
vendored
141
vendor/github.com/aws/aws-sdk-go/aws/request/request_pagination_test.go
generated
vendored
|
@ -454,78 +454,93 @@ func TestPaginationWithContextNilInput(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
type testPageInput struct {
|
||||
NextToken string
|
||||
}
|
||||
type testPageOutput struct {
|
||||
Value string
|
||||
NextToken *string
|
||||
}
|
||||
|
||||
func TestPagination_Standalone(t *testing.T) {
|
||||
expect := []struct {
|
||||
Value, PrevToken, NextToken string
|
||||
}{
|
||||
{"FirstValue", "InitalToken", "FirstToken"},
|
||||
{"SecondValue", "FirstToken", "SecondToken"},
|
||||
{"ThirdValue", "SecondToken", ""},
|
||||
type testPageInput struct {
|
||||
NextToken *string
|
||||
}
|
||||
input := testPageInput{
|
||||
NextToken: expect[0].PrevToken,
|
||||
type testPageOutput struct {
|
||||
Value *string
|
||||
NextToken *string
|
||||
}
|
||||
type testCase struct {
|
||||
Value, PrevToken, NextToken *string
|
||||
}
|
||||
|
||||
c := awstesting.NewClient()
|
||||
i := 0
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
r := c.NewRequest(
|
||||
&request.Operation{
|
||||
Name: "Operation",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
},
|
||||
},
|
||||
&input, &testPageOutput{},
|
||||
)
|
||||
// Setup handlers for testing
|
||||
r.Handlers.Clear()
|
||||
r.Handlers.Build.PushBack(func(req *request.Request) {
|
||||
in := req.Params.(*testPageInput)
|
||||
if e, a := expect[i].PrevToken, in.NextToken; e != a {
|
||||
t.Errorf("%d, expect NextToken input %q, got %q", i, e, a)
|
||||
}
|
||||
})
|
||||
r.Handlers.Unmarshal.PushBack(func(req *request.Request) {
|
||||
out := &testPageOutput{
|
||||
Value: expect[i].Value,
|
||||
}
|
||||
if len(expect[i].NextToken) > 0 {
|
||||
out.NextToken = aws.String(expect[i].NextToken)
|
||||
}
|
||||
req.Data = out
|
||||
})
|
||||
return r, nil
|
||||
cases := [][]testCase{
|
||||
{
|
||||
testCase{aws.String("FirstValue"), aws.String("InitalToken"), aws.String("FirstToken")},
|
||||
testCase{aws.String("SecondValue"), aws.String("FirstToken"), aws.String("SecondToken")},
|
||||
testCase{aws.String("ThirdValue"), aws.String("SecondToken"), nil},
|
||||
},
|
||||
{
|
||||
testCase{aws.String("FirstValue"), aws.String("InitalToken"), aws.String("FirstToken")},
|
||||
testCase{aws.String("SecondValue"), aws.String("FirstToken"), aws.String("SecondToken")},
|
||||
testCase{aws.String("ThirdValue"), aws.String("SecondToken"), aws.String("")},
|
||||
},
|
||||
}
|
||||
|
||||
for p.Next() {
|
||||
data := p.Page().(*testPageOutput)
|
||||
|
||||
if e, a := expect[i].Value, data.Value; e != a {
|
||||
t.Errorf("%d, expect Value to be %q, got %q", i, e, a)
|
||||
}
|
||||
if e, a := expect[i].NextToken, aws.StringValue(data.NextToken); e != a {
|
||||
t.Errorf("%d, expect NextToken to be %q, got %q", i, e, a)
|
||||
for _, c := range cases {
|
||||
input := testPageInput{
|
||||
NextToken: c[0].PrevToken,
|
||||
}
|
||||
|
||||
i++
|
||||
}
|
||||
if e, a := len(expect), i; e != a {
|
||||
t.Errorf("expected to process %d pages, did %d", e, a)
|
||||
}
|
||||
if err := p.Err(); err != nil {
|
||||
t.Fatalf("%d, expected no error, got %v", i, err)
|
||||
svc := awstesting.NewClient()
|
||||
i := 0
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
r := svc.NewRequest(
|
||||
&request.Operation{
|
||||
Name: "Operation",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
},
|
||||
},
|
||||
&input, &testPageOutput{},
|
||||
)
|
||||
// Setup handlers for testing
|
||||
r.Handlers.Clear()
|
||||
r.Handlers.Build.PushBack(func(req *request.Request) {
|
||||
if e, a := len(c), i+1; a > e {
|
||||
t.Fatalf("expect no more than %d requests, got %d", e, a)
|
||||
}
|
||||
in := req.Params.(*testPageInput)
|
||||
if e, a := aws.StringValue(c[i].PrevToken), aws.StringValue(in.NextToken); e != a {
|
||||
t.Errorf("%d, expect NextToken input %q, got %q", i, e, a)
|
||||
}
|
||||
})
|
||||
r.Handlers.Unmarshal.PushBack(func(req *request.Request) {
|
||||
out := &testPageOutput{
|
||||
Value: c[i].Value,
|
||||
}
|
||||
if c[i].NextToken != nil {
|
||||
next := *c[i].NextToken
|
||||
out.NextToken = aws.String(next)
|
||||
}
|
||||
req.Data = out
|
||||
})
|
||||
return r, nil
|
||||
},
|
||||
}
|
||||
|
||||
for p.Next() {
|
||||
data := p.Page().(*testPageOutput)
|
||||
|
||||
if e, a := aws.StringValue(c[i].Value), aws.StringValue(data.Value); e != a {
|
||||
t.Errorf("%d, expect Value to be %q, got %q", i, e, a)
|
||||
}
|
||||
if e, a := aws.StringValue(c[i].NextToken), aws.StringValue(data.NextToken); e != a {
|
||||
t.Errorf("%d, expect NextToken to be %q, got %q", i, e, a)
|
||||
}
|
||||
|
||||
i++
|
||||
}
|
||||
if e, a := len(c), i; e != a {
|
||||
t.Errorf("expected to process %d pages, did %d", e, a)
|
||||
}
|
||||
if err := p.Err(); err != nil {
|
||||
t.Fatalf("%d, expected no error, got %v", i, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
71
vendor/github.com/aws/aws-sdk-go/aws/request/request_resetbody_test.go
generated
vendored
71
vendor/github.com/aws/aws-sdk-go/aws/request/request_resetbody_test.go
generated
vendored
|
@ -2,6 +2,7 @@ package request
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"io"
|
||||
"net/http"
|
||||
"strings"
|
||||
"testing"
|
||||
|
@ -25,21 +26,70 @@ func TestResetBody_WithBodyContents(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestResetBody_ExcludeUnseekableBodyByMethod(t *testing.T) {
|
||||
type mockReader struct{}
|
||||
|
||||
func (mockReader) Read([]byte) (int, error) {
|
||||
return 0, io.EOF
|
||||
}
|
||||
|
||||
func TestResetBody_ExcludeEmptyUnseekableBodyByMethod(t *testing.T) {
|
||||
cases := []struct {
|
||||
Method string
|
||||
Body io.ReadSeeker
|
||||
IsNoBody bool
|
||||
}{
|
||||
{"GET", true},
|
||||
{"HEAD", true},
|
||||
{"DELETE", true},
|
||||
{"PUT", false},
|
||||
{"PATCH", false},
|
||||
{"POST", false},
|
||||
{
|
||||
Method: "GET",
|
||||
IsNoBody: true,
|
||||
Body: aws.ReadSeekCloser(mockReader{}),
|
||||
},
|
||||
{
|
||||
Method: "HEAD",
|
||||
IsNoBody: true,
|
||||
Body: aws.ReadSeekCloser(mockReader{}),
|
||||
},
|
||||
{
|
||||
Method: "DELETE",
|
||||
IsNoBody: true,
|
||||
Body: aws.ReadSeekCloser(mockReader{}),
|
||||
},
|
||||
{
|
||||
Method: "PUT",
|
||||
IsNoBody: false,
|
||||
Body: aws.ReadSeekCloser(mockReader{}),
|
||||
},
|
||||
{
|
||||
Method: "PATCH",
|
||||
IsNoBody: false,
|
||||
Body: aws.ReadSeekCloser(mockReader{}),
|
||||
},
|
||||
{
|
||||
Method: "POST",
|
||||
IsNoBody: false,
|
||||
Body: aws.ReadSeekCloser(mockReader{}),
|
||||
},
|
||||
{
|
||||
Method: "GET",
|
||||
IsNoBody: false,
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer([]byte("abc"))),
|
||||
},
|
||||
{
|
||||
Method: "GET",
|
||||
IsNoBody: true,
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer(nil)),
|
||||
},
|
||||
{
|
||||
Method: "POST",
|
||||
IsNoBody: false,
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer([]byte("abc"))),
|
||||
},
|
||||
{
|
||||
Method: "POST",
|
||||
IsNoBody: true,
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer(nil)),
|
||||
},
|
||||
}
|
||||
|
||||
reader := aws.ReadSeekCloser(bytes.NewBuffer([]byte("abc")))
|
||||
|
||||
for i, c := range cases {
|
||||
r := Request{
|
||||
HTTPRequest: &http.Request{},
|
||||
|
@ -47,8 +97,7 @@ func TestResetBody_ExcludeUnseekableBodyByMethod(t *testing.T) {
|
|||
HTTPMethod: c.Method,
|
||||
},
|
||||
}
|
||||
|
||||
r.SetReaderBody(reader)
|
||||
r.SetReaderBody(c.Body)
|
||||
|
||||
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)
|
||||
|
|
131
vendor/github.com/aws/aws-sdk-go/aws/request/request_test.go
generated
vendored
131
vendor/github.com/aws/aws-sdk-go/aws/request/request_test.go
generated
vendored
|
@ -22,13 +22,13 @@ import (
|
|||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/corehandlers"
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/defaults"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/awstesting/unit"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/rest"
|
||||
"github.com/aws/aws-sdk-go/aws/defaults"
|
||||
)
|
||||
|
||||
type testData struct {
|
||||
|
@ -83,7 +83,7 @@ func TestRequestRecoverRetry5xx(t *testing.T) {
|
|||
reqNum := 0
|
||||
reqs := []http.Response{
|
||||
{StatusCode: 500, Body: body(`{"__type":"UnknownError","message":"An error occurred."}`)},
|
||||
{StatusCode: 501, Body: body(`{"__type":"UnknownError","message":"An error occurred."}`)},
|
||||
{StatusCode: 502, Body: body(`{"__type":"UnknownError","message":"An error occurred."}`)},
|
||||
{StatusCode: 200, Body: body(`{"data":"valid"}`)},
|
||||
}
|
||||
|
||||
|
@ -893,7 +893,6 @@ func TestRequest_Presign(t *testing.T) {
|
|||
},
|
||||
SignerFn: func(r *request.Request) {
|
||||
r.HTTPRequest.URL = mustParseURL("https://endpoint/presignedURL")
|
||||
fmt.Println("url", r.HTTPRequest.URL.String())
|
||||
if r.NotHoist {
|
||||
r.Error = fmt.Errorf("expect NotHoist to be cleared")
|
||||
}
|
||||
|
@ -961,7 +960,7 @@ func TestRequest_Presign(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func TestNew_EndpointWithDefaultPort(t *testing.T) {
|
||||
endpoint := "https://estest.us-east-1.es.amazonaws.com:443"
|
||||
expectedRequestHost := "estest.us-east-1.es.amazonaws.com"
|
||||
|
@ -983,7 +982,7 @@ func TestNew_EndpointWithDefaultPort(t *testing.T) {
|
|||
|
||||
func TestSanitizeHostForHeader(t *testing.T) {
|
||||
cases := []struct {
|
||||
url string
|
||||
url string
|
||||
expectedRequestHost string
|
||||
}{
|
||||
{"https://estest.us-east-1.es.amazonaws.com:443", "estest.us-east-1.es.amazonaws.com"},
|
||||
|
@ -999,6 +998,124 @@ func TestSanitizeHostForHeader(t *testing.T) {
|
|||
|
||||
if h := r.Host; h != c.expectedRequestHost {
|
||||
t.Errorf("expect %v host, got %q", c.expectedRequestHost, h)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestRequestWillRetry_ByBody(t *testing.T) {
|
||||
svc := awstesting.NewClient()
|
||||
|
||||
cases := []struct {
|
||||
WillRetry bool
|
||||
HTTPMethod string
|
||||
Body io.ReadSeeker
|
||||
IsReqNoBody bool
|
||||
}{
|
||||
{
|
||||
WillRetry: true,
|
||||
HTTPMethod: "GET",
|
||||
Body: bytes.NewReader([]byte{}),
|
||||
IsReqNoBody: true,
|
||||
},
|
||||
{
|
||||
WillRetry: true,
|
||||
HTTPMethod: "GET",
|
||||
Body: bytes.NewReader(nil),
|
||||
IsReqNoBody: true,
|
||||
},
|
||||
{
|
||||
WillRetry: true,
|
||||
HTTPMethod: "POST",
|
||||
Body: bytes.NewReader([]byte("abc123")),
|
||||
},
|
||||
{
|
||||
WillRetry: true,
|
||||
HTTPMethod: "POST",
|
||||
Body: aws.ReadSeekCloser(bytes.NewReader([]byte("abc123"))),
|
||||
},
|
||||
{
|
||||
WillRetry: true,
|
||||
HTTPMethod: "GET",
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer(nil)),
|
||||
IsReqNoBody: true,
|
||||
},
|
||||
{
|
||||
WillRetry: true,
|
||||
HTTPMethod: "POST",
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer(nil)),
|
||||
IsReqNoBody: true,
|
||||
},
|
||||
{
|
||||
WillRetry: false,
|
||||
HTTPMethod: "POST",
|
||||
Body: aws.ReadSeekCloser(bytes.NewBuffer([]byte("abc123"))),
|
||||
},
|
||||
}
|
||||
|
||||
for i, c := range cases {
|
||||
req := svc.NewRequest(&request.Operation{
|
||||
Name: "Operation",
|
||||
HTTPMethod: c.HTTPMethod,
|
||||
HTTPPath: "/",
|
||||
}, nil, nil)
|
||||
req.SetReaderBody(c.Body)
|
||||
req.Build()
|
||||
|
||||
req.Error = fmt.Errorf("some error")
|
||||
req.Retryable = aws.Bool(true)
|
||||
req.HTTPResponse = &http.Response{
|
||||
StatusCode: 500,
|
||||
}
|
||||
|
||||
if e, a := c.IsReqNoBody, request.NoBody == req.HTTPRequest.Body; e != a {
|
||||
t.Errorf("%d, expect request to be no body, %t, got %t, %T", i, e, a, req.HTTPRequest.Body)
|
||||
}
|
||||
|
||||
if e, a := c.WillRetry, req.WillRetry(); e != a {
|
||||
t.Errorf("%d, expect %t willRetry, got %t", i, e, a)
|
||||
}
|
||||
|
||||
if req.Error == nil {
|
||||
t.Fatalf("%d, expect error, got none", i)
|
||||
}
|
||||
if e, a := "some error", req.Error.Error(); !strings.Contains(a, e) {
|
||||
t.Errorf("%d, expect %q error in %q", i, e, a)
|
||||
}
|
||||
if e, a := 0, req.RetryCount; e != a {
|
||||
t.Errorf("%d, expect retry count to be %d, got %d", i, e, a)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func Test501NotRetrying(t *testing.T) {
|
||||
reqNum := 0
|
||||
reqs := []http.Response{
|
||||
{StatusCode: 500, Body: body(`{"__type":"UnknownError","message":"An error occurred."}`)},
|
||||
{StatusCode: 501, Body: body(`{"__type":"NotImplemented","message":"An error occurred."}`)},
|
||||
{StatusCode: 200, Body: body(`{"data":"valid"}`)},
|
||||
}
|
||||
|
||||
s := awstesting.NewClient(aws.NewConfig().WithMaxRetries(10))
|
||||
s.Handlers.Validate.Clear()
|
||||
s.Handlers.Unmarshal.PushBack(unmarshal)
|
||||
s.Handlers.UnmarshalError.PushBack(unmarshalError)
|
||||
s.Handlers.Send.Clear() // mock sending
|
||||
s.Handlers.Send.PushBack(func(r *request.Request) {
|
||||
r.HTTPResponse = &reqs[reqNum]
|
||||
reqNum++
|
||||
})
|
||||
out := &testData{}
|
||||
r := s.NewRequest(&request.Operation{Name: "Operation"}, nil, out)
|
||||
err := r.Send()
|
||||
if err == nil {
|
||||
t.Fatal("expect error, but got none")
|
||||
}
|
||||
|
||||
aerr := err.(awserr.Error)
|
||||
if e, a := "NotImplemented", aerr.Code(); e != a {
|
||||
t.Errorf("expected error code %q, but received %q", e, a)
|
||||
}
|
||||
if e, a := 1, int(r.RetryCount); e != a {
|
||||
t.Errorf("expect %d retry count, got %d", e, a)
|
||||
}
|
||||
}
|
||||
|
|
8
vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/aws/session/env_config.go
generated
vendored
|
@ -5,6 +5,7 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/defaults"
|
||||
)
|
||||
|
||||
// EnvProviderName provides a name of the provider when config is loaded from environment.
|
||||
|
@ -176,6 +177,13 @@ func envConfigLoad(enableSharedConfig bool) envConfig {
|
|||
setFromEnvVal(&cfg.SharedCredentialsFile, sharedCredsFileEnvKey)
|
||||
setFromEnvVal(&cfg.SharedConfigFile, sharedConfigFileEnvKey)
|
||||
|
||||
if len(cfg.SharedCredentialsFile) == 0 {
|
||||
cfg.SharedCredentialsFile = defaults.SharedCredentialsFilename()
|
||||
}
|
||||
if len(cfg.SharedConfigFile) == 0 {
|
||||
cfg.SharedConfigFile = defaults.SharedConfigFilename()
|
||||
}
|
||||
|
||||
cfg.CustomCABundle = os.Getenv("AWS_CA_BUNDLE")
|
||||
|
||||
return cfg
|
||||
|
|
47
vendor/github.com/aws/aws-sdk-go/aws/session/env_config_test.go
generated
vendored
47
vendor/github.com/aws/aws-sdk-go/aws/session/env_config_test.go
generated
vendored
|
@ -7,6 +7,7 @@ import (
|
|||
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/awstesting"
|
||||
"github.com/aws/aws-sdk-go/internal/shareddefaults"
|
||||
)
|
||||
|
||||
func TestLoadEnvConfig_Creds(t *testing.T) {
|
||||
|
@ -105,6 +106,8 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -116,6 +119,8 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -128,7 +133,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -136,6 +143,10 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_DEFAULT_REGION": "default_region",
|
||||
"AWS_DEFAULT_PROFILE": "default_profile",
|
||||
},
|
||||
Config: envConfig{
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
},
|
||||
{
|
||||
Env: map[string]string{
|
||||
|
@ -145,7 +156,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
EnableSharedConfig: true,
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -155,7 +168,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
|
@ -168,7 +183,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
|
@ -182,7 +199,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "region", Profile: "profile",
|
||||
EnableSharedConfig: true,
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
|
@ -193,7 +212,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
EnableSharedConfig: true,
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
|
@ -205,7 +226,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
},
|
||||
Config: envConfig{
|
||||
Region: "default_region", Profile: "default_profile",
|
||||
EnableSharedConfig: true,
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
|
@ -214,7 +237,9 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_CA_BUNDLE": "custom_ca_bundle",
|
||||
},
|
||||
Config: envConfig{
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -222,8 +247,10 @@ func TestLoadEnvConfig(t *testing.T) {
|
|||
"AWS_CA_BUNDLE": "custom_ca_bundle",
|
||||
},
|
||||
Config: envConfig{
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
EnableSharedConfig: true,
|
||||
CustomCABundle: "custom_ca_bundle",
|
||||
EnableSharedConfig: true,
|
||||
SharedCredentialsFile: shareddefaults.SharedCredentialsFilename(),
|
||||
SharedConfigFile: shareddefaults.SharedConfigFilename(),
|
||||
},
|
||||
UseSharedConfigCall: true,
|
||||
},
|
||||
|
|
16
vendor/github.com/aws/aws-sdk-go/aws/session/session.go
generated
vendored
16
vendor/github.com/aws/aws-sdk-go/aws/session/session.go
generated
vendored
|
@ -26,7 +26,7 @@ import (
|
|||
// Sessions are safe to create service clients concurrently, but it is not safe
|
||||
// to mutate the Session concurrently.
|
||||
//
|
||||
// The Session satisfies the service client's client.ClientConfigProvider.
|
||||
// The Session satisfies the service client's client.ConfigProvider.
|
||||
type Session struct {
|
||||
Config *aws.Config
|
||||
Handlers request.Handlers
|
||||
|
@ -58,7 +58,12 @@ func New(cfgs ...*aws.Config) *Session {
|
|||
envCfg := loadEnvConfig()
|
||||
|
||||
if envCfg.EnableSharedConfig {
|
||||
s, err := newSession(Options{}, envCfg, cfgs...)
|
||||
var cfg aws.Config
|
||||
cfg.MergeIn(cfgs...)
|
||||
s, err := NewSessionWithOptions(Options{
|
||||
Config: cfg,
|
||||
SharedConfigState: SharedConfigEnable,
|
||||
})
|
||||
if err != nil {
|
||||
// Old session.New expected all errors to be discovered when
|
||||
// a request is made, and would report the errors then. This
|
||||
|
@ -243,13 +248,6 @@ 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)
|
||||
|
|
24
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go
generated
vendored
24
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4.go
generated
vendored
|
@ -71,6 +71,7 @@ import (
|
|||
"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/internal/sdkio"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/rest"
|
||||
)
|
||||
|
||||
|
@ -341,7 +342,9 @@ func (v4 Signer) signWithBody(r *http.Request, body io.ReadSeeker, service, regi
|
|||
|
||||
ctx.sanitizeHostForHeader()
|
||||
ctx.assignAmzQueryValues()
|
||||
ctx.build(v4.DisableHeaderHoisting)
|
||||
if err := ctx.build(v4.DisableHeaderHoisting); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// If the request is not presigned the body should be attached to it. This
|
||||
// prevents the confusion of wanting to send a signed request without
|
||||
|
@ -503,11 +506,13 @@ func (v4 *Signer) logSigningInfo(ctx *signingCtx) {
|
|||
v4.Logger.Log(msg)
|
||||
}
|
||||
|
||||
func (ctx *signingCtx) build(disableHeaderHoisting bool) {
|
||||
func (ctx *signingCtx) build(disableHeaderHoisting bool) error {
|
||||
ctx.buildTime() // no depends
|
||||
ctx.buildCredentialString() // no depends
|
||||
|
||||
ctx.buildBodyDigest()
|
||||
if err := ctx.buildBodyDigest(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
unsignedHeaders := ctx.Request.Header
|
||||
if ctx.isPresign {
|
||||
|
@ -535,6 +540,8 @@ func (ctx *signingCtx) build(disableHeaderHoisting bool) {
|
|||
}
|
||||
ctx.Request.Header.Set("Authorization", strings.Join(parts, ", "))
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (ctx *signingCtx) buildTime() {
|
||||
|
@ -661,7 +668,7 @@ func (ctx *signingCtx) buildSignature() {
|
|||
ctx.signature = hex.EncodeToString(signature)
|
||||
}
|
||||
|
||||
func (ctx *signingCtx) buildBodyDigest() {
|
||||
func (ctx *signingCtx) buildBodyDigest() error {
|
||||
hash := ctx.Request.Header.Get("X-Amz-Content-Sha256")
|
||||
if hash == "" {
|
||||
if ctx.unsignedPayload || (ctx.isPresign && ctx.ServiceName == "s3") {
|
||||
|
@ -669,6 +676,9 @@ func (ctx *signingCtx) buildBodyDigest() {
|
|||
} else if ctx.Body == nil {
|
||||
hash = emptyStringSHA256
|
||||
} else {
|
||||
if !aws.IsReaderSeekable(ctx.Body) {
|
||||
return fmt.Errorf("cannot use unseekable request body %T, for signed request with body", ctx.Body)
|
||||
}
|
||||
hash = hex.EncodeToString(makeSha256Reader(ctx.Body))
|
||||
}
|
||||
if ctx.unsignedPayload || ctx.ServiceName == "s3" || ctx.ServiceName == "glacier" {
|
||||
|
@ -676,6 +686,8 @@ func (ctx *signingCtx) buildBodyDigest() {
|
|||
}
|
||||
}
|
||||
ctx.bodyDigest = hash
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// isRequestSigned returns if the request is currently signed or presigned
|
||||
|
@ -715,8 +727,8 @@ func makeSha256(data []byte) []byte {
|
|||
|
||||
func makeSha256Reader(reader io.ReadSeeker) []byte {
|
||||
hash := sha256.New()
|
||||
start, _ := reader.Seek(0, 1)
|
||||
defer reader.Seek(start, 0)
|
||||
start, _ := reader.Seek(0, sdkio.SeekCurrent)
|
||||
defer reader.Seek(start, sdkio.SeekStart)
|
||||
|
||||
io.Copy(hash, reader)
|
||||
return hash.Sum(nil)
|
||||
|
|
97
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go
generated
vendored
97
vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go
generated
vendored
|
@ -7,6 +7,7 @@ import (
|
|||
"net/http"
|
||||
"net/http/httptest"
|
||||
"reflect"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -61,17 +62,42 @@ func TestStripExcessHeaders(t *testing.T) {
|
|||
}
|
||||
|
||||
func buildRequest(serviceName, region, body string) (*http.Request, io.ReadSeeker) {
|
||||
endpoint := "https://" + serviceName + "." + region + ".amazonaws.com"
|
||||
reader := strings.NewReader(body)
|
||||
req, _ := http.NewRequest("POST", endpoint, reader)
|
||||
return buildRequestWithBodyReader(serviceName, region, reader)
|
||||
}
|
||||
|
||||
func buildRequestWithBodyReader(serviceName, region string, body io.Reader) (*http.Request, io.ReadSeeker) {
|
||||
var bodyLen int
|
||||
|
||||
type lenner interface {
|
||||
Len() int
|
||||
}
|
||||
if lr, ok := body.(lenner); ok {
|
||||
bodyLen = lr.Len()
|
||||
}
|
||||
|
||||
endpoint := "https://" + serviceName + "." + region + ".amazonaws.com"
|
||||
req, _ := http.NewRequest("POST", endpoint, body)
|
||||
req.URL.Opaque = "//example.org/bucket/key-._~,!@#$%^&*()"
|
||||
req.Header.Add("X-Amz-Target", "prefix.Operation")
|
||||
req.Header.Add("Content-Type", "application/x-amz-json-1.0")
|
||||
req.Header.Add("Content-Length", string(len(body)))
|
||||
req.Header.Add("X-Amz-Meta-Other-Header", "some-value=!@#$%^&* (+)")
|
||||
req.Header.Set("X-Amz-Target", "prefix.Operation")
|
||||
req.Header.Set("Content-Type", "application/x-amz-json-1.0")
|
||||
|
||||
if bodyLen > 0 {
|
||||
req.Header.Set("Content-Length", strconv.Itoa(bodyLen))
|
||||
}
|
||||
|
||||
req.Header.Set("X-Amz-Meta-Other-Header", "some-value=!@#$%^&* (+)")
|
||||
req.Header.Add("X-Amz-Meta-Other-Header_With_Underscore", "some-value=!@#$%^&* (+)")
|
||||
req.Header.Add("X-amz-Meta-Other-Header_With_Underscore", "some-value=!@#$%^&* (+)")
|
||||
return req, reader
|
||||
|
||||
var seeker io.ReadSeeker
|
||||
if sr, ok := body.(io.ReadSeeker); ok {
|
||||
seeker = sr
|
||||
} else {
|
||||
seeker = aws.ReadSeekCloser(body)
|
||||
}
|
||||
|
||||
return req, seeker
|
||||
}
|
||||
|
||||
func buildSigner() Signer {
|
||||
|
@ -101,7 +127,7 @@ func TestPresignRequest(t *testing.T) {
|
|||
|
||||
expectedDate := "19700101T000000Z"
|
||||
expectedHeaders := "content-length;content-type;host;x-amz-meta-other-header;x-amz-meta-other-header_with_underscore"
|
||||
expectedSig := "ea7856749041f727690c580569738282e99c79355fe0d8f125d3b5535d2ece83"
|
||||
expectedSig := "122f0b9e091e4ba84286097e2b3404a1f1f4c4aad479adda95b7dff0ccbe5581"
|
||||
expectedCred := "AKID/19700101/us-east-1/dynamodb/aws4_request"
|
||||
expectedTarget := "prefix.Operation"
|
||||
|
||||
|
@ -135,7 +161,7 @@ func TestPresignBodyWithArrayRequest(t *testing.T) {
|
|||
|
||||
expectedDate := "19700101T000000Z"
|
||||
expectedHeaders := "content-length;content-type;host;x-amz-meta-other-header;x-amz-meta-other-header_with_underscore"
|
||||
expectedSig := "fef6002062400bbf526d70f1a6456abc0fb2e213fe1416012737eebd42a62924"
|
||||
expectedSig := "e3ac55addee8711b76c6d608d762cff285fe8b627a057f8b5ec9268cf82c08b1"
|
||||
expectedCred := "AKID/19700101/us-east-1/dynamodb/aws4_request"
|
||||
expectedTarget := "prefix.Operation"
|
||||
|
||||
|
@ -166,14 +192,14 @@ func TestSignRequest(t *testing.T) {
|
|||
signer.Sign(req, body, "dynamodb", "us-east-1", time.Unix(0, 0))
|
||||
|
||||
expectedDate := "19700101T000000Z"
|
||||
expectedSig := "AWS4-HMAC-SHA256 Credential=AKID/19700101/us-east-1/dynamodb/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-meta-other-header;x-amz-meta-other-header_with_underscore;x-amz-security-token;x-amz-target, Signature=ea766cabd2ec977d955a3c2bae1ae54f4515d70752f2207618396f20aa85bd21"
|
||||
expectedSig := "AWS4-HMAC-SHA256 Credential=AKID/19700101/us-east-1/dynamodb/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-meta-other-header;x-amz-meta-other-header_with_underscore;x-amz-security-token;x-amz-target, Signature=a518299330494908a70222cec6899f6f32f297f8595f6df1776d998936652ad9"
|
||||
|
||||
q := req.Header
|
||||
if e, a := expectedSig, q.Get("Authorization"); e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
t.Errorf("expect\n%v\nactual\n%v\n", e, a)
|
||||
}
|
||||
if e, a := expectedDate, q.Get("X-Amz-Date"); e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
t.Errorf("expect\n%v\nactual\n%v\n", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -207,6 +233,53 @@ func TestPresignEmptyBodyS3(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestSignUnseekableBody(t *testing.T) {
|
||||
req, body := buildRequestWithBodyReader("mock-service", "mock-region", bytes.NewBuffer([]byte("hello")))
|
||||
signer := buildSigner()
|
||||
_, err := signer.Sign(req, body, "mock-service", "mock-region", time.Now())
|
||||
if err == nil {
|
||||
t.Fatalf("expect error signing request")
|
||||
}
|
||||
|
||||
if e, a := "unseekable request body", err.Error(); !strings.Contains(a, e) {
|
||||
t.Errorf("expect %q to be in %q", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSignUnsignedPayloadUnseekableBody(t *testing.T) {
|
||||
req, body := buildRequestWithBodyReader("mock-service", "mock-region", bytes.NewBuffer([]byte("hello")))
|
||||
|
||||
signer := buildSigner()
|
||||
signer.UnsignedPayload = true
|
||||
|
||||
_, err := signer.Sign(req, body, "mock-service", "mock-region", time.Now())
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
hash := req.Header.Get("X-Amz-Content-Sha256")
|
||||
if e, a := "UNSIGNED-PAYLOAD", hash; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSignPreComputedHashUnseekableBody(t *testing.T) {
|
||||
req, body := buildRequestWithBodyReader("mock-service", "mock-region", bytes.NewBuffer([]byte("hello")))
|
||||
|
||||
signer := buildSigner()
|
||||
|
||||
req.Header.Set("X-Amz-Content-Sha256", "some-content-sha256")
|
||||
_, err := signer.Sign(req, body, "mock-service", "mock-region", time.Now())
|
||||
if err != nil {
|
||||
t.Fatalf("expect no error, got %v", err)
|
||||
}
|
||||
|
||||
hash := req.Header.Get("X-Amz-Content-Sha256")
|
||||
if e, a := "some-content-sha256", hash; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSignPrecomputedBodyChecksum(t *testing.T) {
|
||||
req, body := buildRequest("dynamodb", "us-east-1", "hello")
|
||||
req.Header.Set("X-Amz-Content-Sha256", "PRECOMPUTED")
|
||||
|
|
83
vendor/github.com/aws/aws-sdk-go/aws/types.go
generated
vendored
83
vendor/github.com/aws/aws-sdk-go/aws/types.go
generated
vendored
|
@ -3,6 +3,8 @@ package aws
|
|||
import (
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
"github.com/aws/aws-sdk-go/internal/sdkio"
|
||||
)
|
||||
|
||||
// ReadSeekCloser wraps a io.Reader returning a ReaderSeekerCloser. Should
|
||||
|
@ -22,6 +24,22 @@ type ReaderSeekerCloser struct {
|
|||
r io.Reader
|
||||
}
|
||||
|
||||
// IsReaderSeekable returns if the underlying reader type can be seeked. A
|
||||
// io.Reader might not actually be seekable if it is the ReaderSeekerCloser
|
||||
// type.
|
||||
func IsReaderSeekable(r io.Reader) bool {
|
||||
switch v := r.(type) {
|
||||
case ReaderSeekerCloser:
|
||||
return v.IsSeeker()
|
||||
case *ReaderSeekerCloser:
|
||||
return v.IsSeeker()
|
||||
case io.ReadSeeker:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
// Read reads from the reader up to size of p. The number of bytes read, and
|
||||
// error if it occurred will be returned.
|
||||
//
|
||||
|
@ -56,6 +74,71 @@ func (r ReaderSeekerCloser) IsSeeker() bool {
|
|||
return ok
|
||||
}
|
||||
|
||||
// HasLen returns the length of the underlying reader if the value implements
|
||||
// the Len() int method.
|
||||
func (r ReaderSeekerCloser) HasLen() (int, bool) {
|
||||
type lenner interface {
|
||||
Len() int
|
||||
}
|
||||
|
||||
if lr, ok := r.r.(lenner); ok {
|
||||
return lr.Len(), true
|
||||
}
|
||||
|
||||
return 0, false
|
||||
}
|
||||
|
||||
// GetLen returns the length of the bytes remaining in the underlying reader.
|
||||
// Checks first for Len(), then io.Seeker to determine the size of the
|
||||
// underlying reader.
|
||||
//
|
||||
// Will return -1 if the length cannot be determined.
|
||||
func (r ReaderSeekerCloser) GetLen() (int64, error) {
|
||||
if l, ok := r.HasLen(); ok {
|
||||
return int64(l), nil
|
||||
}
|
||||
|
||||
if s, ok := r.r.(io.Seeker); ok {
|
||||
return seekerLen(s)
|
||||
}
|
||||
|
||||
return -1, nil
|
||||
}
|
||||
|
||||
// SeekerLen attempts to get the number of bytes remaining at the seeker's
|
||||
// current position. Returns the number of bytes remaining or error.
|
||||
func SeekerLen(s io.Seeker) (int64, error) {
|
||||
// Determine if the seeker is actually seekable. ReaderSeekerCloser
|
||||
// hides the fact that a io.Readers might not actually be seekable.
|
||||
switch v := s.(type) {
|
||||
case ReaderSeekerCloser:
|
||||
return v.GetLen()
|
||||
case *ReaderSeekerCloser:
|
||||
return v.GetLen()
|
||||
}
|
||||
|
||||
return seekerLen(s)
|
||||
}
|
||||
|
||||
func seekerLen(s io.Seeker) (int64, error) {
|
||||
curOffset, err := s.Seek(0, sdkio.SeekCurrent)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
endOffset, err := s.Seek(0, sdkio.SeekEnd)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
_, err = s.Seek(curOffset, sdkio.SeekStart)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
return endOffset - curOffset, nil
|
||||
}
|
||||
|
||||
// Close closes the ReaderSeekerCloser.
|
||||
//
|
||||
// If the ReaderSeekerCloser is not an io.Closer nothing will be done.
|
||||
|
|
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.12.62"
|
||||
const SDKVersion = "1.13.16"
|
||||
|
|
|
@ -1,65 +1,20 @@
|
|||
// +build integration
|
||||
|
||||
// Package s3_test runs integration tests for S3
|
||||
package s3_test
|
||||
// Package s3 runs integration tests for S3
|
||||
package s3
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"os"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
)
|
||||
|
||||
var bucketName *string
|
||||
var svc *s3.S3
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
setup()
|
||||
defer teardown() // only called if we panic
|
||||
result := m.Run()
|
||||
teardown()
|
||||
os.Exit(result)
|
||||
}
|
||||
|
||||
// Create a bucket for testing
|
||||
func setup() {
|
||||
svc = s3.New(integration.Session)
|
||||
bucketName = aws.String(
|
||||
fmt.Sprintf("aws-sdk-go-integration-%d-%s", time.Now().Unix(), integration.UniqueID()))
|
||||
|
||||
for i := 0; i < 10; i++ {
|
||||
_, err := svc.CreateBucket(&s3.CreateBucketInput{Bucket: bucketName})
|
||||
if err == nil {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
for {
|
||||
_, err := svc.HeadBucket(&s3.HeadBucketInput{Bucket: bucketName})
|
||||
if err == nil {
|
||||
break
|
||||
}
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
}
|
||||
|
||||
// Delete the bucket
|
||||
func teardown() {
|
||||
resp, _ := svc.ListObjects(&s3.ListObjectsInput{Bucket: bucketName})
|
||||
for _, o := range resp.Contents {
|
||||
svc.DeleteObject(&s3.DeleteObjectInput{Bucket: bucketName, Key: o.Key})
|
||||
}
|
||||
svc.DeleteBucket(&s3.DeleteBucketInput{Bucket: bucketName})
|
||||
}
|
||||
|
||||
func TestWriteToObject(t *testing.T) {
|
||||
_, err := svc.PutObject(&s3.PutObjectInput{
|
||||
Bucket: bucketName,
|
||||
|
@ -109,7 +64,7 @@ func TestPresignedGetPut(t *testing.T) {
|
|||
var putresp *http.Response
|
||||
putresp, err = http.DefaultClient.Do(puthttpreq)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
t.Errorf("expect put with presign url no error, got %v", err)
|
||||
}
|
||||
if e, a := 200, putresp.StatusCode; e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
|
|
102
vendor/github.com/aws/aws-sdk-go/awstesting/integration/customizations/s3/object_checksum_test.go
generated
vendored
Normal file
102
vendor/github.com/aws/aws-sdk-go/awstesting/integration/customizations/s3/object_checksum_test.go
generated
vendored
Normal file
|
@ -0,0 +1,102 @@
|
|||
// +build integration
|
||||
|
||||
package s3
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/md5"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"io"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
)
|
||||
|
||||
func base64Sum(content []byte) string {
|
||||
sum := md5.Sum(content)
|
||||
return base64.StdEncoding.EncodeToString(sum[:])
|
||||
}
|
||||
|
||||
func SkipTestContentMD5Validate(t *testing.T) {
|
||||
body := []byte("really cool body content")
|
||||
|
||||
cases := []struct {
|
||||
Name string
|
||||
Body []byte
|
||||
Sum64 string
|
||||
RangeGet []int64
|
||||
}{
|
||||
{
|
||||
Body: body,
|
||||
Sum64: base64Sum(body),
|
||||
Name: "contentMD5validation.pop",
|
||||
},
|
||||
{
|
||||
Body: []byte{},
|
||||
Sum64: base64Sum([]byte{}),
|
||||
Name: "contentMD5validation.empty",
|
||||
},
|
||||
{
|
||||
Body: body,
|
||||
Sum64: base64Sum(body),
|
||||
RangeGet: []int64{0, 9},
|
||||
Name: "contentMD5validation.range",
|
||||
},
|
||||
}
|
||||
|
||||
for i, c := range cases {
|
||||
keyName := aws.String(c.Name)
|
||||
req, _ := svc.PutObjectRequest(&s3.PutObjectInput{
|
||||
Bucket: bucketName,
|
||||
Key: keyName,
|
||||
Body: bytes.NewReader(c.Body),
|
||||
})
|
||||
|
||||
req.Build()
|
||||
if e, a := c.Sum64, req.HTTPRequest.Header.Get("Content-Md5"); e != a {
|
||||
t.Errorf("%d, expect %v sum, got %v", i, e, a)
|
||||
}
|
||||
|
||||
if err := req.Send(); err != nil {
|
||||
t.Fatalf("%d, expect no error, got %v", i, err)
|
||||
}
|
||||
|
||||
getObjIn := &s3.GetObjectInput{
|
||||
Bucket: bucketName,
|
||||
Key: keyName,
|
||||
}
|
||||
|
||||
expectBody := c.Body
|
||||
if c.RangeGet != nil {
|
||||
getObjIn.Range = aws.String(fmt.Sprintf("bytes=%d-%d", c.RangeGet[0], c.RangeGet[1]-1))
|
||||
expectBody = c.Body[c.RangeGet[0]:c.RangeGet[1]]
|
||||
}
|
||||
|
||||
getReq, getOut := svc.GetObjectRequest(getObjIn)
|
||||
|
||||
getReq.Build()
|
||||
if e, a := "append-md5", getReq.HTTPRequest.Header.Get("X-Amz-Te"); e != a {
|
||||
t.Errorf("%d, expect %v encoding, got %v", i, e, a)
|
||||
}
|
||||
if err := getReq.Send(); err != nil {
|
||||
t.Fatalf("%d, expect no error, got %v", i, err)
|
||||
}
|
||||
defer getOut.Body.Close()
|
||||
|
||||
if e, a := "append-md5", getReq.HTTPResponse.Header.Get("X-Amz-Transfer-Encoding"); e != a {
|
||||
t.Fatalf("%d, expect response tx encoding header %v, got %v", i, e, a)
|
||||
}
|
||||
|
||||
var readBody bytes.Buffer
|
||||
_, err := io.Copy(&readBody, getOut.Body)
|
||||
if err != nil {
|
||||
t.Fatalf("%d, expect no error, got %v", i, err)
|
||||
}
|
||||
|
||||
if e, a := expectBody, readBody.Bytes(); !bytes.Equal(e, a) {
|
||||
t.Errorf("%d, expect %v body, got %v", i, e, a)
|
||||
}
|
||||
}
|
||||
}
|
|
@ -12,7 +12,6 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
|
@ -52,7 +51,7 @@ func setup() error {
|
|||
|
||||
// Create a bucket for testing
|
||||
bucketName = aws.String(
|
||||
fmt.Sprintf("aws-sdk-go-integration-%d-%s", time.Now().Unix(), integration.UniqueID()))
|
||||
fmt.Sprintf("aws-sdk-go-integration-%s", integration.UniqueID()))
|
||||
|
||||
_, err := svc.CreateBucket(&s3.CreateBucketInput{Bucket: bucketName})
|
||||
if err != nil {
|
||||
|
|
67
vendor/github.com/aws/aws-sdk-go/awstesting/integration/customizations/s3/shared_test.go
generated
vendored
Normal file
67
vendor/github.com/aws/aws-sdk-go/awstesting/integration/customizations/s3/shared_test.go
generated
vendored
Normal file
|
@ -0,0 +1,67 @@
|
|||
// +build integration
|
||||
|
||||
package s3
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
)
|
||||
|
||||
const integBucketPrefix = "aws-sdk-go-integration"
|
||||
|
||||
var bucketName *string
|
||||
var svc *s3.S3
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
setup()
|
||||
defer teardown() // only called if we panic
|
||||
|
||||
result := m.Run()
|
||||
teardown()
|
||||
os.Exit(result)
|
||||
}
|
||||
|
||||
// Create a bucket for testing
|
||||
func setup() {
|
||||
svc = s3.New(integration.Session)
|
||||
bucketName = aws.String(
|
||||
fmt.Sprintf("%s-%s",
|
||||
integBucketPrefix, integration.UniqueID()))
|
||||
|
||||
_, err := svc.CreateBucket(&s3.CreateBucketInput{Bucket: bucketName})
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed to create bucket %s, %v", *bucketName, err))
|
||||
}
|
||||
|
||||
err = svc.WaitUntilBucketExists(&s3.HeadBucketInput{Bucket: bucketName})
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed waiting for bucket %s to be created", *bucketName))
|
||||
}
|
||||
}
|
||||
|
||||
// Delete the bucket
|
||||
func teardown() {
|
||||
resp, err := svc.ListObjects(&s3.ListObjectsInput{Bucket: bucketName})
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed to list s3 bucket %s objects, %v", *bucketName, err))
|
||||
}
|
||||
|
||||
errs := []error{}
|
||||
for _, o := range resp.Contents {
|
||||
_, err = svc.DeleteObject(&s3.DeleteObjectInput{Bucket: bucketName, Key: o.Key})
|
||||
if err != nil {
|
||||
errs = append(errs, err)
|
||||
}
|
||||
}
|
||||
|
||||
if len(errs) != 0 {
|
||||
panic(fmt.Sprintf("failed to delete objects, %s", errs))
|
||||
}
|
||||
|
||||
svc.DeleteBucket(&s3.DeleteBucketInput{Bucket: bucketName})
|
||||
}
|
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/cloudhsmv2/client.go
generated
vendored
Normal file
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/cloudhsmv2/client.go
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// +build integration
|
||||
|
||||
//Package cloudhsmv2 provides gucumber integration tests support.
|
||||
package cloudhsmv2
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
|
||||
"github.com/aws/aws-sdk-go/service/cloudhsmv2"
|
||||
"github.com/gucumber/gucumber"
|
||||
)
|
||||
|
||||
func init() {
|
||||
gucumber.Before("@cloudhsmv2", func() {
|
||||
gucumber.World["client"] = cloudhsmv2.New(smoke.Session)
|
||||
})
|
||||
}
|
7
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/cloudhsmv2/cloudhsmv2.feature
generated
vendored
Normal file
7
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/cloudhsmv2/cloudhsmv2.feature
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# language: en
|
||||
@cloudhsmv2 @client
|
||||
Feature: Amazon CloudHSMv2
|
||||
|
||||
Scenario: Making a request
|
||||
When I call the "DescribeBackups" API
|
||||
Then the request should be successful
|
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sagemakerruntime/client.go
generated
vendored
Normal file
16
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sagemakerruntime/client.go
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// +build integration
|
||||
|
||||
//Package sagemakerruntime provides gucumber integration tests support.
|
||||
package sagemakerruntime
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
|
||||
"github.com/aws/aws-sdk-go/service/sagemakerruntime"
|
||||
"github.com/gucumber/gucumber"
|
||||
)
|
||||
|
||||
func init() {
|
||||
gucumber.Before("@sagemakerruntime", func() {
|
||||
gucumber.World["client"] = sagemakerruntime.New(smoke.Session)
|
||||
})
|
||||
}
|
10
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sagemakerruntime/sagemakerruntime.feature
generated
vendored
Normal file
10
vendor/github.com/aws/aws-sdk-go/awstesting/integration/smoke/sagemakerruntime/sagemakerruntime.feature
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
# language: en
|
||||
@sagemakerruntime @client
|
||||
Feature: Amazon SageMaker Runtime
|
||||
|
||||
Scenario: Making a request
|
||||
When I attempt to call the "InvokeEndpoint" API with JSON:
|
||||
"""
|
||||
{"EndpointName": "fake-endpoint", "Body": [123, 125]}
|
||||
"""
|
||||
Then I expect the response error code to be "ValidationError"
|
2
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/godoc.html
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/doc-src/aws-godoc/templates/godoc.html
generated
vendored
|
@ -16,7 +16,7 @@
|
|||
<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 src="https://a0.awsstatic.com/s_code/js/1.0/awshome_s_code.js%22></script>"></script>
|
||||
<script src="https://a0.awsstatic.com/s_code/js/1.0/awshome_s_code.js"></script>
|
||||
<!-- SiteCatalyst code version: H.25.1. Copyright 1996-2012 Adobe, Inc. All Rights Reserved -->
|
||||
<script><!--
|
||||
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
|
||||
|
|
4
vendor/github.com/aws/aws-sdk-go/example/service/ec2/instancesbyRegion/README.md
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/example/service/ec2/instancesbyRegion/README.md
generated
vendored
|
@ -8,10 +8,10 @@ This is an example using the AWS SDK for Go to list ec2 instances instance state
|
|||
|
||||
|
||||
```sh
|
||||
# To fetch the stopped instance of all region use below:
|
||||
# To fetch the stopped and running instances of all region use below:
|
||||
./filter_ec2_by_region --state running --state stopped
|
||||
|
||||
# To fetch the stopped and running instance for region us-west-1 and eu-west-1 use below:
|
||||
# To fetch the stopped and running instances for region us-west-1 and eu-west-1 use below:
|
||||
./filter_ec2_by_region --state running --state stopped --region us-west-1 --region=eu-west-1
|
||||
```
|
||||
|
||||
|
|
|
@ -60,9 +60,9 @@ func main() {
|
|||
if err != nil {
|
||||
fmt.Println("Error", err)
|
||||
} else {
|
||||
fmt.Printf("\n\n\nFetching instace details for region: %s with criteria: %s**\n ", region, instanceCriteria)
|
||||
fmt.Printf("\n\n\nFetching instance details for region: %s with criteria: %s**\n ", region, instanceCriteria)
|
||||
if len(result.Reservations) == 0 {
|
||||
fmt.Printf("There is no instance for the for region %s with the matching Criteria:%s \n", region, instanceCriteria)
|
||||
fmt.Printf("There is no instance for the region: %s with the matching criteria:%s \n", region, instanceCriteria)
|
||||
}
|
||||
for _, reservation := range result.Reservations {
|
||||
|
||||
|
|
10
vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.6.go
generated
vendored
Normal file
10
vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.6.go
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
// +build !go1.7
|
||||
|
||||
package sdkio
|
||||
|
||||
// Copy of Go 1.7 io package's Seeker constants.
|
||||
const (
|
||||
SeekStart = 0 // seek relative to the origin of the file
|
||||
SeekCurrent = 1 // seek relative to the current offset
|
||||
SeekEnd = 2 // seek relative to the end
|
||||
)
|
12
vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.7.go
generated
vendored
Normal file
12
vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.7.go
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
// +build go1.7
|
||||
|
||||
package sdkio
|
||||
|
||||
import "io"
|
||||
|
||||
// Alias for Go 1.7 io package Seeker constants
|
||||
const (
|
||||
SeekStart = io.SeekStart // seek relative to the origin of the file
|
||||
SeekCurrent = io.SeekCurrent // seek relative to the current offset
|
||||
SeekEnd = io.SeekEnd // seek relative to the end
|
||||
)
|
29
vendor/github.com/aws/aws-sdk-go/internal/sdkrand/locked_source.go
generated
vendored
Normal file
29
vendor/github.com/aws/aws-sdk-go/internal/sdkrand/locked_source.go
generated
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
package sdkrand
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
|
||||
// lockedSource is a thread-safe implementation of rand.Source
|
||||
type lockedSource struct {
|
||||
lk sync.Mutex
|
||||
src rand.Source
|
||||
}
|
||||
|
||||
func (r *lockedSource) Int63() (n int64) {
|
||||
r.lk.Lock()
|
||||
n = r.src.Int63()
|
||||
r.lk.Unlock()
|
||||
return
|
||||
}
|
||||
|
||||
func (r *lockedSource) Seed(seed int64) {
|
||||
r.lk.Lock()
|
||||
r.src.Seed(seed)
|
||||
r.lk.Unlock()
|
||||
}
|
||||
|
||||
// SeededRand is a new RNG using a thread safe implementation of rand.Source
|
||||
var SeededRand = rand.New(&lockedSource{src: rand.NewSource(time.Now().UnixNano())})
|
3
vendor/github.com/aws/aws-sdk-go/models/apis/AWSMigrationHub/2017-05-31/api-2.json
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/models/apis/AWSMigrationHub/2017-05-31/api-2.json
generated
vendored
|
@ -774,8 +774,7 @@
|
|||
"VM_NAME",
|
||||
"VM_PATH",
|
||||
"BIOS_ID",
|
||||
"MOTHERBOARD_SERIAL_NUMBER",
|
||||
"LABEL"
|
||||
"MOTHERBOARD_SERIAL_NUMBER"
|
||||
]
|
||||
},
|
||||
"ResourceAttributeValue":{
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go/models/apis/AWSMigrationHub/2017-05-31/docs-2.json
generated
vendored
18
vendor/github.com/aws/aws-sdk-go/models/apis/AWSMigrationHub/2017-05-31/docs-2.json
generated
vendored
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<p/>",
|
||||
"service": "<p>The AWS Migration Hub API methods help to obtain server and application migration status and integrate your resource-specific migration tool by providing a programmatic interface to Migration Hub. </p>",
|
||||
"operations": {
|
||||
"AssociateCreatedArtifact": "<p>Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:</p> <ul> <li> <p>Migration tools can call the <code>AssociateCreatedArtifact</code> operation to indicate which AWS artifact is associated with a migration task.</p> </li> <li> <p>The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example: <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p> </li> <li> <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or DMS endpoint, etc.</p> </li> </ul>",
|
||||
"AssociateDiscoveredResource": "<p>Associates a discovered resource ID from Application Discovery Service (ADS) with a migration task.</p>",
|
||||
"CreateProgressUpdateStream": "<p>Creates a progress update stream which is an AWS resource used for access control as well as a namespace for migration task names that is implicitly linked to your AWS account. It must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.</p>",
|
||||
"DeleteProgressUpdateStream": "<p>Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:</p> <ul> <li> <p>The only parameter needed for <code>DeleteProgressUpdateStream</code> is the stream name (same as a <code>CreateProgressUpdateStream</code> call).</p> </li> <li> <p>The call will return, and a background process will asynchronously be doing the actual delete of the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).</p> </li> <li> <p>If the stream takes time to be deleted, it might still show up on a <code>ListProgressUpdateStreams</code> call.</p> </li> <li> <p> <code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>, <code>NotifyMigrationTaskState</code>, and all Associate[*] APIs realted to the tasks belonging to the stream will throw \"InvalidInputException\" if the stream of the same name is in the process of being deleted.</p> </li> <li> <p>Once the stream and all of its resources are deleted, <code>CreateProgressUpdateStream</code> for a stream of the same name will succeed, and that stream will be an entirely new logical resource (without any resources associated with the old stream).</p> </li> </ul>",
|
||||
"DeleteProgressUpdateStream": "<p>Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:</p> <ul> <li> <p>The only parameter needed for <code>DeleteProgressUpdateStream</code> is the stream name (same as a <code>CreateProgressUpdateStream</code> call).</p> </li> <li> <p>The call will return, and a background process will asynchronously delete the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).</p> </li> <li> <p>If the stream takes time to be deleted, it might still show up on a <code>ListProgressUpdateStreams</code> call.</p> </li> <li> <p> <code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>, <code>NotifyMigrationTaskState</code>, and all Associate[*] APIs realted to the tasks belonging to the stream will throw \"InvalidInputException\" if the stream of the same name is in the process of being deleted.</p> </li> <li> <p>Once the stream and all of its resources are deleted, <code>CreateProgressUpdateStream</code> for a stream of the same name will succeed, and that stream will be an entirely new logical resource (without any resources associated with the old stream).</p> </li> </ul>",
|
||||
"DescribeApplicationState": "<p>Gets the migration status of an application.</p>",
|
||||
"DescribeMigrationTask": "<p>Retrieves a list of all attributes associated with a specific migration task.</p>",
|
||||
"DisassociateCreatedArtifact": "<p>Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:</p> <ul> <li> <p>A migration user can call the <code>DisassociateCreatedArtifacts</code> operation to disassociate a created AWS Artifact from a migration task.</p> </li> <li> <p>The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example: <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.</p> </li> <li> <p>Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or RDS instance, etc.</p> </li> </ul>",
|
||||
|
@ -17,11 +17,11 @@
|
|||
"ListProgressUpdateStreams": "<p>Lists progress update streams associated with the user account making this call.</p>",
|
||||
"NotifyApplicationState": "<p>Sets the migration state of an application. For a given application identified by the value passed to <code>ApplicationId</code>, its status is set or updated by passing one of three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS | COMPLETED</code>.</p>",
|
||||
"NotifyMigrationTaskState": "<p>Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:</p> <ul> <li> <p>Migration tools will call the <code>NotifyMigrationTaskState</code> API to share the latest progress and status.</p> </li> <li> <p> <code>MigrationTaskName</code> is used for addressing updates to the correct target.</p> </li> <li> <p> <code>ProgressUpdateStream</code> is used for access control and to provide a namespace for each migration tool.</p> </li> </ul>",
|
||||
"PutResourceAttributes": "<p>Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service (ADS)'s repository. This association occurs asynchronously after <code>PutResourceAttributes</code> returns.</p> <important> <p>Keep in mind that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to <i>add</i> an IP address, it will then be required to call it with <i>both</i> the IP and MAC addresses to prevent overiding the MAC address.</p> </important> <note> <p>Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm if an association was found based on the provided details, call <code>ListAssociatedResource</code>.</p> </note>"
|
||||
"PutResourceAttributes": "<p>Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service (ADS)'s repository. This association occurs asynchronously after <code>PutResourceAttributes</code> returns.</p> <important> <ul> <li> <p>Keep in mind that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to <i>add</i> an IP address, it will then be required to call it with <i>both</i> the IP and MAC addresses to prevent overiding the MAC address.</p> </li> <li> <p>Note the instructions regarding the special use case of the <code>ResourceAttributeList</code> parameter when specifying any \"VM\" related value.</p> </li> </ul> </important> <note> <p>Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm if an association was found based on the provided details, call <code>ListDiscoveredResources</code>.</p> </note>"
|
||||
},
|
||||
"shapes": {
|
||||
"AccessDeniedException": {
|
||||
"base": "<p>Exception raised when the account making the call is not whitelisted or there are other authentication errors.</p>",
|
||||
"base": "<p>You do not have sufficient access to perform this action.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -63,7 +63,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"DisassociateDiscoveredResourceRequest$ConfigurationId": "<p>ConfigurationId of the ADS resource to be disassociated.</p>",
|
||||
"DiscoveredResource$ConfigurationId": "<p>The configurationId in ADS that uniquely identifies the on-premises resource.</p>"
|
||||
"DiscoveredResource$ConfigurationId": "<p>The configurationId in ADS that uniquely identifies the on-premise resource.</p>"
|
||||
}
|
||||
},
|
||||
"CreateProgressUpdateStreamRequest": {
|
||||
|
@ -351,7 +351,7 @@
|
|||
}
|
||||
},
|
||||
"PolicyErrorException": {
|
||||
"base": "<p>Exception raised when there are problems accessing ADS (Application Discovery Service); most likely due to a misconfigured policy or the <code>ADSCaller</code> role is missing or not configured correctly.</p>",
|
||||
"base": "<p>Exception raised when there are problems accessing ADS (Application Discovery Service); most likely due to a misconfigured policy or the <code>migrationhub-discovery</code> role is missing or not configured correctly.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -405,7 +405,7 @@
|
|||
}
|
||||
},
|
||||
"ResourceAttribute": {
|
||||
"base": "<p>Attribute associated with a resource.</p>",
|
||||
"base": "<p>Attribute associated with a resource.</p> <p>Note the corresponding format required per type listed below:</p> <dl> <dt>IPV4</dt> <dd> <p> <code>x.x.x.x</code> </p> <p> <i>where x is an integer in the range [0,255]</i> </p> </dd> <dt>IPV6</dt> <dd> <p> <code>y : y : y : y : y : y : y : y</code> </p> <p> <i>where y is a hexadecimal between 0 and FFFF. [0, FFFF]</i> </p> </dd> <dt>MAC_ADDRESS</dt> <dd> <p> <code>^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$</code> </p> </dd> <dt>FQDN</dt> <dd> <p> <code>^[^<>{}\\\\\\\\/?,=\\\\p{Cntrl}]{1,256}$</code> </p> </dd> </dl>",
|
||||
"refs": {
|
||||
"LatestResourceAttributeList$member": null,
|
||||
"ResourceAttributeList$member": null
|
||||
|
@ -414,7 +414,7 @@
|
|||
"ResourceAttributeList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PutResourceAttributesRequest$ResourceAttributeList": "<p>Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.</p>"
|
||||
"PutResourceAttributesRequest$ResourceAttributeList": "<p>Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service (ADS)'s repository.</p> <note> <p>In the <code>ResourceAttribute</code> object array, the <code>Type</code> field is reserved for the following values: <code>IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER</code>, and the identifying value can be a string up to 256 characters.</p> </note> <important> <p>If any \"VM\" related value is used for a <code>ResourceAttribute</code> object, it is required that <code>VM_MANAGER_ID</code>, as a minimum, is always used. If it is not used, the server will not be associated in the Application Discovery Service (ADS)'s repository using any of the other \"VM\" related values, and you will experience data loss. See the Example section below for a use case of specifying \"VM\" related values.</p> </important>"
|
||||
}
|
||||
},
|
||||
"ResourceAttributeType": {
|
||||
|
@ -441,7 +441,7 @@
|
|||
}
|
||||
},
|
||||
"ServiceUnavailableException": {
|
||||
"base": "<p>Exception raised when the service encounters throttled communication with upstream dependencies or is overloaded with requests.</p>",
|
||||
"base": "<p>Exception raised when there is an internal, configuration, or dependency error encountered.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
|
8
vendor/github.com/aws/aws-sdk-go/models/apis/acm/2015-12-08/docs-2.json
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/models/apis/acm/2015-12-08/docs-2.json
generated
vendored
|
@ -5,8 +5,8 @@
|
|||
"AddTagsToCertificate": "<p>Adds one or more tags to an ACM Certificate. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a <code>key</code> and an optional <code>value</code>. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. </p> <p>You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM Certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/tags.html\">Tagging ACM Certificates</a>. </p> <p>To remove one or more tags, use the <a>RemoveTagsFromCertificate</a> action. To view all of the tags that have been applied to the certificate, use the <a>ListTagsForCertificate</a> action. </p>",
|
||||
"DeleteCertificate": "<p>Deletes a certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list that can be displayed by calling the <a>ListCertificates</a> action or be retrieved by calling the <a>GetCertificate</a> action. The certificate will not be available for use by AWS services integrated with ACM. </p> <note> <p>You cannot delete an ACM Certificate that is being used by another AWS service. To delete a certificate that is in use, the certificate association must first be removed.</p> </note>",
|
||||
"DescribeCertificate": "<p>Returns detailed metadata about the specified ACM Certificate.</p>",
|
||||
"GetCertificate": "<p>Retrieves a certificate specified by an ARN and its certificate chain . The chain is an ordered list of certificates that contains the end entity ertificate, intermediate certificates of subordinate CAs, and the root certificate in that order. The certificate and certificate chain are base64 encoded. If you want to decode the certificate to see the individual fields, you can use OpenSSL.</p>",
|
||||
"ImportCertificate": "<p>Imports a certificate into AWS Certificate Manager (ACM) to use with services that are integrated with ACM. For more information, see <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/acm-services.html\">Integrated Services</a>. </p> <note> <p>ACM does not provide <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html\">managed renewal</a> for certificates that you import.</p> </note> <p>For more information about importing certificates into ACM, including the differences between certificates that you import and those that ACM provides, see <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p> <p>In general, you can import almost any valid certificate. However, services integrated with ACM allow only certificate types they support to be associated with their resources. The following guidelines are also important:</p> <ul> <li> <p>You must enter the private key that matches the certificate you are importing.</p> </li> <li> <p>The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.</p> </li> <li> <p>If the certificate you are importing is not self-signed, you must enter its certificate chain.</p> </li> <li> <p>If a certificate chain is included, the issuer must be the subject of one of the certificates in the chain.</p> </li> <li> <p>The certificate, private key, and certificate chain must be PEM-encoded.</p> </li> <li> <p>The current time must be between the <code>Not Before</code> and <code>Not After</code> certificate fields.</p> </li> <li> <p>The <code>Issuer</code> field must not be empty.</p> </li> <li> <p>The OCSP authority URL must not exceed 1000 characters.</p> </li> <li> <p>To import a new certificate, omit the <code>CertificateArn</code> field. Include this field only when you want to replace a previously imported certificate.</p> </li> <li> <p>When you import a certificate by using the CLI or one of the SDKs, you must specify the certificate, certificate chain, and private key parameters as file names preceded by <code>file://</code>. For example, you can specify a certificate saved in the <code>C:\\temp</code> folder as <code>C:\\temp\\certificate_to_import.pem</code>. If you are making an HTTP or HTTPS Query request, include these parameters as BLOBs. </p> </li> </ul> <p>This operation returns the <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Name (ARN)</a> of the imported certificate.</p>",
|
||||
"GetCertificate": "<p>Retrieves a certificate specified by an ARN and its certificate chain . The chain is an ordered list of certificates that contains the end entity certificate, intermediate certificates of subordinate CAs, and the root certificate in that order. The certificate and certificate chain are base64 encoded. If you want to decode the certificate to see the individual fields, you can use OpenSSL.</p>",
|
||||
"ImportCertificate": "<p>Imports a certificate into AWS Certificate Manager (ACM) to use with services that are integrated with ACM. Note that <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/acm-services.html\">integrated services</a> allow only certificate types and keys they support to be associated with their resources. Further, their support differs depending on whether the certificate is imported into IAM or into ACM. For more information, see the documentation for each service. For more information about importing certificates into ACM, see <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p> <note> <p>ACM does not provide <a href=\"http://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html\">managed renewal</a> for certificates that you import.</p> </note> <p>Note the following guidelines when importing third party certificates:</p> <ul> <li> <p>You must enter the private key that matches the certificate you are importing.</p> </li> <li> <p>The private key must be unencrypted. You cannot import a private key that is protected by a password or a passphrase.</p> </li> <li> <p>If the certificate you are importing is not self-signed, you must enter its certificate chain.</p> </li> <li> <p>If a certificate chain is included, the issuer must be the subject of one of the certificates in the chain.</p> </li> <li> <p>The certificate, private key, and certificate chain must be PEM-encoded.</p> </li> <li> <p>The current time must be between the <code>Not Before</code> and <code>Not After</code> certificate fields.</p> </li> <li> <p>The <code>Issuer</code> field must not be empty.</p> </li> <li> <p>The OCSP authority URL, if present, must not exceed 1000 characters.</p> </li> <li> <p>To import a new certificate, omit the <code>CertificateArn</code> argument. Include this argument only when you want to replace a previously imported certificate.</p> </li> <li> <p>When you import a certificate by using the CLI or one of the SDKs, you must specify the certificate, the certificate chain, and the private key by their file names preceded by <code>file://</code>. For example, you can specify a certificate saved in the <code>C:\\temp</code> folder as <code>file://C:\\temp\\certificate_to_import.pem</code>. If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs. </p> </li> </ul> <p>This operation returns the <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Name (ARN)</a> of the imported certificate.</p>",
|
||||
"ListCertificates": "<p>Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. </p>",
|
||||
"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>",
|
||||
|
@ -162,7 +162,7 @@
|
|||
"DomainValidationOptionList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"RequestCertificateRequest$DomainValidationOptions": "<p>The domain name that you want ACM to use to send you emails so taht your can validate domain ownership.</p>"
|
||||
"RequestCertificateRequest$DomainValidationOptions": "<p>The domain name that you want ACM to use to send you emails so that you can validate domain ownership.</p>"
|
||||
}
|
||||
},
|
||||
"ExtendedKeyUsage": {
|
||||
|
@ -199,7 +199,7 @@
|
|||
"Filters": {
|
||||
"base": "<p>This structure can be used in the <a>ListCertificates</a> action to filter the output of the certificate list. </p>",
|
||||
"refs": {
|
||||
"ListCertificatesRequest$Includes": "<p>Filter the certificate list by one or more of the following values. For more information, see the <a>Filters</a> structure.</p> <ul> <li> <p>extendedKeyUsage</p> </li> <li> <p>keyUsage</p> </li> <li> <p>keyTypes</p> </li> </ul>"
|
||||
"ListCertificatesRequest$Includes": "<p>Filter the certificate list. For more information, see the <a>Filters</a> structure.</p>"
|
||||
}
|
||||
},
|
||||
"GetCertificateRequest": {
|
||||
|
|
29
vendor/github.com/aws/aws-sdk-go/models/apis/alexaforbusiness/2017-11-09/api-2.json
generated
vendored
29
vendor/github.com/aws/aws-sdk-go/models/apis/alexaforbusiness/2017-11-09/api-2.json
generated
vendored
|
@ -629,7 +629,8 @@
|
|||
"SoftwareVersion":{"shape":"SoftwareVersion"},
|
||||
"MacAddress":{"shape":"MacAddress"},
|
||||
"RoomArn":{"shape":"Arn"},
|
||||
"DeviceStatus":{"shape":"DeviceStatus"}
|
||||
"DeviceStatus":{"shape":"DeviceStatus"},
|
||||
"DeviceStatusInfo":{"shape":"DeviceStatusInfo"}
|
||||
}
|
||||
},
|
||||
"DeviceData":{
|
||||
|
@ -643,7 +644,8 @@
|
|||
"MacAddress":{"shape":"MacAddress"},
|
||||
"DeviceStatus":{"shape":"DeviceStatus"},
|
||||
"RoomArn":{"shape":"Arn"},
|
||||
"RoomName":{"shape":"RoomName"}
|
||||
"RoomName":{"shape":"RoomName"},
|
||||
"DeviceStatusInfo":{"shape":"DeviceStatusInfo"}
|
||||
}
|
||||
},
|
||||
"DeviceDataList":{
|
||||
|
@ -668,6 +670,29 @@
|
|||
"WAS_OFFLINE"
|
||||
]
|
||||
},
|
||||
"DeviceStatusDetail":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Code":{"shape":"DeviceStatusDetailCode"}
|
||||
}
|
||||
},
|
||||
"DeviceStatusDetailCode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"DEVICE_SOFTWARE_UPDATE_NEEDED",
|
||||
"DEVICE_WAS_OFFLINE"
|
||||
]
|
||||
},
|
||||
"DeviceStatusDetails":{
|
||||
"type":"list",
|
||||
"member":{"shape":"DeviceStatusDetail"}
|
||||
},
|
||||
"DeviceStatusInfo":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"DeviceStatusDetails":{"shape":"DeviceStatusDetails"}
|
||||
}
|
||||
},
|
||||
"DeviceType":{
|
||||
"type":"string",
|
||||
"pattern":"[a-zA-Z0-9]{1,200}"
|
||||
|
|
29
vendor/github.com/aws/aws-sdk-go/models/apis/alexaforbusiness/2017-11-09/docs-2.json
generated
vendored
29
vendor/github.com/aws/aws-sdk-go/models/apis/alexaforbusiness/2017-11-09/docs-2.json
generated
vendored
|
@ -276,10 +276,35 @@
|
|||
"DeviceStatus": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Device$DeviceStatus": "<p>The status of a device.</p>",
|
||||
"Device$DeviceStatus": "<p>The status of a device. If the status is not READY, check the DeviceStatusInfo for details.</p>",
|
||||
"DeviceData$DeviceStatus": "<p>The status of a device.</p>"
|
||||
}
|
||||
},
|
||||
"DeviceStatusDetail": {
|
||||
"base": "<p>Details of a device’s status.</p>",
|
||||
"refs": {
|
||||
"DeviceStatusDetails$member": null
|
||||
}
|
||||
},
|
||||
"DeviceStatusDetailCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DeviceStatusDetail$Code": "<p>The device status detail code.</p>"
|
||||
}
|
||||
},
|
||||
"DeviceStatusDetails": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DeviceStatusInfo$DeviceStatusDetails": "<p>One or more device status detail descriptions.</p>"
|
||||
}
|
||||
},
|
||||
"DeviceStatusInfo": {
|
||||
"base": "<p>Detailed information about a device's status.</p>",
|
||||
"refs": {
|
||||
"Device$DeviceStatusInfo": "<p>Detailed information about a device's status.</p>",
|
||||
"DeviceData$DeviceStatusInfo": "<p>Detailed information about a device's status.</p>"
|
||||
}
|
||||
},
|
||||
"DeviceType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -375,7 +400,7 @@
|
|||
"FilterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"SearchDevicesRequest$Filters": "<p>The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, and UnassociatedOnly.</p>",
|
||||
"SearchDevicesRequest$Filters": "<p>The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, and UnassociatedOnly.</p>",
|
||||
"SearchProfilesRequest$Filters": "<p>The filters to use to list a specified set of room profiles. Supported filter keys are ProfileName and Address. Required. </p>",
|
||||
"SearchRoomsRequest$Filters": "<p>The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.</p>",
|
||||
"SearchSkillGroupsRequest$Filters": "<p>The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName. </p>",
|
||||
|
|
|
@ -425,7 +425,10 @@
|
|||
"RDSReaderAverageDatabaseConnections",
|
||||
"EC2SpotFleetRequestAverageCPUUtilization",
|
||||
"EC2SpotFleetRequestAverageNetworkIn",
|
||||
"EC2SpotFleetRequestAverageNetworkOut"
|
||||
"EC2SpotFleetRequestAverageNetworkOut",
|
||||
"SageMakerVariantInvocationsPerInstance",
|
||||
"ECSServiceAverageCPUUtilization",
|
||||
"ECSServiceAverageMemoryUtilization"
|
||||
]
|
||||
},
|
||||
"MetricUnit":{"type":"string"},
|
||||
|
@ -559,7 +562,8 @@
|
|||
"dynamodb:table:WriteCapacityUnits",
|
||||
"dynamodb:index:ReadCapacityUnits",
|
||||
"dynamodb:index:WriteCapacityUnits",
|
||||
"rds:cluster:ReadReplicaCount"
|
||||
"rds:cluster:ReadReplicaCount",
|
||||
"sagemaker:variant:DesiredInstanceCount"
|
||||
]
|
||||
},
|
||||
"ScalableTarget":{
|
||||
|
@ -705,7 +709,8 @@
|
|||
"ec2",
|
||||
"appstream",
|
||||
"dynamodb",
|
||||
"rds"
|
||||
"rds",
|
||||
"sagemaker"
|
||||
]
|
||||
},
|
||||
"StepAdjustment":{
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<p>With Application Auto Scaling, you can automatically scale your AWS resources. The experience is 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/AutoScaling.html\">Managing Throughput Capacity Automatically with DynamoDB Auto Scaling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </li> <li> <p>Amazon Aurora Replicas. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Integrating.AutoScaling.html\">Using Application Auto Scaling with an Amazon Aurora DB Cluster</a>.</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 configure automatic scaling for your scalable AWS resources. 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>Schedule one-time or recurring scaling actions</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 Elastic 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/AutoScaling.html\">Managing Throughput Capacity Automatically with DynamoDB Auto Scaling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </li> <li> <p>Amazon Aurora Replicas. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Integrating.AutoScaling.html\">Using Amazon Aurora Auto Scaling with Aurora Replicas</a>.</p> </li> <li> <p>Amazon SageMaker endpoints. For more information, see <a href=\"http://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html\">Automatically Scaling Amazon SageMaker Models</a>.</p> </li> </ul> <p>To configure automatic scaling for multiple resources across multiple services, use AWS Auto Scaling to create a scaling plan for your application. For more information, see <a href=\"http://aws.amazon.com/autoscaling\">AWS Auto Scaling</a>.</p> <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>",
|
||||
"DeleteScheduledAction": "<p>Deletes the specified Application Auto Scaling scheduled action.</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>",
|
||||
"DescribeScalableTargets": "<p>Provides descriptive information about the scalable targets in the specified namespace.</p> <p>You can filter the results using the <code>ResourceIds</code> and <code>ScalableDimension</code> parameters.</p> <p>To create a scalable target or update an existing one, see <a>RegisterScalableTarget</a>. If you are no longer using a scalable target, you can deregister it using <a>DeregisterScalableTarget</a>.</p>",
|
||||
"DescribeScalableTargets": "<p>Gets information about the scalable targets in the specified namespace.</p> <p>You can filter the results using the <code>ResourceIds</code> and <code>ScalableDimension</code> parameters.</p> <p>To create a scalable target or update an existing one, see <a>RegisterScalableTarget</a>. If you are no longer using a scalable target, you can deregister it using <a>DeregisterScalableTarget</a>.</p>",
|
||||
"DescribeScalingActivities": "<p>Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.</p> <p>You can filter the results using the <code>ResourceId</code> and <code>ScalableDimension</code> parameters.</p> <p>Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see <a>DescribeScalingPolicies</a>. To create a scaling policy or update an existing one, see <a>PutScalingPolicy</a>.</p>",
|
||||
"DescribeScalingPolicies": "<p>Describes the scaling policies for the specified service namespace.</p> <p>You can filter the results using the <code>ResourceId</code>, <code>ScalableDimension</code>, and <code>PolicyNames</code> parameters.</p> <p>To create a scaling policy or update an existing one, see <a>PutScalingPolicy</a>. If you are no longer using a scaling policy, you can delete it using <a>DeleteScalingPolicy</a>.</p>",
|
||||
"DescribeScheduledActions": "<p>Describes the scheduled actions for the specified service namespace.</p> <p>You can filter the results using the <code>ResourceId</code>, <code>ScalableDimension</code>, and <code>ScheduledActionNames</code> parameters.</p> <p>To create a scheduled action or update an existing one, see <a>PutScheduledAction</a>. If you are no longer using a scheduled action, you can delete it using <a>DeleteScheduledAction</a>.</p>",
|
||||
"PutScalingPolicy": "<p>Creates or updates a policy for an Application Auto Scaling scalable target.</p> <p>Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy without first registering a scalable target using <a>RegisterScalableTarget</a>.</p> <p>To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.</p> <p>You can view the scaling policies for a service namespace using <a>DescribeScalingPolicies</a>. If you are no longer using a scaling policy, you can delete it using <a>DeleteScalingPolicy</a>.</p>",
|
||||
"PutScheduledAction": "<p>Creates or updates a scheduled action for an Application Auto Scaling scalable target.</p> <p>Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scheduled action applies to the scalable target identified by those three attributes. You cannot create a scheduled action without first registering a scalable target using <a>RegisterScalableTarget</a>.</p> <p>To update an action, specify its name and the parameters that you want to change. If you don't specify start and end times, the old values are deleted. Any other parameters that you don't specify are not changed by this update request.</p> <p>You can view the scheduled actions using <a>DescribeScheduledActions</a>. If you are no longer using a scheduled action, you can delete it using <a>DeleteScheduledAction</a>.</p>",
|
||||
"RegisterScalableTarget": "<p>Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for your scalable dimension.</p> <p>After you register a scalable target, you can create and apply scaling policies using <a>PutScalingPolicy</a>. You can view the scaling policies for a service namespace using <a>DescribeScalableTargets</a>. If you are no longer using a scalable target, you can deregister it using <a>DeregisterScalableTarget</a>.</p>"
|
||||
"PutScalingPolicy": "<p>Creates or updates a policy for an Application Auto Scaling scalable target.</p> <p>Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy until you register the scalable target using <a>RegisterScalableTarget</a>.</p> <p>To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.</p> <p>You can view the scaling policies for a service namespace using <a>DescribeScalingPolicies</a>. If you are no longer using a scaling policy, you can delete it using <a>DeleteScalingPolicy</a>.</p>",
|
||||
"PutScheduledAction": "<p>Creates or updates a scheduled action for an Application Auto Scaling scalable target.</p> <p>Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scheduled action applies to the scalable target identified by those three attributes. You cannot create a scheduled action until you register the scalable target using <a>RegisterScalableTarget</a>.</p> <p>To update an action, specify its name and the parameters that you want to change. If you don't specify start and end times, the old values are deleted. Any other parameters that you don't specify are not changed by this update request.</p> <p>You can view the scheduled actions using <a>DescribeScheduledActions</a>. If you are no longer using a scheduled action, you can delete it using <a>DeleteScheduledAction</a>.</p>",
|
||||
"RegisterScalableTarget": "<p>Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for its scalable dimension.</p> <p>After you register a scalable target, you can create and apply scaling policies using <a>PutScalingPolicy</a>. You can view the scaling policies for a service namespace using <a>DescribeScalableTargets</a>. If you no longer need a scalable target, you can deregister it using <a>DeregisterScalableTarget</a>.</p>"
|
||||
},
|
||||
"shapes": {
|
||||
"AdjustmentType": {
|
||||
|
@ -49,7 +49,7 @@
|
|||
"CustomizedMetricSpecification": {
|
||||
"base": "<p>Configures a customized metric for a target tracking policy.</p>",
|
||||
"refs": {
|
||||
"TargetTrackingScalingPolicyConfiguration$CustomizedMetricSpecification": "<p>Reserved for future use.</p>"
|
||||
"TargetTrackingScalingPolicyConfiguration$CustomizedMetricSpecification": "<p>A customized metric.</p>"
|
||||
}
|
||||
},
|
||||
"DeleteScalingPolicyRequest": {
|
||||
|
@ -141,7 +141,7 @@
|
|||
}
|
||||
},
|
||||
"FailedResourceAccessException": {
|
||||
"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>",
|
||||
"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> on your behalf.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -156,16 +156,16 @@
|
|||
}
|
||||
},
|
||||
"LimitExceededException": {
|
||||
"base": "<p>Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded. For more information, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_as-app\">Application Auto Scaling Limits</a>.</p>",
|
||||
"base": "<p>A per-account resource limit is exceeded. For more information, see <a href=\"http://docs.aws.amazon.com/ApplicationAutoScaling/latest/userguide/application-auto-scaling-limits.html\">Application Auto Scaling Limits</a>.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"MaxResults": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalableTargetsRequest$MaxResults": "<p>The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50.</p> <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results at a time, along with a <code>NextToken</code> value. To get the next set of results, include the <code>NextToken</code> value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a <code>NextToken</code> value, if applicable.</p>",
|
||||
"DescribeScalingActivitiesRequest$MaxResults": "<p>The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50.</p> <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results at a time, along with a <code>NextToken</code> value. To get the next set of results, include the <code>NextToken</code> value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a <code>NextToken</code> value, if applicable.</p>",
|
||||
"DescribeScalingPoliciesRequest$MaxResults": "<p>The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50.</p> <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results at a time, along with a <code>NextToken</code> value. To get the next set of results, include the <code>NextToken</code> value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a <code>NextToken</code> value, if applicable.</p>",
|
||||
"DescribeScalableTargetsRequest$MaxResults": "<p>The maximum number of scalable targets. This value can be between 1 and 50. The default value is 50.</p> <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results at a time, along with a <code>NextToken</code> value. To get the next set of results, include the <code>NextToken</code> value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a <code>NextToken</code> value, if applicable.</p>",
|
||||
"DescribeScalingActivitiesRequest$MaxResults": "<p>The maximum number of scalable targets. This value can be between 1 and 50. The default value is 50.</p> <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results at a time, along with a <code>NextToken</code> value. To get the next set of results, include the <code>NextToken</code> value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a <code>NextToken</code> value, if applicable.</p>",
|
||||
"DescribeScalingPoliciesRequest$MaxResults": "<p>The maximum number of scalable targets. This value can be between 1 and 50. The default value is 50.</p> <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results at a time, along with a <code>NextToken</code> value. To get the next set of results, include the <code>NextToken</code> value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a <code>NextToken</code> value, if applicable.</p>",
|
||||
"DescribeScheduledActionsRequest$MaxResults": "<p>The maximum number of scheduled action results. This value can be between 1 and 50. The default value is 50.</p> <p>If this parameter is used, the operation returns up to <code>MaxResults</code> results at a time, along with a <code>NextToken</code> value. To get the next set of results, include the <code>NextToken</code> value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a <code>NextToken</code> value, if applicable.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -228,7 +228,7 @@
|
|||
"MetricType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PredefinedMetricSpecification$PredefinedMetricType": "<p>The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to Spot fleet requests.</p>"
|
||||
"PredefinedMetricSpecification$PredefinedMetricType": "<p>The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to Spot fleet requests and ECS services.</p>"
|
||||
}
|
||||
},
|
||||
"MetricUnit": {
|
||||
|
@ -244,7 +244,7 @@
|
|||
}
|
||||
},
|
||||
"ObjectNotFoundException": {
|
||||
"base": "<p>The specified object could not be found. For any <code>Put</code> or <code>Register</code> API operation, which depends on the existence of a scalable target, this exception is thrown if the scalable target with the specified service namespace, resource ID, and scalable dimension does not exist. For any <code>Delete</code> or <code>Deregister</code> API operation, this exception is thrown if the resource that is to be deleted or deregistered cannot be found.</p>",
|
||||
"base": "<p>The specified object could not be found. For any operation that depends on the existence of a scalable target, this exception is thrown if the scalable target with the specified service namespace, resource ID, and scalable dimension does not exist. For any operation that deletes or deregisters a resource, this exception is thrown if the resource cannot be found.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -258,7 +258,7 @@
|
|||
"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> <p>For DynamoDB, only <code>TargetTrackingScaling</code> is supported. For any other service, only <code>StepScaling</code> is supported.</p>",
|
||||
"PutScalingPolicyRequest$PolicyType": "<p>The policy type. This parameter is required if you are creating a policy.</p> <p>For DynamoDB, only <code>TargetTrackingScaling</code> is supported. For Amazon ECS, Spot Fleet, and Amazon RDS, both <code>StepScaling</code> and <code>TargetTrackingScaling</code> are supported. For any other service, only <code>StepScaling</code> is supported.</p>",
|
||||
"ScalingPolicy$PolicyType": "<p>The scaling policy type.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -301,8 +301,8 @@
|
|||
"ResourceCapacity": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"RegisterScalableTargetRequest$MinCapacity": "<p>The minimum value to scale to in response to a scale in event. This parameter is required if you are registering a scalable target and optional if you are updating one.</p>",
|
||||
"RegisterScalableTargetRequest$MaxCapacity": "<p>The maximum value to scale to in response to a scale out event. This parameter is required if you are registering a scalable target and optional if you are updating one.</p>",
|
||||
"RegisterScalableTargetRequest$MinCapacity": "<p>The minimum value to scale to in response to a scale in event. This parameter is required if you are registering a scalable target.</p>",
|
||||
"RegisterScalableTargetRequest$MaxCapacity": "<p>The maximum value to scale to in response to a scale out event. This parameter is required if you are registering a scalable target.</p>",
|
||||
"ScalableTarget$MinCapacity": "<p>The minimum value to scale to in response to a scale in event.</p>",
|
||||
"ScalableTarget$MaxCapacity": "<p>The maximum value to scale to in response to a scale out event.</p>",
|
||||
"ScalableTargetAction$MinCapacity": "<p>The minimum capacity.</p>",
|
||||
|
@ -321,34 +321,34 @@
|
|||
"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> <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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</code>.</p> </li> </ul>",
|
||||
"DeleteScheduledActionRequest$ScheduledActionName": "<p>The name of the scheduled action.</p>",
|
||||
"DeleteScheduledActionRequest$ResourceId": "<p>The identifier of the resource associated with the scheduled action. 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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> </ul>",
|
||||
"DescribeScheduledActionsRequest$ResourceId": "<p>The identifier of the resource associated with the scheduled action. 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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> </ul>",
|
||||
"DeleteScheduledActionRequest$ResourceId": "<p>The identifier of the resource associated with the scheduled action. 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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</code>.</p> </li> </ul>",
|
||||
"DescribeScheduledActionsRequest$ResourceId": "<p>The identifier of the resource associated with the scheduled action. 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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</code>.</p> </li> </ul>",
|
||||
"PutScalingPolicyResponse$PolicyARN": "<p>The Amazon Resource Name (ARN) of the resulting scaling policy.</p>",
|
||||
"PutScheduledActionRequest$Schedule": "<p>The schedule for this action. The following formats are supported:</p> <ul> <li> <p>At expressions - <code>at(<i>yyyy</i>-<i>mm</i>-<i>dd</i>T<i>hh</i>:<i>mm</i>:<i>ss</i>)</code> </p> </li> <li> <p>Rate expressions - <code>rate(<i>value</i> <i>unit</i>)</code> </p> </li> <li> <p>Cron expressions - <code>cron(<i>fields</i>)</code> </p> </li> </ul> <p>At expressions are useful for one-time schedules. Specify the time, in UTC.</p> <p>For rate expressions, <i>value</i> is a positive integer and <i>unit</i> is <code>minute</code> | <code>minutes</code> | <code>hour</code> | <code>hours</code> | <code>day</code> | <code>days</code>.</p> <p>For more information about cron expressions, see <a href=\"https://en.wikipedia.org/wiki/Cron\">Cron</a>.</p>",
|
||||
"PutScheduledActionRequest$ResourceId": "<p>The identifier of the resource associated with the scheduled action. 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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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.</p> <p>With Amazon RDS resources, permissions are granted using a service-linked role. For more information, see <a href=\"http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/application-autoscaling-service-linked-roles.html\">Service-Linked Roles for Application Auto Scaling</a>.</p> <p>For resources that are not supported using a service-linked role, this parameter is required when you register a scalable target and optional when you update one.</p>",
|
||||
"PutScheduledActionRequest$ResourceId": "<p>The identifier of the resource associated with the scheduled action. 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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</code>.</p> </li> </ul>",
|
||||
"RegisterScalableTargetRequest$RoleARN": "<p>Application Auto Scaling creates a service-linked role that grants it permissions to modify the scalable target on your behalf. For more information, see <a href=\"http://docs.aws.amazon.com/ApplicationAutoScaling/latest/APIReference/application-autoscaling-service-linked-roles.html\">Service-Linked Roles for Application Auto Scaling</a>.</p> <p>For resources that are not supported using a service-linked role, this parameter is required and must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.</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> <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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</code>.</p> </li> </ul>",
|
||||
"ScheduledAction$ScheduledActionARN": "<p>The Amazon Resource Name (ARN) of the scheduled action.</p>",
|
||||
"ScheduledAction$Schedule": "<p>The schedule for this action. The following formats are supported:</p> <ul> <li> <p>At expressions - <code>at(<i>yyyy</i>-<i>mm</i>-<i>dd</i>T<i>hh</i>:<i>mm</i>:<i>ss</i>)</code> </p> </li> <li> <p>Rate expressions - <code>rate(<i>value</i> <i>unit</i>)</code> </p> </li> <li> <p>Cron expressions - <code>cron(<i>fields</i>)</code> </p> </li> </ul> <p>At expressions are useful for one-time schedules. Specify the time, in UTC.</p> <p>For rate expressions, <i>value</i> is a positive integer and <i>unit</i> is <code>minute</code> | <code>minutes</code> | <code>hour</code> | <code>hours</code> | <code>day</code> | <code>days</code>.</p> <p>For more information about cron expressions, see <a href=\"https://en.wikipedia.org/wiki/Cron\">Cron</a>.</p>",
|
||||
"ScheduledAction$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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> </ul>"
|
||||
"ScheduledAction$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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</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> <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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> <li> <p>Amazon SageMaker endpoint variants - The resource type is <code>variant</code> and the unique identifier is the resource ID. Example: <code>endpoint/my-end-point/variant/KMeansClustering</code>.</p> </li> </ul>",
|
||||
"DescribeScalingPoliciesRequest$PolicyNames": "<p>The names of the scaling policies to describe.</p>",
|
||||
"DescribeScheduledActionsRequest$ScheduledActionNames": "<p>The names of the scheduled actions to describe.</p>"
|
||||
}
|
||||
|
@ -356,26 +356,26 @@
|
|||
"ResourceLabel": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PredefinedMetricSpecification$ResourceLabel": "<p>Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is <code>ALBRequestCountPerTarget</code> and there is a target group attached to the Spot fleet request.</p> <p>The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:</p> <ul> <li> <p>app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN</p> </li> <li> <p>targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.</p> </li> </ul>"
|
||||
"PredefinedMetricSpecification$ResourceLabel": "<p>Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is <code>ALBRequestCountPerTarget</code> and there is a target group attached to the Spot fleet request or ECS service.</p> <p>The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:</p> <ul> <li> <p>app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN</p> </li> <li> <p>targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"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> <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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> </ul>",
|
||||
"DeleteScheduledActionRequest$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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> </ul>",
|
||||
"DescribeScheduledActionsRequest$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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> </ul>",
|
||||
"PutScheduledActionRequest$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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> </ul>",
|
||||
"ScheduledAction$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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</p> </li> </ul>",
|
||||
"DeleteScheduledActionRequest$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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</p> </li> </ul>",
|
||||
"DescribeScheduledActionsRequest$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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</p> </li> </ul>",
|
||||
"PutScheduledActionRequest$ScalableDimension": "<p>The scalable dimension. This parameter is required if you are creating a scheduled action. 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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</p> </li> </ul>",
|
||||
"ScheduledAction$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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> <li> <p> <code>sagemaker:variant:DesiredInstanceCount</code> - The number of EC2 instances for an Amazon SageMaker model endpoint variant.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ScalableTarget": {
|
||||
|
@ -394,7 +394,7 @@
|
|||
"ScalableTargets": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalableTargetsResponse$ScalableTargets": "<p>The list of scalable targets that matches the request parameters.</p>"
|
||||
"DescribeScalableTargetsResponse$ScalableTargets": "<p>The scalable targets that match the request parameters.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingActivities": {
|
||||
|
@ -493,7 +493,7 @@
|
|||
"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>",
|
||||
"PutScalingPolicyRequest$TargetTrackingScalingPolicyConfiguration": "<p>A target tracking policy.</p> <p>This parameter is required if you are creating a policy and the policy type is <code>TargetTrackingScaling</code>.</p>",
|
||||
"ScalingPolicy$TargetTrackingScalingPolicyConfiguration": "<p>A target tracking policy.</p>"
|
||||
}
|
||||
},
|
||||
|
|
13
vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/smoke.json
generated
vendored
Normal file
13
vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/smoke.json
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "DescribeScalableTargets",
|
||||
"input": {
|
||||
"ServiceNamespace": "ec2"
|
||||
},
|
||||
"errorExpectedFromService": false
|
||||
}
|
||||
]
|
||||
}
|
71
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/api-2.json
generated
vendored
71
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/api-2.json
generated
vendored
|
@ -29,6 +29,22 @@
|
|||
{"shape":"OperationNotPermittedException"}
|
||||
]
|
||||
},
|
||||
"CopyImage":{
|
||||
"name":"CopyImage",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CopyImageRequest"},
|
||||
"output":{"shape":"CopyImageResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceAlreadyExistsException"},
|
||||
{"shape":"ResourceNotFoundException"},
|
||||
{"shape":"ResourceNotAvailableException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"IncompatibleImageException"}
|
||||
]
|
||||
},
|
||||
"CreateDirectoryConfig":{
|
||||
"name":"CreateDirectoryConfig",
|
||||
"http":{
|
||||
|
@ -541,6 +557,26 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"CopyImageRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"SourceImageName",
|
||||
"DestinationImageName",
|
||||
"DestinationRegion"
|
||||
],
|
||||
"members":{
|
||||
"SourceImageName":{"shape":"Name"},
|
||||
"DestinationImageName":{"shape":"Name"},
|
||||
"DestinationRegion":{"shape":"RegionName"},
|
||||
"DestinationImageDescription":{"shape":"Description"}
|
||||
}
|
||||
},
|
||||
"CopyImageResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"DestinationImageName":{"shape":"Name"}
|
||||
}
|
||||
},
|
||||
"CreateDirectoryConfigRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -636,7 +672,8 @@
|
|||
"Name":{"shape":"String"},
|
||||
"Description":{"shape":"Description"},
|
||||
"DisplayName":{"shape":"DisplayName"},
|
||||
"StorageConnectors":{"shape":"StorageConnectorList"}
|
||||
"StorageConnectors":{"shape":"StorageConnectorList"},
|
||||
"RedirectURL":{"shape":"RedirectURL"}
|
||||
}
|
||||
},
|
||||
"CreateStackResult":{
|
||||
|
@ -1071,6 +1108,7 @@
|
|||
"PENDING",
|
||||
"AVAILABLE",
|
||||
"FAILED",
|
||||
"COPYING",
|
||||
"DELETING"
|
||||
]
|
||||
},
|
||||
|
@ -1085,7 +1123,8 @@
|
|||
"type":"string",
|
||||
"enum":[
|
||||
"INTERNAL_ERROR",
|
||||
"IMAGE_BUILDER_NOT_AVAILABLE"
|
||||
"IMAGE_BUILDER_NOT_AVAILABLE",
|
||||
"IMAGE_COPY_FAILURE"
|
||||
]
|
||||
},
|
||||
"IncompatibleImageException":{
|
||||
|
@ -1189,6 +1228,15 @@
|
|||
"type":"string",
|
||||
"enum":["WINDOWS"]
|
||||
},
|
||||
"RedirectURL":{
|
||||
"type":"string",
|
||||
"max":1000
|
||||
},
|
||||
"RegionName":{
|
||||
"type":"string",
|
||||
"max":32,
|
||||
"min":1
|
||||
},
|
||||
"ResourceAlreadyExistsException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1289,9 +1337,21 @@
|
|||
"DisplayName":{"shape":"String"},
|
||||
"CreatedTime":{"shape":"Timestamp"},
|
||||
"StorageConnectors":{"shape":"StorageConnectorList"},
|
||||
"RedirectURL":{"shape":"RedirectURL"},
|
||||
"StackErrors":{"shape":"StackErrors"}
|
||||
}
|
||||
},
|
||||
"StackAttribute":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"STORAGE_CONNECTORS",
|
||||
"REDIRECT_URL"
|
||||
]
|
||||
},
|
||||
"StackAttributes":{
|
||||
"type":"list",
|
||||
"member":{"shape":"StackAttribute"}
|
||||
},
|
||||
"StackError":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1508,7 +1568,12 @@
|
|||
"Description":{"shape":"Description"},
|
||||
"Name":{"shape":"String"},
|
||||
"StorageConnectors":{"shape":"StorageConnectorList"},
|
||||
"DeleteStorageConnectors":{"shape":"Boolean"}
|
||||
"DeleteStorageConnectors":{
|
||||
"shape":"Boolean",
|
||||
"deprecated":true
|
||||
},
|
||||
"RedirectURL":{"shape":"RedirectURL"},
|
||||
"AttributesToDelete":{"shape":"StackAttributes"}
|
||||
}
|
||||
},
|
||||
"UpdateStackResult":{
|
||||
|
|
55
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/docs-2.json
generated
vendored
55
vendor/github.com/aws/aws-sdk-go/models/apis/appstream/2016-12-01/docs-2.json
generated
vendored
|
@ -3,6 +3,7 @@
|
|||
"service": "<fullname>Amazon AppStream 2.0</fullname> <p>You can use Amazon AppStream 2.0 to stream desktop applications to any device running a web browser, without rewriting them.</p>",
|
||||
"operations": {
|
||||
"AssociateFleet": "<p>Associates the specified fleet with the specified stack.</p>",
|
||||
"CopyImage": "<p>Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.</p>",
|
||||
"CreateDirectoryConfig": "<p>Creates a directory configuration.</p>",
|
||||
"CreateFleet": "<p>Creates a fleet.</p>",
|
||||
"CreateImageBuilder": "<p>Creates an image builder.</p> <p>The initial state of the builder is <code>PENDING</code>. When it is ready, the state is <code>RUNNING</code>.</p>",
|
||||
|
@ -14,7 +15,7 @@
|
|||
"DeleteImage": "<p>Deletes the specified image. You cannot delete an image that is currently in use. After you delete an image, you cannot provision new capacity using the image.</p>",
|
||||
"DeleteImageBuilder": "<p>Deletes the specified image builder and releases the capacity.</p>",
|
||||
"DeleteStack": "<p>Deletes the specified stack. After this operation completes, the environment can no longer be activated and any reservations made for the stack are released.</p>",
|
||||
"DescribeDirectoryConfigs": "<p>Describes the specified directory configurations.</p>",
|
||||
"DescribeDirectoryConfigs": "<p>Describes the specified directory configurations. Note that although the response syntax in this topic includes the account password, this password is not returned in the actual response. </p>",
|
||||
"DescribeFleets": "<p>Describes the specified fleets or all fleets in the account.</p>",
|
||||
"DescribeImageBuilders": "<p>Describes the specified image builders or all image builders in the account.</p>",
|
||||
"DescribeImages": "<p>Describes the specified images or all images in the account.</p>",
|
||||
|
@ -24,13 +25,13 @@
|
|||
"ExpireSession": "<p>Stops the specified streaming session.</p>",
|
||||
"ListAssociatedFleets": "<p>Lists the fleets associated with the specified stack.</p>",
|
||||
"ListAssociatedStacks": "<p>Lists the stacks associated with the specified fleet.</p>",
|
||||
"ListTagsForResource": "<p>Lists the tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.</p> <p>For more information about tags, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic\">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p>",
|
||||
"ListTagsForResource": "<p>Lists the tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.</p> <p>For more information about tags, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html\">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p>",
|
||||
"StartFleet": "<p>Starts the specified fleet.</p>",
|
||||
"StartImageBuilder": "<p>Starts the specified image builder.</p>",
|
||||
"StopFleet": "<p>Stops the specified fleet.</p>",
|
||||
"StopImageBuilder": "<p>Stops the specified image builder.</p>",
|
||||
"TagResource": "<p>Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.</p> <p>Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.</p> <p>To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate tags from your resources, use <a>UntagResource</a>.</p> <p>For more information about tags, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic\">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p>",
|
||||
"UntagResource": "<p>Disassociates the specified tags from the specified AppStream 2.0 resource.</p> <p>To list the current tags for your resources, use <a>ListTagsForResource</a>.</p> <p>For more information about tags, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic\">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p>",
|
||||
"TagResource": "<p>Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.</p> <p>Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.</p> <p>To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate tags from your resources, use <a>UntagResource</a>.</p> <p>For more information about tags, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html\">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p>",
|
||||
"UntagResource": "<p>Disassociates the specified tags from the specified AppStream 2.0 resource.</p> <p>To list the current tags for your resources, use <a>ListTagsForResource</a>.</p> <p>For more information about tags, see <a href=\"http://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html\">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p>",
|
||||
"UpdateDirectoryConfig": "<p>Updates the specified directory configuration.</p>",
|
||||
"UpdateFleet": "<p>Updates the specified fleet.</p> <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except the fleet name. If the fleet is in the <code>RUNNING</code> state, you can update the <code>DisplayName</code> and <code>ComputeCapacity</code> attributes. If the fleet is in the <code>STARTING</code> or <code>STOPPING</code> state, you can't update it.</p>",
|
||||
"UpdateStack": "<p>Updates the specified stack.</p>"
|
||||
|
@ -137,6 +138,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"CopyImageRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CopyImageResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateDirectoryConfigRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -310,6 +321,7 @@
|
|||
"Description": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CopyImageRequest$DestinationImageDescription": "<p>The description that the image will have when it is copied to the destination.</p>",
|
||||
"CreateFleetRequest$Description": "<p>The description for display.</p>",
|
||||
"CreateImageBuilderRequest$Description": "<p>The description for display.</p>",
|
||||
"CreateStackRequest$Description": "<p>The description for display.</p>",
|
||||
|
@ -328,7 +340,7 @@
|
|||
"DirectoryConfigList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeDirectoryConfigsResult$DirectoryConfigs": "<p>Information about the directory configurations.</p>"
|
||||
"DescribeDirectoryConfigsResult$DirectoryConfigs": "<p>Information about the directory configurations. Note that although the response syntax in this topic includes the account password, this password is not returned in the actual response. </p>"
|
||||
}
|
||||
},
|
||||
"DirectoryName": {
|
||||
|
@ -611,6 +623,9 @@
|
|||
"Name": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CopyImageRequest$SourceImageName": "<p>The name of the image to copy.</p>",
|
||||
"CopyImageRequest$DestinationImageName": "<p>The name that the image will have when it is copied to the destination.</p>",
|
||||
"CopyImageResponse$DestinationImageName": "<p>The name of the destination image.</p>",
|
||||
"CreateFleetRequest$Name": "<p>A unique name for the fleet.</p>",
|
||||
"CreateImageBuilderRequest$Name": "<p>A unique name for the image builder.</p>",
|
||||
"DeleteImageBuilderRequest$Name": "<p>The name of the image builder.</p>",
|
||||
|
@ -644,6 +659,20 @@
|
|||
"ImageBuilder$Platform": "<p>The operating system platform of the image builder.</p>"
|
||||
}
|
||||
},
|
||||
"RedirectURL": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateStackRequest$RedirectURL": "<p>The URL the user is redirected to after the streaming session ends.</p>",
|
||||
"Stack$RedirectURL": "<p>The URL the user is redirected to after the streaming session ends.</p>",
|
||||
"UpdateStackRequest$RedirectURL": "<p>The URL the user is redirected to after the streaming session ends.</p>"
|
||||
}
|
||||
},
|
||||
"RegionName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CopyImageRequest$DestinationRegion": "<p>The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceAlreadyExistsException": {
|
||||
"base": "<p>The specified resource already exists.</p>",
|
||||
"refs": {
|
||||
|
@ -722,6 +751,18 @@
|
|||
"UpdateStackResult$Stack": "<p>Information about the stack.</p>"
|
||||
}
|
||||
},
|
||||
"StackAttribute": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"StackAttributes$member": null
|
||||
}
|
||||
},
|
||||
"StackAttributes": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"UpdateStackRequest$AttributesToDelete": "<p>The stack attributes to delete.</p>"
|
||||
}
|
||||
},
|
||||
"StackError": {
|
||||
"base": "<p>Describes a stack error.</p>",
|
||||
"refs": {
|
||||
|
@ -842,8 +883,8 @@
|
|||
"DescribeFleetsResult$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>",
|
||||
"DescribeImageBuildersRequest$NextToken": "<p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>",
|
||||
"DescribeImageBuildersResult$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>",
|
||||
"DescribeSessionsRequest$StackName": "<p>The name of the stack.</p>",
|
||||
"DescribeSessionsRequest$FleetName": "<p>The name of the fleet.</p>",
|
||||
"DescribeSessionsRequest$StackName": "<p>The name of the stack. This value is case-sensitive.</p>",
|
||||
"DescribeSessionsRequest$FleetName": "<p>The name of the fleet. This value is case-sensitive.</p>",
|
||||
"DescribeSessionsRequest$NextToken": "<p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>",
|
||||
"DescribeSessionsResult$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>",
|
||||
"DescribeStacksRequest$NextToken": "<p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>",
|
||||
|
|
65
vendor/github.com/aws/aws-sdk-go/models/apis/appsync/2017-07-25/api-2.json
generated
vendored
65
vendor/github.com/aws/aws-sdk-go/models/apis/appsync/2017-07-25/api-2.json
generated
vendored
|
@ -27,7 +27,8 @@
|
|||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"InternalFailureException"},
|
||||
{"shape":"ApiKeyLimitExceededException"}
|
||||
{"shape":"ApiKeyLimitExceededException"},
|
||||
{"shape":"ApiKeyValidityOutOfBoundsException"}
|
||||
]
|
||||
},
|
||||
"CreateDataSource":{
|
||||
|
@ -355,6 +356,23 @@
|
|||
{"shape":"InternalFailureException"}
|
||||
]
|
||||
},
|
||||
"UpdateApiKey":{
|
||||
"name":"UpdateApiKey",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/v1/apis/{apiId}/apikeys/{id}"
|
||||
},
|
||||
"input":{"shape":"UpdateApiKeyRequest"},
|
||||
"output":{"shape":"UpdateApiKeyResponse"},
|
||||
"errors":[
|
||||
{"shape":"BadRequestException"},
|
||||
{"shape":"NotFoundException"},
|
||||
{"shape":"UnauthorizedException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"InternalFailureException"},
|
||||
{"shape":"ApiKeyValidityOutOfBoundsException"}
|
||||
]
|
||||
},
|
||||
"UpdateDataSource":{
|
||||
"name":"UpdateDataSource",
|
||||
"http":{
|
||||
|
@ -436,6 +454,14 @@
|
|||
"error":{"httpStatusCode":400},
|
||||
"exception":true
|
||||
},
|
||||
"ApiKeyValidityOutOfBoundsException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"String"}
|
||||
},
|
||||
"error":{"httpStatusCode":400},
|
||||
"exception":true
|
||||
},
|
||||
"ApiKeys":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ApiKey"}
|
||||
|
@ -483,7 +509,8 @@
|
|||
"location":"uri",
|
||||
"locationName":"apiId"
|
||||
},
|
||||
"description":{"shape":"String"}
|
||||
"description":{"shape":"String"},
|
||||
"expires":{"shape":"Long"}
|
||||
}
|
||||
},
|
||||
"CreateApiKeyResponse":{
|
||||
|
@ -527,7 +554,7 @@
|
|||
"authenticationType"
|
||||
],
|
||||
"members":{
|
||||
"name":{"shape":"ResourceName"},
|
||||
"name":{"shape":"String"},
|
||||
"authenticationType":{"shape":"AuthenticationType"},
|
||||
"userPoolConfig":{"shape":"UserPoolConfig"}
|
||||
}
|
||||
|
@ -611,7 +638,8 @@
|
|||
"enum":[
|
||||
"AWS_LAMBDA",
|
||||
"AMAZON_DYNAMODB",
|
||||
"AMAZON_ELASTICSEARCH"
|
||||
"AMAZON_ELASTICSEARCH",
|
||||
"NONE"
|
||||
]
|
||||
},
|
||||
"DataSources":{
|
||||
|
@ -1225,6 +1253,33 @@
|
|||
"error":{"httpStatusCode":401},
|
||||
"exception":true
|
||||
},
|
||||
"UpdateApiKeyRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"apiId",
|
||||
"id"
|
||||
],
|
||||
"members":{
|
||||
"apiId":{
|
||||
"shape":"String",
|
||||
"location":"uri",
|
||||
"locationName":"apiId"
|
||||
},
|
||||
"id":{
|
||||
"shape":"String",
|
||||
"location":"uri",
|
||||
"locationName":"id"
|
||||
},
|
||||
"description":{"shape":"String"},
|
||||
"expires":{"shape":"Long"}
|
||||
}
|
||||
},
|
||||
"UpdateApiKeyResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"apiKey":{"shape":"ApiKey"}
|
||||
}
|
||||
},
|
||||
"UpdateDataSourceRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1269,7 +1324,7 @@
|
|||
"location":"uri",
|
||||
"locationName":"apiId"
|
||||
},
|
||||
"name":{"shape":"ResourceName"},
|
||||
"name":{"shape":"String"},
|
||||
"authenticationType":{"shape":"AuthenticationType"},
|
||||
"userPoolConfig":{"shape":"UserPoolConfig"}
|
||||
}
|
||||
|
|
37
vendor/github.com/aws/aws-sdk-go/models/apis/appsync/2017-07-25/docs-2.json
generated
vendored
37
vendor/github.com/aws/aws-sdk-go/models/apis/appsync/2017-07-25/docs-2.json
generated
vendored
|
@ -24,6 +24,7 @@
|
|||
"ListResolvers": "<p>Lists the resolvers for a given API and type.</p>",
|
||||
"ListTypes": "<p>Lists the types for a given API.</p>",
|
||||
"StartSchemaCreation": "<p>Adds a new schema to your GraphQL API.</p> <p>This operation is asynchronous. Use to determine when it has completed.</p>",
|
||||
"UpdateApiKey": "<p>Updates an API key.</p>",
|
||||
"UpdateDataSource": "<p>Updates a <code>DataSource</code> object.</p>",
|
||||
"UpdateGraphqlApi": "<p>Updates a <code>GraphqlApi</code> object.</p>",
|
||||
"UpdateResolver": "<p>Updates a <code>Resolver</code> object.</p>",
|
||||
|
@ -34,7 +35,8 @@
|
|||
"base": "<p>Describes an API key.</p>",
|
||||
"refs": {
|
||||
"ApiKeys$member": null,
|
||||
"CreateApiKeyResponse$apiKey": "<p>The API key.</p>"
|
||||
"CreateApiKeyResponse$apiKey": "<p>The API key.</p>",
|
||||
"UpdateApiKeyResponse$apiKey": "<p>The API key.</p>"
|
||||
}
|
||||
},
|
||||
"ApiKeyLimitExceededException": {
|
||||
|
@ -42,6 +44,11 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"ApiKeyValidityOutOfBoundsException": {
|
||||
"base": "<p>The API key expiration must be set to a value between 1 and 365 days.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ApiKeys": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -147,7 +154,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"CreateDataSourceRequest$type": "<p>The type of the <code>DataSource</code>.</p>",
|
||||
"DataSource$type": "<p>The type of the data source.</p>",
|
||||
"DataSource$type": "<p>The type of the data source.</p> <ul> <li> <p> <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p> </li> <li> <p> <b>AMAZON_ELASTICSEARCH</b>: The data source is an Amazon Elasticsearch Service domain.</p> </li> <li> <p> <b>AWS_LAMBDA</b>: The data source is an AWS Lambda function.</p> </li> <li> <p> <b>NONE</b>: There is no data source. This type is used when the required information can be computed on the fly without connecting to a back-end data source.</p> </li> </ul>",
|
||||
"UpdateDataSourceRequest$type": "<p>The new data source type.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -308,7 +315,7 @@
|
|||
"CreateGraphqlApiResponse$graphqlApi": "<p>The <code>GraphqlApi</code>.</p>",
|
||||
"GetGraphqlApiResponse$graphqlApi": "<p>The <code>GraphqlApi</code> object.</p>",
|
||||
"GraphqlApis$member": null,
|
||||
"UpdateGraphqlApiResponse$graphqlApi": "<p>The udpated <code>GraphqlApi</code> object.</p>"
|
||||
"UpdateGraphqlApiResponse$graphqlApi": "<p>The updated <code>GraphqlApi</code> object.</p>"
|
||||
}
|
||||
},
|
||||
"GraphqlApis": {
|
||||
|
@ -388,7 +395,9 @@
|
|||
"Long": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ApiKey$expires": "<p>The time when the API key expires.</p>"
|
||||
"ApiKey$expires": "<p>The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.</p>",
|
||||
"CreateApiKeyRequest$expires": "<p>The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time.</p>",
|
||||
"UpdateApiKeyRequest$expires": "<p>The time after which the API key expires. The date is represented as seconds since the epoch.</p>"
|
||||
}
|
||||
},
|
||||
"MapOfStringToString": {
|
||||
|
@ -400,7 +409,7 @@
|
|||
"MappingTemplate": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateResolverRequest$requestMappingTemplate": "<p>The mapping template to be used for requests.</p> <p>A resolver use a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).</p>",
|
||||
"CreateResolverRequest$requestMappingTemplate": "<p>The mapping template to be used for requests.</p> <p>A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).</p>",
|
||||
"CreateResolverRequest$responseMappingTemplate": "<p>The mapping template to be used for responses from the data source.</p>",
|
||||
"Resolver$requestMappingTemplate": "<p>The request mapping template.</p>",
|
||||
"Resolver$responseMappingTemplate": "<p>The response mapping template.</p>",
|
||||
|
@ -463,7 +472,6 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"CreateDataSourceRequest$name": "<p>A user-supplied name for the <code>DataSource</code>.</p>",
|
||||
"CreateGraphqlApiRequest$name": "<p>A user-supplied name for the <code>GraphqlApi</code>.</p>",
|
||||
"CreateResolverRequest$typeName": "<p>The name of the <code>Type</code>.</p>",
|
||||
"CreateResolverRequest$fieldName": "<p>The name of the field to attach the resolver to.</p>",
|
||||
"CreateResolverRequest$dataSourceName": "<p>The name of the data source for which the resolver is being created.</p>",
|
||||
|
@ -482,7 +490,6 @@
|
|||
"Resolver$dataSourceName": "<p>The resolver data source name.</p>",
|
||||
"Type$name": "<p>The type name.</p>",
|
||||
"UpdateDataSourceRequest$name": "<p>The new name for the data source.</p>",
|
||||
"UpdateGraphqlApiRequest$name": "<p>The new name for the <code>GraphqlApi</code> object.</p>",
|
||||
"UpdateResolverRequest$typeName": "<p>The new type name.</p>",
|
||||
"UpdateResolverRequest$fieldName": "<p>The new field name.</p>",
|
||||
"UpdateResolverRequest$dataSourceName": "<p>The new data source name.</p>",
|
||||
|
@ -512,12 +519,14 @@
|
|||
"ApiKey$id": "<p>The API key ID.</p>",
|
||||
"ApiKey$description": "<p>A description of the purpose of the API key.</p>",
|
||||
"ApiKeyLimitExceededException$message": null,
|
||||
"ApiKeyValidityOutOfBoundsException$message": null,
|
||||
"ApiLimitExceededException$message": null,
|
||||
"CreateApiKeyRequest$apiId": "<p>The ID for your GraphQL API.</p>",
|
||||
"CreateApiKeyRequest$description": "<p>A description of the purpose of the API key.</p>",
|
||||
"CreateDataSourceRequest$apiId": "<p>The API ID for the GraphQL API for the <code>DataSource</code>.</p>",
|
||||
"CreateDataSourceRequest$description": "<p>A description of the <code>DataSource</code>.</p>",
|
||||
"CreateDataSourceRequest$serviceRoleArn": "<p>The IAM service role ARN for the data source. The system assumes this role when accessing the data source.</p>",
|
||||
"CreateGraphqlApiRequest$name": "<p>A user-supplied name for the <code>GraphqlApi</code>.</p>",
|
||||
"CreateResolverRequest$apiId": "<p>The ID for the GraphQL API for which the resolver is being created.</p>",
|
||||
"CreateTypeRequest$apiId": "<p>The API ID.</p>",
|
||||
"CreateTypeRequest$definition": "<p>The type definition, in GraphQL Schema Definition Language (SDL) format.</p> <p>For more information, see the <a href=\"http://graphql.org/learn/schema/\">GraphQL SDL documentation</a>.</p>",
|
||||
|
@ -560,10 +569,14 @@
|
|||
"Type$arn": "<p>The type ARN.</p>",
|
||||
"Type$definition": "<p>The type definition.</p>",
|
||||
"UnauthorizedException$message": null,
|
||||
"UpdateApiKeyRequest$apiId": "<p>The ID for the GraphQL API</p>",
|
||||
"UpdateApiKeyRequest$id": "<p>The API key ID.</p>",
|
||||
"UpdateApiKeyRequest$description": "<p>A description of the purpose of the API key.</p>",
|
||||
"UpdateDataSourceRequest$apiId": "<p>The API ID.</p>",
|
||||
"UpdateDataSourceRequest$description": "<p>The new description for the data source.</p>",
|
||||
"UpdateDataSourceRequest$serviceRoleArn": "<p>The new service role ARN for the data source.</p>",
|
||||
"UpdateGraphqlApiRequest$apiId": "<p>The API ID.</p>",
|
||||
"UpdateGraphqlApiRequest$name": "<p>The new name for the <code>GraphqlApi</code> object.</p>",
|
||||
"UpdateResolverRequest$apiId": "<p>The API ID.</p>",
|
||||
"UpdateTypeRequest$apiId": "<p>The API ID.</p>",
|
||||
"UpdateTypeRequest$definition": "<p>The new definition.</p>",
|
||||
|
@ -602,6 +615,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateApiKeyRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateApiKeyResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateDataSourceRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
|
465
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling-plans/2018-01-06/api-2.json
generated
vendored
Normal file
465
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling-plans/2018-01-06/api-2.json
generated
vendored
Normal file
|
@ -0,0 +1,465 @@
|
|||
{
|
||||
"version":"2.0",
|
||||
"metadata":{
|
||||
"apiVersion":"2018-01-06",
|
||||
"endpointPrefix":"autoscaling",
|
||||
"jsonVersion":"1.1",
|
||||
"protocol":"json",
|
||||
"serviceFullName":"AWS Auto Scaling Plans",
|
||||
"serviceId":"Auto Scaling Plans",
|
||||
"signatureVersion":"v4",
|
||||
"signingName":"autoscaling-plans",
|
||||
"targetPrefix":"AnyScaleScalingPlannerFrontendService",
|
||||
"uid":"autoscaling-plans-2018-01-06"
|
||||
},
|
||||
"operations":{
|
||||
"CreateScalingPlan":{
|
||||
"name":"CreateScalingPlan",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CreateScalingPlanRequest"},
|
||||
"output":{"shape":"CreateScalingPlanResponse"},
|
||||
"errors":[
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"ConcurrentUpdateException"},
|
||||
{"shape":"InternalServiceException"}
|
||||
]
|
||||
},
|
||||
"DeleteScalingPlan":{
|
||||
"name":"DeleteScalingPlan",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteScalingPlanRequest"},
|
||||
"output":{"shape":"DeleteScalingPlanResponse"},
|
||||
"errors":[
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"ObjectNotFoundException"},
|
||||
{"shape":"ConcurrentUpdateException"},
|
||||
{"shape":"InternalServiceException"}
|
||||
]
|
||||
},
|
||||
"DescribeScalingPlanResources":{
|
||||
"name":"DescribeScalingPlanResources",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeScalingPlanResourcesRequest"},
|
||||
"output":{"shape":"DescribeScalingPlanResourcesResponse"},
|
||||
"errors":[
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"ConcurrentUpdateException"},
|
||||
{"shape":"InternalServiceException"}
|
||||
]
|
||||
},
|
||||
"DescribeScalingPlans":{
|
||||
"name":"DescribeScalingPlans",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeScalingPlansRequest"},
|
||||
"output":{"shape":"DescribeScalingPlansResponse"},
|
||||
"errors":[
|
||||
{"shape":"ValidationException"},
|
||||
{"shape":"InvalidNextTokenException"},
|
||||
{"shape":"ConcurrentUpdateException"},
|
||||
{"shape":"InternalServiceException"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"shapes":{
|
||||
"ApplicationSource":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"CloudFormationStackARN":{"shape":"XmlString"}
|
||||
}
|
||||
},
|
||||
"ApplicationSources":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ApplicationSource"}
|
||||
},
|
||||
"ConcurrentUpdateException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"Cooldown":{"type":"integer"},
|
||||
"CreateScalingPlanRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ScalingPlanName",
|
||||
"ApplicationSource",
|
||||
"ScalingInstructions"
|
||||
],
|
||||
"members":{
|
||||
"ScalingPlanName":{"shape":"ScalingPlanName"},
|
||||
"ApplicationSource":{"shape":"ApplicationSource"},
|
||||
"ScalingInstructions":{"shape":"ScalingInstructions"}
|
||||
}
|
||||
},
|
||||
"CreateScalingPlanResponse":{
|
||||
"type":"structure",
|
||||
"required":["ScalingPlanVersion"],
|
||||
"members":{
|
||||
"ScalingPlanVersion":{"shape":"ScalingPlanVersion"}
|
||||
}
|
||||
},
|
||||
"CustomizedScalingMetricSpecification":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"MetricName",
|
||||
"Namespace",
|
||||
"Statistic"
|
||||
],
|
||||
"members":{
|
||||
"MetricName":{"shape":"MetricName"},
|
||||
"Namespace":{"shape":"MetricNamespace"},
|
||||
"Dimensions":{"shape":"MetricDimensions"},
|
||||
"Statistic":{"shape":"MetricStatistic"},
|
||||
"Unit":{"shape":"MetricUnit"}
|
||||
}
|
||||
},
|
||||
"DeleteScalingPlanRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion"
|
||||
],
|
||||
"members":{
|
||||
"ScalingPlanName":{"shape":"ScalingPlanName"},
|
||||
"ScalingPlanVersion":{"shape":"ScalingPlanVersion"}
|
||||
}
|
||||
},
|
||||
"DeleteScalingPlanResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlanResourcesRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion"
|
||||
],
|
||||
"members":{
|
||||
"ScalingPlanName":{"shape":"ScalingPlanName"},
|
||||
"ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
|
||||
"MaxResults":{"shape":"MaxResults"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlanResourcesResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ScalingPlanResources":{"shape":"ScalingPlanResources"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlansRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ScalingPlanNames":{"shape":"ScalingPlanNames"},
|
||||
"ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
|
||||
"ApplicationSources":{"shape":"ApplicationSources"},
|
||||
"MaxResults":{"shape":"MaxResults"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlansResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ScalingPlans":{"shape":"ScalingPlans"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"DisableScaleIn":{"type":"boolean"},
|
||||
"ErrorMessage":{"type":"string"},
|
||||
"InternalServiceException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidNextTokenException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"LimitExceededException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"MaxResults":{"type":"integer"},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"MetricUnit":{"type":"string"},
|
||||
"NextToken":{"type":"string"},
|
||||
"ObjectNotFoundException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"PolicyName":{
|
||||
"type":"string",
|
||||
"max":256,
|
||||
"min":1,
|
||||
"pattern":"\\p{Print}+"
|
||||
},
|
||||
"PolicyType":{
|
||||
"type":"string",
|
||||
"enum":["TargetTrackingScaling"]
|
||||
},
|
||||
"PredefinedScalingMetricSpecification":{
|
||||
"type":"structure",
|
||||
"required":["PredefinedScalingMetricType"],
|
||||
"members":{
|
||||
"PredefinedScalingMetricType":{"shape":"ScalingMetricType"},
|
||||
"ResourceLabel":{"shape":"ResourceLabel"}
|
||||
}
|
||||
},
|
||||
"ResourceCapacity":{"type":"integer"},
|
||||
"ResourceIdMaxLen1600":{
|
||||
"type":"string",
|
||||
"max":1600,
|
||||
"min":1,
|
||||
"pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
||||
},
|
||||
"ResourceLabel":{
|
||||
"type":"string",
|
||||
"max":1023,
|
||||
"min":1
|
||||
},
|
||||
"ScalableDimension":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"autoscaling:autoScalingGroup:DesiredCapacity",
|
||||
"ecs:service:DesiredCount",
|
||||
"ec2:spot-fleet-request:TargetCapacity",
|
||||
"rds:cluster:ReadReplicaCount",
|
||||
"dynamodb:table:ReadCapacityUnits",
|
||||
"dynamodb:table:WriteCapacityUnits",
|
||||
"dynamodb:index:ReadCapacityUnits",
|
||||
"dynamodb:index:WriteCapacityUnits"
|
||||
]
|
||||
},
|
||||
"ScalingInstruction":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"MinCapacity",
|
||||
"MaxCapacity",
|
||||
"TargetTrackingConfigurations"
|
||||
],
|
||||
"members":{
|
||||
"ServiceNamespace":{"shape":"ServiceNamespace"},
|
||||
"ResourceId":{"shape":"ResourceIdMaxLen1600"},
|
||||
"ScalableDimension":{"shape":"ScalableDimension"},
|
||||
"MinCapacity":{"shape":"ResourceCapacity"},
|
||||
"MaxCapacity":{"shape":"ResourceCapacity"},
|
||||
"TargetTrackingConfigurations":{"shape":"TargetTrackingConfigurations"}
|
||||
}
|
||||
},
|
||||
"ScalingInstructions":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ScalingInstruction"}
|
||||
},
|
||||
"ScalingMetricType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"ASGAverageCPUUtilization",
|
||||
"ASGAverageNetworkIn",
|
||||
"ASGAverageNetworkOut",
|
||||
"DynamoDBReadCapacityUtilization",
|
||||
"DynamoDBWriteCapacityUtilization",
|
||||
"ECSServiceAverageCPUUtilization",
|
||||
"ECSServiceAverageMemoryUtilization",
|
||||
"ALBRequestCountPerTarget",
|
||||
"RDSReaderAverageCPUUtilization",
|
||||
"RDSReaderAverageDatabaseConnections",
|
||||
"EC2SpotFleetRequestAverageCPUUtilization",
|
||||
"EC2SpotFleetRequestAverageNetworkIn",
|
||||
"EC2SpotFleetRequestAverageNetworkOut"
|
||||
]
|
||||
},
|
||||
"ScalingPlan":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion",
|
||||
"ApplicationSource",
|
||||
"ScalingInstructions",
|
||||
"StatusCode"
|
||||
],
|
||||
"members":{
|
||||
"ScalingPlanName":{"shape":"ScalingPlanName"},
|
||||
"ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
|
||||
"ApplicationSource":{"shape":"ApplicationSource"},
|
||||
"ScalingInstructions":{"shape":"ScalingInstructions"},
|
||||
"StatusCode":{"shape":"ScalingPlanStatusCode"},
|
||||
"StatusMessage":{"shape":"XmlString"},
|
||||
"CreationTime":{"shape":"TimestampType"}
|
||||
}
|
||||
},
|
||||
"ScalingPlanName":{
|
||||
"type":"string",
|
||||
"max":128,
|
||||
"min":1,
|
||||
"pattern":"[\\p{Print}&&[^|]]+"
|
||||
},
|
||||
"ScalingPlanNames":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ScalingPlanName"}
|
||||
},
|
||||
"ScalingPlanResource":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"ScalingPlanName",
|
||||
"ScalingPlanVersion",
|
||||
"ServiceNamespace",
|
||||
"ResourceId",
|
||||
"ScalableDimension",
|
||||
"ScalingStatusCode"
|
||||
],
|
||||
"members":{
|
||||
"ScalingPlanName":{"shape":"ScalingPlanName"},
|
||||
"ScalingPlanVersion":{"shape":"ScalingPlanVersion"},
|
||||
"ServiceNamespace":{"shape":"ServiceNamespace"},
|
||||
"ResourceId":{"shape":"ResourceIdMaxLen1600"},
|
||||
"ScalableDimension":{"shape":"ScalableDimension"},
|
||||
"ScalingPolicies":{"shape":"ScalingPolicies"},
|
||||
"ScalingStatusCode":{"shape":"ScalingStatusCode"},
|
||||
"ScalingStatusMessage":{"shape":"XmlString"}
|
||||
}
|
||||
},
|
||||
"ScalingPlanResources":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ScalingPlanResource"}
|
||||
},
|
||||
"ScalingPlanStatusCode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"Active",
|
||||
"ActiveWithProblems",
|
||||
"CreationInProgress",
|
||||
"CreationFailed",
|
||||
"DeletionInProgress",
|
||||
"DeletionFailed"
|
||||
]
|
||||
},
|
||||
"ScalingPlanVersion":{"type":"long"},
|
||||
"ScalingPlans":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ScalingPlan"}
|
||||
},
|
||||
"ScalingPolicies":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ScalingPolicy"}
|
||||
},
|
||||
"ScalingPolicy":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"PolicyName",
|
||||
"PolicyType"
|
||||
],
|
||||
"members":{
|
||||
"PolicyName":{"shape":"PolicyName"},
|
||||
"PolicyType":{"shape":"PolicyType"},
|
||||
"TargetTrackingConfiguration":{"shape":"TargetTrackingConfiguration"}
|
||||
}
|
||||
},
|
||||
"ScalingStatusCode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"Inactive",
|
||||
"PartiallyActive",
|
||||
"Active"
|
||||
]
|
||||
},
|
||||
"ServiceNamespace":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"autoscaling",
|
||||
"ecs",
|
||||
"ec2",
|
||||
"rds",
|
||||
"dynamodb"
|
||||
]
|
||||
},
|
||||
"TargetTrackingConfiguration":{
|
||||
"type":"structure",
|
||||
"required":["TargetValue"],
|
||||
"members":{
|
||||
"PredefinedScalingMetricSpecification":{"shape":"PredefinedScalingMetricSpecification"},
|
||||
"CustomizedScalingMetricSpecification":{"shape":"CustomizedScalingMetricSpecification"},
|
||||
"TargetValue":{"shape":"MetricScale"},
|
||||
"DisableScaleIn":{"shape":"DisableScaleIn"},
|
||||
"ScaleOutCooldown":{"shape":"Cooldown"},
|
||||
"ScaleInCooldown":{"shape":"Cooldown"},
|
||||
"EstimatedInstanceWarmup":{"shape":"Cooldown"}
|
||||
}
|
||||
},
|
||||
"TargetTrackingConfigurations":{
|
||||
"type":"list",
|
||||
"member":{"shape":"TargetTrackingConfiguration"}
|
||||
},
|
||||
"TimestampType":{"type":"timestamp"},
|
||||
"ValidationException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"XmlString":{
|
||||
"type":"string",
|
||||
"pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
||||
}
|
||||
}
|
||||
}
|
371
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling-plans/2018-01-06/docs-2.json
generated
vendored
Normal file
371
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling-plans/2018-01-06/docs-2.json
generated
vendored
Normal file
|
@ -0,0 +1,371 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<p>Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling for your scalable resources.</p> <p>To get started, create a scaling plan with a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies for the scalable resources in your scaling plan. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified.</p>",
|
||||
"operations": {
|
||||
"CreateScalingPlan": "<p>Creates a scaling plan.</p> <p>A scaling plan contains a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions in your scaling plan.</p>",
|
||||
"DeleteScalingPlan": "<p>Deletes the specified scaling plan.</p>",
|
||||
"DescribeScalingPlanResources": "<p>Describes the scalable resources in the specified scaling plan.</p>",
|
||||
"DescribeScalingPlans": "<p>Describes the specified scaling plans or all of your scaling plans.</p>"
|
||||
},
|
||||
"shapes": {
|
||||
"ApplicationSource": {
|
||||
"base": "<p>Represents an application source.</p>",
|
||||
"refs": {
|
||||
"ApplicationSources$member": null,
|
||||
"CreateScalingPlanRequest$ApplicationSource": "<p>The source for the application.</p>",
|
||||
"ScalingPlan$ApplicationSource": "<p>The application source.</p>"
|
||||
}
|
||||
},
|
||||
"ApplicationSources": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalingPlansRequest$ApplicationSources": "<p>The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.</p>"
|
||||
}
|
||||
},
|
||||
"ConcurrentUpdateException": {
|
||||
"base": "<p>Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Cooldown": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$ScaleOutCooldown": "<p>The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. This value is not used if the scalable resource is an Auto Scaling group.</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>",
|
||||
"TargetTrackingConfiguration$ScaleInCooldown": "<p>The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.</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, AWS Auto Scaling scales out your scalable target immediately.</p>",
|
||||
"TargetTrackingConfiguration$EstimatedInstanceWarmup": "<p>The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.</p>"
|
||||
}
|
||||
},
|
||||
"CreateScalingPlanRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateScalingPlanResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CustomizedScalingMetricSpecification": {
|
||||
"base": "<p>Represents a customized metric for a target tracking policy.</p>",
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$CustomizedScalingMetricSpecification": "<p>A customized metric.</p>"
|
||||
}
|
||||
},
|
||||
"DeleteScalingPlanRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteScalingPlanResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlanResourcesRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlanResourcesResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlansRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeScalingPlansResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DisableScaleIn": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$DisableScaleIn": "<p>Indicates whether scale in by the target tracking policy is disabled. If the value is <code>true</code>, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is <code>false</code>.</p>"
|
||||
}
|
||||
},
|
||||
"ErrorMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ConcurrentUpdateException$Message": null,
|
||||
"InternalServiceException$Message": null,
|
||||
"InvalidNextTokenException$Message": null,
|
||||
"LimitExceededException$Message": null,
|
||||
"ObjectNotFoundException$Message": null,
|
||||
"ValidationException$Message": null
|
||||
}
|
||||
},
|
||||
"InternalServiceException": {
|
||||
"base": "<p>The service encountered an internal error.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidNextTokenException": {
|
||||
"base": "<p>The token provided is not valid.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"LimitExceededException": {
|
||||
"base": "<p>Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"MaxResults": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalingPlanResourcesRequest$MaxResults": "<p>The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.</p>",
|
||||
"DescribeScalingPlansRequest$MaxResults": "<p>The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.</p>"
|
||||
}
|
||||
},
|
||||
"MetricDimension": {
|
||||
"base": "<p>Represents a dimension for a customized 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": {
|
||||
"CustomizedScalingMetricSpecification$Dimensions": "<p>The dimensions of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedScalingMetricSpecification$MetricName": "<p>The name of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricNamespace": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedScalingMetricSpecification$Namespace": "<p>The namespace of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricScale": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$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": {
|
||||
"CustomizedScalingMetricSpecification$Statistic": "<p>The statistic of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"MetricUnit": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CustomizedScalingMetricSpecification$Unit": "<p>The unit of the metric.</p>"
|
||||
}
|
||||
},
|
||||
"NextToken": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalingPlanResourcesRequest$NextToken": "<p>The token for the next set of results.</p>",
|
||||
"DescribeScalingPlanResourcesResponse$NextToken": "<p>The token required to get the next set of results. This value is <code>null</code> if there are no more results to return.</p>",
|
||||
"DescribeScalingPlansRequest$NextToken": "<p>The token for the next set of results.</p>",
|
||||
"DescribeScalingPlansResponse$NextToken": "<p>The token required to get the next set of results. This value is <code>null</code> if there are no more results to return.</p>"
|
||||
}
|
||||
},
|
||||
"ObjectNotFoundException": {
|
||||
"base": "<p>The specified object could not be found.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"PolicyName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingPolicy$PolicyName": "<p>The name of the scaling policy.</p>"
|
||||
}
|
||||
},
|
||||
"PolicyType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingPolicy$PolicyType": "<p>The type of scaling policy.</p>"
|
||||
}
|
||||
},
|
||||
"PredefinedScalingMetricSpecification": {
|
||||
"base": "<p>Represents a predefined metric for a target tracking policy.</p>",
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$PredefinedScalingMetricSpecification": "<p>A predefined metric.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceCapacity": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingInstruction$MinCapacity": "<p>The minimum value to scale to in response to a scale in event.</p>",
|
||||
"ScalingInstruction$MaxCapacity": "<p>The maximum value to scale to in response to a scale out event.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceIdMaxLen1600": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingInstruction$ResourceId": "<p>The ID of the resource. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>Auto Scaling group - The resource type is <code>autoScalingGroup</code> and the unique identifier is the name of the Auto Scaling group. Example: <code>autoScalingGroup/my-asg</code>.</p> </li> <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>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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> </ul>",
|
||||
"ScalingPlanResource$ResourceId": "<p>The ID of the resource. This string consists of the resource type and unique identifier.</p> <ul> <li> <p>Auto Scaling group - The resource type is <code>autoScalingGroup</code> and the unique identifier is the name of the Auto Scaling group. Example: <code>autoScalingGroup/my-asg</code>.</p> </li> <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>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> <li> <p>Aurora DB cluster - The resource type is <code>cluster</code> and the unique identifier is the cluster name. Example: <code>cluster:my-db-cluster</code>.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ResourceLabel": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PredefinedScalingMetricSpecification$ResourceLabel": "<p>Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is <code>ALBRequestCountPerTarget</code> and there is a target group attached to the Auto Scaling group, Spot Fleet request, or ECS service.</p> <p>The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:</p> <ul> <li> <p>app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN</p> </li> <li> <p>targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ScalableDimension": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingInstruction$ScalableDimension": "<p>The scalable dimension associated with the resource.</p> <ul> <li> <p> <code>autoscaling:autoScalingGroup:DesiredCapacity</code> - The desired capacity of an Auto Scaling group.</p> </li> <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>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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> </ul>",
|
||||
"ScalingPlanResource$ScalableDimension": "<p>The scalable dimension for the resource.</p> <ul> <li> <p> <code>autoscaling:autoScalingGroup:DesiredCapacity</code> - The desired capacity of an Auto Scaling group.</p> </li> <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>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> <li> <p> <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ScalingInstruction": {
|
||||
"base": "<p>Specifies the scaling configuration for a scalable resource.</p>",
|
||||
"refs": {
|
||||
"ScalingInstructions$member": null
|
||||
}
|
||||
},
|
||||
"ScalingInstructions": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateScalingPlanRequest$ScalingInstructions": "<p>The scaling instructions.</p>",
|
||||
"ScalingPlan$ScalingInstructions": "<p>The scaling instructions.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingMetricType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"PredefinedScalingMetricSpecification$PredefinedScalingMetricType": "<p>The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to Auto Scaling groups, Sport Fleet requests, and ECS services.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingPlan": {
|
||||
"base": "<p>Represents a scaling plan.</p>",
|
||||
"refs": {
|
||||
"ScalingPlans$member": null
|
||||
}
|
||||
},
|
||||
"ScalingPlanName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateScalingPlanRequest$ScalingPlanName": "<p>The name of the scaling plan.</p>",
|
||||
"DeleteScalingPlanRequest$ScalingPlanName": "<p>The name of the scaling plan.</p>",
|
||||
"DescribeScalingPlanResourcesRequest$ScalingPlanName": "<p>The name of the scaling plan.</p>",
|
||||
"ScalingPlan$ScalingPlanName": "<p>The name of the scaling plan.</p>",
|
||||
"ScalingPlanNames$member": null,
|
||||
"ScalingPlanResource$ScalingPlanName": "<p>The name of the scaling plan.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingPlanNames": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalingPlansRequest$ScalingPlanNames": "<p>The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingPlanResource": {
|
||||
"base": "<p>Represents a scalable resource.</p>",
|
||||
"refs": {
|
||||
"ScalingPlanResources$member": null
|
||||
}
|
||||
},
|
||||
"ScalingPlanResources": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalingPlanResourcesResponse$ScalingPlanResources": "<p>Information about the scalable resources.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingPlanStatusCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingPlan$StatusCode": "<p>The status of the scaling plan.</p> <ul> <li> <p> <code>Active</code> - The scaling plan is active.</p> </li> <li> <p> <code>ActiveWithProblems</code> - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.</p> </li> <li> <p> <code>CreationInProgress</code> - The scaling plan is being created.</p> </li> <li> <p> <code>CreationFailed</code> - The scaling plan could not be created.</p> </li> <li> <p> <code>DeletionInProgress</code> - The scaling plan is being deleted.</p> </li> <li> <p> <code>DeletionFailed</code> - The scaling plan could not be deleted.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ScalingPlanVersion": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateScalingPlanResponse$ScalingPlanVersion": "<p>The version of the scaling plan. This value is always 1.</p>",
|
||||
"DeleteScalingPlanRequest$ScalingPlanVersion": "<p>The version of the scaling plan.</p>",
|
||||
"DescribeScalingPlanResourcesRequest$ScalingPlanVersion": "<p>The version of the scaling plan.</p>",
|
||||
"DescribeScalingPlansRequest$ScalingPlanVersion": "<p>The version of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.</p>",
|
||||
"ScalingPlan$ScalingPlanVersion": "<p>The version of the scaling plan.</p>",
|
||||
"ScalingPlanResource$ScalingPlanVersion": "<p>The version of the scaling plan.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingPlans": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeScalingPlansResponse$ScalingPlans": "<p>Information about the scaling plans.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingPolicies": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingPlanResource$ScalingPolicies": "<p>The scaling policies.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingPolicy": {
|
||||
"base": "<p>Represents a scaling policy.</p>",
|
||||
"refs": {
|
||||
"ScalingPolicies$member": null
|
||||
}
|
||||
},
|
||||
"ScalingStatusCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingPlanResource$ScalingStatusCode": "<p>The scaling status of the resource.</p> <ul> <li> <p> <code>Active</code> - The scaling configuration is active.</p> </li> <li> <p> <code>Inactive</code> - The scaling configuration is not active because the scaling plan is being created or the scaling configuration could not be applied. Check the status message for more information.</p> </li> <li> <p> <code>PartiallyActive</code> - The scaling configuration is partially active because the scaling plan is being created or deleted or the scaling configuration could not be fully applied. Check the status message for more information.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ServiceNamespace": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingInstruction$ServiceNamespace": "<p>The namespace of the AWS service.</p>",
|
||||
"ScalingPlanResource$ServiceNamespace": "<p>The namespace of the AWS service.</p>"
|
||||
}
|
||||
},
|
||||
"TargetTrackingConfiguration": {
|
||||
"base": "<p>Represents a target tracking scaling policy.</p>",
|
||||
"refs": {
|
||||
"ScalingPolicy$TargetTrackingConfiguration": "<p>The target tracking scaling policy.</p>",
|
||||
"TargetTrackingConfigurations$member": null
|
||||
}
|
||||
},
|
||||
"TargetTrackingConfigurations": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingInstruction$TargetTrackingConfigurations": "<p>The target tracking scaling policies (up to 10).</p>"
|
||||
}
|
||||
},
|
||||
"TimestampType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ScalingPlan$CreationTime": "<p>The Unix timestamp when the scaling plan was created.</p>"
|
||||
}
|
||||
},
|
||||
"ValidationException": {
|
||||
"base": "<p>An exception was thrown for a validation issue. Review the parameters provided.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"XmlString": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ApplicationSource$CloudFormationStackARN": "<p>The Amazon Resource Name (ARN) of a CloudFormation stack.</p>",
|
||||
"ScalingPlan$StatusMessage": "<p>A simple message about the current status of the scaling plan.</p>",
|
||||
"ScalingPlanResource$ScalingStatusMessage": "<p>A simple message about the current scaling status of the resource.</p>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
4
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling-plans/2018-01-06/paginators-1.json
generated
vendored
Normal file
4
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling-plans/2018-01-06/paginators-1.json
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"pagination": {
|
||||
}
|
||||
}
|
48
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/api-2.json
generated
vendored
48
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/api-2.json
generated
vendored
|
@ -18,7 +18,8 @@
|
|||
},
|
||||
"input":{"shape":"AttachInstancesQuery"},
|
||||
"errors":[
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"AttachLoadBalancerTargetGroups":{
|
||||
|
@ -33,7 +34,8 @@
|
|||
"resultWrapper":"AttachLoadBalancerTargetGroupsResult"
|
||||
},
|
||||
"errors":[
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"AttachLoadBalancers":{
|
||||
|
@ -48,7 +50,8 @@
|
|||
"resultWrapper":"AttachLoadBalancersResult"
|
||||
},
|
||||
"errors":[
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"CompleteLifecycleAction":{
|
||||
|
@ -76,7 +79,8 @@
|
|||
"errors":[
|
||||
{"shape":"AlreadyExistsFault"},
|
||||
{"shape":"LimitExceededFault"},
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"CreateLaunchConfiguration":{
|
||||
|
@ -165,7 +169,8 @@
|
|||
},
|
||||
"input":{"shape":"DeletePolicyType"},
|
||||
"errors":[
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"DeleteScheduledAction":{
|
||||
|
@ -383,7 +388,8 @@
|
|||
},
|
||||
"errors":[
|
||||
{"shape":"InvalidNextToken"},
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"DescribeScalingActivities":{
|
||||
|
@ -596,7 +602,8 @@
|
|||
"input":{"shape":"PutNotificationConfigurationType"},
|
||||
"errors":[
|
||||
{"shape":"LimitExceededFault"},
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"PutScalingPolicy":{
|
||||
|
@ -612,7 +619,8 @@
|
|||
},
|
||||
"errors":[
|
||||
{"shape":"LimitExceededFault"},
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
},
|
||||
"PutScheduledUpdateGroupAction":{
|
||||
|
@ -731,7 +739,8 @@
|
|||
"input":{"shape":"UpdateAutoScalingGroupType"},
|
||||
"errors":[
|
||||
{"shape":"ScalingActivityInProgressFault"},
|
||||
{"shape":"ResourceContentionFault"}
|
||||
{"shape":"ResourceContentionFault"},
|
||||
{"shape":"ServiceLinkedRoleFailure"}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -895,7 +904,8 @@
|
|||
"Status":{"shape":"XmlStringMaxLen255"},
|
||||
"Tags":{"shape":"TagDescriptionList"},
|
||||
"TerminationPolicies":{"shape":"TerminationPolicies"},
|
||||
"NewInstancesProtectedFromScaleIn":{"shape":"InstanceProtected"}
|
||||
"NewInstancesProtectedFromScaleIn":{"shape":"InstanceProtected"},
|
||||
"ServiceLinkedRoleARN":{"shape":"ResourceName"}
|
||||
}
|
||||
},
|
||||
"AutoScalingGroupDesiredCapacity":{"type":"integer"},
|
||||
|
@ -1048,7 +1058,8 @@
|
|||
"TerminationPolicies":{"shape":"TerminationPolicies"},
|
||||
"NewInstancesProtectedFromScaleIn":{"shape":"InstanceProtected"},
|
||||
"LifecycleHookSpecificationList":{"shape":"LifecycleHookSpecifications"},
|
||||
"Tags":{"shape":"Tags"}
|
||||
"Tags":{"shape":"Tags"},
|
||||
"ServiceLinkedRoleARN":{"shape":"ResourceName"}
|
||||
}
|
||||
},
|
||||
"CreateLaunchConfigurationType":{
|
||||
|
@ -2052,6 +2063,18 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"XmlString"}
|
||||
},
|
||||
"ServiceLinkedRoleFailure":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"message":{"shape":"XmlStringMaxLen255"}
|
||||
},
|
||||
"error":{
|
||||
"code":"ServiceLinkedRoleFailure",
|
||||
"httpStatusCode":500,
|
||||
"senderFault":true
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"SetDesiredCapacityType":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2220,7 +2243,8 @@
|
|||
"PlacementGroup":{"shape":"XmlStringMaxLen255"},
|
||||
"VPCZoneIdentifier":{"shape":"XmlStringMaxLen2047"},
|
||||
"TerminationPolicies":{"shape":"TerminationPolicies"},
|
||||
"NewInstancesProtectedFromScaleIn":{"shape":"InstanceProtected"}
|
||||
"NewInstancesProtectedFromScaleIn":{"shape":"InstanceProtected"},
|
||||
"ServiceLinkedRoleARN":{"shape":"ResourceName"}
|
||||
}
|
||||
},
|
||||
"Values":{
|
||||
|
|
63
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/docs-2.json
generated
vendored
63
vendor/github.com/aws/aws-sdk-go/models/apis/autoscaling/2011-01-01/docs-2.json
generated
vendored
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"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>",
|
||||
"service": "<fullname>Amazon EC2 Auto Scaling</fullname> <p>Amazon EC2 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 AWS Auto Scaling, 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>",
|
||||
"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>",
|
||||
"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>",
|
||||
"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, the call fails. For information about viewing this limit, see <a>DescribeAccountLimits</a>. For information about updating this limit, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html\">Auto Scaling Limits</a> in the <i>Auto Scaling User Guide</i>.</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, the call fails. For information about viewing this limit, see <a>DescribeAccountLimits</a>. For information about updating this limit, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html\">Auto Scaling Limits</a> in the <i>Auto Scaling User Guide</i>.</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>",
|
||||
"CreateOrUpdateTags": "<p>Creates or updates tags for the specified Auto Scaling group.</p> <p>When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/autoscaling-tagging.html\">Tagging Auto Scaling Groups and Instances</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"DeleteAutoScalingGroup": "<p>Deletes the specified Auto Scaling group.</p> <p>If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed.</p> <p>If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action.</p> <p>To remove instances from the Auto Scaling group before deleting it, call <a>DetachInstances</a> with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances.</p> <p>To terminate all instances before deleting the Auto Scaling group, call <a>UpdateAutoScalingGroup</a> and set the minimum size and desired capacity of the Auto Scaling group to zero.</p>",
|
||||
"DeleteLaunchConfiguration": "<p>Deletes the specified launch configuration.</p> <p>The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.</p>",
|
||||
|
@ -16,7 +16,7 @@
|
|||
"DeletePolicy": "<p>Deletes the specified Auto Scaling policy.</p> <p>Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.</p>",
|
||||
"DeleteScheduledAction": "<p>Deletes the specified scheduled action.</p>",
|
||||
"DeleteTags": "<p>Deletes the specified tags.</p>",
|
||||
"DescribeAccountLimits": "<p>Describes the current Auto Scaling resource limits for your AWS account.</p> <p>For information about requesting an increase in these limits, see <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">AWS Service Limits</a> in the <i>Amazon Web Services General Reference</i>.</p>",
|
||||
"DescribeAccountLimits": "<p>Describes the current Auto Scaling resource limits for your AWS account.</p> <p>For information about requesting an increase in these limits, see <a href=\"http://docs.aws.amazon.com/autoscaling/latest/userguide/as-account-limits.html\">Auto Scaling Limits</a> in the <i>Auto Scaling User Guide</i>.</p>",
|
||||
"DescribeAdjustmentTypes": "<p>Describes the policy adjustment types for use with <a>PutScalingPolicy</a>.</p>",
|
||||
"DescribeAutoScalingGroups": "<p>Describes one or more Auto Scaling groups.</p>",
|
||||
"DescribeAutoScalingInstances": "<p>Describes one or more Auto Scaling instances.</p>",
|
||||
|
@ -133,7 +133,7 @@
|
|||
"AssociatePublicIpAddress": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateLaunchConfigurationType$AssociatePublicIpAddress": "<p>Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. 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>If you specify this parameter, be sure to specify at least one subnet when you create your group.</p> <p>Default: If the instance is launched into a default subnet, the default is <code>true</code>. If the instance is launched into a nondefault subnet, the default is <code>false</code>. For more information, see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html\">Supported Platforms</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
|
||||
"CreateLaunchConfigurationType$AssociatePublicIpAddress": "<p>Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. 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>If you specify this parameter, be sure to specify at least one subnet when you create your group.</p> <p>Default: If the instance is launched into a default subnet, the default is to assign a public IP address. If the instance is launched into a nondefault subnet, the default is not to assign a public IP address.</p>",
|
||||
"LaunchConfiguration$AssociatePublicIpAddress": "<p>[EC2-VPC] Indicates whether to assign a public IP address to each instance.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -258,7 +258,7 @@
|
|||
"BlockDeviceEbsDeleteOnTermination": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Ebs$DeleteOnTermination": "<p>Indicates whether the volume is deleted on instance termination.</p> <p>Default: <code>true</code> </p>"
|
||||
"Ebs$DeleteOnTermination": "<p>Indicates whether the volume is deleted on instance termination. The default is <code>true</code>.</p>"
|
||||
}
|
||||
},
|
||||
"BlockDeviceEbsEncrypted": {
|
||||
|
@ -514,7 +514,7 @@
|
|||
"DisableScaleIn": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"TargetTrackingConfiguration$DisableScaleIn": "<p>Indicates whether scale in by the target tracking policy is disabled. If the value is <code>true</code>, scale in is disabled and the target tracking policy won't remove instances from the Auto Scaling group. Otherwise, scale in is enabled and the target tracking policy can remove instances from the Auto Scaling group. The default value is <code>false</code>.</p>"
|
||||
"TargetTrackingConfiguration$DisableScaleIn": "<p>Indicates whether scale in by the target tracking policy is disabled. If scale in is disabled, the target tracking policy won't remove instances from the Auto Scaling group. Otherwise, the target tracking policy can remove instances from the Auto Scaling group. The default is disabled.</p>"
|
||||
}
|
||||
},
|
||||
"Ebs": {
|
||||
|
@ -622,8 +622,8 @@
|
|||
"HonorCooldown": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ExecutePolicyType$HonorCooldown": "<p>If this parameter is true, Auto Scaling waits for the cooldown period to complete before executing the policy. Otherwise, Auto Scaling executes the policy without waiting for the cooldown period to complete.</p> <p>This parameter is not supported if the policy type is <code>StepScaling</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>",
|
||||
"SetDesiredCapacityType$HonorCooldown": "<p>By default, <code>SetDesiredCapacity</code> overrides any cooldown period associated with the Auto Scaling group. Specify <code>True</code> to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity.</p>"
|
||||
"ExecutePolicyType$HonorCooldown": "<p>Indicates whether Auto Scaling waits for the cooldown period to complete before executing the policy.</p> <p>This parameter is not supported if the policy type is <code>StepScaling</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>",
|
||||
"SetDesiredCapacityType$HonorCooldown": "<p>Indicates whether Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Auto Scaling does not honor the cooldown period during manual scaling activities.</p>"
|
||||
}
|
||||
},
|
||||
"Instance": {
|
||||
|
@ -635,11 +635,11 @@
|
|||
"InstanceIds": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AttachInstancesQuery$InstanceIds": "<p>One or more instance IDs.</p>",
|
||||
"AttachInstancesQuery$InstanceIds": "<p>The IDs of the instances. You can specify up to 20 instances.</p>",
|
||||
"DescribeAutoScalingInstancesType$InstanceIds": "<p>The instances to describe; up to 50 instance IDs. If you omit this parameter, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.</p>",
|
||||
"DetachInstancesQuery$InstanceIds": "<p>One or more instance IDs.</p>",
|
||||
"EnterStandbyQuery$InstanceIds": "<p>One or more instances to move into <code>Standby</code> mode. You must specify at least one instance ID.</p>",
|
||||
"ExitStandbyQuery$InstanceIds": "<p>One or more instance IDs. You must specify at least one instance ID.</p>",
|
||||
"DetachInstancesQuery$InstanceIds": "<p>The IDs of the instances. You can specify up to 20 instances.</p>",
|
||||
"EnterStandbyQuery$InstanceIds": "<p>The IDs of the instances. You can specify up to 20 instances.</p>",
|
||||
"ExitStandbyQuery$InstanceIds": "<p>The IDs of the instances. You can specify up to 20 instances.</p>",
|
||||
"SetInstanceProtectionQuery$InstanceIds": "<p>One or more instance IDs.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -717,7 +717,7 @@
|
|||
"AutoScalingInstanceDetails$LaunchTemplate": "<p>The launch template for the instance.</p>",
|
||||
"CreateAutoScalingGroupType$LaunchTemplate": "<p>The launch template to use to launch instances. You must specify one of the following: a launch template, a launch configuration, or an EC2 instance.</p>",
|
||||
"Instance$LaunchTemplate": "<p>The launch template for the instance.</p>",
|
||||
"UpdateAutoScalingGroupType$LaunchTemplate": "<p>The launch template to use to specify the updates. You must specify a launch configuration or a launch template.</p>"
|
||||
"UpdateAutoScalingGroupType$LaunchTemplate": "<p>The launch template to use to specify the updates. If you specify a launch template, you can't specify a launch configuration.</p>"
|
||||
}
|
||||
},
|
||||
"LifecycleActionResult": {
|
||||
|
@ -788,10 +788,10 @@
|
|||
"LoadBalancerNames": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AttachLoadBalancersType$LoadBalancerNames": "<p>One or more load balancer names.</p>",
|
||||
"AttachLoadBalancersType$LoadBalancerNames": "<p>The names of the load balancers. You can specify up to 10 load balancers.</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>",
|
||||
"DetachLoadBalancersType$LoadBalancerNames": "<p>One or more load balancer names.</p>"
|
||||
"DetachLoadBalancersType$LoadBalancerNames": "<p>The names of the load balancers. You can specify up to 10 load balancers.</p>"
|
||||
}
|
||||
},
|
||||
"LoadBalancerState": {
|
||||
|
@ -834,12 +834,12 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"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>",
|
||||
"DescribeAutoScalingInstancesType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.</p>",
|
||||
"DescribeLoadBalancerTargetGroupsRequest$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.</p>",
|
||||
"DescribeLoadBalancersRequest$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 100 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>",
|
||||
"DescribeScalingActivitiesType$MaxRecords": "<p>The maximum number of items to return with this call. The default value is 100 and the maximum 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>"
|
||||
|
@ -1128,9 +1128,11 @@
|
|||
"AttachLoadBalancerTargetGroupsType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"AttachLoadBalancersType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"AutoScalingGroup$AutoScalingGroupARN": "<p>The Amazon Resource Name (ARN) of the Auto Scaling group.</p>",
|
||||
"AutoScalingGroup$ServiceLinkedRoleARN": "<p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.</p>",
|
||||
"AutoScalingGroupNames$member": null,
|
||||
"CompleteLifecycleActionType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"CreateAutoScalingGroupType$LaunchConfigurationName": "<p>The name of the launch configuration. You must specify one of the following: a launch configuration, a launch template, or an EC2 instance.</p>",
|
||||
"CreateAutoScalingGroupType$ServiceLinkedRoleARN": "<p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. By default, Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist.</p>",
|
||||
"DeleteAutoScalingGroupType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"DeleteLifecycleHookType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"DeleteNotificationConfigurationType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
|
@ -1179,7 +1181,8 @@
|
|||
"SetDesiredCapacityType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"SetInstanceProtectionQuery$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"UpdateAutoScalingGroupType$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"UpdateAutoScalingGroupType$LaunchConfigurationName": "<p>The name of the launch configuration. You must specify either a launch configuration or a launch template.</p>"
|
||||
"UpdateAutoScalingGroupType$LaunchConfigurationName": "<p>The name of the launch configuration. If you specify a launch configuration, you can't specify a launch template.</p>",
|
||||
"UpdateAutoScalingGroupType$ServiceLinkedRoleARN": "<p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.</p>"
|
||||
}
|
||||
},
|
||||
"ScalingActivityInProgressFault": {
|
||||
|
@ -1240,6 +1243,11 @@
|
|||
"LaunchConfiguration$SecurityGroups": "<p>The security groups to associate with the instances.</p>"
|
||||
}
|
||||
},
|
||||
"ServiceLinkedRoleFailure": {
|
||||
"base": "<p>The service-linked role is not yet ready for use.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SetDesiredCapacityType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -1263,9 +1271,9 @@
|
|||
"ShouldDecrementDesiredCapacity": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DetachInstancesQuery$ShouldDecrementDesiredCapacity": "<p>If <code>True</code>, the Auto Scaling group decrements the desired capacity value by the number of instances detached.</p>",
|
||||
"EnterStandbyQuery$ShouldDecrementDesiredCapacity": "<p>Specifies whether the instances moved to <code>Standby</code> mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to <code>Standby</code> mode.</p>",
|
||||
"TerminateInstanceInAutoScalingGroupType$ShouldDecrementDesiredCapacity": "<p>If <code>true</code>, terminating the instance also decrements the size of the Auto Scaling group.</p>"
|
||||
"DetachInstancesQuery$ShouldDecrementDesiredCapacity": "<p>Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.</p>",
|
||||
"EnterStandbyQuery$ShouldDecrementDesiredCapacity": "<p>Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to <code>Standby</code> mode.</p>",
|
||||
"TerminateInstanceInAutoScalingGroupType$ShouldDecrementDesiredCapacity": "<p>Indicates whether terminating the instance also decrements the size of the Auto Scaling group.</p>"
|
||||
}
|
||||
},
|
||||
"ShouldRespectGracePeriod": {
|
||||
|
@ -1355,10 +1363,10 @@
|
|||
"TargetGroupARNs": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AttachLoadBalancerTargetGroupsType$TargetGroupARNs": "<p>The Amazon Resource Names (ARN) of the target groups.</p>",
|
||||
"AttachLoadBalancerTargetGroupsType$TargetGroupARNs": "<p>The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.</p>",
|
||||
"AutoScalingGroup$TargetGroupARNs": "<p>The Amazon Resource Names (ARN) of the target groups for your load balancer.</p>",
|
||||
"CreateAutoScalingGroupType$TargetGroupARNs": "<p>The Amazon Resource Names (ARN) of the target groups.</p>",
|
||||
"DetachLoadBalancerTargetGroupsType$TargetGroupARNs": "<p>The Amazon Resource Names (ARN) of the target groups.</p>"
|
||||
"DetachLoadBalancerTargetGroupsType$TargetGroupARNs": "<p>The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.</p>"
|
||||
}
|
||||
},
|
||||
"TargetTrackingConfiguration": {
|
||||
|
@ -1530,7 +1538,7 @@
|
|||
"LaunchConfiguration$KernelId": "<p>The ID of the kernel associated with the AMI.</p>",
|
||||
"LaunchConfiguration$RamdiskId": "<p>The ID of the RAM disk associated with the AMI.</p>",
|
||||
"LaunchTemplateSpecification$LaunchTemplateId": "<p>The ID of the launch template. You must specify either a template ID or a template name.</p>",
|
||||
"LaunchTemplateSpecification$Version": "<p>The version number. By default, the default version of the launch template is used.</p>",
|
||||
"LaunchTemplateSpecification$Version": "<p>The version number, <code>$Latest</code>, or <code>$Default</code>. If the value is <code>$Latest</code>, Auto Scaling selects the latest version of the launch template when launching instances. If the value is <code>$Default</code>, Auto Scaling selects the default version of the launch template when launching instances. The default value is <code>$Default</code>.</p>",
|
||||
"LimitExceededFault$message": "<p/>",
|
||||
"LoadBalancerNames$member": null,
|
||||
"LoadBalancerState$LoadBalancerName": "<p>The name of the load balancer.</p>",
|
||||
|
@ -1555,6 +1563,7 @@
|
|||
"ScheduledUpdateGroupAction$AutoScalingGroupName": "<p>The name of the Auto Scaling group.</p>",
|
||||
"ScheduledUpdateGroupAction$ScheduledActionName": "<p>The name of the scheduled action.</p>",
|
||||
"ScheduledUpdateGroupAction$Recurrence": "<p>The recurring schedule for the action.</p>",
|
||||
"ServiceLinkedRoleFailure$message": null,
|
||||
"SuspendedProcess$ProcessName": "<p>The name of the suspended process.</p>",
|
||||
"SuspendedProcess$SuspensionReason": "<p>The reason that the process was suspended.</p>",
|
||||
"UpdateAutoScalingGroupType$PlacementGroup": "<p>The name of the placement group into which you'll launch your instances, if any. For more information, see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html\">Placement Groups</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
|
||||
|
|
10
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/api-2.json
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/api-2.json
generated
vendored
|
@ -218,9 +218,7 @@
|
|||
"type":"structure",
|
||||
"required":[
|
||||
"BudgetName",
|
||||
"BudgetLimit",
|
||||
"TimeUnit",
|
||||
"TimePeriod",
|
||||
"BudgetType"
|
||||
],
|
||||
"members":{
|
||||
|
@ -283,7 +281,9 @@
|
|||
"IncludeUpfront":{"shape":"NullableBoolean"},
|
||||
"IncludeRecurring":{"shape":"NullableBoolean"},
|
||||
"IncludeOtherSubscription":{"shape":"NullableBoolean"},
|
||||
"IncludeSupport":{"shape":"NullableBoolean"}
|
||||
"IncludeSupport":{"shape":"NullableBoolean"},
|
||||
"IncludeDiscount":{"shape":"NullableBoolean"},
|
||||
"UseAmortized":{"shape":"NullableBoolean"}
|
||||
}
|
||||
},
|
||||
"CreateBudgetRequest":{
|
||||
|
@ -635,10 +635,6 @@
|
|||
},
|
||||
"TimePeriod":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Start",
|
||||
"End"
|
||||
],
|
||||
"members":{
|
||||
"Start":{"shape":"GenericTimestamp"},
|
||||
"End":{"shape":"GenericTimestamp"}
|
||||
|
|
320
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/docs-2.json
generated
vendored
320
vendor/github.com/aws/aws-sdk-go/models/apis/budgets/2016-10-20/docs-2.json
generated
vendored
|
@ -1,203 +1,203 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "All public APIs for AWS Budgets",
|
||||
"service": "<p>Budgets enable you to plan your service usage, service costs, and your RI utilization. You can also track how close your plan is to your budgeted amount or to the free tier limits. Budgets provide you with a quick way to see your usage-to-date and current estimated charges from AWS and to see how much your predicted usage accrues in charges by the end of the month. Budgets also compare current estimates and charges to the amount that you indicated you want to use or spend and lets you see how much of your budget has been used. AWS updates your budget status several times a day. Budgets track your unblended costs, subscriptions, and refunds. You can create the following types of budgets:</p> <ul> <li> <p>Cost budgets allow you to say how much you want to spend on a service.</p> </li> <li> <p>Usage budgets allow you to say how many hours you want to use for one or more services.</p> </li> <li> <p>RI utilization budgets allow you to define a utilization threshold and receive alerts when RIs are tracking below that threshold.</p> </li> </ul> <p>You can create up to 20,000 budgets per AWS master account. Your first two budgets are free of charge. Each additional budget costs $0.02 per day. You can set up optional notifications that warn you if you exceed, or are forecasted to exceed, your budgeted amount. You can have notifications sent to an Amazon SNS topic, to an email address, or to both. For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/budgets-sns-policy.html\">Creating an Amazon SNS Topic for Budget Notifications</a>. AWS Free Tier usage alerts via AWS Budgets are provided for you, and do not count toward your budget limits.</p> <p>Service Endpoint</p> <p>The AWS Budgets API provides the following endpoint:</p> <ul> <li> <p>https://budgets.us-east-1.amazonaws.com</p> </li> </ul>",
|
||||
"operations": {
|
||||
"CreateBudget": "Create a new budget",
|
||||
"CreateNotification": "Create a new Notification with subscribers for a budget",
|
||||
"CreateSubscriber": "Create a new Subscriber for a notification",
|
||||
"DeleteBudget": "Delete a budget and related notifications",
|
||||
"DeleteNotification": "Delete a notification and related subscribers",
|
||||
"DeleteSubscriber": "Delete a Subscriber for a notification",
|
||||
"DescribeBudget": "Get a single budget",
|
||||
"DescribeBudgets": "Get all budgets for an account",
|
||||
"DescribeNotificationsForBudget": "Get notifications of a budget",
|
||||
"DescribeSubscribersForNotification": "Get subscribers of a notification",
|
||||
"UpdateBudget": "Update the information of a budget already created",
|
||||
"UpdateNotification": "Update the information about a notification already created",
|
||||
"UpdateSubscriber": "Update a subscriber"
|
||||
"CreateBudget": "<p>Creates a budget and, if included, notifications and subscribers. </p>",
|
||||
"CreateNotification": "<p>Creates a notification. You must create the budget before you create the associated notification.</p>",
|
||||
"CreateSubscriber": "<p>Creates a subscriber. You must create the associated budget and notification before you create the subscriber.</p>",
|
||||
"DeleteBudget": "<p>Deletes a budget. You can delete your budget at any time.</p> <p> <b>Deleting a budget also deletes the notifications and subscribers associated with that budget.</b> </p>",
|
||||
"DeleteNotification": "<p>Deletes a notification.</p> <p> <b>Deleting a notification also deletes the subscribers associated with the notification.</b> </p>",
|
||||
"DeleteSubscriber": "<p>Deletes a subscriber.</p> <p> <b>Deleting the last subscriber to a notification also deletes the notification.</b> </p>",
|
||||
"DescribeBudget": "<p>Describes a budget.</p>",
|
||||
"DescribeBudgets": "<p>Lists the budgets associated with an account.</p>",
|
||||
"DescribeNotificationsForBudget": "<p>Lists the notifications associated with a budget.</p>",
|
||||
"DescribeSubscribersForNotification": "<p>Lists the subscribers associated with a notification.</p>",
|
||||
"UpdateBudget": "<p>Updates a budget. You can change every part of a budget except for the <code>budgetName</code> and the <code>calculatedSpend</code>. When a budget is modified, the <code>calculatedSpend</code> drops to zero until AWS has new usage data to use for forecasting.</p>",
|
||||
"UpdateNotification": "<p>Updates a notification.</p>",
|
||||
"UpdateSubscriber": "<p>Updates a subscriber.</p>"
|
||||
},
|
||||
"shapes": {
|
||||
"AccountId": {
|
||||
"base": "Account Id of the customer. It should be a 12 digit number.",
|
||||
"base": "<p>The account ID of the customer. It should be a 12 digit number.</p>",
|
||||
"refs": {
|
||||
"CreateBudgetRequest$AccountId": null,
|
||||
"CreateNotificationRequest$AccountId": null,
|
||||
"CreateSubscriberRequest$AccountId": null,
|
||||
"DeleteBudgetRequest$AccountId": null,
|
||||
"DeleteNotificationRequest$AccountId": null,
|
||||
"DeleteSubscriberRequest$AccountId": null,
|
||||
"DescribeBudgetRequest$AccountId": null,
|
||||
"DescribeBudgetsRequest$AccountId": null,
|
||||
"DescribeNotificationsForBudgetRequest$AccountId": null,
|
||||
"DescribeSubscribersForNotificationRequest$AccountId": null,
|
||||
"UpdateBudgetRequest$AccountId": null,
|
||||
"UpdateNotificationRequest$AccountId": null,
|
||||
"UpdateSubscriberRequest$AccountId": null
|
||||
"CreateBudgetRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget.</p>",
|
||||
"CreateNotificationRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget that you want to create a notification for.</p>",
|
||||
"CreateSubscriberRequest$AccountId": "<p>The <code>accountId</code> associated with the budget that you want to create a subscriber for.</p>",
|
||||
"DeleteBudgetRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget that you want to delete.</p>",
|
||||
"DeleteNotificationRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose notification you want to delete.</p>",
|
||||
"DeleteSubscriberRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose subscriber you want to delete.</p>",
|
||||
"DescribeBudgetRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget that you want a description of.</p>",
|
||||
"DescribeBudgetsRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budgets that you want descriptions of.</p>",
|
||||
"DescribeNotificationsForBudgetRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose notifications you want descriptions of.</p>",
|
||||
"DescribeSubscribersForNotificationRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose subscribers you want descriptions of.</p>",
|
||||
"UpdateBudgetRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget that you want to update.</p>",
|
||||
"UpdateNotificationRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose notification you want to update.</p>",
|
||||
"UpdateSubscriberRequest$AccountId": "<p>The <code>accountId</code> that is associated with the budget whose subscriber you want to update.</p>"
|
||||
}
|
||||
},
|
||||
"Budget": {
|
||||
"base": "AWS Budget model",
|
||||
"base": "<p>Represents the output of the <code>CreateBudget</code> operation. The content consists of the detailed metadata and data file information, and the current status of the <code>budget</code>.</p> <p>The ARN pattern for a budget is: <code>arn:aws:budgetservice::AccountId:budget/budgetName</code> </p>",
|
||||
"refs": {
|
||||
"Budgets$member": null,
|
||||
"CreateBudgetRequest$Budget": null,
|
||||
"DescribeBudgetResponse$Budget": null,
|
||||
"UpdateBudgetRequest$NewBudget": null
|
||||
"CreateBudgetRequest$Budget": "<p>The budget object that you want to create.</p>",
|
||||
"DescribeBudgetResponse$Budget": "<p>The description of the budget.</p>",
|
||||
"UpdateBudgetRequest$NewBudget": "<p>The budget that you want to update your budget to.</p>"
|
||||
}
|
||||
},
|
||||
"BudgetName": {
|
||||
"base": "A string represents the budget name. No \":\" and \"\\\" character is allowed.",
|
||||
"base": "<p> A string represents the budget name. No \":\" and \"\\\" character is allowed.</p>",
|
||||
"refs": {
|
||||
"Budget$BudgetName": null,
|
||||
"CreateNotificationRequest$BudgetName": null,
|
||||
"CreateSubscriberRequest$BudgetName": null,
|
||||
"DeleteBudgetRequest$BudgetName": null,
|
||||
"DeleteNotificationRequest$BudgetName": null,
|
||||
"DeleteSubscriberRequest$BudgetName": null,
|
||||
"DescribeBudgetRequest$BudgetName": null,
|
||||
"DescribeNotificationsForBudgetRequest$BudgetName": null,
|
||||
"DescribeSubscribersForNotificationRequest$BudgetName": null,
|
||||
"UpdateNotificationRequest$BudgetName": null,
|
||||
"UpdateSubscriberRequest$BudgetName": null
|
||||
"Budget$BudgetName": "<p>The name of a budget. Unique within accounts. <code>:</code> and <code>\\</code> characters are not allowed in the <code>BudgetName</code>.</p>",
|
||||
"CreateNotificationRequest$BudgetName": "<p>The name of the budget that you want AWS to notified you about. Budget names must be unique within an account.</p>",
|
||||
"CreateSubscriberRequest$BudgetName": "<p>The name of the budget that you want to subscribe to. Budget names must be unique within an account.</p>",
|
||||
"DeleteBudgetRequest$BudgetName": "<p>The name of the budget that you want to delete.</p>",
|
||||
"DeleteNotificationRequest$BudgetName": "<p>The name of the budget whose notification you want to delete.</p>",
|
||||
"DeleteSubscriberRequest$BudgetName": "<p>The name of the budget whose subscriber you want to delete.</p>",
|
||||
"DescribeBudgetRequest$BudgetName": "<p>The name of the budget that you want a description of.</p>",
|
||||
"DescribeNotificationsForBudgetRequest$BudgetName": "<p>The name of the budget whose notifications you want descriptions of.</p>",
|
||||
"DescribeSubscribersForNotificationRequest$BudgetName": "<p>The name of the budget whose subscribers you want descriptions of.</p>",
|
||||
"UpdateNotificationRequest$BudgetName": "<p>The name of the budget whose notification you want to update.</p>",
|
||||
"UpdateSubscriberRequest$BudgetName": "<p>The name of the budget whose subscriber you want to update.</p>"
|
||||
}
|
||||
},
|
||||
"BudgetType": {
|
||||
"base": "The type of a budget. It should be COST, USAGE, or RI_UTILIZATION.",
|
||||
"base": "<p> The type of a budget. It should be COST, USAGE, or RI_UTILIZATION.</p>",
|
||||
"refs": {
|
||||
"Budget$BudgetType": null
|
||||
"Budget$BudgetType": "<p>Whether this budget tracks monetary costs, usage, or RI utilization.</p>"
|
||||
}
|
||||
},
|
||||
"Budgets": {
|
||||
"base": "A list of budgets",
|
||||
"base": "<p> A list of budgets</p>",
|
||||
"refs": {
|
||||
"DescribeBudgetsResponse$Budgets": null
|
||||
"DescribeBudgetsResponse$Budgets": "<p>A list of budgets.</p>"
|
||||
}
|
||||
},
|
||||
"CalculatedSpend": {
|
||||
"base": "A structure that holds the actual and forecasted spend for a budget.",
|
||||
"base": "<p>The spend objects associated with this budget. The <code>actualSpend</code> tracks how much you've used, cost, usage, or RI units, and the <code>forecastedSpend</code> tracks how much you are predicted to spend if your current usage remains steady.</p> <p>For example, if it is the 20th of the month and you have spent <code>50</code> dollars on Amazon EC2, your <code>actualSpend</code> is <code>50 USD</code>, and your <code>forecastedSpend</code> is <code>75 USD</code>.</p>",
|
||||
"refs": {
|
||||
"Budget$CalculatedSpend": null
|
||||
"Budget$CalculatedSpend": "<p>The actual and forecasted cost or usage being tracked by a budget.</p>"
|
||||
}
|
||||
},
|
||||
"ComparisonOperator": {
|
||||
"base": "The comparison operator of a notification. Currently we support less than, equal to and greater than.",
|
||||
"base": "<p> The comparison operator of a notification. Currently we support less than, equal to and greater than.</p>",
|
||||
"refs": {
|
||||
"Notification$ComparisonOperator": null
|
||||
"Notification$ComparisonOperator": "<p>The comparison used for this notification.</p>"
|
||||
}
|
||||
},
|
||||
"CostFilters": {
|
||||
"base": "A map that represents the cost filters applied to the budget.",
|
||||
"base": "<p> A map that represents the cost filters applied to the budget.</p>",
|
||||
"refs": {
|
||||
"Budget$CostFilters": null
|
||||
"Budget$CostFilters": "<p>The cost filters applied to a budget, such as service or region.</p>"
|
||||
}
|
||||
},
|
||||
"CostTypes": {
|
||||
"base": "This includes the options for getting the cost of a budget.",
|
||||
"base": "<p>The types of cost included in a budget, such as tax and subscriptions.</p>",
|
||||
"refs": {
|
||||
"Budget$CostTypes": null
|
||||
"Budget$CostTypes": "<p>The types of costs included in this budget.</p>"
|
||||
}
|
||||
},
|
||||
"CreateBudgetRequest": {
|
||||
"base": "Request of CreateBudget",
|
||||
"base": "<p> Request of CreateBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateBudgetResponse": {
|
||||
"base": "Response of CreateBudget",
|
||||
"base": "<p> Response of CreateBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateNotificationRequest": {
|
||||
"base": "Request of CreateNotification",
|
||||
"base": "<p> Request of CreateNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateNotificationResponse": {
|
||||
"base": "Response of CreateNotification",
|
||||
"base": "<p> Response of CreateNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateSubscriberRequest": {
|
||||
"base": "Request of CreateSubscriber",
|
||||
"base": "<p> Request of CreateSubscriber </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateSubscriberResponse": {
|
||||
"base": "Response of CreateSubscriber",
|
||||
"base": "<p> Response of CreateSubscriber </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreationLimitExceededException": {
|
||||
"base": "The exception is thrown when customer tries to create a record (e.g. budget), but the number this record already exceeds the limitation.",
|
||||
"base": "<p>You've exceeded the notification or subscriber limit.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteBudgetRequest": {
|
||||
"base": "Request of DeleteBudget",
|
||||
"base": "<p> Request of DeleteBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteBudgetResponse": {
|
||||
"base": "Response of DeleteBudget",
|
||||
"base": "<p> Response of DeleteBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteNotificationRequest": {
|
||||
"base": "Request of DeleteNotification",
|
||||
"base": "<p> Request of DeleteNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteNotificationResponse": {
|
||||
"base": "Response of DeleteNotification",
|
||||
"base": "<p> Response of DeleteNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteSubscriberRequest": {
|
||||
"base": "Request of DeleteSubscriber",
|
||||
"base": "<p> Request of DeleteSubscriber </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteSubscriberResponse": {
|
||||
"base": "Response of DeleteSubscriber",
|
||||
"base": "<p> Response of DeleteSubscriber </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetRequest": {
|
||||
"base": "Request of DescribeBudget",
|
||||
"base": "<p> Request of DescribeBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetResponse": {
|
||||
"base": "Response of DescribeBudget",
|
||||
"base": "<p> Response of DescribeBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetsRequest": {
|
||||
"base": "Request of DescribeBudgets",
|
||||
"base": "<p> Request of DescribeBudgets </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeBudgetsResponse": {
|
||||
"base": "Response of DescribeBudgets",
|
||||
"base": "<p> Response of DescribeBudgets </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeNotificationsForBudgetRequest": {
|
||||
"base": "Request of DescribeNotificationsForBudget",
|
||||
"base": "<p> Request of DescribeNotificationsForBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeNotificationsForBudgetResponse": {
|
||||
"base": "Response of GetNotificationsForBudget",
|
||||
"base": "<p> Response of GetNotificationsForBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeSubscribersForNotificationRequest": {
|
||||
"base": "Request of DescribeSubscribersForNotification",
|
||||
"base": "<p> Request of DescribeSubscribersForNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeSubscribersForNotificationResponse": {
|
||||
"base": "Response of DescribeSubscribersForNotification",
|
||||
"base": "<p> Response of DescribeSubscribersForNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -208,222 +208,224 @@
|
|||
}
|
||||
},
|
||||
"DuplicateRecordException": {
|
||||
"base": "The exception is thrown when customer tries to create a record (e.g. budget) that already exists.",
|
||||
"base": "<p>The budget name already exists. Budget names must be unique within an account.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"ExpiredNextTokenException": {
|
||||
"base": "This exception is thrown if the paging token is expired - past its TTL",
|
||||
"base": "<p>The pagination token expired.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GenericString": {
|
||||
"base": "A generic String.",
|
||||
"base": "<p> A generic String.</p>",
|
||||
"refs": {
|
||||
"CostFilters$key": null,
|
||||
"DescribeBudgetsRequest$NextToken": null,
|
||||
"DescribeBudgetsResponse$NextToken": null,
|
||||
"DescribeNotificationsForBudgetRequest$NextToken": null,
|
||||
"DescribeNotificationsForBudgetResponse$NextToken": null,
|
||||
"DescribeSubscribersForNotificationRequest$NextToken": null,
|
||||
"DescribeSubscribersForNotificationResponse$NextToken": null,
|
||||
"DescribeBudgetsRequest$NextToken": "<p>The pagination token that indicates the next set of results to retrieve.</p>",
|
||||
"DescribeBudgetsResponse$NextToken": "<p>The pagination token that indicates the next set of results that you can retrieve.</p>",
|
||||
"DescribeNotificationsForBudgetRequest$NextToken": "<p>The pagination token that indicates the next set of results to retrieve.</p>",
|
||||
"DescribeNotificationsForBudgetResponse$NextToken": "<p>The pagination token that indicates the next set of results that you can retrieve.</p>",
|
||||
"DescribeSubscribersForNotificationRequest$NextToken": "<p>The pagination token that indicates the next set of results to retrieve.</p>",
|
||||
"DescribeSubscribersForNotificationResponse$NextToken": "<p>The pagination token that indicates the next set of results that you can retrieve.</p>",
|
||||
"DimensionValues$member": null
|
||||
}
|
||||
},
|
||||
"GenericTimestamp": {
|
||||
"base": "A generic timestamp. In Java it is transformed to a Date object.",
|
||||
"base": "<p> A generic timestamp. In Java it is transformed to a Date object.</p>",
|
||||
"refs": {
|
||||
"TimePeriod$Start": null,
|
||||
"TimePeriod$End": null
|
||||
"TimePeriod$Start": "<p>The start date for a budget. If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose <code>DAILY</code>, and didn't set a start date, AWS set your start date to <code>01/24/18 00:00 UTC</code>. If you chose <code>MONTHLY</code>, AWS set your start date to <code>01/01/18 00:00 UTC</code>. The defaults are the same for the AWS Billing and Cost Management console and the API.</p> <p>You can change your start date with the <code>UpdateBudget</code> operation.</p>",
|
||||
"TimePeriod$End": "<p>The end date for a budget. If you didn't specify an end date, AWS set your end date to <code>06/15/87 00:00 UTC</code>. The defaults are the same for the AWS Billing and Cost Management console and the API.</p> <p>After the end date, AWS deletes the budget and all associated notifications and subscribers. You can change your end date with the <code>UpdateBudget</code> operation.</p>"
|
||||
}
|
||||
},
|
||||
"InternalErrorException": {
|
||||
"base": "This exception is thrown on an unknown internal failure.",
|
||||
"base": "<p>An error on the server occurred during the processing of your request. Try again later.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidNextTokenException": {
|
||||
"base": "This exception is thrown if paging token signature didn't match the token, or the paging token isn't for this request",
|
||||
"base": "<p>The pagination token is invalid.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"InvalidParameterException": {
|
||||
"base": "This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is null.",
|
||||
"base": "<p>An error on the client occurred. Typically, the cause is an invalid input value.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"MaxResults": {
|
||||
"base": "An integer to represent how many entries a paginated response contains. Maximum is set to 100.",
|
||||
"base": "<p> An integer to represent how many entries a paginated response contains. Maximum is set to 100.</p>",
|
||||
"refs": {
|
||||
"DescribeBudgetsRequest$MaxResults": null,
|
||||
"DescribeNotificationsForBudgetRequest$MaxResults": null,
|
||||
"DescribeSubscribersForNotificationRequest$MaxResults": null
|
||||
"DescribeBudgetsRequest$MaxResults": "<p>Optional integer. Specifies the maximum number of results to return in response.</p>",
|
||||
"DescribeNotificationsForBudgetRequest$MaxResults": "<p>Optional integer. Specifies the maximum number of results to return in response.</p>",
|
||||
"DescribeSubscribersForNotificationRequest$MaxResults": "<p>Optional integer. Specifies the maximum number of results to return in response.</p>"
|
||||
}
|
||||
},
|
||||
"NotFoundException": {
|
||||
"base": "This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an account ID.",
|
||||
"base": "<p>We can’t locate the resource that you specified.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Notification": {
|
||||
"base": "Notification model. Each budget may contain multiple notifications with different settings.",
|
||||
"base": "<p>A notification associated with a budget. A budget can have up to five notifications. </p> <p>Each notification must have at least one subscriber. A notification can have one SNS subscriber and up to ten email subscribers, for a total of 11 subscribers.</p> <p>For example, if you have a budget for 200 dollars and you want to be notified when you go over 160 dollars, create a notification with the following parameters:</p> <ul> <li> <p>A notificationType of <code>ACTUAL</code> </p> </li> <li> <p>A comparisonOperator of <code>GREATER_THAN</code> </p> </li> <li> <p>A notification threshold of <code>80</code> </p> </li> </ul>",
|
||||
"refs": {
|
||||
"CreateNotificationRequest$Notification": null,
|
||||
"CreateSubscriberRequest$Notification": null,
|
||||
"DeleteNotificationRequest$Notification": null,
|
||||
"DeleteSubscriberRequest$Notification": null,
|
||||
"DescribeSubscribersForNotificationRequest$Notification": null,
|
||||
"NotificationWithSubscribers$Notification": null,
|
||||
"CreateNotificationRequest$Notification": "<p>The notification that you want to create.</p>",
|
||||
"CreateSubscriberRequest$Notification": "<p>The notification that you want to create a subscriber for.</p>",
|
||||
"DeleteNotificationRequest$Notification": "<p>The notification that you want to delete.</p>",
|
||||
"DeleteSubscriberRequest$Notification": "<p>The notification whose subscriber you want to delete.</p>",
|
||||
"DescribeSubscribersForNotificationRequest$Notification": "<p>The notification whose subscribers you want to list.</p>",
|
||||
"NotificationWithSubscribers$Notification": "<p>The notification associated with a budget.</p>",
|
||||
"Notifications$member": null,
|
||||
"UpdateNotificationRequest$OldNotification": null,
|
||||
"UpdateNotificationRequest$NewNotification": null,
|
||||
"UpdateSubscriberRequest$Notification": null
|
||||
"UpdateNotificationRequest$OldNotification": "<p>The previous notification associated with a budget.</p>",
|
||||
"UpdateNotificationRequest$NewNotification": "<p>The updated notification to be associated with a budget.</p>",
|
||||
"UpdateSubscriberRequest$Notification": "<p>The notification whose subscriber you want to update.</p>"
|
||||
}
|
||||
},
|
||||
"NotificationThreshold": {
|
||||
"base": "The threshold of a notification. It should be a number between 0 and 1,000,000,000.",
|
||||
"base": "<p> The threshold of a notification. It should be a number between 0 and 1,000,000,000.</p>",
|
||||
"refs": {
|
||||
"Notification$Threshold": null
|
||||
"Notification$Threshold": "<p>The threshold associated with a notification. Thresholds are always a percentage.</p>"
|
||||
}
|
||||
},
|
||||
"NotificationType": {
|
||||
"base": "The type of a notification. It should be ACTUAL or FORECASTED.",
|
||||
"base": "<p> The type of a notification. It should be ACTUAL or FORECASTED.</p>",
|
||||
"refs": {
|
||||
"Notification$NotificationType": null
|
||||
"Notification$NotificationType": "<p>Whether the notification is for how much you have spent (<code>ACTUAL</code>) or for how much you are forecasted to spend (<code>FORECASTED</code>).</p>"
|
||||
}
|
||||
},
|
||||
"NotificationWithSubscribers": {
|
||||
"base": "A structure to relate notification and a list of subscribers who belong to the notification.",
|
||||
"base": "<p>A notification with subscribers. A notification can have one SNS subscriber and up to ten email subscribers, for a total of 11 subscribers.</p>",
|
||||
"refs": {
|
||||
"NotificationWithSubscribersList$member": null
|
||||
}
|
||||
},
|
||||
"NotificationWithSubscribersList": {
|
||||
"base": "A list of Notifications, each with a list of subscribers.",
|
||||
"base": "<p> A list of Notifications, each with a list of subscribers.</p>",
|
||||
"refs": {
|
||||
"CreateBudgetRequest$NotificationsWithSubscribers": null
|
||||
"CreateBudgetRequest$NotificationsWithSubscribers": "<p>A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to ten email subscribers. If you include notifications and subscribers in your <code>CreateBudget</code> call, AWS creates the notifications and subscribers for you.</p>"
|
||||
}
|
||||
},
|
||||
"Notifications": {
|
||||
"base": "A list of notifications.",
|
||||
"base": "<p> A list of notifications.</p>",
|
||||
"refs": {
|
||||
"DescribeNotificationsForBudgetResponse$Notifications": null
|
||||
"DescribeNotificationsForBudgetResponse$Notifications": "<p>A list of notifications associated with a budget.</p>"
|
||||
}
|
||||
},
|
||||
"NullableBoolean": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CostTypes$IncludeTax": "A boolean value whether to include tax in the cost budget.",
|
||||
"CostTypes$IncludeSubscription": "A boolean value whether to include subscriptions in the cost budget.",
|
||||
"CostTypes$UseBlended": "A boolean value whether to use blended costs in the cost budget.",
|
||||
"CostTypes$IncludeRefund": "A boolean value whether to include refunds in the cost budget.",
|
||||
"CostTypes$IncludeCredit": "A boolean value whether to include credits in the cost budget.",
|
||||
"CostTypes$IncludeUpfront": "A boolean value whether to include upfront costs in the cost budget.",
|
||||
"CostTypes$IncludeRecurring": "A boolean value whether to include recurring costs in the cost budget.",
|
||||
"CostTypes$IncludeOtherSubscription": "A boolean value whether to include other subscription costs in the cost budget.",
|
||||
"CostTypes$IncludeSupport": "A boolean value whether to include support costs in the cost budget."
|
||||
"CostTypes$IncludeTax": "<p>Specifies whether a budget includes taxes.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$IncludeSubscription": "<p>Specifies whether a budget includes subscriptions.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$UseBlended": "<p>Specifies whether a budget uses blended rate.</p> <p>The default value is <code>false</code>.</p>",
|
||||
"CostTypes$IncludeRefund": "<p>Specifies whether a budget includes refunds.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$IncludeCredit": "<p>Specifies whether a budget includes credits.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$IncludeUpfront": "<p>Specifies whether a budget includes upfront RI costs.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$IncludeRecurring": "<p>Specifies whether a budget includes recurring fees such as monthly RI fees.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$IncludeOtherSubscription": "<p>Specifies whether a budget includes non-RI subscription costs.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$IncludeSupport": "<p>Specifies whether a budget includes support subscription fees.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$IncludeDiscount": "<p>Specifies whether a budget includes discounts.</p> <p>The default value is <code>true</code>.</p>",
|
||||
"CostTypes$UseAmortized": "<p>Specifies whether a budget uses the amortized rate.</p> <p>The default value is <code>false</code>.</p>"
|
||||
}
|
||||
},
|
||||
"NumericValue": {
|
||||
"base": "A string to represent NumericValue.",
|
||||
"base": "<p> A string to represent NumericValue.</p>",
|
||||
"refs": {
|
||||
"Spend$Amount": null
|
||||
"Spend$Amount": "<p>The cost or usage amount associated with a budget forecast, actual spend, or budget threshold.</p>"
|
||||
}
|
||||
},
|
||||
"Spend": {
|
||||
"base": "A structure that represents either a cost spend or usage spend. Contains an amount and a unit.",
|
||||
"base": "<p>The amount of cost or usage being measured for a budget.</p> <p>For example, a <code>Spend</code> for <code>3 GB</code> of S3 usage would have the following parameters:</p> <ul> <li> <p>An <code>Amount</code> of <code>3</code> </p> </li> <li> <p>A <code>unit</code> of <code>GB</code> </p> </li> </ul>",
|
||||
"refs": {
|
||||
"Budget$BudgetLimit": null,
|
||||
"CalculatedSpend$ActualSpend": null,
|
||||
"CalculatedSpend$ForecastedSpend": null
|
||||
"Budget$BudgetLimit": "<p>The total amount of cost, usage, or RI utilization that you want to track with your budget.</p> <p> <code>BudgetLimit</code> is required for cost or usage budgets, but optional for RI utilization budgets. RI utilization budgets default to the only valid value for RI utilization budgets, which is <code>100</code>.</p>",
|
||||
"CalculatedSpend$ActualSpend": "<p>The amount of cost, usage, or RI units that you have used.</p>",
|
||||
"CalculatedSpend$ForecastedSpend": "<p>The amount of cost, usage, or RI units that you are forecasted to use.</p>"
|
||||
}
|
||||
},
|
||||
"Subscriber": {
|
||||
"base": "Subscriber model. Each notification may contain multiple subscribers with different addresses.",
|
||||
"base": "<p>The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon Simple Notification Service topic or an email address.</p> <p>For example, an email subscriber would have the following parameters:</p> <ul> <li> <p>A <code>subscriptionType</code> of <code>EMAIL</code> </p> </li> <li> <p>An <code>address</code> of <code>example@example.com</code> </p> </li> </ul>",
|
||||
"refs": {
|
||||
"CreateSubscriberRequest$Subscriber": null,
|
||||
"DeleteSubscriberRequest$Subscriber": null,
|
||||
"CreateSubscriberRequest$Subscriber": "<p>The subscriber that you want to associate with a budget notification.</p>",
|
||||
"DeleteSubscriberRequest$Subscriber": "<p>The subscriber that you want to delete.</p>",
|
||||
"Subscribers$member": null,
|
||||
"UpdateSubscriberRequest$OldSubscriber": null,
|
||||
"UpdateSubscriberRequest$NewSubscriber": null
|
||||
"UpdateSubscriberRequest$OldSubscriber": "<p>The previous subscriber associated with a budget notification.</p>",
|
||||
"UpdateSubscriberRequest$NewSubscriber": "<p>The updated subscriber associated with a budget notification.</p>"
|
||||
}
|
||||
},
|
||||
"SubscriberAddress": {
|
||||
"base": "String containing email or sns topic for the subscriber address.",
|
||||
"base": "<p> String containing email or sns topic for the subscriber address.</p>",
|
||||
"refs": {
|
||||
"Subscriber$Address": null
|
||||
"Subscriber$Address": "<p>The address that AWS sends budget notifications to, either an SNS topic or an email.</p>"
|
||||
}
|
||||
},
|
||||
"Subscribers": {
|
||||
"base": "A list of subscribers.",
|
||||
"base": "<p> A list of subscribers.</p>",
|
||||
"refs": {
|
||||
"CreateNotificationRequest$Subscribers": null,
|
||||
"DescribeSubscribersForNotificationResponse$Subscribers": null,
|
||||
"NotificationWithSubscribers$Subscribers": null
|
||||
"CreateNotificationRequest$Subscribers": "<p>A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to ten email subscribers.</p>",
|
||||
"DescribeSubscribersForNotificationResponse$Subscribers": "<p>A list of subscribers associated with a notification.</p>",
|
||||
"NotificationWithSubscribers$Subscribers": "<p>A list of subscribers who are subscribed to this notification.</p>"
|
||||
}
|
||||
},
|
||||
"SubscriptionType": {
|
||||
"base": "The subscription type of the subscriber. It can be SMS or EMAIL.",
|
||||
"base": "<p> The subscription type of the subscriber. It can be SMS or EMAIL.</p>",
|
||||
"refs": {
|
||||
"Subscriber$SubscriptionType": null
|
||||
"Subscriber$SubscriptionType": "<p>The type of notification that AWS sends to a subscriber.</p>"
|
||||
}
|
||||
},
|
||||
"ThresholdType": {
|
||||
"base": "The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE.",
|
||||
"base": "<p> The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE.</p>",
|
||||
"refs": {
|
||||
"Notification$ThresholdType": null
|
||||
"Notification$ThresholdType": "<p>The type of threshold for a notification. For <code>ACTUAL</code> thresholds, AWS notifies you when you go over the threshold, and for <code>FORECASTED</code> thresholds AWS notifies you when you are forecasted to go over the threshold.</p>"
|
||||
}
|
||||
},
|
||||
"TimePeriod": {
|
||||
"base": "A time period indicating the start date and end date of a budget.",
|
||||
"base": "<p>The period of time covered by a budget. Has a start date and an end date. The start date must come before the end date. There are no restrictions on the end date. </p>",
|
||||
"refs": {
|
||||
"Budget$TimePeriod": null
|
||||
"Budget$TimePeriod": "<p>The period of time covered by a budget. Has a start date and an end date. The start date must come before the end date. There are no restrictions on the end date. </p> <p>If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (i.e. DAILY, MONTHLY, QUARTERLY, ANNUALLY). For example, if you created your budget on January 24th 2018, chose <code>DAILY</code>, and didn't set a start date, AWS set your start date to <code>01/24/18 00:00 UTC</code>. If you chose <code>MONTHLY</code>, AWS set your start date to <code>01/01/18 00:00 UTC</code>. If you didn't specify an end date, AWS set your end date to <code>06/15/87 00:00 UTC</code>. The defaults are the same for the AWS Billing and Cost Management console and the API. </p> <p>You can change either date with the <code>UpdateBudget</code> operation.</p> <p>After the end date, AWS deletes the budget and all associated notifications and subscribers.</p>"
|
||||
}
|
||||
},
|
||||
"TimeUnit": {
|
||||
"base": "The time unit of the budget. e.g. MONTHLY, QUARTERLY, etc.",
|
||||
"base": "<p> The time unit of the budget. e.g. MONTHLY, QUARTERLY, etc.</p>",
|
||||
"refs": {
|
||||
"Budget$TimeUnit": null
|
||||
"Budget$TimeUnit": "<p>The length of time until a budget resets the actual and forecasted spend.</p>"
|
||||
}
|
||||
},
|
||||
"UnitValue": {
|
||||
"base": "A string to represent budget spend unit. It should be not null and not empty.",
|
||||
"base": "<p> A string to represent budget spend unit. It should be not null and not empty.</p>",
|
||||
"refs": {
|
||||
"Spend$Unit": null
|
||||
"Spend$Unit": "<p>The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.</p>"
|
||||
}
|
||||
},
|
||||
"UpdateBudgetRequest": {
|
||||
"base": "Request of UpdateBudget",
|
||||
"base": "<p> Request of UpdateBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateBudgetResponse": {
|
||||
"base": "Response of UpdateBudget",
|
||||
"base": "<p> Response of UpdateBudget </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateNotificationRequest": {
|
||||
"base": "Request of UpdateNotification",
|
||||
"base": "<p> Request of UpdateNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateNotificationResponse": {
|
||||
"base": "Response of UpdateNotification",
|
||||
"base": "<p> Response of UpdateNotification </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateSubscriberRequest": {
|
||||
"base": "Request of UpdateSubscriber",
|
||||
"base": "<p> Request of UpdateSubscriber </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"UpdateSubscriberResponse": {
|
||||
"base": "Response of UpdateSubscriber",
|
||||
"base": "<p> Response of UpdateSubscriber </p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"errorMessage": {
|
||||
"base": "The error message the exception carries.",
|
||||
"base": "<p>The error message the exception carries.</p>",
|
||||
"refs": {
|
||||
"CreationLimitExceededException$Message": null,
|
||||
"DuplicateRecordException$Message": null,
|
||||
|
|
121
vendor/github.com/aws/aws-sdk-go/models/apis/ce/2017-10-25/api-2.json
generated
vendored
121
vendor/github.com/aws/aws-sdk-go/models/apis/ce/2017-10-25/api-2.json
generated
vendored
|
@ -23,7 +23,10 @@
|
|||
"input":{"shape":"GetCostAndUsageRequest"},
|
||||
"output":{"shape":"GetCostAndUsageResponse"},
|
||||
"errors":[
|
||||
{"shape":"LimitExceededException"}
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"BillExpirationException"},
|
||||
{"shape":"DataUnavailableException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"GetDimensionValues":{
|
||||
|
@ -35,7 +38,23 @@
|
|||
"input":{"shape":"GetDimensionValuesRequest"},
|
||||
"output":{"shape":"GetDimensionValuesResponse"},
|
||||
"errors":[
|
||||
{"shape":"LimitExceededException"}
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"BillExpirationException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"GetReservationCoverage":{
|
||||
"name":"GetReservationCoverage",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"GetReservationCoverageRequest"},
|
||||
"output":{"shape":"GetReservationCoverageResponse"},
|
||||
"errors":[
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"DataUnavailableException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"GetReservationUtilization":{
|
||||
|
@ -47,7 +66,9 @@
|
|||
"input":{"shape":"GetReservationUtilizationRequest"},
|
||||
"output":{"shape":"GetReservationUtilizationResponse"},
|
||||
"errors":[
|
||||
{"shape":"LimitExceededException"}
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"DataUnavailableException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
},
|
||||
"GetTags":{
|
||||
|
@ -59,7 +80,9 @@
|
|||
"input":{"shape":"GetTagsRequest"},
|
||||
"output":{"shape":"GetTagsResponse"},
|
||||
"errors":[
|
||||
{"shape":"LimitExceededException"}
|
||||
{"shape":"LimitExceededException"},
|
||||
{"shape":"BillExpirationException"},
|
||||
{"shape":"InvalidNextTokenException"}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -71,6 +94,13 @@
|
|||
"key":{"shape":"AttributeType"},
|
||||
"value":{"shape":"AttributeValue"}
|
||||
},
|
||||
"BillExpirationException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"Context":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
|
@ -78,6 +108,41 @@
|
|||
"RESERVATIONS"
|
||||
]
|
||||
},
|
||||
"Coverage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"CoverageHours":{"shape":"CoverageHours"}
|
||||
}
|
||||
},
|
||||
"CoverageByTime":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"TimePeriod":{"shape":"DateInterval"},
|
||||
"Groups":{"shape":"ReservationCoverageGroups"},
|
||||
"Total":{"shape":"Coverage"}
|
||||
}
|
||||
},
|
||||
"CoverageHours":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"OnDemandHours":{"shape":"OnDemandHours"},
|
||||
"ReservedHours":{"shape":"ReservedHours"},
|
||||
"TotalRunningHours":{"shape":"TotalRunningHours"},
|
||||
"CoverageHoursPercentage":{"shape":"CoverageHoursPercentage"}
|
||||
}
|
||||
},
|
||||
"CoverageHoursPercentage":{"type":"string"},
|
||||
"CoveragesByTime":{
|
||||
"type":"list",
|
||||
"member":{"shape":"CoverageByTime"}
|
||||
},
|
||||
"DataUnavailableException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"DateInterval":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -106,7 +171,12 @@
|
|||
"TENANCY",
|
||||
"SCOPE",
|
||||
"PLATFORM",
|
||||
"SUBSCRIPTION_ID"
|
||||
"SUBSCRIPTION_ID",
|
||||
"LEGAL_ENTITY_NAME",
|
||||
"DEPLOYMENT_OPTION",
|
||||
"DATABASE_ENGINE",
|
||||
"CACHE_ENGINE",
|
||||
"INSTANCE_TYPE_FAMILY"
|
||||
]
|
||||
},
|
||||
"DimensionValues":{
|
||||
|
@ -191,6 +261,26 @@
|
|||
"NextPageToken":{"shape":"NextPageToken"}
|
||||
}
|
||||
},
|
||||
"GetReservationCoverageRequest":{
|
||||
"type":"structure",
|
||||
"required":["TimePeriod"],
|
||||
"members":{
|
||||
"TimePeriod":{"shape":"DateInterval"},
|
||||
"GroupBy":{"shape":"GroupDefinitions"},
|
||||
"Granularity":{"shape":"Granularity"},
|
||||
"Filter":{"shape":"Expression"},
|
||||
"NextPageToken":{"shape":"NextPageToken"}
|
||||
}
|
||||
},
|
||||
"GetReservationCoverageResponse":{
|
||||
"type":"structure",
|
||||
"required":["CoveragesByTime"],
|
||||
"members":{
|
||||
"CoveragesByTime":{"shape":"CoveragesByTime"},
|
||||
"Total":{"shape":"Coverage"},
|
||||
"NextPageToken":{"shape":"NextPageToken"}
|
||||
}
|
||||
},
|
||||
"GetReservationUtilizationRequest":{
|
||||
"type":"structure",
|
||||
"required":["TimePeriod"],
|
||||
|
@ -272,6 +362,13 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"Group"}
|
||||
},
|
||||
"InvalidNextTokenException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"Key":{"type":"string"},
|
||||
"Keys":{
|
||||
"type":"list",
|
||||
|
@ -304,6 +401,7 @@
|
|||
"value":{"shape":"MetricValue"}
|
||||
},
|
||||
"NextPageToken":{"type":"string"},
|
||||
"OnDemandHours":{"type":"string"},
|
||||
"PageSize":{"type":"integer"},
|
||||
"PurchasedHours":{"type":"string"},
|
||||
"ReservationAggregates":{
|
||||
|
@ -315,6 +413,17 @@
|
|||
"UnusedHours":{"shape":"UnusedHours"}
|
||||
}
|
||||
},
|
||||
"ReservationCoverageGroup":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Attributes":{"shape":"Attributes"},
|
||||
"Coverage":{"shape":"Coverage"}
|
||||
}
|
||||
},
|
||||
"ReservationCoverageGroups":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ReservationCoverageGroup"}
|
||||
},
|
||||
"ReservationGroupKey":{"type":"string"},
|
||||
"ReservationGroupValue":{"type":"string"},
|
||||
"ReservationUtilizationGroup":{
|
||||
|
@ -330,6 +439,7 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"ReservationUtilizationGroup"}
|
||||
},
|
||||
"ReservedHours":{"type":"string"},
|
||||
"ResultByTime":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -357,6 +467,7 @@
|
|||
}
|
||||
},
|
||||
"TotalActualHours":{"type":"string"},
|
||||
"TotalRunningHours":{"type":"string"},
|
||||
"UnusedHours":{"type":"string"},
|
||||
"UtilizationByTime":{
|
||||
"type":"structure",
|
||||
|
|
121
vendor/github.com/aws/aws-sdk-go/models/apis/ce/2017-10-25/docs-2.json
generated
vendored
121
vendor/github.com/aws/aws-sdk-go/models/apis/ce/2017-10-25/docs-2.json
generated
vendored
|
@ -2,8 +2,9 @@
|
|||
"version": "2.0",
|
||||
"service": "<p>The Cost Explorer API allows you to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data, such as the number of daily write operations for DynamoDB database tables in your production environment. </p> <p>Service Endpoint</p> <p>The Cost Explorer API provides the following endpoint:</p> <ul> <li> <p>https://ce.us-east-1.amazonaws.com</p> </li> </ul>",
|
||||
"operations": {
|
||||
"GetCostAndUsage": "<p>Retrieve cost and usage metrics for your account. You can specify which cost and usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that you want the request to return. You can also filter and group your data by various dimensions, such as <code>AWS Service</code> or <code>AvailabilityZone</code>, in a specific time range. See the <code>GetDimensionValues</code> action for a complete list of the valid dimensions. Master accounts in an organization have access to all member accounts.</p>",
|
||||
"GetCostAndUsage": "<p>Retrieve cost and usage metrics for your account. You can specify which cost and usage-related metric, such as <code>BlendedCosts</code> or <code>UsageQuantity</code>, that you want the request to return. You can also filter and group your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific time range. See the <code>GetDimensionValues</code> action for a complete list of the valid dimensions. Master accounts in an organization have access to all member accounts.</p>",
|
||||
"GetDimensionValues": "<p>You can use <code>GetDimensionValues</code> to retrieve all available filter values for a specific filter over a period of time. You can search the dimension values for an arbitrary string. </p>",
|
||||
"GetReservationCoverage": "<p>Retrieve the reservation coverage for your account. An organization's master account has access to the associated member accounts. For any time period, you can filter data about reservation usage by the following dimensions. </p> <ul> <li> <p>AZ</p> </li> <li> <p>INSTANCE_TYPE</p> </li> <li> <p>LINKED_ACCOUNT</p> </li> <li> <p>PLATFORM</p> </li> <li> <p>REGION</p> </li> <li> <p>TENANCY</p> </li> </ul> <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation. </p>",
|
||||
"GetReservationUtilization": "<p>You can retrieve the Reservation utilization for your account. Master accounts in an organization have access to their associated member accounts. You can filter data by dimensions in a time period. You can use <code>GetDimensionValues</code> to determine the possible dimension values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>",
|
||||
"GetTags": "<p>You can query for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>"
|
||||
},
|
||||
|
@ -24,20 +25,65 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"DimensionValuesWithAttributes$Attributes": "<p>The attribute that applies to a specific <code>Dimension</code>.</p>",
|
||||
"ReservationCoverageGroup$Attributes": "<p>The attributes for this group of reservations.</p>",
|
||||
"ReservationUtilizationGroup$Attributes": "<p>The attributes for this group of RIs.</p>"
|
||||
}
|
||||
},
|
||||
"BillExpirationException": {
|
||||
"base": "<p>The requested report expired. Update the date interval and try again.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Context": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetDimensionValuesRequest$Context": "<p>The context for the call to <code>GetDimensionValues</code>. This can be <code>RESERVED_INSTANCE</code> or <code>COST_AND_USAGE</code>. The default value is <code>COST_AND_USAGE</code>. If the context is set to <code>RESERVED_INSTANCE</code>, the resulting dimension values can be used in the <code>GetReservationUtilization</code> action. If the context is set to <code>COST_AND_USAGE</code>, , the resulting dimension values can be used in the <code>GetCostAndUsage</code> operation.</p> <p>If you set the context to <code>CostAndUsage</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>InstanceType - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>Operation - The action performed. Examples include RunInstance and CreateBucket.</p> </li> <li> <p>PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances</p> </li> <li> <p>Service - The AWS service such as DynamoDB.</p> </li> <li> <p>UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.</p> </li> <li> <p>UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.</p> </li> <li> <p>RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits</p> </li> </ul> <p>If you set the context to <code>ReservedInstance</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>InstanceType - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>Platform - The operating system. Examples are Windows or Linux.</p> </li> <li> <p>Region - The AWS region.</p> </li> <li> <p>Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.</p> </li> <li> <p>Tenancy - The tenancy of a resource. Examples are shared or dedicated.</p> </li> </ul>"
|
||||
"GetDimensionValuesRequest$Context": "<p>The context for the call to <code>GetDimensionValues</code>. This can be <code>RESERVATIONS</code> or <code>COST_AND_USAGE</code>. The default value is <code>COST_AND_USAGE</code>. If the context is set to <code>RESERVATIONS</code>, the resulting dimension values can be used in the <code>GetReservationUtilization</code> action. If the context is set to <code>COST_AND_USAGE</code>, the resulting dimension values can be used in the <code>GetCostAndUsage</code> operation.</p> <p>If you set the context to <code>CostAndUsage</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>INSTANCE_TYPE - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>OPERATION - The action performed. Examples include RunInstance and CreateBucket.</p> </li> <li> <p>PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances</p> </li> <li> <p>SERVICE - The AWS service such as DynamoDB.</p> </li> <li> <p>USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.</p> </li> <li> <p>USAGE_TYPE_GROUP - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.</p> </li> <li> <p>RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.</p> </li> </ul> <p>If you set the context to <code>RESERVATIONS</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>INSTANCE_TYPE - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>PLATFORM - The operating system. Examples are Windows or Linux.</p> </li> <li> <p>REGION - The AWS region.</p> </li> <li> <p>SCOPE - The scope of a reserved instance (RI). Values are regional or a single availability zone.</p> </li> <li> <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"Coverage": {
|
||||
"base": "<p>The amount of instance usage that a reservation covered.</p>",
|
||||
"refs": {
|
||||
"CoverageByTime$Total": "<p>The total reservation coverage, in hours.</p>",
|
||||
"GetReservationCoverageResponse$Total": "<p>The total amount of instance usage covered by a reservation.</p>",
|
||||
"ReservationCoverageGroup$Coverage": "<p>How much instance usage this group of reservations covered.</p>"
|
||||
}
|
||||
},
|
||||
"CoverageByTime": {
|
||||
"base": "<p>Reservation coverage, in hours.</p>",
|
||||
"refs": {
|
||||
"CoveragesByTime$member": null
|
||||
}
|
||||
},
|
||||
"CoverageHours": {
|
||||
"base": "<p>How long a running instance either used a reservation or was On-Demand.</p>",
|
||||
"refs": {
|
||||
"Coverage$CoverageHours": "<p>The amount of instance usage that a reservation covered, in hours.</p>"
|
||||
}
|
||||
},
|
||||
"CoverageHoursPercentage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CoverageHours$CoverageHoursPercentage": "<p>The percentage of instance hours covered by a reservation.</p>"
|
||||
}
|
||||
},
|
||||
"CoveragesByTime": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetReservationCoverageResponse$CoveragesByTime": "<p>The amount of time that your reservations covered.</p>"
|
||||
}
|
||||
},
|
||||
"DataUnavailableException": {
|
||||
"base": "<p>The requested data is unavailable.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DateInterval": {
|
||||
"base": "<p>The time period that you want the usage and costs for. </p>",
|
||||
"refs": {
|
||||
"CoverageByTime$TimePeriod": "<p>The period over which this coverage was used.</p>",
|
||||
"GetCostAndUsageRequest$TimePeriod": "<p>Sets the start and end dates for retrieving AWS costs. The start date is inclusive, but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>",
|
||||
"GetDimensionValuesRequest$TimePeriod": "<p>The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>",
|
||||
"GetReservationCoverageRequest$TimePeriod": "<p>The start and end dates of the period for which you want to retrieve data about reservation coverage. You can retrieve data for a maximum of 13 months-the last 12 months and the current month. The start date is inclusive, but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>. </p>",
|
||||
"GetReservationUtilizationRequest$TimePeriod": "<p>Sets the start and end dates for retrieving reserve instance (RI) utilization. The start date is inclusive, but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>. </p>",
|
||||
"GetTagsRequest$TimePeriod": "<p>The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>",
|
||||
"ResultByTime$TimePeriod": "<p>The time period covered by a result.</p>",
|
||||
|
@ -48,7 +94,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"DimensionValues$Key": "<p>The names of the metadata types that you can use to filter and group your results. For example, <code>AZ</code> returns a list of Availability Zones.</p>",
|
||||
"GetDimensionValuesRequest$Dimension": "<p>The name of the dimension. Different <code>Dimensions</code>are available for different <code>Context</code>s. For more information, see <code>Context</code>.</p>"
|
||||
"GetDimensionValuesRequest$Dimension": "<p>The name of the dimension. Each <code>Dimensions</code>is available for different a <code>Context</code>. For more information, see <code>Context</code>.</p>"
|
||||
}
|
||||
},
|
||||
"DimensionValues": {
|
||||
|
@ -66,7 +112,7 @@
|
|||
"DimensionValuesWithAttributesList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetDimensionValuesResponse$DimensionValues": "<p>The filters that you used to filter your request. Some dimensions are available only for a specific context:</p> <p>If you set the context to <code>CostAndUsage</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>InstanceType - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>Operation - The action performed. Examples include RunInstance and CreateBucket.</p> </li> <li> <p>PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances</p> </li> <li> <p>Service - The AWS service such as DynamoDB.</p> </li> <li> <p>UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.</p> </li> <li> <p>UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.</p> </li> <li> <p>RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits</p> </li> </ul> <p>If you set the context to <code>ReservedInstance</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>InstanceType - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>Platform - The operating system. Examples are Windows or Linux.</p> </li> <li> <p>Region - The AWS region.</p> </li> <li> <p>Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.</p> </li> <li> <p>Tenancy - The tenancy of a resource. Examples are shared or dedicated.</p> </li> </ul>"
|
||||
"GetDimensionValuesResponse$DimensionValues": "<p>The filters that you used to filter your request. Some dimensions are available only for a specific context:</p> <p>If you set the context to <code>CostAndUsage</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>INSTANCE_TYPE - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>OPERATION - The action performed. Examples include RunInstance and CreateBucket.</p> </li> <li> <p>PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances</p> </li> <li> <p>SERVICE - The AWS service such as DynamoDB.</p> </li> <li> <p>USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.</p> </li> <li> <p>USAGE_TYPE_GROUP - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.</p> </li> <li> <p>RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.</p> </li> </ul> <p>If you set the context to <code>RESERVATIONS</code>, you can use the following dimensions for searching:</p> <ul> <li> <p>AZ - The Availability Zone. An example is us-east-1a.</p> </li> <li> <p>INSTANCE_TYPE - The type of EC2 instance. An example is m4.xlarge.</p> </li> <li> <p>LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account</p> </li> <li> <p>PLATFORM - The operating system. Examples are Windows or Linux.</p> </li> <li> <p>REGION - The AWS region.</p> </li> <li> <p>SCOPE - The scope of a reserved instance (RI). Values are regional or a single availability zone.</p> </li> <li> <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"Entity": {
|
||||
|
@ -78,6 +124,9 @@
|
|||
"ErrorMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BillExpirationException$Message": null,
|
||||
"DataUnavailableException$Message": null,
|
||||
"InvalidNextTokenException$Message": null,
|
||||
"LimitExceededException$Message": null
|
||||
}
|
||||
},
|
||||
|
@ -88,11 +137,12 @@
|
|||
}
|
||||
},
|
||||
"Expression": {
|
||||
"base": "<p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p> <ul> <li> <p>Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for <code>InstanceType==m4.xlarge OR InstanceType==c4.large</code>. The <code>Expression</code> for that looks like this.</p> <p> <code>{ \"Dimensions\": { \"Key\": \"InstanceType\", \"Values\": [ \"m4.xlarge\", “c4.large” ] } }</code> </p> <p>The list of dimension values are OR'd together to retrieve cost or usage data. You can create <code>Expression</code> and <code>DimensionValues</code> objects using either <code>with*</code> methods or <code>set*</code> methods in multiple lines. </p> </li> <li> <p>Compound dimension values with logical operations - You can use multiple <code>Expression</code> types and the logical operators <code>AND/OR/NOT</code> to create a list of one or more <code>Expression</code> objects. This allows you to filter on more advanced options. For example, you can filter on <code>((InstanceType == m4.large OR InstanceType == m3.large) OR (Tag.Type == Type1)) AND (UsageType != DataTransfer)</code>. The <code>Expression</code> for that looks like this.</p> <p> <code>{ \"And\": [ {\"Or\": [ {\"Dimensions\": { \"Key\": \"InstanceType\", \"Values\": [ \"m4.x.large\", \"c4.large\" ] }}, {\"Tag\": { \"Key\": \"TagName\", \"Values\": [\"Value1\"] } } ]}, {\"Not\": {\"dimensions\": { \"Key\": \"UsageType\", \"Values\": [\"DataTransfer\"] }}} ] } </code> </p> <note> <p>Because each <code>Expression</code> can have only one operator, the service returns an error if more than one is specified. The following example shows an Expression object that will create an error.</p> </note> <p> <code> { \"And\": [ ... ], \"DimensionValues\": { \"Dimension\": \"UsageType\", \"Values\": [ \"DataTransfer\" ] } } </code> </p> </li> </ul>",
|
||||
"base": "<p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p> <ul> <li> <p>Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for <code>INSTANCE_TYPE==m4.xlarge OR INSTANCE_TYPE==c4.large</code>. The <code>Expression</code> for that looks like this.</p> <p> <code>{ \"Dimensions\": { \"Key\": \"INSTANCE_TYPE\", \"Values\": [ \"m4.xlarge\", “c4.large” ] } }</code> </p> <p>The list of dimension values are OR'd together to retrieve cost or usage data. You can create <code>Expression</code> and <code>DimensionValues</code> objects using either <code>with*</code> methods or <code>set*</code> methods in multiple lines. </p> </li> <li> <p>Compound dimension values with logical operations - You can use multiple <code>Expression</code> types and the logical operators <code>AND/OR/NOT</code> to create a list of one or more <code>Expression</code> objects. This allows you to filter on more advanced options. For example, you can filter on <code>((INSTANCE_TYPE == m4.large OR INSTANCE_TYPE == m3.large) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)</code>. The <code>Expression</code> for that looks like this.</p> <p> <code>{ \"And\": [ {\"Or\": [ {\"Dimensions\": { \"Key\": \"INSTANCE_TYPE\", \"Values\": [ \"m4.x.large\", \"c4.large\" ] }}, {\"Tag\": { \"Key\": \"TagName\", \"Values\": [\"Value1\"] } } ]}, {\"Not\": {\"dimensions\": { \"Key\": \"USAGE_TYPE\", \"Values\": [\"DataTransfer\"] }}} ] } </code> </p> <note> <p>Because each <code>Expression</code> can have only one operator, the service returns an error if more than one is specified. The following example shows an Expression object that will create an error.</p> </note> <p> <code> { \"And\": [ ... ], \"DimensionValues\": { \"Dimension\": \"USAGE_TYPE\", \"Values\": [ \"DataTransfer\" ] } } </code> </p> </li> </ul>",
|
||||
"refs": {
|
||||
"Expression$Not": "<p>Return results that don't match <code>Dimension</code>.</p>",
|
||||
"Expressions$member": null,
|
||||
"GetCostAndUsageRequest$Filter": "<p>Filters AWS costs by different dimensions. For example, you can specify <code>Service</code> and <code>Linked Account</code> and get the costs associated with that account's usage of that service. You can nest <code>Expression</code> objects to define any combination of dimension filters. For more information, see the <code>Expression</code> object or <code>More Examples</code>. </p>",
|
||||
"GetCostAndUsageRequest$Filter": "<p>Filters AWS costs by different dimensions. For example, you can specify <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs associated with that account's usage of that service. You can nest <code>Expression</code> objects to define any combination of dimension filters. For more information, see <a href=\"http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html\">Expression</a>. </p>",
|
||||
"GetReservationCoverageRequest$Filter": "<p>Filters utilization data by dimensions. You can filter by the following dimensions.</p> <ul> <li> <p>AZ</p> </li> <li> <p>INSTANCE_TYPE</p> </li> <li> <p>LINKED_ACCOUNT</p> </li> <li> <p>PLATFORM</p> </li> <li> <p>REGION</p> </li> <li> <p>TENANCY</p> </li> </ul> <p> <code>GetReservationCoverage</code> uses the same <code>Expression</code> object as the other operations, but only <code>AND</code> is supported among each dimension. You can nest only one level deep. If there are multiple values for a dimension, they are OR'd together.</p>",
|
||||
"GetReservationUtilizationRequest$Filter": "<p>Filters utilization data by using different dimensions. <code>GetReservationUtilization</code> uses the same <code>Expression</code> object as the other operations, but only <code>AND</code> is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -123,6 +173,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetReservationCoverageRequest": {
|
||||
"base": "<p>You can query for how much of your instance usage was covered by a reservation.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetReservationCoverageResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetReservationUtilizationRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -146,8 +206,9 @@
|
|||
"Granularity": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetCostAndUsageRequest$Granularity": "<p>Sets the AWS cost granularity to <code>MONTHLY</code> or <code>DAILY</code>.</p>",
|
||||
"GetReservationUtilizationRequest$Granularity": "<p>Sets the AWS cost granularity to <code>MONTHLY</code> or <code>DAILY</code>. If both <code>GroupBy</code> and <code>granularity</code> are not set, <code>GetReservationUtilization</code> defaults to <code>DAILY</code>. If <code>GroupBy</code> is set, <code>Granularity</code> can't be set, and the response object doesn't include <code>MONTHLY</code> or <code>DAILY</code> granularity.</p>"
|
||||
"GetCostAndUsageRequest$Granularity": "<p>Sets the AWS cost granularity to <code>MONTHLY</code> or <code>DAILY</code>. If <code>Granularity</code> isn't set, the response object doesn't include the <code>Granularity</code>, either <code>MONTHLY</code> or <code>DAILY</code>. </p>",
|
||||
"GetReservationCoverageRequest$Granularity": "<p>The granularity of the AWS cost data for the reservation. Valid values are <code>MONTHLY</code> and <code>DAILY</code>.</p> <p>If <code>GroupBy</code> is set, <code>Granularity</code> can't be set. If <code>Granularity</code> isn't set, the response object doesn't include the <code>Granularity</code>, either <code>MONTHLY</code> or <code>DAILY</code>.</p>",
|
||||
"GetReservationUtilizationRequest$Granularity": "<p>If <code>GroupBy</code> is set, <code>Granularity</code> can't be set. If <code>Granularity</code> isn't set, the response object doesn't include the <code>Granularity</code>, either <code>MONTHLY</code> or <code>DAILY</code>. If both <code>GroupBy</code> and <code>Granularity</code> aren't set, <code>GetReservationUtilization</code> defaults to <code>DAILY</code>.</p>"
|
||||
}
|
||||
},
|
||||
"Group": {
|
||||
|
@ -177,9 +238,10 @@
|
|||
"GroupDefinitions": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetCostAndUsageRequest$GroupBy": "<p>You can group AWS costs using up to two different groups, either dimensions, tag keys, or both.</p> <p>When you group by tag key, you get all tag values, including empty strings.</p> <p>Valid values are: <code>AZ</code>, <code>INSTANCE_TYPE</code>, <code>LINKED_ACCCOUNT</code>, <code>OPERATION</code>, <code>PURCHASE_TYPE</code>, <code>SERVICE</code>, <code>USAGE_TYPE</code>, <code>TAGS</code>, and <code>PLATFORM</code>.</p>",
|
||||
"GetCostAndUsageRequest$GroupBy": "<p>You can group AWS costs using up to two different groups, either dimensions, tag keys, or both.</p> <p>When you group by tag key, you get all tag values, including empty strings.</p> <p>Valid values are <code>AZ</code>, <code>INSTANCE_TYPE</code>, <code>LINKED_ACCOUNT</code>, <code>OPERATION</code>, <code>PLATFORM</code>, <code>PURCHASE_TYPE</code>, <code>SERVICE</code>, <code>TAGS</code>, <code>TENANCY</code>, and <code>USAGE_TYPE</code>.</p>",
|
||||
"GetCostAndUsageResponse$GroupDefinitions": "<p>The groups specified by the the <code>Filter</code> or <code>GroupBy</code> parameters in the request.</p>",
|
||||
"GetReservationUtilizationRequest$GroupBy": "<p>Groups only by <code>SubscriptionId</code>. Metadata is included.</p>"
|
||||
"GetReservationCoverageRequest$GroupBy": "<p>You can group the data by the following attributes. </p> <ul> <li> <p>AZ</p> </li> <li> <p>INSTANCE_TYPE</p> </li> <li> <p>LINKED_ACCOUNT</p> </li> <li> <p>PLATFORM</p> </li> <li> <p>REGION</p> </li> <li> <p>TENANCY</p> </li> </ul>",
|
||||
"GetReservationUtilizationRequest$GroupBy": "<p>Groups only by <code>SUBSCRIPTION_ID</code>. Metadata is included.</p>"
|
||||
}
|
||||
},
|
||||
"Groups": {
|
||||
|
@ -188,6 +250,11 @@
|
|||
"ResultByTime$Groups": "<p>The groups that are included in this time period.</p>"
|
||||
}
|
||||
},
|
||||
"InvalidNextTokenException": {
|
||||
"base": "<p>The pagination token is invalid. Try again without a pagination token.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"Key": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -221,7 +288,7 @@
|
|||
"MetricNames": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetCostAndUsageRequest$Metrics": "<p>Which metrics are returned in the query. For more information about blended and unblended rates, see https://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/. </p> <p>Valid values are <code>BlendedCost</code>, <code>UnblendedCost</code>, and <code>UsageQuantity</code>.</p> <note> <p>If you return the <code>UsageQuantity</code> metric, the service aggregates all usage numbers without taking into account the units. For example, if you aggregate <code>usageQuantity</code> across all of EC2, the results aren't meaningful because EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful <code>UsageQuantity</code> metrics, filter by <code>UsageType</code> or <code>UsageTypeGroups</code>. </p> </note>"
|
||||
"GetCostAndUsageRequest$Metrics": "<p>Which metrics are returned in the query. For more information about blended and unblended rates, see <a href=\"https://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/\">Why does the \"blended\" annotation appear on some line items in my bill?</a>. </p> <p>Valid values are <code>BlendedCost</code>, <code>UnblendedCost</code>, and <code>UsageQuantity</code>.</p> <note> <p>If you return the <code>UsageQuantity</code> metric, the service aggregates all usage numbers without taking into account the units. For example, if you aggregate <code>usageQuantity</code> across all of EC2, the results aren't meaningful because EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful <code>UsageQuantity</code> metrics, filter by <code>UsageType</code> or <code>UsageTypeGroups</code>. </p> </note>"
|
||||
}
|
||||
},
|
||||
"MetricUnit": {
|
||||
|
@ -250,12 +317,20 @@
|
|||
"GetCostAndUsageResponse$NextPageToken": "<p>The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetDimensionValuesRequest$NextPageToken": "<p>The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetDimensionValuesResponse$NextPageToken": "<p>The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetReservationCoverageRequest$NextPageToken": "<p>The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetReservationCoverageResponse$NextPageToken": "<p>The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetReservationUtilizationRequest$NextPageToken": "<p>The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetReservationUtilizationResponse$NextPageToken": "<p>The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetTagsRequest$NextPageToken": "<p>The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>",
|
||||
"GetTagsResponse$NextPageToken": "<p>The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.</p>"
|
||||
}
|
||||
},
|
||||
"OnDemandHours": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CoverageHours$OnDemandHours": "<p>The number of instance running hours covered by On-Demand Instances.</p>"
|
||||
}
|
||||
},
|
||||
"PageSize": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -279,6 +354,18 @@
|
|||
"UtilizationByTime$Total": "<p>The total number of RI hours that were used.</p>"
|
||||
}
|
||||
},
|
||||
"ReservationCoverageGroup": {
|
||||
"base": "<p>A group of reservations that share a set of attributes.</p>",
|
||||
"refs": {
|
||||
"ReservationCoverageGroups$member": null
|
||||
}
|
||||
},
|
||||
"ReservationCoverageGroups": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CoverageByTime$Groups": "<p>The group of instances that a reservation covered.</p>"
|
||||
}
|
||||
},
|
||||
"ReservationGroupKey": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -303,6 +390,12 @@
|
|||
"UtilizationByTime$Groups": "<p>The groups that are included in this utilization result.</p>"
|
||||
}
|
||||
},
|
||||
"ReservedHours": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CoverageHours$ReservedHours": "<p>The number of instance running hours covered by reservations.</p>"
|
||||
}
|
||||
},
|
||||
"ResultByTime": {
|
||||
"base": "<p>The result that is associated with a time period.</p>",
|
||||
"refs": {
|
||||
|
@ -347,6 +440,12 @@
|
|||
"ReservationAggregates$TotalActualHours": "<p>The total number of RI hours that you used.</p>"
|
||||
}
|
||||
},
|
||||
"TotalRunningHours": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CoverageHours$TotalRunningHours": "<p>The total instance usage, in hours.</p>"
|
||||
}
|
||||
},
|
||||
"UnusedHours": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
|
35
vendor/github.com/aws/aws-sdk-go/models/apis/check_collisions_test.go
generated
vendored
Normal file
35
vendor/github.com/aws/aws-sdk-go/models/apis/check_collisions_test.go
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
// +build awsinclude
|
||||
|
||||
package apis
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCollidingFolders(t *testing.T) {
|
||||
m := map[string]struct{}{}
|
||||
folders, err := getFolderNames()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
for _, folder := range folders {
|
||||
lcName := strings.ToLower(folder)
|
||||
if _, ok := m[lcName]; ok {
|
||||
t.Errorf("folder %q collision detected", folder)
|
||||
}
|
||||
m[lcName] = struct{}{}
|
||||
}
|
||||
}
|
||||
|
||||
func getFolderNames() ([]string, error) {
|
||||
cmd := exec.Command("git", "ls-tree", "-d", "--name-only", "HEAD")
|
||||
output, err := cmd.Output()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return strings.Split(string(output), "\n"), nil
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<fullname>AWS Cloud9</fullname> <p>AWS Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and release software in the cloud.</p> <p>In the background, these tools are available through development environments running on Amazon Elastic Compute Cloud (Amazon EC2) instances (known as <i>Amazon EC2 environments</i>), your own servers (known as <i>SSH environments</i>), or a combination. This enables you to create and switch between multiple environments, with each environment set up for a specific development project.</p> <p>For more information about AWS Cloud9, see the <i>AWS Cloud9 User Guide</i>.</p> <p>AWS Cloud9 supports these operations:</p> <ul> <li> <p> <code>CreateEnvironmentEC2</code>: Creates an AWS Cloud9 development environment, launches an Amazon EC2 instance, and then hosts the environment on the instance.</p> </li> <li> <p> <code>CreateEnvironmentMembership</code>: Adds an environment member to an environment.</p> </li> <li> <p> <code>DeleteEnvironment</code>: Deletes an environment. If the environment is hosted on an Amazon EC2 instance, also terminates the instance.</p> </li> <li> <p> <code>DeleteEnvironmentMembership</code>: Deletes an environment member from an environment.</p> </li> <li> <p> <code>DescribeEnvironmentMemberships</code>: Gets information about environment members for an environment.</p> </li> <li> <p> <code>DescribeEnvironments</code>: Gets information about environments.</p> </li> <li> <p> <code>DescribeEnvironmentStatus</code>: Gets status information for an environment.</p> </li> <li> <p> <code>ListEnvironments</code>: Gets a list of environment identifiers.</p> </li> <li> <p> <code>UpdateEnvironment</code>: Changes the settings of an existing environment.</p> </li> <li> <p> <code>UpdateEnvironmentMembership</code>: Changes the settings of an existing environment member for an environment.</p> </li> </ul>",
|
||||
"service": "<fullname>AWS Cloud9</fullname> <p>AWS Cloud9 is a collection of tools that you can use to code, build, run, test, debug, and release software in the cloud.</p> <p>For more information about AWS Cloud9, see the <a href=\"https://docs.aws.amazon.com/cloud9/latest/user-guide\">AWS Cloud9 User Guide</a>.</p> <p>AWS Cloud9 supports these operations:</p> <ul> <li> <p> <code>CreateEnvironmentEC2</code>: Creates an AWS Cloud9 development environment, launches an Amazon EC2 instance, and then connects from the instance to the environment.</p> </li> <li> <p> <code>CreateEnvironmentMembership</code>: Adds an environment member to an environment.</p> </li> <li> <p> <code>DeleteEnvironment</code>: Deletes an environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.</p> </li> <li> <p> <code>DeleteEnvironmentMembership</code>: Deletes an environment member from an environment.</p> </li> <li> <p> <code>DescribeEnvironmentMemberships</code>: Gets information about environment members for an environment.</p> </li> <li> <p> <code>DescribeEnvironments</code>: Gets information about environments.</p> </li> <li> <p> <code>DescribeEnvironmentStatus</code>: Gets status information for an environment.</p> </li> <li> <p> <code>ListEnvironments</code>: Gets a list of environment identifiers.</p> </li> <li> <p> <code>UpdateEnvironment</code>: Changes the settings of an existing environment.</p> </li> <li> <p> <code>UpdateEnvironmentMembership</code>: Changes the settings of an existing environment member for an environment.</p> </li> </ul>",
|
||||
"operations": {
|
||||
"CreateEnvironmentEC2": "<p>Creates an AWS Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then hosts the environment on the instance.</p>",
|
||||
"CreateEnvironmentEC2": "<p>Creates an AWS Cloud9 development environment, launches an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then connects from the instance to the environment.</p>",
|
||||
"CreateEnvironmentMembership": "<p>Adds an environment member to an AWS Cloud9 development environment.</p>",
|
||||
"DeleteEnvironment": "<p>Deletes an AWS Cloud9 development environment. If the environment is hosted on an Amazon Elastic Compute Cloud (Amazon EC2) instance, also terminates the instance.</p>",
|
||||
"DeleteEnvironment": "<p>Deletes an AWS Cloud9 development environment. If an Amazon EC2 instance is connected to the environment, also terminates the instance.</p>",
|
||||
"DeleteEnvironmentMembership": "<p>Deletes an environment member from an AWS Cloud9 development environment.</p>",
|
||||
"DescribeEnvironmentMemberships": "<p>Gets information about environment members for an AWS Cloud9 development environment.</p>",
|
||||
"DescribeEnvironmentStatus": "<p>Gets status information for an AWS Cloud9 development environment.</p>",
|
||||
|
@ -28,7 +28,7 @@
|
|||
"BoundedEnvironmentIdList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeEnvironmentsRequest$environmentIds": "<p>The IDs of invidividual environments to get information about.</p>"
|
||||
"DescribeEnvironmentsRequest$environmentIds": "<p>The IDs of individual environments to get information about.</p>"
|
||||
}
|
||||
},
|
||||
"ClientRequestToken": {
|
||||
|
@ -174,7 +174,7 @@
|
|||
"refs": {
|
||||
"CreateEnvironmentEC2Request$name": "<p>The name of the environment to create.</p> <p>This name is visible to other AWS IAM users in the same AWS account.</p>",
|
||||
"Environment$name": "<p>The name of the environment.</p>",
|
||||
"UpdateEnvironmentRequest$name": "<p>Any replacement name for the environment.</p>"
|
||||
"UpdateEnvironmentRequest$name": "<p>A replacement name for the environment.</p>"
|
||||
}
|
||||
},
|
||||
"EnvironmentStatus": {
|
||||
|
@ -186,7 +186,7 @@
|
|||
"EnvironmentType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Environment$type": "<p>The type of environment. Valid values include the following:</p> <ul> <li> <p> <code>ec2</code>: An environment hosted on an Amazon Elastic Compute Cloud (Amazon EC2) instance.</p> </li> <li> <p> <code>ssh</code>: An environment hosted on your own server.</p> </li> </ul>"
|
||||
"Environment$type": "<p>The type of environment. Valid values include the following:</p> <ul> <li> <p> <code>ec2</code>: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.</p> </li> <li> <p> <code>ssh</code>: Your own server connects to the environment.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ForbiddenException": {
|
||||
|
@ -197,7 +197,7 @@
|
|||
"InstanceType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateEnvironmentEC2Request$instanceType": "<p>The type of instance to host the environment on (for example, <code>t2.micro</code>).</p>"
|
||||
"CreateEnvironmentEC2Request$instanceType": "<p>The type of instance to connect to the environment (for example, <code>t2.micro</code>).</p>"
|
||||
}
|
||||
},
|
||||
"InternalServerErrorException": {
|
308
vendor/github.com/aws/aws-sdk-go/models/apis/cloud9/2017-09-23/examples-1.json
generated
vendored
Normal file
308
vendor/github.com/aws/aws-sdk-go/models/apis/cloud9/2017-09-23/examples-1.json
generated
vendored
Normal file
|
@ -0,0 +1,308 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"examples": {
|
||||
"CreateEnvironmentEC2": [
|
||||
{
|
||||
"input": {
|
||||
"name": "my-demo-environment",
|
||||
"automaticStopTimeMinutes": 60,
|
||||
"description": "This is my demonstration environment.",
|
||||
"instanceType": "t2.micro",
|
||||
"ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"subnetId": "subnet-1fab8aEX"
|
||||
},
|
||||
"output": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "createenvironmentec2-1516821730547",
|
||||
"title": "CreateEnvironmentEC2"
|
||||
}
|
||||
],
|
||||
"CreateEnvironmentMembership": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-write",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
||||
},
|
||||
"output": {
|
||||
"membership": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-write",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
||||
"userId": "AIDAJ3BA6O2FMJWCWXHEX"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "createenvironmentmembership-1516822583452",
|
||||
"title": "CreateEnvironmentMembership"
|
||||
}
|
||||
],
|
||||
"DeleteEnvironment": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "deleteenvironment-1516822903149",
|
||||
"title": "DeleteEnvironment"
|
||||
}
|
||||
],
|
||||
"DeleteEnvironmentMembership": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "deleteenvironmentmembership-1516822975655",
|
||||
"title": "DeleteEnvironmentMembership"
|
||||
}
|
||||
],
|
||||
"DescribeEnvironmentMemberships": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
"memberships": [
|
||||
{
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-write",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
||||
"userId": "AIDAJ3BA6O2FMJWCWXHEX"
|
||||
},
|
||||
{
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example gets information about all of the environment members for the specified AWS Cloud9 development environment.",
|
||||
"id": "describeenvironmentmemberships1-1516823070453",
|
||||
"title": "DescribeEnvironmentMemberships1"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": [
|
||||
"owner"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"memberships": [
|
||||
{
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example gets information about the owner of the specified AWS Cloud9 development environment.",
|
||||
"id": "describeenvironmentmemberships2-1516823191355",
|
||||
"title": "DescribeEnvironmentMemberships2"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser"
|
||||
},
|
||||
"output": {
|
||||
"memberships": [
|
||||
{
|
||||
"environmentId": "10a75714bd494714929e7f5ec4125aEX",
|
||||
"lastAccess": "2018-01-19T11:06:13Z",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
},
|
||||
{
|
||||
"environmentId": "12bfc3cd537f41cb9776f8af5525c9EX",
|
||||
"lastAccess": "2018-01-19T11:39:19Z",
|
||||
"permissions": "owner",
|
||||
"userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
|
||||
"userId": "AIDAJNUEDQAQWFELJDLEX"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example gets AWS Cloud9 development environment membership information for the specified user.",
|
||||
"id": "describeenvironmentmemberships3-1516823268793",
|
||||
"title": "DescribeEnvironmentMemberships3"
|
||||
}
|
||||
],
|
||||
"DescribeEnvironmentStatus": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
"message": "Environment is ready to use",
|
||||
"status": "ready"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "describeenvironmentstatus-1516823462133",
|
||||
"title": "DescribeEnvironmentStatus"
|
||||
}
|
||||
],
|
||||
"DescribeEnvironments": [
|
||||
{
|
||||
"input": {
|
||||
"environmentIds": [
|
||||
"8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"349c86d4579e4e7298d500ff57a6b2EX"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"environments": [
|
||||
{
|
||||
"name": "my-demo-environment",
|
||||
"type": "ec2",
|
||||
"arn": "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"description": "This is my demonstration environment.",
|
||||
"id": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser"
|
||||
},
|
||||
{
|
||||
"name": "another-demo-environment",
|
||||
"type": "ssh",
|
||||
"arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX",
|
||||
"id": "349c86d4579e4e7298d500ff57a6b2EX",
|
||||
"ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "describeenvironments-1516823568291",
|
||||
"title": "DescribeEnvironments"
|
||||
}
|
||||
],
|
||||
"ListEnvironments": [
|
||||
{
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
"environmentIds": [
|
||||
"349c86d4579e4e7298d500ff57a6b2EX",
|
||||
"45a3da47af0840f2b0c0824f5ee232EX"
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "listenvironments-1516823687205",
|
||||
"title": "ListEnvironments"
|
||||
}
|
||||
],
|
||||
"UpdateEnvironment": [
|
||||
{
|
||||
"input": {
|
||||
"name": "my-changed-demo-environment",
|
||||
"description": "This is my changed demonstration environment.",
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "updateenvironment-1516823781910",
|
||||
"title": "UpdateEnvironment"
|
||||
}
|
||||
],
|
||||
"UpdateEnvironmentMembership": [
|
||||
{
|
||||
"input": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
|
||||
"permissions": "read-only",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
|
||||
},
|
||||
"output": {
|
||||
"membership": {
|
||||
"environmentId": "8d9967e2f0624182b74e7690ad69eb31",
|
||||
"permissions": "read-only",
|
||||
"userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
|
||||
"userId": "AIDAJ3BA6O2FMJWCWXHEX"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "",
|
||||
"id": "updateenvironmentmembership-1516823876645",
|
||||
"title": "UpdateEnvironmentMembership"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
8
vendor/github.com/aws/aws-sdk-go/models/apis/cloudhsmv2/2017-04-28/api-2.json
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/models/apis/cloudhsmv2/2017-04-28/api-2.json
generated
vendored
|
@ -7,6 +7,7 @@
|
|||
"protocol":"json",
|
||||
"serviceAbbreviation":"CloudHSM V2",
|
||||
"serviceFullName":"AWS CloudHSM V2",
|
||||
"serviceId":"CloudHSM V2",
|
||||
"signatureVersion":"v4",
|
||||
"signingName":"cloudhsm",
|
||||
"targetPrefix":"BaldrApiService",
|
||||
|
@ -392,7 +393,7 @@
|
|||
},
|
||||
"EniId":{
|
||||
"type":"string",
|
||||
"pattern":"eni-[0-9a-fA-F]{8}"
|
||||
"pattern":"eni-[0-9a-fA-F]{8,17}"
|
||||
},
|
||||
"ExternalAz":{
|
||||
"type":"string",
|
||||
|
@ -520,7 +521,7 @@
|
|||
},
|
||||
"SubnetId":{
|
||||
"type":"string",
|
||||
"pattern":"subnet-[0-9a-fA-F]{8}"
|
||||
"pattern":"subnet-[0-9a-fA-F]{8,17}"
|
||||
},
|
||||
"SubnetIds":{
|
||||
"type":"list",
|
||||
|
@ -576,7 +577,8 @@
|
|||
"TagValue":{
|
||||
"type":"string",
|
||||
"max":256,
|
||||
"min":0
|
||||
"min":0,
|
||||
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
|
||||
},
|
||||
"Timestamp":{"type":"timestamp"},
|
||||
"UntagResourceRequest":{
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go/models/apis/cloudhsmv2/2017-04-28/smoke.json
generated
vendored
Normal file
18
vendor/github.com/aws/aws-sdk-go/models/apis/cloudhsmv2/2017-04-28/smoke.json
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "DescribeClusters",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "ListTags",
|
||||
"input": {
|
||||
"ResourceId": "bogus-arn"
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
19
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/api-2.json
generated
vendored
19
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/api-2.json
generated
vendored
|
@ -499,6 +499,10 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"EnvironmentVariable"}
|
||||
},
|
||||
"GitCloneDepth":{
|
||||
"type":"integer",
|
||||
"min":0
|
||||
},
|
||||
"ImageVersions":{
|
||||
"type":"list",
|
||||
"member":{"shape":"String"}
|
||||
|
@ -706,7 +710,8 @@
|
|||
"image":{"shape":"NonEmptyString"},
|
||||
"computeType":{"shape":"ComputeType"},
|
||||
"environmentVariables":{"shape":"EnvironmentVariables"},
|
||||
"privilegedMode":{"shape":"WrapperBoolean"}
|
||||
"privilegedMode":{"shape":"WrapperBoolean"},
|
||||
"certificate":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"ProjectName":{
|
||||
|
@ -735,8 +740,10 @@
|
|||
"members":{
|
||||
"type":{"shape":"SourceType"},
|
||||
"location":{"shape":"String"},
|
||||
"gitCloneDepth":{"shape":"GitCloneDepth"},
|
||||
"buildspec":{"shape":"String"},
|
||||
"auth":{"shape":"SourceAuth"}
|
||||
"auth":{"shape":"SourceAuth"},
|
||||
"insecureSsl":{"shape":"WrapperBoolean"}
|
||||
}
|
||||
},
|
||||
"Projects":{
|
||||
|
@ -786,7 +793,8 @@
|
|||
"CODEPIPELINE",
|
||||
"GITHUB",
|
||||
"S3",
|
||||
"BITBUCKET"
|
||||
"BITBUCKET",
|
||||
"GITHUB_ENTERPRISE"
|
||||
]
|
||||
},
|
||||
"StartBuildInput":{
|
||||
|
@ -797,6 +805,7 @@
|
|||
"sourceVersion":{"shape":"String"},
|
||||
"artifactsOverride":{"shape":"ProjectArtifacts"},
|
||||
"environmentVariablesOverride":{"shape":"EnvironmentVariables"},
|
||||
"gitCloneDepthOverride":{"shape":"GitCloneDepth"},
|
||||
"buildspecOverride":{"shape":"String"},
|
||||
"timeoutInMinutesOverride":{"shape":"TimeOut"}
|
||||
}
|
||||
|
@ -897,7 +906,9 @@
|
|||
"Webhook":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"url":{"shape":"NonEmptyString"}
|
||||
"url":{"shape":"NonEmptyString"},
|
||||
"payloadUrl":{"shape":"NonEmptyString"},
|
||||
"secret":{"shape":"NonEmptyString"}
|
||||
}
|
||||
},
|
||||
"WrapperBoolean":{"type":"boolean"},
|
||||
|
|
15
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/docs-2.json
generated
vendored
15
vendor/github.com/aws/aws-sdk-go/models/apis/codebuild/2016-10-06/docs-2.json
generated
vendored
|
@ -6,7 +6,7 @@
|
|||
"BatchGetBuilds": "<p>Gets information about builds.</p>",
|
||||
"BatchGetProjects": "<p>Gets information about build projects.</p>",
|
||||
"CreateProject": "<p>Creates a build project.</p>",
|
||||
"CreateWebhook": "<p>For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.</p> <important> <p>If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds will be created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you will be billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 9 in <a href=\"http://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console\">Change a Build Project’s Settings</a>.</p> </important>",
|
||||
"CreateWebhook": "<p>For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.</p> <important> <p>If you enable webhooks for an AWS CodeBuild project, and the project is used as a build step in AWS CodePipeline, then two identical builds will be created for each commit. One build is triggered through webhooks, and one through AWS CodePipeline. Because billing is on a per-build basis, you will be billed for both builds. Therefore, if you are using AWS CodePipeline, we recommend that you disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For more information, see step 9 in <a href=\"http://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console\">Change a Build Project's Settings</a>.</p> </important>",
|
||||
"DeleteProject": "<p>Deletes a build project.</p>",
|
||||
"DeleteWebhook": "<p>For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, stops AWS CodeBuild from automatically rebuilding the source code every time a code change is pushed to the repository.</p>",
|
||||
"InvalidateProjectCache": "<p>Resets the cache for a project.</p>",
|
||||
|
@ -253,6 +253,13 @@
|
|||
"StartBuildInput$environmentVariablesOverride": "<p>A set of environment variables that overrides, for this build only, the latest ones already defined in the build project.</p>"
|
||||
}
|
||||
},
|
||||
"GitCloneDepth": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ProjectSource$gitCloneDepth": "<p>Information about the git clone depth for the build project.</p>",
|
||||
"StartBuildInput$gitCloneDepthOverride": "<p>The user-defined depth of history, with a minimum value of 0, that overrides, for this build only, any previous depth of history defined in the build project.</p>"
|
||||
}
|
||||
},
|
||||
"ImageVersions": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -368,7 +375,9 @@
|
|||
"UpdateProjectInput$serviceRole": "<p>The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.</p>",
|
||||
"UpdateProjectInput$encryptionKey": "<p>The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.</p> <p>You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format <code>alias/<i>alias-name</i> </code>).</p>",
|
||||
"VpcConfig$vpcId": "<p>The ID of the Amazon VPC.</p>",
|
||||
"Webhook$url": "<p>The URL to the webhook.</p>"
|
||||
"Webhook$url": "<p>The URL to the webhook.</p>",
|
||||
"Webhook$payloadUrl": "<p>This is the server endpoint that will receive the webhook payload.</p>",
|
||||
"Webhook$secret": "<p>Use this secret while creating a webhook in GitHub for Enterprise. The secret allows webhook requests sent by GitHub for Enterprise to be authenticated by AWS CodeBuild.</p>"
|
||||
}
|
||||
},
|
||||
"OAuthProviderException": {
|
||||
|
@ -579,6 +588,7 @@
|
|||
"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>",
|
||||
"ProjectBadge$badgeRequestUrl": "<p>The publicly-accessible URL through which you can access the build badge for your project. </p>",
|
||||
"ProjectCache$location": "<p>Information about the cache location, as follows: </p> <ul> <li> <p> <code>NO_CACHE</code>: This value will be ignored.</p> </li> <li> <p> <code>S3</code>: This is the S3 bucket name/prefix.</p> </li> </ul>",
|
||||
"ProjectEnvironment$certificate": "<p>The certificate to use with this build project.</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. 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> <li> <p>For source code in a Bitbucket 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 Bitbucket 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 Bitbucket, on the Bitbucket <b>Confirm access to your account</b> page that displays, choose <b>Grant access</b>. (After you have connected to your Bitbucket 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>",
|
||||
|
@ -663,6 +673,7 @@
|
|||
"refs": {
|
||||
"CreateProjectInput$badgeEnabled": "<p>Set this to true to generate a publicly-accessible URL for your project's build badge.</p>",
|
||||
"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=overlay& - timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"</code> </p>",
|
||||
"ProjectSource$insecureSsl": "<p>Enable this flag to ignore SSL warnings while connecting to the project source code.</p>",
|
||||
"UpdateProjectInput$badgeEnabled": "<p>Set this to true to generate a publicly-accessible URL for your project's build badge.</p>"
|
||||
}
|
||||
},
|
||||
|
|
168
vendor/github.com/aws/aws-sdk-go/models/apis/codecommit/2015-04-13/api-2.json
generated
vendored
168
vendor/github.com/aws/aws-sdk-go/models/apis/codecommit/2015-04-13/api-2.json
generated
vendored
|
@ -7,6 +7,7 @@
|
|||
"protocol":"json",
|
||||
"serviceAbbreviation":"CodeCommit",
|
||||
"serviceFullName":"AWS CodeCommit",
|
||||
"serviceId":"CodeCommit",
|
||||
"signatureVersion":"v4",
|
||||
"targetPrefix":"CodeCommit_20150413",
|
||||
"uid":"codecommit-2015-04-13"
|
||||
|
@ -616,6 +617,44 @@
|
|||
],
|
||||
"idempotent":true
|
||||
},
|
||||
"PutFile":{
|
||||
"name":"PutFile",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"PutFileInput"},
|
||||
"output":{"shape":"PutFileOutput"},
|
||||
"errors":[
|
||||
{"shape":"RepositoryNameRequiredException"},
|
||||
{"shape":"InvalidRepositoryNameException"},
|
||||
{"shape":"RepositoryDoesNotExistException"},
|
||||
{"shape":"ParentCommitIdRequiredException"},
|
||||
{"shape":"InvalidParentCommitIdException"},
|
||||
{"shape":"ParentCommitDoesNotExistException"},
|
||||
{"shape":"ParentCommitIdOutdatedException"},
|
||||
{"shape":"FileContentRequiredException"},
|
||||
{"shape":"FileContentSizeLimitExceededException"},
|
||||
{"shape":"PathRequiredException"},
|
||||
{"shape":"InvalidPathException"},
|
||||
{"shape":"BranchNameRequiredException"},
|
||||
{"shape":"InvalidBranchNameException"},
|
||||
{"shape":"BranchDoesNotExistException"},
|
||||
{"shape":"BranchNameIsTagNameException"},
|
||||
{"shape":"InvalidFileModeException"},
|
||||
{"shape":"NameLengthExceededException"},
|
||||
{"shape":"InvalidEmailException"},
|
||||
{"shape":"CommitMessageLengthExceededException"},
|
||||
{"shape":"EncryptionIntegrityChecksFailedException"},
|
||||
{"shape":"EncryptionKeyAccessDeniedException"},
|
||||
{"shape":"EncryptionKeyDisabledException"},
|
||||
{"shape":"EncryptionKeyNotFoundException"},
|
||||
{"shape":"EncryptionKeyUnavailableException"},
|
||||
{"shape":"SameFileContentException"},
|
||||
{"shape":"FileNameConflictsWithDirectoryNameException"},
|
||||
{"shape":"DirectoryNameConflictsWithFileNameException"}
|
||||
]
|
||||
},
|
||||
"PutRepositoryTriggers":{
|
||||
"name":"PutRepositoryTriggers",
|
||||
"http":{
|
||||
|
@ -888,6 +927,12 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"BranchNameIsTagNameException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"BranchNameList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"BranchName"}
|
||||
|
@ -1033,6 +1078,12 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"CommitMessageLengthExceededException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"CommitName":{"type":"string"},
|
||||
"CommitRequiredException":{
|
||||
"type":"structure",
|
||||
|
@ -1177,6 +1228,12 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"Difference"}
|
||||
},
|
||||
"DirectoryNameConflictsWithFileNameException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"Email":{"type":"string"},
|
||||
"EncryptionIntegrityChecksFailedException":{
|
||||
"type":"structure",
|
||||
|
@ -1210,6 +1267,36 @@
|
|||
"exception":true
|
||||
},
|
||||
"EventDate":{"type":"timestamp"},
|
||||
"FileContent":{
|
||||
"type":"blob",
|
||||
"max":6291456
|
||||
},
|
||||
"FileContentRequiredException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"FileContentSizeLimitExceededException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"FileModeTypeEnum":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"EXECUTABLE",
|
||||
"NORMAL",
|
||||
"SYMLINK"
|
||||
]
|
||||
},
|
||||
"FileNameConflictsWithDirectoryNameException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"FileTooLargeException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1482,12 +1569,24 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidEmailException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidFileLocationException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidFileModeException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidFilePositionException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1512,6 +1611,12 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidParentCommitIdException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"InvalidPathException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1772,6 +1877,12 @@
|
|||
"exception":true
|
||||
},
|
||||
"Name":{"type":"string"},
|
||||
"NameLengthExceededException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"NextToken":{"type":"string"},
|
||||
"ObjectId":{"type":"string"},
|
||||
"OrderEnum":{
|
||||
|
@ -1781,6 +1892,24 @@
|
|||
"descending"
|
||||
]
|
||||
},
|
||||
"ParentCommitDoesNotExistException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"ParentCommitIdOutdatedException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"ParentCommitIdRequiredException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"ParentList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ObjectId"}
|
||||
|
@ -1998,6 +2127,39 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"PullRequestTarget"}
|
||||
},
|
||||
"PutFileInput":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"repositoryName",
|
||||
"branchName",
|
||||
"fileContent",
|
||||
"filePath"
|
||||
],
|
||||
"members":{
|
||||
"repositoryName":{"shape":"RepositoryName"},
|
||||
"branchName":{"shape":"BranchName"},
|
||||
"fileContent":{"shape":"FileContent"},
|
||||
"filePath":{"shape":"Path"},
|
||||
"fileMode":{"shape":"FileModeTypeEnum"},
|
||||
"parentCommitId":{"shape":"CommitId"},
|
||||
"commitMessage":{"shape":"Message"},
|
||||
"name":{"shape":"Name"},
|
||||
"email":{"shape":"Email"}
|
||||
}
|
||||
},
|
||||
"PutFileOutput":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"commitId",
|
||||
"blobId",
|
||||
"treeId"
|
||||
],
|
||||
"members":{
|
||||
"commitId":{"shape":"ObjectId"},
|
||||
"blobId":{"shape":"ObjectId"},
|
||||
"treeId":{"shape":"ObjectId"}
|
||||
}
|
||||
},
|
||||
"PutRepositoryTriggersInput":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -2207,6 +2369,12 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"SameFileContentException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
},
|
||||
"exception":true
|
||||
},
|
||||
"SortByEnum":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
|
|
117
vendor/github.com/aws/aws-sdk-go/models/apis/codecommit/2015-04-13/docs-2.json
generated
vendored
117
vendor/github.com/aws/aws-sdk-go/models/apis/codecommit/2015-04-13/docs-2.json
generated
vendored
File diff suppressed because one or more lines are too long
18
vendor/github.com/aws/aws-sdk-go/models/apis/codecommit/2015-04-13/smoke.json
generated
vendored
Normal file
18
vendor/github.com/aws/aws-sdk-go/models/apis/codecommit/2015-04-13/smoke.json
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "ListRepositories",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "ListBranches",
|
||||
"input": {
|
||||
"repositoryName": "fake-repo"
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
35
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json
generated
vendored
35
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json
generated
vendored
|
@ -1101,6 +1101,19 @@
|
|||
{"shape":"InternalErrorException"}
|
||||
]
|
||||
},
|
||||
"GetSigningCertificate":{
|
||||
"name":"GetSigningCertificate",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"GetSigningCertificateRequest"},
|
||||
"output":{"shape":"GetSigningCertificateResponse"},
|
||||
"errors":[
|
||||
{"shape":"InternalErrorException"},
|
||||
{"shape":"ResourceNotFoundException"}
|
||||
]
|
||||
},
|
||||
"GetUICustomization":{
|
||||
"name":"GetUICustomization",
|
||||
"http":{
|
||||
|
@ -2443,7 +2456,8 @@
|
|||
"REFRESH_TOKEN_AUTH",
|
||||
"REFRESH_TOKEN",
|
||||
"CUSTOM_AUTH",
|
||||
"ADMIN_NO_SRP_AUTH"
|
||||
"ADMIN_NO_SRP_AUTH",
|
||||
"USER_PASSWORD_AUTH"
|
||||
]
|
||||
},
|
||||
"AuthParametersType":{
|
||||
|
@ -3339,7 +3353,8 @@
|
|||
"type":"string",
|
||||
"enum":[
|
||||
"ADMIN_NO_SRP_AUTH",
|
||||
"CUSTOM_AUTH_FLOW_ONLY"
|
||||
"CUSTOM_AUTH_FLOW_ONLY",
|
||||
"USER_PASSWORD_AUTH"
|
||||
]
|
||||
},
|
||||
"FeedbackValueType":{
|
||||
|
@ -3443,6 +3458,19 @@
|
|||
"IdentityProvider":{"shape":"IdentityProviderType"}
|
||||
}
|
||||
},
|
||||
"GetSigningCertificateRequest":{
|
||||
"type":"structure",
|
||||
"required":["UserPoolId"],
|
||||
"members":{
|
||||
"UserPoolId":{"shape":"UserPoolIdType"}
|
||||
}
|
||||
},
|
||||
"GetSigningCertificateResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Certificate":{"shape":"StringType"}
|
||||
}
|
||||
},
|
||||
"GetUICustomizationRequest":{
|
||||
"type":"structure",
|
||||
"required":["UserPoolId"],
|
||||
|
@ -3703,7 +3731,8 @@
|
|||
"DefineAuthChallenge":{"shape":"ArnType"},
|
||||
"CreateAuthChallenge":{"shape":"ArnType"},
|
||||
"VerifyAuthChallengeResponse":{"shape":"ArnType"},
|
||||
"PreTokenGeneration":{"shape":"ArnType"}
|
||||
"PreTokenGeneration":{"shape":"ArnType"},
|
||||
"UserMigration":{"shape":"ArnType"}
|
||||
}
|
||||
},
|
||||
"LimitExceededException":{
|
||||
|
|
30
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json
generated
vendored
30
vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json
generated
vendored
|
@ -61,6 +61,7 @@
|
|||
"GetDevice": "<p>Gets the device.</p>",
|
||||
"GetGroup": "<p>Gets a group.</p> <p>Requires developer credentials.</p>",
|
||||
"GetIdentityProviderByIdentifier": "<p>Gets the specified identity provider.</p>",
|
||||
"GetSigningCertificate": "<p>This method takes a user pool ID, and returns the signing certificate.</p>",
|
||||
"GetUICustomization": "<p>Gets the UI Customization information for a particular app client's app UI, if there is something set. If nothing is set for the particular client, but there is an existing pool level customization (app <code>clientId</code> will be <code>ALL</code>), then that is returned. If nothing is present, then an empty shape is returned.</p>",
|
||||
"GetUser": "<p>Gets the user attributes and metadata for a user.</p>",
|
||||
"GetUserAttributeVerificationCode": "<p>Gets the user attribute verification code for the specified attribute name.</p>",
|
||||
|
@ -455,6 +456,7 @@
|
|||
"LambdaConfigType$CreateAuthChallenge": "<p>Creates an authentication challenge.</p>",
|
||||
"LambdaConfigType$VerifyAuthChallengeResponse": "<p>Verifies the authentication challenge response.</p>",
|
||||
"LambdaConfigType$PreTokenGeneration": "<p>A Lambda trigger that is invoked before token generation.</p>",
|
||||
"LambdaConfigType$UserMigration": "<p>The user migration Lambda config type.</p>",
|
||||
"NotifyConfigurationType$SourceArn": "<p>The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. It permits Amazon Cognito to send for the email address specified in the <code>From</code> parameter.</p>",
|
||||
"SmsConfigurationType$SnsCallerArn": "<p>The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller.</p>",
|
||||
"UpdateGroupRequest$RoleArn": "<p>The new role ARN for the group. This is used for setting the <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the token.</p>",
|
||||
|
@ -552,15 +554,15 @@
|
|||
"AuthFlowType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AdminInitiateAuthRequest$AuthFlow": "<p>The authentication flow for this call to execute. The API action will depend on this value. For example:</p> <ul> <li> <p> <code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return new tokens.</p> </li> <li> <p> <code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and <code>SRP_A</code> and return the SRP variables to be used for next challenge execution.</p> </li> </ul> <p>Valid values include:</p> <ul> <li> <p> <code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password (SRP) protocol.</p> </li> <li> <p> <code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.</p> </li> <li> <p> <code>CUSTOM_AUTH</code>: Custom authentication flow.</p> </li> <li> <p> <code>ADMIN_NO_SRP_AUTH</code>: Non-SRP authentication flow; you can pass in the USERNAME and PASSWORD directly if the flow is enabled for calling the app client.</p> </li> </ul>",
|
||||
"InitiateAuthRequest$AuthFlow": "<p>The authentication flow for this call to execute. The API action will depend on this value. For example: </p> <ul> <li> <p> <code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return new tokens.</p> </li> <li> <p> <code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and <code>SRP_A</code> and return the SRP variables to be used for next challenge execution.</p> </li> </ul> <p>Valid values include:</p> <ul> <li> <p> <code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password (SRP) protocol.</p> </li> <li> <p> <code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.</p> </li> <li> <p> <code>CUSTOM_AUTH</code>: Custom authentication flow.</p> </li> </ul> <p> <code>ADMIN_NO_SRP_AUTH</code> is not a valid value.</p>"
|
||||
"AdminInitiateAuthRequest$AuthFlow": "<p>The authentication flow for this call to execute. The API action will depend on this value. For example:</p> <ul> <li> <p> <code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return new tokens.</p> </li> <li> <p> <code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and <code>SRP_A</code> and return the SRP variables to be used for next challenge execution.</p> </li> <li> <p> <code>USER_PASSWORD_AUTH</code> will take in <code>USERNAME</code> and <code>PASSWORD</code> and return the next challenge or tokens.</p> </li> </ul> <p>Valid values include:</p> <ul> <li> <p> <code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password (SRP) protocol.</p> </li> <li> <p> <code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.</p> </li> <li> <p> <code>CUSTOM_AUTH</code>: Custom authentication flow.</p> </li> <li> <p> <code>ADMIN_NO_SRP_AUTH</code>: Non-SRP authentication flow; you can pass in the USERNAME and PASSWORD directly if the flow is enabled for calling the app client.</p> </li> <li> <p> <code>USER_PASSWORD_AUTH</code>: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool. </p> </li> </ul>",
|
||||
"InitiateAuthRequest$AuthFlow": "<p>The authentication flow for this call to execute. The API action will depend on this value. For example: </p> <ul> <li> <p> <code>REFRESH_TOKEN_AUTH</code> will take in a valid refresh token and return new tokens.</p> </li> <li> <p> <code>USER_SRP_AUTH</code> will take in <code>USERNAME</code> and <code>SRP_A</code> and return the SRP variables to be used for next challenge execution.</p> </li> <li> <p> <code>USER_PASSWORD_AUTH</code> will take in <code>USERNAME</code> and <code>PASSWORD</code> and return the next challenge or tokens.</p> </li> </ul> <p>Valid values include:</p> <ul> <li> <p> <code>USER_SRP_AUTH</code>: Authentication flow for the Secure Remote Password (SRP) protocol.</p> </li> <li> <p> <code>REFRESH_TOKEN_AUTH</code>/<code>REFRESH_TOKEN</code>: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token.</p> </li> <li> <p> <code>CUSTOM_AUTH</code>: Custom authentication flow.</p> </li> <li> <p> <code>USER_PASSWORD_AUTH</code>: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool. </p> </li> </ul> <p> <code>ADMIN_NO_SRP_AUTH</code> is not a valid value.</p>"
|
||||
}
|
||||
},
|
||||
"AuthParametersType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AdminInitiateAuthRequest$AuthParameters": "<p>The authentication parameters. These are inputs corresponding to the <code>AuthFlow</code> that you are invoking. The required values depend on the value of <code>AuthFlow</code>:</p> <ul> <li> <p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>REFRESH_TOKEN</code> (required), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>ADMIN_NO_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>PASSWORD</code> (required), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>DEVICE_KEY</code> </p> </li> </ul>",
|
||||
"InitiateAuthRequest$AuthParameters": "<p>The authentication parameters. These are inputs corresponding to the <code>AuthFlow</code> that you are invoking. The required values depend on the value of <code>AuthFlow</code>:</p> <ul> <li> <p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>REFRESH_TOKEN</code> (required), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>DEVICE_KEY</code> </p> </li> </ul>"
|
||||
"AdminInitiateAuthRequest$AuthParameters": "<p>The authentication parameters. These are inputs corresponding to the <code>AuthFlow</code> that you are invoking. The required values depend on the value of <code>AuthFlow</code>:</p> <ul> <li> <p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>REFRESH_TOKEN</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>ADMIN_NO_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>PASSWORD</code> (required), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>DEVICE_KEY</code> </p> </li> </ul>",
|
||||
"InitiateAuthRequest$AuthParameters": "<p>The authentication parameters. These are inputs corresponding to the <code>AuthFlow</code> that you are invoking. The required values depend on the value of <code>AuthFlow</code>:</p> <ul> <li> <p>For <code>USER_SRP_AUTH</code>: <code>USERNAME</code> (required), <code>SRP_A</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>REFRESH_TOKEN_AUTH/REFRESH_TOKEN</code>: <code>REFRESH_TOKEN</code> (required), <code>SECRET_HASH</code> (required if the app client is configured with a client secret), <code>DEVICE_KEY</code> </p> </li> <li> <p>For <code>CUSTOM_AUTH</code>: <code>USERNAME</code> (required), <code>SECRET_HASH</code> (if app client is configured with client secret), <code>DEVICE_KEY</code> </p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"AuthenticationResultType": {
|
||||
|
@ -647,7 +649,7 @@
|
|||
"ChallengeParametersType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AdminInitiateAuthResponse$ChallengeParameters": "<p>The challenge parameters. These are returned to you in the <code>AdminInitiateAuth</code> response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (<code>AdminRespondToAuthChallenge</code>).</p> <p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if applicable).</p> <p>The value of the <code>USER_IF_FOR_SRP</code> attribute will be the user's actual username, not an alias (such as email address or phone number), even if you specified an alias in your call to <code>AdminInitiateAuth</code>. This is because, in the <code>AdminRespondToAuthChallenge</code> API <code>ChallengeResponses</code>, the <code>USERNAME</code> attribute cannot be an alias.</p>",
|
||||
"AdminInitiateAuthResponse$ChallengeParameters": "<p>The challenge parameters. These are returned to you in the <code>AdminInitiateAuth</code> response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (<code>AdminRespondToAuthChallenge</code>).</p> <p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if applicable).</p> <p>The value of the <code>USER_ID_FOR_SRP</code> attribute will be the user's actual username, not an alias (such as email address or phone number), even if you specified an alias in your call to <code>AdminInitiateAuth</code>. This is because, in the <code>AdminRespondToAuthChallenge</code> API <code>ChallengeResponses</code>, the <code>USERNAME</code> attribute cannot be an alias.</p>",
|
||||
"AdminRespondToAuthChallengeResponse$ChallengeParameters": "<p>The challenge parameters. For more information, see .</p>",
|
||||
"InitiateAuthResponse$ChallengeParameters": "<p>The challenge parameters. These are returned to you in the <code>InitiateAuth</code> response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (<code>RespondToAuthChallenge</code>). </p> <p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if applicable).</p>",
|
||||
"RespondToAuthChallengeResponse$ChallengeParameters": "<p>The challenge parameters. For more information, see .</p>"
|
||||
|
@ -1412,6 +1414,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetSigningCertificateRequest": {
|
||||
"base": "<p>Request to get a signing certificate from Cognito.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetSigningCertificateResponse": {
|
||||
"base": "<p>Response from Cognito for a signing certificate request.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"GetUICustomizationRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
@ -1623,7 +1635,7 @@
|
|||
"LambdaConfigType": {
|
||||
"base": "<p>Specifies the configuration for AWS Lambda triggers.</p>",
|
||||
"refs": {
|
||||
"CreateUserPoolRequest$LambdaConfig": "<p>The Lambda trigger configuration information for the new user pool.</p>",
|
||||
"CreateUserPoolRequest$LambdaConfig": "<p>The Lambda trigger configuration information for the new user pool.</p> <note> <p>In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function.</p> <p/> <p>For more information on using the Lambda API to add permission, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html\"> AddPermission </a>. </p> <p>For adding permission using the AWS CLI, see <a href=\"https://docs.aws.amazon.com/cli/latest/reference/lambda/add-permission.html\"> add-permission </a>.</p> </note>",
|
||||
"UpdateUserPoolRequest$LambdaConfig": "<p>The AWS Lambda configuration information from the request to update the user pool.</p>",
|
||||
"UserPoolDescriptionType$LambdaConfig": "<p>The AWS Lambda configuration information in a user pool description.</p>",
|
||||
"UserPoolType$LambdaConfig": "<p>The AWS Lambda triggers associated with tue user pool.</p>"
|
||||
|
@ -2434,6 +2446,7 @@
|
|||
"EventContextDataType$City": "<p>The user's city.</p>",
|
||||
"EventContextDataType$Country": "<p>The user's country.</p>",
|
||||
"EventFeedbackType$Provider": "<p>The provider.</p>",
|
||||
"GetSigningCertificateResponse$Certificate": "<p>The signing certificate.</p>",
|
||||
"GetUserResponse$PreferredMfaSetting": "<p>The user's preferred MFA setting.</p>",
|
||||
"HttpHeader$headerName": "<p>The header name</p>",
|
||||
"HttpHeader$headerValue": "<p>The header value.</p>",
|
||||
|
@ -2779,6 +2792,7 @@
|
|||
"GetCSVHeaderResponse$UserPoolId": "<p>The user pool ID for the user pool that the users are to be imported into.</p>",
|
||||
"GetGroupRequest$UserPoolId": "<p>The user pool ID for the user pool.</p>",
|
||||
"GetIdentityProviderByIdentifierRequest$UserPoolId": "<p>The user pool ID.</p>",
|
||||
"GetSigningCertificateRequest$UserPoolId": "<p>The user pool ID.</p>",
|
||||
"GetUICustomizationRequest$UserPoolId": "<p>The user pool ID for the user pool.</p>",
|
||||
"GetUserPoolMfaConfigRequest$UserPoolId": "<p>The user pool ID.</p>",
|
||||
"GroupType$UserPoolId": "<p>The user pool ID for the user pool.</p>",
|
||||
|
@ -2912,10 +2926,10 @@
|
|||
"AdminGetUserResponse$Username": "<p>The user name of the user about whom you are receiving information.</p>",
|
||||
"AdminListDevicesRequest$Username": "<p>The user name.</p>",
|
||||
"AdminListGroupsForUserRequest$Username": "<p>The username for the user.</p>",
|
||||
"AdminListUserAuthEventsRequest$Username": "<p>The user pool username.</p>",
|
||||
"AdminListUserAuthEventsRequest$Username": "<p>The user pool username or an alias.</p>",
|
||||
"AdminRemoveUserFromGroupRequest$Username": "<p>The username for the user.</p>",
|
||||
"AdminResetUserPasswordRequest$Username": "<p>The user name of the user whose password you wish to reset.</p>",
|
||||
"AdminSetUserMFAPreferenceRequest$Username": "<p>The user pool username.</p>",
|
||||
"AdminSetUserMFAPreferenceRequest$Username": "<p>The user pool username or alias.</p>",
|
||||
"AdminSetUserSettingsRequest$Username": "<p>The user name of the user for whom you wish to set user settings.</p>",
|
||||
"AdminUpdateAuthEventFeedbackRequest$Username": "<p>The user pool username.</p>",
|
||||
"AdminUpdateDeviceStatusRequest$Username": "<p>The user name.</p>",
|
||||
|
|
9
vendor/github.com/aws/aws-sdk-go/models/apis/config/2014-11-12/api-2.json
generated
vendored
9
vendor/github.com/aws/aws-sdk-go/models/apis/config/2014-11-12/api-2.json
generated
vendored
|
@ -581,10 +581,11 @@
|
|||
"ConfigurationItemStatus":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"Ok",
|
||||
"Failed",
|
||||
"Discovered",
|
||||
"Deleted"
|
||||
"OK",
|
||||
"ResourceDiscovered",
|
||||
"ResourceNotRecorded",
|
||||
"ResourceDeleted",
|
||||
"ResourceDeletedNotRecorded"
|
||||
]
|
||||
},
|
||||
"ConfigurationRecorder":{
|
||||
|
|
37
vendor/github.com/aws/aws-sdk-go/models/apis/devicefarm/2015-06-23/api-2.json
generated
vendored
37
vendor/github.com/aws/aws-sdk-go/models/apis/devicefarm/2015-06-23/api-2.json
generated
vendored
|
@ -963,9 +963,12 @@
|
|||
"deviceArn":{"shape":"AmazonResourceName"},
|
||||
"sshPublicKey":{"shape":"SshPublicKey"},
|
||||
"remoteDebugEnabled":{"shape":"Boolean"},
|
||||
"remoteRecordEnabled":{"shape":"Boolean"},
|
||||
"remoteRecordAppArn":{"shape":"AmazonResourceName"},
|
||||
"name":{"shape":"Name"},
|
||||
"clientId":{"shape":"ClientId"},
|
||||
"configuration":{"shape":"CreateRemoteAccessSessionConfiguration"}
|
||||
"configuration":{"shape":"CreateRemoteAccessSessionConfiguration"},
|
||||
"interactionMode":{"shape":"InteractionMode"}
|
||||
}
|
||||
},
|
||||
"CreateRemoteAccessSessionResult":{
|
||||
|
@ -1086,6 +1089,7 @@
|
|||
"name":{"shape":"Name"},
|
||||
"manufacturer":{"shape":"String"},
|
||||
"model":{"shape":"String"},
|
||||
"modelId":{"shape":"String"},
|
||||
"formFactor":{"shape":"DeviceFormFactor"},
|
||||
"platform":{"shape":"DevicePlatform"},
|
||||
"os":{"shape":"String"},
|
||||
|
@ -1433,6 +1437,16 @@
|
|||
}
|
||||
},
|
||||
"Integer":{"type":"integer"},
|
||||
"InteractionMode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"INTERACTIVE",
|
||||
"NO_VIDEO",
|
||||
"VIDEO_ONLY"
|
||||
],
|
||||
"max":64,
|
||||
"min":0
|
||||
},
|
||||
"IosPaths":{
|
||||
"type":"list",
|
||||
"member":{"shape":"String"}
|
||||
|
@ -1960,12 +1974,15 @@
|
|||
"stopped":{"shape":"DateTime"},
|
||||
"device":{"shape":"Device"},
|
||||
"remoteDebugEnabled":{"shape":"Boolean"},
|
||||
"remoteRecordEnabled":{"shape":"Boolean"},
|
||||
"remoteRecordAppArn":{"shape":"AmazonResourceName"},
|
||||
"hostAddress":{"shape":"HostAddress"},
|
||||
"clientId":{"shape":"ClientId"},
|
||||
"billingMethod":{"shape":"BillingMethod"},
|
||||
"deviceMinutes":{"shape":"DeviceMinutes"},
|
||||
"endpoint":{"shape":"String"},
|
||||
"deviceUdid":{"shape":"String"}
|
||||
"deviceUdid":{"shape":"String"},
|
||||
"interactionMode":{"shape":"InteractionMode"}
|
||||
}
|
||||
},
|
||||
"RemoteAccessSessions":{
|
||||
|
@ -2036,7 +2053,16 @@
|
|||
"networkProfile":{"shape":"NetworkProfile"},
|
||||
"parsingResultUrl":{"shape":"String"},
|
||||
"resultCode":{"shape":"ExecutionResultCode"},
|
||||
"customerArtifactPaths":{"shape":"CustomerArtifactPaths"}
|
||||
"seed":{"shape":"Integer"},
|
||||
"appUpload":{"shape":"AmazonResourceName"},
|
||||
"eventCount":{"shape":"Integer"},
|
||||
"jobTimeoutMinutes":{"shape":"JobTimeoutMinutes"},
|
||||
"devicePoolArn":{"shape":"AmazonResourceName"},
|
||||
"locale":{"shape":"String"},
|
||||
"radios":{"shape":"Radios"},
|
||||
"location":{"shape":"Location"},
|
||||
"customerArtifactPaths":{"shape":"CustomerArtifactPaths"},
|
||||
"webUrl":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"Runs":{
|
||||
|
@ -2208,6 +2234,7 @@
|
|||
"enum":[
|
||||
"BUILTIN_FUZZ",
|
||||
"BUILTIN_EXPLORER",
|
||||
"WEB_PERFORMANCE_PROFILE",
|
||||
"APPIUM_JAVA_JUNIT",
|
||||
"APPIUM_JAVA_TESTNG",
|
||||
"APPIUM_PYTHON",
|
||||
|
@ -2219,7 +2246,9 @@
|
|||
"UIAUTOMATION",
|
||||
"UIAUTOMATOR",
|
||||
"XCTEST",
|
||||
"XCTEST_UI"
|
||||
"XCTEST_UI",
|
||||
"REMOTE_ACCESS_RECORD",
|
||||
"REMOTE_ACCESS_REPLAY"
|
||||
]
|
||||
},
|
||||
"Tests":{
|
||||
|
|
41
vendor/github.com/aws/aws-sdk-go/models/apis/devicefarm/2015-06-23/docs-2.json
generated
vendored
41
vendor/github.com/aws/aws-sdk-go/models/apis/devicefarm/2015-06-23/docs-2.json
generated
vendored
|
@ -30,7 +30,7 @@
|
|||
"ListArtifacts": "<p>Gets information about artifacts.</p>",
|
||||
"ListDevicePools": "<p>Gets information about device pools.</p>",
|
||||
"ListDevices": "<p>Gets information about unique device types.</p>",
|
||||
"ListJobs": "<p>Gets information about jobs.</p>",
|
||||
"ListJobs": "<p>Gets information about jobs for a given test run.</p>",
|
||||
"ListNetworkProfiles": "<p>Returns the list of available network profiles.</p>",
|
||||
"ListOfferingPromotions": "<p>Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a <code>NotEligible</code> error if the caller is not permitted to invoke the operation. Contact <a href=\"mailto:aws-devicefarm-support@amazon.com\">aws-devicefarm-support@amazon.com</a> if you believe that you should be able to invoke this operation.</p>",
|
||||
"ListOfferingTransactions": "<p>Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a <code>NotEligible</code> error if the user is not permitted to invoke the operation. Please contact <a href=\"mailto:aws-devicefarm-support@amazon.com\">aws-devicefarm-support@amazon.com</a> if you believe that you should be able to invoke this operation.</p>",
|
||||
|
@ -39,8 +39,8 @@
|
|||
"ListRemoteAccessSessions": "<p>Returns a list of all currently running remote access sessions.</p>",
|
||||
"ListRuns": "<p>Gets information about runs, given an AWS Device Farm project ARN.</p>",
|
||||
"ListSamples": "<p>Gets information about samples, given an AWS Device Farm project ARN</p>",
|
||||
"ListSuites": "<p>Gets information about suites.</p>",
|
||||
"ListTests": "<p>Gets information about tests.</p>",
|
||||
"ListSuites": "<p>Gets information about test suites for a given job.</p>",
|
||||
"ListTests": "<p>Gets information about tests in a given test suite.</p>",
|
||||
"ListUniqueProblems": "<p>Gets information about unique problems.</p>",
|
||||
"ListUploads": "<p>Gets information about uploads, given an AWS Device Farm project ARN.</p>",
|
||||
"PurchaseOffering": "<p>Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for an offering, unless the renewal was overridden. The API returns a <code>NotEligible</code> error if the user is not permitted to invoke the operation. Please contact <a href=\"mailto:aws-devicefarm-support@amazon.com\">aws-devicefarm-support@amazon.com</a> if you believe that you should be able to invoke this operation.</p>",
|
||||
|
@ -80,6 +80,7 @@
|
|||
"CreateNetworkProfileRequest$projectArn": "<p>The Amazon Resource Name (ARN) of the project for which you want to create a network profile.</p>",
|
||||
"CreateRemoteAccessSessionRequest$projectArn": "<p>The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.</p>",
|
||||
"CreateRemoteAccessSessionRequest$deviceArn": "<p>The Amazon Resource Name (ARN) of the device for which you want to create a remote access session.</p>",
|
||||
"CreateRemoteAccessSessionRequest$remoteRecordAppArn": "<p>The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.</p>",
|
||||
"CreateUploadRequest$projectArn": "<p>The ARN of the project for the upload.</p>",
|
||||
"DeleteDevicePoolRequest$arn": "<p>Represents the Amazon Resource Name (ARN) of the Device Farm device pool you wish to delete.</p>",
|
||||
"DeleteNetworkProfileRequest$arn": "<p>The Amazon Resource Name (ARN) of the network profile you want to delete.</p>",
|
||||
|
@ -107,21 +108,24 @@
|
|||
"ListArtifactsRequest$arn": "<p>The Run, Job, Suite, or Test ARN.</p>",
|
||||
"ListDevicePoolsRequest$arn": "<p>The project ARN.</p>",
|
||||
"ListDevicesRequest$arn": "<p>The Amazon Resource Name (ARN) of the project.</p>",
|
||||
"ListJobsRequest$arn": "<p>The jobs' ARNs.</p>",
|
||||
"ListJobsRequest$arn": "<p>The run's Amazon Resource Name (ARN).</p>",
|
||||
"ListNetworkProfilesRequest$arn": "<p>The Amazon Resource Name (ARN) of the project for which you want to list network profiles.</p>",
|
||||
"ListProjectsRequest$arn": "<p>Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN.</p>",
|
||||
"ListRemoteAccessSessionsRequest$arn": "<p>The Amazon Resource Name (ARN) of the remote access session about which you are requesting information.</p>",
|
||||
"ListRunsRequest$arn": "<p>The Amazon Resource Name (ARN) of the project for which you want to list runs.</p>",
|
||||
"ListSamplesRequest$arn": "<p>The Amazon Resource Name (ARN) of the project for which you want to list samples.</p>",
|
||||
"ListSuitesRequest$arn": "<p>The suites' ARNs.</p>",
|
||||
"ListTestsRequest$arn": "<p>The tests' ARNs.</p>",
|
||||
"ListSuitesRequest$arn": "<p>The job's Amazon Resource Name (ARN).</p>",
|
||||
"ListTestsRequest$arn": "<p>The test suite's Amazon Resource Name (ARN).</p>",
|
||||
"ListUniqueProblemsRequest$arn": "<p>The unique problems' ARNs.</p>",
|
||||
"ListUploadsRequest$arn": "<p>The Amazon Resource Name (ARN) of the project for which you want to list uploads.</p>",
|
||||
"NetworkProfile$arn": "<p>The Amazon Resource Name (ARN) of the network profile.</p>",
|
||||
"ProblemDetail$arn": "<p>The problem detail's ARN.</p>",
|
||||
"Project$arn": "<p>The project's ARN.</p>",
|
||||
"RemoteAccessSession$arn": "<p>The Amazon Resource Name (ARN) of the remote access session.</p>",
|
||||
"RemoteAccessSession$remoteRecordAppArn": "<p>The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.</p>",
|
||||
"Run$arn": "<p>The run's ARN.</p>",
|
||||
"Run$appUpload": "<p>An app to upload or that has been uploaded.</p>",
|
||||
"Run$devicePoolArn": "<p>The ARN of the device pool for the run.</p>",
|
||||
"Sample$arn": "<p>The sample's ARN.</p>",
|
||||
"ScheduleRunConfiguration$extraDataPackageArn": "<p>The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.</p>",
|
||||
"ScheduleRunConfiguration$networkProfileArn": "<p>Reserved for internal use.</p>",
|
||||
|
@ -134,7 +138,7 @@
|
|||
"Suite$arn": "<p>The suite's ARN.</p>",
|
||||
"Test$arn": "<p>The test's ARN.</p>",
|
||||
"UpdateDevicePoolRequest$arn": "<p>The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.</p>",
|
||||
"UpdateNetworkProfileRequest$arn": "<p>The Amazon Resource Name (ARN) of the project that you wish to update network profile settings.</p>",
|
||||
"UpdateNetworkProfileRequest$arn": "<p>The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.</p>",
|
||||
"UpdateProjectRequest$arn": "<p>The Amazon Resource Name (ARN) of the project whose name you wish to update.</p>",
|
||||
"Upload$arn": "<p>The upload's ARN.</p>"
|
||||
}
|
||||
|
@ -199,6 +203,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"CreateRemoteAccessSessionRequest$remoteDebugEnabled": "<p>Set to <code>true</code> if you want to access devices remotely for debugging in your remote access session.</p>",
|
||||
"CreateRemoteAccessSessionRequest$remoteRecordEnabled": "<p>Set to <code>true</code> to enable remote recording for the remote access session.</p>",
|
||||
"Device$remoteAccessEnabled": "<p>Specifies whether remote access has been enabled for the specified device.</p>",
|
||||
"Device$remoteDebugEnabled": "<p>This flag is set to <code>true</code> if remote debugging is enabled for the device.</p>",
|
||||
"DevicePoolCompatibilityResult$compatible": "<p>Whether the result was compatible with the device pool.</p>",
|
||||
|
@ -206,7 +211,8 @@
|
|||
"Radios$bluetooth": "<p>True if Bluetooth is enabled at the beginning of the test; otherwise, false.</p>",
|
||||
"Radios$nfc": "<p>True if NFC is enabled at the beginning of the test; otherwise, false.</p>",
|
||||
"Radios$gps": "<p>True if GPS is enabled at the beginning of the test; otherwise, false.</p>",
|
||||
"RemoteAccessSession$remoteDebugEnabled": "<p>This flag is set to <code>true</code> if remote debugging is enabled for the remote access session.</p>"
|
||||
"RemoteAccessSession$remoteDebugEnabled": "<p>This flag is set to <code>true</code> if remote debugging is enabled for the remote access session.</p>",
|
||||
"RemoteAccessSession$remoteRecordEnabled": "<p>This flag is set to <code>true</code> if remote recording is enabled for the remote access session.</p>"
|
||||
}
|
||||
},
|
||||
"CPU": {
|
||||
|
@ -218,7 +224,7 @@
|
|||
"ClientId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateRemoteAccessSessionRequest$clientId": "<p>Unique identifier for the client. If you want access to multiple devices on the same client, you should pass the same <code>clientId</code> value in each call to <code>CreateRemoteAccessSession</code>. This is required only if <code>remoteDebugEnabled</code> is set to true <code>true</code>.</p>",
|
||||
"CreateRemoteAccessSessionRequest$clientId": "<p>Unique identifier for the client. If you want access to multiple devices on the same client, you should pass the same <code>clientId</code> value in each call to <code>CreateRemoteAccessSession</code>. This is required only if <code>remoteDebugEnabled</code> is set to <code>true</code>.</p>",
|
||||
"RemoteAccessSession$clientId": "<p>Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -716,7 +722,16 @@
|
|||
"Resolution$width": "<p>The screen resolution's width, expressed in pixels.</p>",
|
||||
"Resolution$height": "<p>The screen resolution's height, expressed in pixels.</p>",
|
||||
"Run$totalJobs": "<p>The total number of jobs for the run.</p>",
|
||||
"Run$completedJobs": "<p>The total number of completed jobs.</p>"
|
||||
"Run$completedJobs": "<p>The total number of completed jobs.</p>",
|
||||
"Run$seed": "<p>For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences.</p>",
|
||||
"Run$eventCount": "<p>For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.</p>"
|
||||
}
|
||||
},
|
||||
"InteractionMode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateRemoteAccessSessionRequest$interactionMode": "<p>The interaction mode of the remote access session. Valid values are:</p> <ul> <li> <p>INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You <b>cannot</b> run XCUITest framework-based tests in this mode.</p> </li> <li> <p>NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You <b>can</b> run XCUITest framework-based tests in this mode.</p> </li> <li> <p>VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You <b>can</b> run XCUITest framework-based tests and watch the screen in this mode.</p> </li> </ul>",
|
||||
"RemoteAccessSession$interactionMode": "<p>The interaction mode of the remote access session. Valid values are:</p> <ul> <li> <p>INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You <b>cannot</b> run XCUITest framework-based tests in this mode.</p> </li> <li> <p>NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You <b>can</b> run XCUITest framework-based tests in this mode.</p> </li> <li> <p>VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You <b>can</b> run XCUITest framework-based tests and watch the screen in this mode.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"IosPaths": {
|
||||
|
@ -740,6 +755,7 @@
|
|||
"CreateProjectRequest$defaultJobTimeoutMinutes": "<p>Sets the execution timeout value (in minutes) for a project. All test runs in this project will use the specified execution timeout value unless overridden when scheduling a run.</p>",
|
||||
"ExecutionConfiguration$jobTimeoutMinutes": "<p>The number of minutes a test run will execute before it times out.</p>",
|
||||
"Project$defaultJobTimeoutMinutes": "<p>The default number of minutes (at the project level) a test run will execute before it times out. Default value is 60 minutes.</p>",
|
||||
"Run$jobTimeoutMinutes": "<p>The number of minutes the job will execute before it times out.</p>",
|
||||
"UpdateProjectRequest$defaultJobTimeoutMinutes": "<p>The number of minutes a test run in the project will execute before it times out.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -917,6 +933,7 @@
|
|||
"Location": {
|
||||
"base": "<p>Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example 47.6204, -122.3491).</p> <p>Elevation is currently not supported.</p>",
|
||||
"refs": {
|
||||
"Run$location": "<p>Information about the location that is used for the run.</p>",
|
||||
"ScheduleRunConfiguration$location": "<p>Information about the location that is used for the run.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -1241,6 +1258,7 @@
|
|||
"Radios": {
|
||||
"base": "<p>Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.</p>",
|
||||
"refs": {
|
||||
"Run$radios": "<p>Information about the radio states for the run.</p>",
|
||||
"ScheduleRunConfiguration$radios": "<p>Information about the radio states for the run.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -1409,6 +1427,7 @@
|
|||
"CPU$architecture": "<p>The CPU's architecture, for example x86 or ARM.</p>",
|
||||
"Device$manufacturer": "<p>The device's manufacturer name.</p>",
|
||||
"Device$model": "<p>The device's model name.</p>",
|
||||
"Device$modelId": "<p>The device's model ID.</p>",
|
||||
"Device$os": "<p>The device's operating system type.</p>",
|
||||
"Device$image": "<p>The device's image name.</p>",
|
||||
"Device$carrier": "<p>The device's carrier.</p>",
|
||||
|
@ -1422,6 +1441,8 @@
|
|||
"RemoteAccessSession$deviceUdid": "<p>Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.</p>",
|
||||
"Rule$value": "<p>The rule's value.</p>",
|
||||
"Run$parsingResultUrl": "<p>Read-only URL for an object in S3 bucket where you can get the parsing results of the test package. If the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points to.</p>",
|
||||
"Run$locale": "<p>Information about the locale that is used for the run.</p>",
|
||||
"Run$webUrl": "<p>A pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the symbol file for the run.</p>",
|
||||
"ScheduleRunConfiguration$locale": "<p>Information about the locale that is used for the run.</p>",
|
||||
"TestParameters$key": null,
|
||||
"TestParameters$value": null
|
||||
|
|
1
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/api-2.json
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/api-2.json
generated
vendored
|
@ -6,6 +6,7 @@
|
|||
"jsonVersion":"1.1",
|
||||
"protocol":"json",
|
||||
"serviceFullName":"AWS Application Discovery Service",
|
||||
"serviceId":"Application Discovery Service",
|
||||
"signatureVersion":"v4",
|
||||
"targetPrefix":"AWSPoseidonService_V2015_11_01",
|
||||
"uid":"discovery-2015-11-01"
|
||||
|
|
2
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/docs-2.json
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/models/apis/discovery/2015-11-01/docs-2.json
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<fullname>AWS Application Discovery Service</fullname> <p>AWS Application Discovery Service helps you plan application migration projects by automatically identifying servers, virtual machines (VMs), software, and software dependencies running in your on-premises data centers. Application Discovery Service also collects application performance data, which can help you assess the outcome of your migration. The data collected by Application Discovery Service is securely retained in an Amazon-hosted and managed database in the cloud. You can export the data as a CSV or XML file into your preferred visualization tool or cloud-migration solution to plan your migration. For more information, see the Application Discovery Service <a href=\"http://aws.amazon.com/application-discovery/faqs/\">FAQ</a>.</p> <p>Application Discovery Service offers two modes of operation.</p> <ul> <li> <p> <b>Agentless discovery</b> mode is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. Agentless discovery gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment. Agentless discovery doesn't collect information about software and software dependencies. It also doesn't work in non-VMware environments. We recommend that you use agent-based discovery for non-VMware environments and if you want to collect information about software and software dependencies. You can also run agent-based and agentless discovery simultaneously. Use agentless discovery to quickly complete the initial infrastructure assessment and then install agents on select hosts to gather information about software and software dependencies.</p> </li> <li> <p> <b>Agent-based discovery</b> mode collects a richer set of data than agentless discovery by using Amazon software, the AWS Application Discovery Agent, which you install on one or more hosts in your data center. The agent captures infrastructure and application information, including an inventory of installed software applications, system and process performance, resource utilization, and network dependencies between workloads. The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the cloud. </p> </li> </ul> <p>Application Discovery Service integrates with application discovery solutions from AWS Partner Network (APN) partners. Third-party application discovery tools can query Application Discovery Service and write to the Application Discovery Service database using a public API. You can then import the data into either a visualization tool or cloud-migration solution.</p> <important> <p>Application Discovery Service doesn't gather sensitive information. All data is handled according to the <a href=\"http://aws.amazon.com/privacy/\">AWS Privacy Policy</a>. You can operate Application Discovery Service using offline mode to inspect collected data before it is shared with the service.</p> </important> <p>Your AWS account must be granted access to Application Discovery Service, a process called <i>whitelisting</i>. This is true for AWS partners and customers alike. To request access, <a href=\"http://aws.amazon.com/application-discovery/how-to-start/\"> sign up for AWS Application Discovery Service</a>.</p> <p>This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p> <p>This guide is intended for use with the <a href=\"http://docs.aws.amazon.com/application-discovery/latest/userguide/\"> <i>AWS Application Discovery Service User Guide</i> </a>.</p>",
|
||||
"service": "<fullname>AWS Application Discovery Service</fullname> <p>AWS Application Discovery Service helps you plan application migration projects by automatically identifying servers, virtual machines (VMs), software, and software dependencies running in your on-premises data centers. Application Discovery Service also collects application performance data, which can help you assess the outcome of your migration. The data collected by Application Discovery Service is securely retained in an AWS-hosted and managed database in the cloud. You can export the data as a CSV or XML file into your preferred visualization tool or cloud-migration solution to plan your migration. For more information, see <a href=\"http://aws.amazon.com/application-discovery/faqs/\">AWS Application Discovery Service FAQ</a>.</p> <p>Application Discovery Service offers two modes of operation:</p> <ul> <li> <p> <b>Agentless discovery</b> mode is recommended for environments that use VMware vCenter Server. This mode doesn't require you to install an agent on each host. Agentless discovery gathers server information regardless of the operating systems, which minimizes the time required for initial on-premises infrastructure assessment. Agentless discovery doesn't collect information about software and software dependencies. It also doesn't work in non-VMware environments. </p> </li> <li> <p> <b>Agent-based discovery</b> mode collects a richer set of data than agentless discovery by using the AWS Application Discovery Agent, which you install on one or more hosts in your data center. The agent captures infrastructure and application information, including an inventory of installed software applications, system and process performance, resource utilization, and network dependencies between workloads. The information collected by agents is secured at rest and in transit to the Application Discovery Service database in the cloud. </p> </li> </ul> <p>We recommend that you use agent-based discovery for non-VMware environments and to collect information about software and software dependencies. You can also run agent-based and agentless discovery simultaneously. Use agentless discovery to quickly complete the initial infrastructure assessment and then install agents on select hosts.</p> <p>Application Discovery Service integrates with application discovery solutions from AWS Partner Network (APN) partners. Third-party application discovery tools can query Application Discovery Service and write to the Application Discovery Service database using a public API. You can then import the data into either a visualization tool or cloud-migration solution.</p> <important> <p>Application Discovery Service doesn't gather sensitive information. All data is handled according to the <a href=\"http://aws.amazon.com/privacy/\">AWS Privacy Policy</a>. You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.</p> </important> <p>Your AWS account must be granted access to Application Discovery Service, a process called <i>whitelisting</i>. This is true for AWS partners and customers alike. To request access, <a href=\"http://aws.amazon.com/application-discovery/\">sign up for Application Discovery Service</a>. </p> <p>This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p> <p>This guide is intended for use with the <a href=\"http://docs.aws.amazon.com/application-discovery/latest/userguide/\"> <i>AWS Application Discovery Service User Guide</i> </a>.</p>",
|
||||
"operations": {
|
||||
"AssociateConfigurationItemsToApplication": "<p>Associates one or more configuration items with an application.</p>",
|
||||
"CreateApplication": "<p>Creates an application with the given name and description.</p>",
|
||||
|
|
72
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/api-2.json
generated
vendored
72
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/api-2.json
generated
vendored
|
@ -296,6 +296,19 @@
|
|||
{"shape":"ResourceNotFoundFault"}
|
||||
]
|
||||
},
|
||||
"DescribeReplicationInstanceTaskLogs":{
|
||||
"name":"DescribeReplicationInstanceTaskLogs",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeReplicationInstanceTaskLogsMessage"},
|
||||
"output":{"shape":"DescribeReplicationInstanceTaskLogsResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundFault"},
|
||||
{"shape":"InvalidResourceStateFault"}
|
||||
]
|
||||
},
|
||||
"DescribeReplicationInstances":{
|
||||
"name":"DescribeReplicationInstances",
|
||||
"http":{
|
||||
|
@ -380,7 +393,8 @@
|
|||
"output":{"shape":"ImportCertificateResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceAlreadyExistsFault"},
|
||||
{"shape":"InvalidCertificateFault"}
|
||||
{"shape":"InvalidCertificateFault"},
|
||||
{"shape":"ResourceQuotaExceededFault"}
|
||||
]
|
||||
},
|
||||
"ListTagsForResource":{
|
||||
|
@ -475,6 +489,19 @@
|
|||
{"shape":"KMSKeyNotAccessibleFault"}
|
||||
]
|
||||
},
|
||||
"RebootReplicationInstance":{
|
||||
"name":"RebootReplicationInstance",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"RebootReplicationInstanceMessage"},
|
||||
"output":{"shape":"RebootReplicationInstanceResponse"},
|
||||
"errors":[
|
||||
{"shape":"ResourceNotFoundFault"},
|
||||
{"shape":"InvalidResourceStateFault"}
|
||||
]
|
||||
},
|
||||
"RefreshSchemas":{
|
||||
"name":"RefreshSchemas",
|
||||
"http":{
|
||||
|
@ -1026,6 +1053,23 @@
|
|||
"RefreshSchemasStatus":{"shape":"RefreshSchemasStatus"}
|
||||
}
|
||||
},
|
||||
"DescribeReplicationInstanceTaskLogsMessage":{
|
||||
"type":"structure",
|
||||
"required":["ReplicationInstanceArn"],
|
||||
"members":{
|
||||
"ReplicationInstanceArn":{"shape":"String"},
|
||||
"MaxRecords":{"shape":"IntegerOptional"},
|
||||
"Marker":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"DescribeReplicationInstanceTaskLogsResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ReplicationInstanceArn":{"shape":"String"},
|
||||
"ReplicationInstanceTaskLogs":{"shape":"ReplicationInstanceTaskLogsList"},
|
||||
"Marker":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"DescribeReplicationInstancesMessage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1451,6 +1495,20 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"OrderableReplicationInstance"}
|
||||
},
|
||||
"RebootReplicationInstanceMessage":{
|
||||
"type":"structure",
|
||||
"required":["ReplicationInstanceArn"],
|
||||
"members":{
|
||||
"ReplicationInstanceArn":{"shape":"String"},
|
||||
"ForceFailover":{"shape":"BooleanOptional"}
|
||||
}
|
||||
},
|
||||
"RebootReplicationInstanceResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ReplicationInstance":{"shape":"ReplicationInstance"}
|
||||
}
|
||||
},
|
||||
"RefreshSchemasMessage":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1570,6 +1628,18 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"String"}
|
||||
},
|
||||
"ReplicationInstanceTaskLog":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ReplicationTaskName":{"shape":"String"},
|
||||
"ReplicationTaskArn":{"shape":"String"},
|
||||
"ReplicationInstanceTaskLogSize":{"shape":"Long"}
|
||||
}
|
||||
},
|
||||
"ReplicationInstanceTaskLogsList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ReplicationInstanceTaskLog"}
|
||||
},
|
||||
"ReplicationPendingModifiedValues":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
|
53
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/docs-2.json
generated
vendored
53
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/docs-2.json
generated
vendored
|
@ -24,6 +24,7 @@
|
|||
"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>",
|
||||
"DescribeReplicationInstanceTaskLogs": "<p>Returns information about the task logs for the specified task.</p>",
|
||||
"DescribeReplicationInstances": "<p>Returns information about replication instances for your account in the current region.</p>",
|
||||
"DescribeReplicationSubnetGroups": "<p>Returns information about the replication subnet groups.</p>",
|
||||
"DescribeReplicationTaskAssessmentResults": "<p>Returns the task assessment results from Amazon S3. This action always returns the latest results.</p>",
|
||||
|
@ -37,6 +38,7 @@
|
|||
"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> <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>",
|
||||
"RebootReplicationInstance": "<p>Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.</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>",
|
||||
|
@ -113,6 +115,7 @@
|
|||
"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>",
|
||||
"RebootReplicationInstanceMessage$ForceFailover": "<p>If this parameter is <code>true</code>, the reboot is conducted through a Multi-AZ failover. (If the instance isn't configured for Multi-AZ, then you can't specify <code>true</code>.)</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>"
|
||||
}
|
||||
},
|
||||
|
@ -366,6 +369,16 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeReplicationInstanceTaskLogsMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeReplicationInstanceTaskLogsResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeReplicationInstancesMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -599,6 +612,7 @@
|
|||
"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>",
|
||||
"DescribeReplicationInstanceTaskLogsMessage$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>",
|
||||
"DescribeReplicationTaskAssessmentResultsMessage$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>",
|
||||
|
@ -653,6 +667,7 @@
|
|||
"refs": {
|
||||
"AccountQuota$Used": "<p>The amount currently used toward the quota maximum.</p>",
|
||||
"AccountQuota$Max": "<p>The maximum allowed value for the quota.</p>",
|
||||
"ReplicationInstanceTaskLog$ReplicationInstanceTaskLogSize": "<p>The size, in bytes, of the replication task log.</p>",
|
||||
"ReplicationTaskStats$ElapsedTimeMillis": "<p>The elapsed time of the task, in milliseconds.</p>",
|
||||
"TableStatistics$Inserts": "<p>The number of insert actions performed on a table.</p>",
|
||||
"TableStatistics$Deletes": "<p>The number of delete actions performed on a table.</p>",
|
||||
|
@ -750,6 +765,16 @@
|
|||
"DescribeOrderableReplicationInstancesResponse$OrderableReplicationInstances": "<p>The order-able replication instances available.</p>"
|
||||
}
|
||||
},
|
||||
"RebootReplicationInstanceMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"RebootReplicationInstanceResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"RefreshSchemasMessage": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -808,6 +833,7 @@
|
|||
"CreateReplicationInstanceResponse$ReplicationInstance": "<p>The replication instance that was created.</p>",
|
||||
"DeleteReplicationInstanceResponse$ReplicationInstance": "<p>The replication instance that was deleted.</p>",
|
||||
"ModifyReplicationInstanceResponse$ReplicationInstance": "<p>The modified replication instance.</p>",
|
||||
"RebootReplicationInstanceResponse$ReplicationInstance": "<p>The replication instance that is being rebooted. </p>",
|
||||
"ReplicationInstanceList$member": null
|
||||
}
|
||||
},
|
||||
|
@ -829,6 +855,18 @@
|
|||
"ReplicationInstance$ReplicationInstancePublicIpAddresses": "<p>The public IP address of the replication instance.</p>"
|
||||
}
|
||||
},
|
||||
"ReplicationInstanceTaskLog": {
|
||||
"base": "<p>Contains metadata for a replication instance task log.</p>",
|
||||
"refs": {
|
||||
"ReplicationInstanceTaskLogsList$member": null
|
||||
}
|
||||
},
|
||||
"ReplicationInstanceTaskLogsList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeReplicationInstanceTaskLogsResponse$ReplicationInstanceTaskLogs": "<p>An array of replication task log metadata. Each member of the array contains the replication task name, ARN, and task log size (in bytes).</p>"
|
||||
}
|
||||
},
|
||||
"ReplicationPendingModifiedValues": {
|
||||
"base": "<p/>",
|
||||
"refs": {
|
||||
|
@ -1011,7 +1049,7 @@
|
|||
"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, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, 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>",
|
||||
|
@ -1060,6 +1098,10 @@
|
|||
"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>",
|
||||
"DescribeReplicationInstanceTaskLogsMessage$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
"DescribeReplicationInstanceTaskLogsMessage$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>",
|
||||
"DescribeReplicationInstanceTaskLogsResponse$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
"DescribeReplicationInstanceTaskLogsResponse$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>",
|
||||
"DescribeReplicationInstancesMessage$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>",
|
||||
"DescribeReplicationInstancesResponse$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>",
|
||||
"DescribeReplicationSubnetGroupsMessage$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>",
|
||||
|
@ -1079,7 +1121,7 @@
|
|||
"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, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, 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>",
|
||||
|
@ -1107,7 +1149,7 @@
|
|||
"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, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, DYNAMODB, MONGODB, 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, sybase, dynamodb, mongodb, 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>",
|
||||
|
@ -1136,6 +1178,7 @@
|
|||
"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>",
|
||||
"RebootReplicationInstanceMessage$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
"RefreshSchemasMessage$EndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
"RefreshSchemasMessage$ReplicationInstanceArn": "<p>The Amazon Resource Name (ARN) of the replication instance.</p>",
|
||||
"RefreshSchemasStatus$EndpointArn": "<p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p>",
|
||||
|
@ -1157,6 +1200,8 @@
|
|||
"ReplicationInstance$SecondaryAvailabilityZone": "<p>The availability zone of the standby replication instance in a Multi-AZ deployment.</p>",
|
||||
"ReplicationInstancePrivateIpAddressList$member": null,
|
||||
"ReplicationInstancePublicIpAddressList$member": null,
|
||||
"ReplicationInstanceTaskLog$ReplicationTaskName": "<p>The name of the replication task.</p>",
|
||||
"ReplicationInstanceTaskLog$ReplicationTaskArn": "<p>The Amazon Resource Name (ARN) of the replication task.</p>",
|
||||
"ReplicationPendingModifiedValues$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>",
|
||||
"ReplicationPendingModifiedValues$EngineVersion": "<p>The engine version number of the replication instance.</p>",
|
||||
"ReplicationSubnetGroup$ReplicationSubnetGroupIdentifier": "<p>The identifier of the replication instance subnet group.</p>",
|
||||
|
@ -1193,7 +1238,7 @@
|
|||
"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, depending on the EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, 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 tables described.</p> <p>Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table all | Table updates | Table is being reloaded</p>",
|
||||
|
|
5
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/paginators-1.json
generated
vendored
5
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/paginators-1.json
generated
vendored
|
@ -35,6 +35,11 @@
|
|||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeReplicationInstanceTaskLogs": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
"limit_key": "MaxRecords"
|
||||
},
|
||||
"DescribeReplicationInstances": {
|
||||
"input_token": "Marker",
|
||||
"output_token": "Marker",
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/smoke.json
generated
vendored
Normal file
18
vendor/github.com/aws/aws-sdk-go/models/apis/dms/2016-01-01/smoke.json
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "DescribeEndpoints",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "DescribeTableStatistics",
|
||||
"input": {
|
||||
"ReplicationTaskArn": "arn:aws:acm:region:123456789012"
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
7
vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/api-2.json
generated
vendored
7
vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/api-2.json
generated
vendored
|
@ -7,6 +7,7 @@
|
|||
"protocol":"json",
|
||||
"serviceAbbreviation":"Directory Service",
|
||||
"serviceFullName":"AWS Directory Service",
|
||||
"serviceId":"Directory Service",
|
||||
"signatureVersion":"v4",
|
||||
"targetPrefix":"DirectoryService_20150416",
|
||||
"uid":"ds-2015-04-16"
|
||||
|
@ -1784,7 +1785,7 @@
|
|||
},
|
||||
"SecurityGroupId":{
|
||||
"type":"string",
|
||||
"pattern":"^(sg-[0-9a-f]{8})$"
|
||||
"pattern":"^(sg-[0-9a-f]{8}|sg-[0-9a-f]{17})$"
|
||||
},
|
||||
"Server":{
|
||||
"type":"string",
|
||||
|
@ -1892,7 +1893,7 @@
|
|||
"StateLastUpdatedDateTime":{"type":"timestamp"},
|
||||
"SubnetId":{
|
||||
"type":"string",
|
||||
"pattern":"^(subnet-[0-9a-f]{8})$"
|
||||
"pattern":"^(subnet-[0-9a-f]{8}|subnet-[0-9a-f]{17})$"
|
||||
},
|
||||
"SubnetIds":{
|
||||
"type":"list",
|
||||
|
@ -2096,7 +2097,7 @@
|
|||
},
|
||||
"VpcId":{
|
||||
"type":"string",
|
||||
"pattern":"^(vpc-[0-9a-f]{8})$"
|
||||
"pattern":"^(vpc-[0-9a-f]{8}|vpc-[0-9a-f]{17})$"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
20
vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/smoke.json
generated
vendored
Normal file
20
vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/smoke.json
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "DescribeDirectories",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "CreateDirectory",
|
||||
"input": {
|
||||
"Name": "",
|
||||
"Password": "",
|
||||
"Size": ""
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
35
vendor/github.com/aws/aws-sdk-go/models/apis/dynamodb/2012-08-10/api-2.json
generated
vendored
35
vendor/github.com/aws/aws-sdk-go/models/apis/dynamodb/2012-08-10/api-2.json
generated
vendored
|
@ -536,7 +536,8 @@
|
|||
"BackupName":{
|
||||
"type":"string",
|
||||
"max":255,
|
||||
"min":3
|
||||
"min":3,
|
||||
"pattern":"[a-zA-Z0-9_.-]+"
|
||||
},
|
||||
"BackupNotFoundException":{
|
||||
"type":"structure",
|
||||
|
@ -793,7 +794,8 @@
|
|||
"LocalSecondaryIndexes":{"shape":"LocalSecondaryIndexList"},
|
||||
"GlobalSecondaryIndexes":{"shape":"GlobalSecondaryIndexList"},
|
||||
"ProvisionedThroughput":{"shape":"ProvisionedThroughput"},
|
||||
"StreamSpecification":{"shape":"StreamSpecification"}
|
||||
"StreamSpecification":{"shape":"StreamSpecification"},
|
||||
"SSESpecification":{"shape":"SSESpecification"}
|
||||
}
|
||||
},
|
||||
"CreateTableOutput":{
|
||||
|
@ -1631,6 +1633,29 @@
|
|||
"UPDATED_NEW"
|
||||
]
|
||||
},
|
||||
"SSEDescription":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Status":{"shape":"SSEStatus"}
|
||||
}
|
||||
},
|
||||
"SSEEnabled":{"type":"boolean"},
|
||||
"SSESpecification":{
|
||||
"type":"structure",
|
||||
"required":["Enabled"],
|
||||
"members":{
|
||||
"Enabled":{"shape":"SSEEnabled"}
|
||||
}
|
||||
},
|
||||
"SSEStatus":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"ENABLING",
|
||||
"ENABLED",
|
||||
"DISABLING",
|
||||
"DISABLED"
|
||||
]
|
||||
},
|
||||
"ScalarAttributeType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
|
@ -1721,7 +1746,8 @@
|
|||
"LocalSecondaryIndexes":{"shape":"LocalSecondaryIndexes"},
|
||||
"GlobalSecondaryIndexes":{"shape":"GlobalSecondaryIndexes"},
|
||||
"StreamDescription":{"shape":"StreamSpecification"},
|
||||
"TimeToLiveDescription":{"shape":"TimeToLiveDescription"}
|
||||
"TimeToLiveDescription":{"shape":"TimeToLiveDescription"},
|
||||
"SSEDescription":{"shape":"SSEDescription"}
|
||||
}
|
||||
},
|
||||
"StreamArn":{
|
||||
|
@ -1779,7 +1805,8 @@
|
|||
"StreamSpecification":{"shape":"StreamSpecification"},
|
||||
"LatestStreamLabel":{"shape":"String"},
|
||||
"LatestStreamArn":{"shape":"StreamArn"},
|
||||
"RestoreSummary":{"shape":"RestoreSummary"}
|
||||
"RestoreSummary":{"shape":"RestoreSummary"},
|
||||
"SSEDescription":{"shape":"SSEDescription"}
|
||||
}
|
||||
},
|
||||
"TableId":{
|
||||
|
|
41
vendor/github.com/aws/aws-sdk-go/models/apis/dynamodb/2012-08-10/docs-2.json
generated
vendored
41
vendor/github.com/aws/aws-sdk-go/models/apis/dynamodb/2012-08-10/docs-2.json
generated
vendored
|
@ -4,7 +4,7 @@
|
|||
"operations": {
|
||||
"BatchGetItem": "<p>The <code>BatchGetItem</code> operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key.</p> <p>A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. <code>BatchGetItem</code> will return a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for <code>UnprocessedKeys</code>. You can use this value to retry the operation starting with the next item to get.</p> <important> <p>If you request more than 100 items <code>BatchGetItem</code> will return a <code>ValidationException</code> with the message \"Too many items requested for the BatchGetItem call\".</p> </important> <p>For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate <code>UnprocessedKeys</code> value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one data set.</p> <p>If <i>none</i> of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then <code>BatchGetItem</code> will return a <code>ProvisionedThroughputExceededException</code>. If <i>at least one</i> of the items is successfully processed, then <code>BatchGetItem</code> completes successfully, while returning the keys of the unread items in <code>UnprocessedKeys</code>.</p> <important> <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, <i>we strongly recommend that you use an exponential backoff algorithm</i>. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations\">Batch Operations and Error Handling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </important> <p>By default, <code>BatchGetItem</code> performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set <code>ConsistentRead</code> to <code>true</code> for any or all tables.</p> <p>In order to minimize response latency, <code>BatchGetItem</code> retrieves items in parallel.</p> <p>When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the <code>ProjectionExpression</code> parameter.</p> <p>If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#CapacityUnitCalculations\">Capacity Units Calculations</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
|
||||
"BatchWriteItem": "<p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or more tables. A single call to <code>BatchWriteItem</code> can write up to 16 MB of data, which can comprise as many as 25 put or delete requests. Individual items to be written can be as large as 400 KB.</p> <note> <p> <code>BatchWriteItem</code> cannot update items. To update items, use the <code>UpdateItem</code> action.</p> </note> <p>The individual <code>PutItem</code> and <code>DeleteItem</code> operations specified in <code>BatchWriteItem</code> are atomic; however <code>BatchWriteItem</code> as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the <code>UnprocessedItems</code> response parameter. You can investigate and optionally resend the requests. Typically, you would call <code>BatchWriteItem</code> in a loop. Each iteration would check for unprocessed items and submit a new <code>BatchWriteItem</code> request with those unprocessed items until all items have been processed.</p> <p>Note that if <i>none</i> of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then <code>BatchWriteItem</code> will return a <code>ProvisionedThroughputExceededException</code>.</p> <important> <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, <i>we strongly recommend that you use an exponential backoff algorithm</i>. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations\">Batch Operations and Error Handling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </important> <p>With <code>BatchWriteItem</code>, you can efficiently write or delete large amounts of data, such as from Amazon Elastic MapReduce (EMR), or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, <code>BatchWriteItem</code> does not behave in the same way as individual <code>PutItem</code> and <code>DeleteItem</code> calls would. For example, you cannot specify conditions on individual put and delete requests, and <code>BatchWriteItem</code> does not return deleted items in the response.</p> <p>If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, <code>BatchWriteItem</code> performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application.</p> <p>Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.</p> <p>If one or more of the following is true, DynamoDB rejects the entire batch write operation:</p> <ul> <li> <p>One or more tables specified in the <code>BatchWriteItem</code> request does not exist.</p> </li> <li> <p>Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema.</p> </li> <li> <p>You try to perform multiple operations on the same item in the same <code>BatchWriteItem</code> request. For example, you cannot put and delete the same item in the same <code>BatchWriteItem</code> request. </p> </li> <li> <p>There are more than 25 requests in the batch.</p> </li> <li> <p>Any individual item in a batch exceeds 400 KB.</p> </li> <li> <p>The total request size exceeds 16 MB.</p> </li> </ul>",
|
||||
"CreateBackup": "<p>Creates a backup for an existing table.</p> <p> Each time you create an On-Demand Backup, the entire table data is backed up. There is no limit to the number of on-demand backups that can be taken. </p> <p>You can call <code>CreateBackup</code> at a maximum rate of 50 times per second.</p> <p>All backups in DynamoDB work without consuming any provisioned throughput on the table. This results in a fast, low-cost, and scalable backup process. In general, the larger the table, the more time it takes to back up. The backup is stored in an S3 data store that is maintained and managed by DynamoDB.</p> <p>Backups incorporate all writes (delete, put, update) that were completed within the last minute before the backup request was initiated. Backups might include some writes (delete, put, update) that were completed before the backup request was finished.</p> <p> For example, if you submit the backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to contain all data committed to the table up to 14:24:00, and data committed after 14:26:00 will not be. The backup may or may not contain data modifications made between 14:24:00 and 14:26:00. On-Demand Backup does not support causal consistency. </p> <p> Along with data, the following are also included on the backups: </p> <ul> <li> <p>Global secondary indexes (GSIs)</p> </li> <li> <p>Local secondary indexes (LSIs)</p> </li> <li> <p>Streams</p> </li> <li> <p>Provisioned read and write capacity</p> </li> </ul>",
|
||||
"CreateBackup": "<p>Creates a backup for an existing table.</p> <p> Each time you create an On-Demand Backup, the entire table data is backed up. There is no limit to the number of on-demand backups that can be taken. </p> <p> When you create an On-Demand Backup, a time marker of the request is cataloged, and the backup is created asynchronously, by applying all changes until the time of the request to the last full table snapshot. Backup requests are processed instantaneously and become available for restore within minutes. </p> <p>You can call <code>CreateBackup</code> at a maximum rate of 50 times per second.</p> <p>All backups in DynamoDB work without consuming any provisioned throughput on the table.</p> <p> If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to contain all data committed to the table up to 14:24:00, and data committed after 14:26:00 will not be. The backup may or may not contain data modifications made between 14:24:00 and 14:26:00. On-Demand Backup does not support causal consistency. </p> <p> Along with data, the following are also included on the backups: </p> <ul> <li> <p>Global secondary indexes (GSIs)</p> </li> <li> <p>Local secondary indexes (LSIs)</p> </li> <li> <p>Streams</p> </li> <li> <p>Provisioned read and write capacity</p> </li> </ul>",
|
||||
"CreateGlobalTable": "<p>Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided regions. </p> <p> Tables can only be added as the replicas of a global table group under the following conditions: </p> <ul> <li> <p> The tables must have the same name. </p> </li> <li> <p> The tables must contain no items. </p> </li> <li> <p> The tables must have the same hash key and sort key (if present). </p> </li> <li> <p> The tables must have DynamoDB Streams enabled (NEW_AND_OLD_IMAGES). </p> </li> </ul>",
|
||||
"CreateTable": "<p>The <code>CreateTable</code> operation adds a new table to your account. In an AWS account, table names must be unique within each region. That is, you can have two tables with same name if you create the tables in different regions.</p> <p> <code>CreateTable</code> is an asynchronous operation. Upon receiving a <code>CreateTable</code> request, DynamoDB immediately returns a response with a <code>TableStatus</code> of <code>CREATING</code>. After the table is created, DynamoDB sets the <code>TableStatus</code> to <code>ACTIVE</code>. You can perform read and write operations only on an <code>ACTIVE</code> table. </p> <p>You can optionally define secondary indexes on the new table, as part of the <code>CreateTable</code> operation. If you want to create multiple tables with secondary indexes on them, you must create the tables sequentially. Only one table with secondary indexes can be in the <code>CREATING</code> state at any given time.</p> <p>You can use the <code>DescribeTable</code> action to check the table status.</p>",
|
||||
"DeleteBackup": "<p>Deletes an existing backup of a table.</p> <p>You can call <code>DeleteBackup</code> at a maximum rate of 10 times per second.</p>",
|
||||
|
@ -12,22 +12,22 @@
|
|||
"DeleteTable": "<p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a <code>DeleteTable</code> request, the specified table is in the <code>DELETING</code> state until DynamoDB completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete it. If a table is in <code>CREATING</code> or <code>UPDATING</code> states, then DynamoDB returns a <code>ResourceInUseException</code>. If the specified table does not exist, DynamoDB returns a <code>ResourceNotFoundException</code>. If table is already in the <code>DELETING</code> state, no error is returned. </p> <note> <p>DynamoDB might continue to accept data read and write operations, such as <code>GetItem</code> and <code>PutItem</code>, on a table in the <code>DELETING</code> state until the table deletion is complete.</p> </note> <p>When you delete a table, any indexes on that table are also deleted.</p> <p>If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the <code>DISABLED</code> state, and the stream is automatically deleted after 24 hours.</p> <p>Use the <code>DescribeTable</code> action to check the status of the table. </p>",
|
||||
"DescribeBackup": "<p>Describes an existing backup of a table.</p> <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per second.</p>",
|
||||
"DescribeContinuousBackups": "<p>Checks the status of the backup restore settings on the specified table. If backups are enabled, <code>ContinuousBackupsStatus</code> will bet set to ENABLED.</p> <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per second.</p>",
|
||||
"DescribeGlobalTable": "<p>Returns information about the global table.</p>",
|
||||
"DescribeGlobalTable": "<p>Returns information about the specified global table.</p>",
|
||||
"DescribeLimits": "<p>Returns the current provisioned-capacity limits for your AWS account in a region, both for the region as a whole and for any one DynamoDB table that you create there.</p> <p>When you establish an AWS account, the account has initial limits on the maximum read capacity units and write capacity units that you can provision across all of your DynamoDB tables in a given region. Also, there are per-table limits that apply when you create a table there. For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Limits</a> page in the <i>Amazon DynamoDB Developer Guide</i>.</p> <p>Although you can increase these limits by filing a case at <a href=\"https://console.aws.amazon.com/support/home#/\">AWS Support Center</a>, obtaining the increase is not instantaneous. The <code>DescribeLimits</code> action lets you write code to compare the capacity you are currently using to those limits imposed by your account so that you have enough time to apply for an increase before you hit a limit.</p> <p>For example, you could use one of the AWS SDKs to do the following:</p> <ol> <li> <p>Call <code>DescribeLimits</code> for a particular region to obtain your current account limits on provisioned capacity there.</p> </li> <li> <p>Create a variable to hold the aggregate read capacity units provisioned for all your tables in that region, and one to hold the aggregate write capacity units. Zero them both.</p> </li> <li> <p>Call <code>ListTables</code> to obtain a list of all your DynamoDB tables.</p> </li> <li> <p>For each table name listed by <code>ListTables</code>, do the following:</p> <ul> <li> <p>Call <code>DescribeTable</code> with the table name.</p> </li> <li> <p>Use the data returned by <code>DescribeTable</code> to add the read capacity units and write capacity units provisioned for the table itself to your variables.</p> </li> <li> <p>If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.</p> </li> </ul> </li> <li> <p>Report the account limits for that region returned by <code>DescribeLimits</code>, along with the total current provisioned capacity levels you have calculated.</p> </li> </ol> <p>This will let you see whether you are getting close to your account-level limits.</p> <p>The per-table limits apply only when you are creating a new table. They restrict the sum of the provisioned capacity of the new table itself and all its global secondary indexes.</p> <p>For existing tables and their GSIs, DynamoDB will not let you increase provisioned capacity extremely rapidly, but the only upper limit that applies is that the aggregate provisioned capacity over all your tables and GSIs cannot exceed either of the per-account limits.</p> <note> <p> <code>DescribeLimits</code> should only be called periodically. You can expect throttling errors if you call it more than once in a minute.</p> </note> <p>The <code>DescribeLimits</code> Request element has no content.</p>",
|
||||
"DescribeTable": "<p>Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.</p> <note> <p>If you issue a <code>DescribeTable</code> request immediately after a <code>CreateTable</code> request, DynamoDB might return a <code>ResourceNotFoundException</code>. This is because <code>DescribeTable</code> uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the <code>DescribeTable</code> request again.</p> </note>",
|
||||
"DescribeTimeToLive": "<p>Gives a description of the Time to Live (TTL) status on the specified table. </p>",
|
||||
"GetItem": "<p>The <code>GetItem</code> operation returns a set of attributes for the item with the given primary key. If there is no matching item, <code>GetItem</code> does not return any data and there will be no <code>Item</code> element in the response.</p> <p> <code>GetItem</code> provides an eventually consistent read by default. If your application requires a strongly consistent read, set <code>ConsistentRead</code> to <code>true</code>. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value.</p>",
|
||||
"ListBackups": "<p>List backups associated with an AWS account. To list backups for a given table, specify <code>TableName</code>. <code>ListBackups</code> returns a paginated list of results with at most 1MB worth of items in a page. You can also specify a limit for the maximum number of entries to be returned in a page. </p> <p>In the request, start time is inclusive but end time is exclusive. Note that these limits are for the time at which the original backup was requested.</p> <p>You can call <code>ListBackups</code> a maximum of 5 times per second.</p>",
|
||||
"ListGlobalTables": "<p>Lists all the global tables. Only those global tables that have replicas in the region specified as input are returned.</p>",
|
||||
"ListGlobalTables": "<p>Lists all global tables that have a replica in the specified region.</p>",
|
||||
"ListTables": "<p>Returns an array of table names associated with the current account and endpoint. The output from <code>ListTables</code> is paginated, with each page returning a maximum of 100 table names.</p>",
|
||||
"ListTagsOfResource": "<p>List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.</p> <p>For an overview on tagging DynamoDB resources, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
|
||||
"PutItem": "<p>Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the <code>ReturnValues</code> parameter.</p> <important> <p>This topic provides general information about the <code>PutItem</code> API.</p> <p>For information on how to call the <code>PutItem</code> API using the AWS SDK in specific languages, see the following:</p> <ul> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS Command Line Interface </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for .NET </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for C++ </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for Go </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for Java </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for JavaScript </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for PHP V3 </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for Python </a> </p> </li> <li> <p> <a href=\"http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for Ruby V2 </a> </p> </li> </ul> </important> <p>When you add an item, the primary key attribute(s) are the only required attributes. Attribute values cannot be null. String and Binary type attributes must have lengths greater than zero. Set type attributes cannot be empty. Requests with empty values will be rejected with a <code>ValidationException</code> exception.</p> <note> <p>To prevent a new item from replacing an existing item, use a conditional expression that contains the <code>attribute_not_exists</code> function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the <code>attribute_not_exists</code> function will only succeed if no matching item exists.</p> </note> <p>For more information about <code>PutItem</code>, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html\">Working with Items</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
|
||||
"Query": "<p>The <code>Query</code> operation finds items based on primary key values. You can query any table or secondary index that has a composite primary key (a partition key and a sort key). </p> <p>Use the <code>KeyConditionExpression</code> parameter to provide a specific value for the partition key. The <code>Query</code> operation will return all of the items from the table or index with that partition key value. You can optionally narrow the scope of the <code>Query</code> operation by specifying a sort key value and a comparison operator in <code>KeyConditionExpression</code>. To further refine the <code>Query</code> results, you can optionally provide a <code>FilterExpression</code>. A <code>FilterExpression</code> determines which items within the results should be returned to you. All of the other results are discarded. </p> <p> A <code>Query</code> operation always returns a result set. If no matching items are found, the result set will be empty. Queries that do not return results consume the minimum number of read capacity units for that type of read operation. </p> <note> <p> DynamoDB calculates the number of read capacity units consumed based on item size, not on the amount of data that is returned to an application. The number of capacity units consumed will be the same whether you request all of the attributes (the default behavior) or just some of them (using a projection expression). The number will also be the same whether or not you use a <code>FilterExpression</code>. </p> </note> <p> <code>Query</code> results are always sorted by the sort key value. If the data type of the sort key is Number, the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes. By default, the sort order is ascending. To reverse the order, set the <code>ScanIndexForward</code> parameter to false. </p> <p> A single <code>Query</code> operation will read up to the maximum number of items set (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any filtering to the results using <code>FilterExpression</code>. If <code>LastEvaluatedKey</code> is present in the response, you will need to paginate the result set. For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Pagination\">Paginating the Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p> <p> <code>FilterExpression</code> is applied after a <code>Query</code> finishes, but before the results are returned. A <code>FilterExpression</code> cannot contain partition key or sort key attributes. You need to specify those attributes in the <code>KeyConditionExpression</code>. </p> <note> <p> A <code>Query</code> operation can return an empty result set and a <code>LastEvaluatedKey</code> if all the items read for the page of results are filtered out. </p> </note> <p>You can query a table, a local secondary index, or a global secondary index. For a query on a table or on a local secondary index, you can set the <code>ConsistentRead</code> parameter to <code>true</code> and obtain a strongly consistent result. Global secondary indexes support eventually consistent reads only, so do not specify <code>ConsistentRead</code> when querying a global secondary index.</p>",
|
||||
"RestoreTableFromBackup": "<p>Creates a new table from an existing backup. Any number of users can execute up to 10 concurrent restores in a given account. </p> <p>You can call <code>RestoreTableFromBackup</code> at a maximum rate of 10 times per second.</p> <p>You must manually set up the following on the restored table:</p> <ul> <li> <p>Auto scaling policies</p> </li> <li> <p>IAM policies</p> </li> <li> <p>Cloudwatch metrics and alarms</p> </li> <li> <p>Tags</p> </li> <li> <p>Time to Live (TTL) settings</p> </li> </ul>",
|
||||
"RestoreTableFromBackup": "<p>Creates a new table from an existing backup. Any number of users can execute up to 10 concurrent restores in a given account. </p> <p>You can call <code>RestoreTableFromBackup</code> at a maximum rate of 10 times per second.</p> <p>You must manually set up the following on the restored table:</p> <ul> <li> <p>Auto scaling policies</p> </li> <li> <p>IAM policies</p> </li> <li> <p>Cloudwatch metrics and alarms</p> </li> <li> <p>Tags</p> </li> <li> <p>Stream settings</p> </li> <li> <p>Time to Live (TTL) settings</p> </li> </ul>",
|
||||
"Scan": "<p>The <code>Scan</code> operation returns one or more items and item attributes by accessing every item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a <code>FilterExpression</code> operation.</p> <p>If the total number of scanned items exceeds the maximum data set size limit of 1 MB, the scan stops and results are returned to the user as a <code>LastEvaluatedKey</code> value to continue the scan in a subsequent operation. The results also include the number of items exceeding the limit. A scan can result in no table data meeting the filter criteria. </p> <p>A single <code>Scan</code> operation will read up to the maximum number of items set (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any filtering to the results using <code>FilterExpression</code>. If <code>LastEvaluatedKey</code> is present in the response, you will need to paginate the result set. For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination\">Paginating the Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p> <p> <code>Scan</code> operations proceed sequentially; however, for faster performance on a large table or secondary index, applications can request a parallel <code>Scan</code> operation by providing the <code>Segment</code> and <code>TotalSegments</code> parameters. For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan\">Parallel Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> <p> <code>Scan</code> uses eventually consistent reads when accessing the data in a table; therefore, the result set might not include the changes to data in the table immediately before the operation began. If you need a consistent copy of the data, as of the time that the <code>Scan</code> begins, you can set the <code>ConsistentRead</code> parameter to <code>true</code>.</p>",
|
||||
"TagResource": "<p>Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to 5 times per second, per account. </p> <p>For an overview on tagging DynamoDB resources, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
|
||||
"UntagResource": "<p>Removes the association of tags from an Amazon DynamoDB resource. You can call UntagResource up to 5 times per second, per account. </p> <p>For an overview on tagging DynamoDB resources, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
|
||||
"UpdateGlobalTable": "<p>Adds or removes replicas to the specified global table. The global table should already exist to be able to use this operation. Currently, the replica to be added should be empty. </p>",
|
||||
"UpdateGlobalTable": "<p>Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, must have the same name as the global table, must have the same key schema, must have DynamoDB Streams enabled, and cannot have any local secondary indexes (LSIs).</p> <note> <p>Although you can use <code>UpdateGlobalTable</code> to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas.</p> </note>",
|
||||
"UpdateItem": "<p>Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).</p> <p>You can also return the item's attribute values in the same <code>UpdateItem</code> operation using the <code>ReturnValues</code> parameter.</p>",
|
||||
"UpdateTable": "<p>Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.</p> <p>You can only perform one of the following operations at once:</p> <ul> <li> <p>Modify the provisioned throughput settings of the table.</p> </li> <li> <p>Enable or disable Streams on the table.</p> </li> <li> <p>Remove a global secondary index from the table.</p> </li> <li> <p>Create a new global secondary index on the table. Once the index begins backfilling, you can use <code>UpdateTable</code> to perform other operations.</p> </li> </ul> <p> <code>UpdateTable</code> is an asynchronous operation; while it is executing, the table status changes from <code>ACTIVE</code> to <code>UPDATING</code>. While it is <code>UPDATING</code>, you cannot issue another <code>UpdateTable</code> request. When the table returns to the <code>ACTIVE</code> state, the <code>UpdateTable</code> operation is complete.</p>",
|
||||
"UpdateTimeToLive": "<p>The UpdateTimeToLive method will enable or disable TTL for the specified table. A successful <code>UpdateTimeToLive</code> call returns the current <code>TimeToLiveSpecification</code>; it may take up to one hour for the change to fully process. Any additional <code>UpdateTimeToLive</code> calls for the same table during this one hour duration result in a <code>ValidationException</code>. </p> <p>TTL compares the current time in epoch time format to the time stored in the TTL attribute of an item. If the epoch time value stored in the attribute is less than the current time, the item is marked as expired and subsequently deleted.</p> <note> <p> The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1st, 1970 UTC. </p> </note> <p>DynamoDB deletes expired items on a best-effort basis to ensure availability of throughput for other data operations. </p> <important> <p>DynamoDB typically deletes expired items within two days of expiration. The exact duration within which an item gets deleted after expiration is specific to the nature of the workload. Items that have expired and not been deleted will still show up in reads, queries, and scans.</p> </important> <p>As items are deleted, they are removed from any Local Secondary Index and Global Secondary Index immediately in the same eventually consistent way as a standard delete operation.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html\">Time To Live</a> in the Amazon DynamoDB Developer Guide. </p>"
|
||||
|
@ -99,7 +99,7 @@
|
|||
"refs": {
|
||||
"AttributeMap$value": null,
|
||||
"AttributeValueList$member": null,
|
||||
"AttributeValueUpdate$Value": "<p>Represents the data for an attribute.</p> <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes\">Data TYpes</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>",
|
||||
"AttributeValueUpdate$Value": "<p>Represents the data for an attribute.</p> <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes\">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>",
|
||||
"ExpectedAttributeValue$Value": "<p>Represents the data for the expected attribute.</p> <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes\">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
|
||||
"ExpressionAttributeValueMap$value": null,
|
||||
"ItemCollectionKeyAttributeMap$value": null,
|
||||
|
@ -830,7 +830,7 @@
|
|||
"KeyExpression": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"QueryInput$KeyConditionExpression": "<p>The condition that specifies the key value(s) for items to be retrieved by the <code>Query</code> action.</p> <p>The condition must perform an equality test on a single partition key value. The condition can also perform one of several comparison tests on a single sort key value. <code>Query</code> can use <code>KeyConditionExpression</code> to retrieve one item with a given partition key value and sort key value, or several items that have the same partition key value but different sort key values.</p> <p>The partition key equality test is required, and must be specified in the following format:</p> <p> <code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code> </p> <p>If you also want to provide a condition for the sort key, it must be combined using <code>AND</code> with the condition for the sort key. Following is an example, using the <b>=</b> comparison operator for the sort key:</p> <p> <code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> </p> <p>Valid comparisons for the sort key condition are as follows:</p> <ul> <li> <p> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code><</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code><=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code>></code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code>>= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code>BETWEEN</code> <code>:sortkeyval1</code> <code>AND</code> <code>:sortkeyval2</code> - true if the sort key value is greater than or equal to <code>:sortkeyval1</code>, and less than or equal to <code>:sortkeyval2</code>.</p> </li> <li> <p> <code>begins_with (</code> <code>sortKeyName</code>, <code>:sortkeyval</code> <code>)</code> - true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name <code>begins_with</code> is case-sensitive.</p> </li> </ul> <p>Use the <code>ExpressionAttributeValues</code> parameter to replace tokens such as <code>:partitionval</code> and <code>:sortval</code> with actual values at runtime.</p> <p>You can optionally use the <code>ExpressionAttributeNames</code> parameter to replace the names of the partition key and sort key with placeholder tokens. This option might be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, the following <code>KeyConditionExpression</code> parameter causes an error because <i>Size</i> is a reserved word:</p> <ul> <li> <p> <code>Size = :myval</code> </p> </li> </ul> <p>To work around this, define a placeholder (such a <code>#S</code>) to represent the attribute name <i>Size</i>. <code>KeyConditionExpression</code> then is as follows:</p> <ul> <li> <p> <code>#S = :myval</code> </p> </li> </ul> <p>For a list of reserved words, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> <p>For more information on <code>ExpressionAttributeNames</code> and <code>ExpressionAttributeValues</code>, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html\">Using Placeholders for Attribute Names and Values</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
|
||||
"QueryInput$KeyConditionExpression": "<p>The condition that specifies the key value(s) for items to be retrieved by the <code>Query</code> action.</p> <p>The condition must perform an equality test on a single partition key value.</p> <p>The condition can optionally perform one of several comparison tests on a single sort key value. This allows <code>Query</code> to retrieve one item with a given partition key value and sort key value, or several items that have the same partition key value but different sort key values.</p> <p>The partition key equality test is required, and must be specified in the following format:</p> <p> <code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code> </p> <p>If you also want to provide a condition for the sort key, it must be combined using <code>AND</code> with the condition for the sort key. Following is an example, using the <b>=</b> comparison operator for the sort key:</p> <p> <code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> </p> <p>Valid comparisons for the sort key condition are as follows:</p> <ul> <li> <p> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code><</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code><=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code>></code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code>>= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p> </li> <li> <p> <code>sortKeyName</code> <code>BETWEEN</code> <code>:sortkeyval1</code> <code>AND</code> <code>:sortkeyval2</code> - true if the sort key value is greater than or equal to <code>:sortkeyval1</code>, and less than or equal to <code>:sortkeyval2</code>.</p> </li> <li> <p> <code>begins_with (</code> <code>sortKeyName</code>, <code>:sortkeyval</code> <code>)</code> - true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name <code>begins_with</code> is case-sensitive.</p> </li> </ul> <p>Use the <code>ExpressionAttributeValues</code> parameter to replace tokens such as <code>:partitionval</code> and <code>:sortval</code> with actual values at runtime.</p> <p>You can optionally use the <code>ExpressionAttributeNames</code> parameter to replace the names of the partition key and sort key with placeholder tokens. This option might be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, the following <code>KeyConditionExpression</code> parameter causes an error because <i>Size</i> is a reserved word:</p> <ul> <li> <p> <code>Size = :myval</code> </p> </li> </ul> <p>To work around this, define a placeholder (such a <code>#S</code>) to represent the attribute name <i>Size</i>. <code>KeyConditionExpression</code> then is as follows:</p> <ul> <li> <p> <code>#S = :myval</code> </p> </li> </ul> <p>For a list of reserved words, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> <p>For more information on <code>ExpressionAttributeNames</code> and <code>ExpressionAttributeValues</code>, see <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html\">Using Placeholders for Attribute Names and Values</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
|
||||
}
|
||||
},
|
||||
"KeyList": {
|
||||
|
@ -880,7 +880,7 @@
|
|||
}
|
||||
},
|
||||
"LimitExceededException": {
|
||||
"base": "<p>The number of concurrent table requests (cumulative number of tables in the <code>CREATING</code>, <code>DELETING</code> or <code>UPDATING</code> state) exceeds the maximum allowed of 10.</p> <p>Also, for tables with secondary indexes, only one of those tables can be in the <code>CREATING</code> state at any point in time. Do not attempt to create more than one such table simultaneously.</p> <p>The total limit of tables in the <code>ACTIVE</code> state is 250.</p>",
|
||||
"base": "<p>Up to 50 <code>CreateBackup</code> operations are allowed per second, per account. There is no limit to the number of daily on-demand backups that can be taken. </p> <p>Up to 10 simultaneous table operations are allowed per account. These operations include <code>CreateTable</code>, <code>UpdateTable</code>, <code>DeleteTable</code>,<code>UpdateTimeToLive</code>, and <code>RestoreTableFromBackup</code>. </p> <p>For tables with secondary indexes, only one of those tables can be in the <code>CREATING</code> state at any point in time. Do not attempt to create more than one such table simultaneously.</p> <p>The total limit of tables in the <code>ACTIVE</code> state is 250.</p> <p>For tables with secondary indexes, only one of those tables can be in the <code>CREATING</code> state at any point in time. Do not attempt to create more than one such table simultaneously.</p> <p>The total limit of tables in the <code>ACTIVE</code> state is 250.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -1267,6 +1267,31 @@
|
|||
"UpdateItemInput$ReturnValues": "<p>Use <code>ReturnValues</code> if you want to get the item attributes as they appear before or after they are updated. For <code>UpdateItem</code>, the valid values are:</p> <ul> <li> <p> <code>NONE</code> - If <code>ReturnValues</code> is not specified, or if its value is <code>NONE</code>, then nothing is returned. (This setting is the default for <code>ReturnValues</code>.)</p> </li> <li> <p> <code>ALL_OLD</code> - Returns all of the attributes of the item, as they appeared before the UpdateItem operation.</p> </li> <li> <p> <code>UPDATED_OLD</code> - Returns only the updated attributes, as they appeared before the UpdateItem operation.</p> </li> <li> <p> <code>ALL_NEW</code> - Returns all of the attributes of the item, as they appear after the UpdateItem operation.</p> </li> <li> <p> <code>UPDATED_NEW</code> - Returns only the updated attributes, as they appear after the UpdateItem operation.</p> </li> </ul> <p>There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.</p> <p>The values returned are strongly consistent.</p>"
|
||||
}
|
||||
},
|
||||
"SSEDescription": {
|
||||
"base": "<p>The description of the server-side encryption status on the specified table.</p>",
|
||||
"refs": {
|
||||
"SourceTableFeatureDetails$SSEDescription": "<p>The description of the server-side encryption status on the table when the backup was created.</p>",
|
||||
"TableDescription$SSEDescription": "<p>The description of the server-side encryption status on the specified table.</p>"
|
||||
}
|
||||
},
|
||||
"SSEEnabled": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"SSESpecification$Enabled": "<p>Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.</p>"
|
||||
}
|
||||
},
|
||||
"SSESpecification": {
|
||||
"base": "<p>Represents the settings used to enable server-side encryption.</p>",
|
||||
"refs": {
|
||||
"CreateTableInput$SSESpecification": "<p>Represents the settings used to enable server-side encryption.</p>"
|
||||
}
|
||||
},
|
||||
"SSEStatus": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"SSEDescription$Status": "<p>The current state of server-side encryption:</p> <ul> <li> <p> <code>ENABLING</code> - Server-side encryption is being enabled.</p> </li> <li> <p> <code>ENABLED</code> - Server-side encryption is enabled.</p> </li> <li> <p> <code>DISABLING</code> - Server-side encryption is being disabled.</p> </li> <li> <p> <code>DISABLED</code> - Server-side encryption is disabled.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ScalarAttributeType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
|
99
vendor/github.com/aws/aws-sdk-go/models/apis/ec2/2016-11-15/api-2.json
generated
vendored
99
vendor/github.com/aws/aws-sdk-go/models/apis/ec2/2016-11-15/api-2.json
generated
vendored
|
@ -898,6 +898,15 @@
|
|||
"input":{"shape":"DescribeAddressesRequest"},
|
||||
"output":{"shape":"DescribeAddressesResult"}
|
||||
},
|
||||
"DescribeAggregateIdFormat":{
|
||||
"name":"DescribeAggregateIdFormat",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribeAggregateIdFormatRequest"},
|
||||
"output":{"shape":"DescribeAggregateIdFormatResult"}
|
||||
},
|
||||
"DescribeAvailabilityZones":{
|
||||
"name":"DescribeAvailabilityZones",
|
||||
"http":{
|
||||
|
@ -1240,6 +1249,15 @@
|
|||
"input":{"shape":"DescribePrefixListsRequest"},
|
||||
"output":{"shape":"DescribePrefixListsResult"}
|
||||
},
|
||||
"DescribePrincipalIdFormat":{
|
||||
"name":"DescribePrincipalIdFormat",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DescribePrincipalIdFormatRequest"},
|
||||
"output":{"shape":"DescribePrincipalIdFormatResult"}
|
||||
},
|
||||
"DescribeRegions":{
|
||||
"name":"DescribeRegions",
|
||||
"http":{
|
||||
|
@ -4617,6 +4635,10 @@
|
|||
"members":{
|
||||
"Description":{"shape":"String"},
|
||||
"VolumeId":{"shape":"String"},
|
||||
"TagSpecifications":{
|
||||
"shape":"TagSpecificationList",
|
||||
"locationName":"TagSpecification"
|
||||
},
|
||||
"DryRun":{
|
||||
"shape":"Boolean",
|
||||
"locationName":"dryRun"
|
||||
|
@ -5630,6 +5652,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DescribeAggregateIdFormatRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"DryRun":{"shape":"Boolean"}
|
||||
}
|
||||
},
|
||||
"DescribeAggregateIdFormatResult":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"UseLongIdsAggregated":{
|
||||
"shape":"Boolean",
|
||||
"locationName":"useLongIdsAggregated"
|
||||
},
|
||||
"Statuses":{
|
||||
"shape":"IdFormatList",
|
||||
"locationName":"statusSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeAvailabilityZonesRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -6686,6 +6727,31 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DescribePrincipalIdFormatRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"DryRun":{"shape":"Boolean"},
|
||||
"Resources":{
|
||||
"shape":"ResourceList",
|
||||
"locationName":"Resource"
|
||||
},
|
||||
"MaxResults":{"shape":"Integer"},
|
||||
"NextToken":{"shape":"String"}
|
||||
}
|
||||
},
|
||||
"DescribePrincipalIdFormatResult":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Principals":{
|
||||
"shape":"PrincipalIdFormatList",
|
||||
"locationName":"principalSet"
|
||||
},
|
||||
"NextToken":{
|
||||
"shape":"String",
|
||||
"locationName":"nextToken"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeRegionsRequest":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -12242,6 +12308,7 @@
|
|||
"shape":"Affinity",
|
||||
"locationName":"affinity"
|
||||
},
|
||||
"GroupName":{"shape":"String"},
|
||||
"HostId":{
|
||||
"shape":"String",
|
||||
"locationName":"hostId"
|
||||
|
@ -12524,11 +12591,11 @@
|
|||
"AcceptanceRequired":{"shape":"Boolean"},
|
||||
"AddNetworkLoadBalancerArns":{
|
||||
"shape":"ValueStringList",
|
||||
"locationName":"addNetworkLoadBalancerArn"
|
||||
"locationName":"AddNetworkLoadBalancerArn"
|
||||
},
|
||||
"RemoveNetworkLoadBalancerArns":{
|
||||
"shape":"ValueStringList",
|
||||
"locationName":"removeNetworkLoadBalancerArn"
|
||||
"locationName":"RemoveNetworkLoadBalancerArn"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -13186,6 +13253,7 @@
|
|||
"type":"string",
|
||||
"enum":[
|
||||
"available",
|
||||
"associated",
|
||||
"attaching",
|
||||
"in-use",
|
||||
"detaching"
|
||||
|
@ -13528,6 +13596,26 @@
|
|||
"locationName":"item"
|
||||
}
|
||||
},
|
||||
"PrincipalIdFormat":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Arn":{
|
||||
"shape":"String",
|
||||
"locationName":"arn"
|
||||
},
|
||||
"Statuses":{
|
||||
"shape":"IdFormatList",
|
||||
"locationName":"statusSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PrincipalIdFormatList":{
|
||||
"type":"list",
|
||||
"member":{
|
||||
"shape":"PrincipalIdFormat",
|
||||
"locationName":"item"
|
||||
}
|
||||
},
|
||||
"PrincipalType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
|
@ -15038,6 +15126,13 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"String"}
|
||||
},
|
||||
"ResourceList":{
|
||||
"type":"list",
|
||||
"member":{
|
||||
"shape":"String",
|
||||
"locationName":"item"
|
||||
}
|
||||
},
|
||||
"ResourceType":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
|
|
152
vendor/github.com/aws/aws-sdk-go/models/apis/ec2/2016-11-15/docs-2.json
generated
vendored
152
vendor/github.com/aws/aws-sdk-go/models/apis/ec2/2016-11-15/docs-2.json
generated
vendored
File diff suppressed because one or more lines are too long
32
vendor/github.com/aws/aws-sdk-go/models/apis/ecr/2015-09-21/docs-2.json
generated
vendored
32
vendor/github.com/aws/aws-sdk-go/models/apis/ecr/2015-09-21/docs-2.json
generated
vendored
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": "2.0",
|
||||
"service": "<p>Amazon EC2 Container Registry (Amazon ECR) is a managed Docker registry service. Customers can use the familiar Docker CLI to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry. Amazon ECR supports private Docker repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images. Developers can use the Docker CLI to author and manage images.</p>",
|
||||
"service": "<p>Amazon Elastic Container Registry (Amazon ECR) is a managed Docker registry service. Customers can use the familiar Docker CLI to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry. Amazon ECR supports private Docker repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images. Developers can use the Docker CLI to author and manage images.</p>",
|
||||
"operations": {
|
||||
"BatchCheckLayerAvailability": "<p>Check the availability of multiple image layers in a specified registry and repository.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>",
|
||||
"BatchDeleteImage": "<p>Deletes a list of specified images within a specified repository. Images are specified with either <code>imageTag</code> or <code>imageDigest</code>.</p> <p>You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.</p> <p>You can completely delete an image (and all of its tags) by specifying the image's digest in your request.</p>",
|
||||
|
@ -20,7 +20,7 @@
|
|||
"InitiateLayerUpload": "<p>Notify Amazon ECR that you intend to upload an image layer.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>",
|
||||
"ListImages": "<p>Lists all the image IDs for a given repository.</p> <p>You can filter images based on whether or not they are tagged by setting the <code>tagStatus</code> parameter to <code>TAGGED</code> or <code>UNTAGGED</code>. For example, you can filter your results to return only <code>UNTAGGED</code> images and then pipe that result to a <a>BatchDeleteImage</a> operation to delete them. Or, you can filter your results to return only <code>TAGGED</code> images to list all of the tags in your repository.</p>",
|
||||
"PutImage": "<p>Creates or updates the image manifest and tags associated with an image.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>",
|
||||
"PutLifecyclePolicy": "<p>Creates or updates a lifecycle policy.</p>",
|
||||
"PutLifecyclePolicy": "<p>Creates or updates a lifecycle policy. For information about lifecycle policy syntax, see <a href=\"http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html\">Lifecycle Policy Template</a>.</p>",
|
||||
"SetRepositoryPolicy": "<p>Applies a repository policy on a specified repository to control access permissions.</p>",
|
||||
"StartLifecyclePolicyPreview": "<p>Starts a preview of the specified lifecycle policy. This allows you to see the results before creating the lifecycle policy.</p>",
|
||||
"UploadLayerPart": "<p>Uploads an image layer part to Amazon ECR.</p> <note> <p>This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p> </note>"
|
||||
|
@ -584,9 +584,9 @@
|
|||
"LifecyclePolicyText": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DeleteLifecyclePolicyResponse$lifecyclePolicyText": "<p>The JSON repository policy text.</p>",
|
||||
"GetLifecyclePolicyPreviewResponse$lifecyclePolicyText": "<p>The JSON repository policy text.</p>",
|
||||
"GetLifecyclePolicyResponse$lifecyclePolicyText": "<p>The JSON repository policy text.</p>",
|
||||
"DeleteLifecyclePolicyResponse$lifecyclePolicyText": "<p>The JSON lifecycle policy text.</p>",
|
||||
"GetLifecyclePolicyPreviewResponse$lifecyclePolicyText": "<p>The JSON lifecycle policy text.</p>",
|
||||
"GetLifecyclePolicyResponse$lifecyclePolicyText": "<p>The JSON lifecycle policy text.</p>",
|
||||
"PutLifecyclePolicyRequest$lifecyclePolicyText": "<p>The JSON repository policy text to apply to the repository.</p>",
|
||||
"PutLifecyclePolicyResponse$lifecyclePolicyText": "<p>The JSON repository policy text.</p>",
|
||||
"StartLifecyclePolicyPreviewRequest$lifecyclePolicyText": "<p>The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.</p>",
|
||||
|
@ -594,7 +594,7 @@
|
|||
}
|
||||
},
|
||||
"LimitExceededException": {
|
||||
"base": "<p>The operation did not succeed because it would have exceeded a service limit for your account. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html\">Amazon ECR Default Service Limits</a> in the Amazon EC2 Container Registry User Guide.</p>",
|
||||
"base": "<p>The operation did not succeed because it would have exceeded a service limit for your account. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html\">Amazon ECR Default Service Limits</a> in the Amazon Elastic Container Registry User Guide.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -617,9 +617,9 @@
|
|||
"MaxResults": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeImagesRequest$maxResults": "<p>The maximum number of repository results returned by <code>DescribeImages</code> in paginated output. When this parameter is used, <code>DescribeImages</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribeImages</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>DescribeImages</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.</p>",
|
||||
"DescribeRepositoriesRequest$maxResults": "<p>The maximum number of repository results returned by <code>DescribeRepositories</code> in paginated output. When this parameter is used, <code>DescribeRepositories</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribeRepositories</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>DescribeRepositories</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.</p>",
|
||||
"GetLifecyclePolicyPreviewRequest$maxResults": "<p>The maximum number of repository results returned by <code>GetLifecyclePolicyPreviewRequest</code> in
 paginated output. When this parameter is used, <code>GetLifecyclePolicyPreviewRequest</code> only returns
 <code>maxResults</code> results in a single page along with a <code>nextToken</code>
 response element. The remaining results of the initial request can be seen by sending
 another <code>GetLifecyclePolicyPreviewRequest</code> request with the returned <code>nextToken</code>
 value. This value can be between 1 and 100. If this
 parameter is not used, then <code>GetLifecyclePolicyPreviewRequest</code> returns up to
 100 results and a <code>nextToken</code> value, if
 applicable.</p>",
|
||||
"DescribeImagesRequest$maxResults": "<p>The maximum number of repository results returned by <code>DescribeImages</code> in paginated output. When this parameter is used, <code>DescribeImages</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribeImages</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>DescribeImages</code> returns up to 100 results and a <code>nextToken</code> value, if applicable. This option cannot be used when you specify images with <code>imageIds</code>.</p>",
|
||||
"DescribeRepositoriesRequest$maxResults": "<p>The maximum number of repository results returned by <code>DescribeRepositories</code> in paginated output. When this parameter is used, <code>DescribeRepositories</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribeRepositories</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>DescribeRepositories</code> returns up to 100 results and a <code>nextToken</code> value, if applicable. This option cannot be used when you specify repositories with <code>repositoryNames</code>.</p>",
|
||||
"GetLifecyclePolicyPreviewRequest$maxResults": "<p>The maximum number of repository results returned by <code>GetLifecyclePolicyPreviewRequest</code> in
 paginated output. When this parameter is used, <code>GetLifecyclePolicyPreviewRequest</code> only returns
 <code>maxResults</code> results in a single page along with a <code>nextToken</code>
 response element. The remaining results of the initial request can be seen by sending
 another <code>GetLifecyclePolicyPreviewRequest</code> request with the returned <code>nextToken</code>
 value. This value can be between 1 and 100. If this
 parameter is not used, then <code>GetLifecyclePolicyPreviewRequest</code> returns up to
 100 results and a <code>nextToken</code> value, if
 applicable. This option cannot be used when you specify images with <code>imageIds</code>.</p>",
|
||||
"ListImagesRequest$maxResults": "<p>The maximum number of image results returned by <code>ListImages</code> in paginated output. When this parameter is used, <code>ListImages</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListImages</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>ListImages</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.</p>"
|
||||
}
|
||||
},
|
||||
|
@ -639,11 +639,11 @@
|
|||
"NextToken": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeImagesRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeImages</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return.</p>",
|
||||
"DescribeImagesRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeImages</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return. This option cannot be used when you specify images with <code>imageIds</code>.</p>",
|
||||
"DescribeImagesResponse$nextToken": "<p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code> request. When the results of a <code>DescribeImages</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>",
|
||||
"DescribeRepositoriesRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeRepositories</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return.</p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>",
|
||||
"DescribeRepositoriesRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeRepositories</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return. This option cannot be used when you specify repositories with <code>repositoryNames</code>.</p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>",
|
||||
"DescribeRepositoriesResponse$nextToken": "<p>The <code>nextToken</code> value to include in a future <code>DescribeRepositories</code> request. When the results of a <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>",
|
||||
"GetLifecyclePolicyPreviewRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated
 <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and the
 results exceeded the value of that parameter. Pagination continues from the end of the
 previous results that returned the <code>nextToken</code> value. This value is
 <code>null</code> when there are no more results to return.</p>",
|
||||
"GetLifecyclePolicyPreviewRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated
 <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and the
 results exceeded the value of that parameter. Pagination continues from the end of the
 previous results that returned the <code>nextToken</code> value. This value is
 <code>null</code> when there are no more results to return. This option cannot be used when you specify images with <code>imageIds</code>.</p>",
|
||||
"GetLifecyclePolicyPreviewResponse$nextToken": "<p>The <code>nextToken</code> value to include in a future <code>GetLifecyclePolicyPreview</code> request. When the results of a <code>GetLifecyclePolicyPreview</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>",
|
||||
"ListImagesRequest$nextToken": "<p>The <code>nextToken</code> value returned from a previous paginated <code>ListImages</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return.</p> <note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note>",
|
||||
"ListImagesResponse$nextToken": "<p>The <code>nextToken</code> value to include in a future <code>ListImages</code> request. When the results of a <code>ListImages</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
|
||||
|
@ -721,7 +721,7 @@
|
|||
"InvalidLayerPartException$registryId": "<p>The registry ID associated with the exception.</p>",
|
||||
"ListImagesRequest$registryId": "<p>The AWS account ID associated with the registry that contains the repository in which to list images. If you do not specify a registry, the default registry is assumed.</p>",
|
||||
"PutImageRequest$registryId": "<p>The AWS account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.</p>",
|
||||
"PutLifecyclePolicyRequest$registryId": "<p>The AWS account ID associated with the registry that contains the repository. If you do
 not specify a registry, the default registry is assumed.</p>",
|
||||
"PutLifecyclePolicyRequest$registryId": "<p>The AWS account ID associated with the registry that contains the repository. If you do
 not specify a registry, the default registry is assumed.</p>",
|
||||
"PutLifecyclePolicyResponse$registryId": "<p>The registry ID associated with the request.</p>",
|
||||
"Repository$registryId": "<p>The AWS account ID associated with the registry that contains the repository.</p>",
|
||||
"SetRepositoryPolicyRequest$registryId": "<p>The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.</p>",
|
||||
|
@ -760,16 +760,16 @@
|
|||
"CompleteLayerUploadRequest$repositoryName": "<p>The name of the repository to associate with the image layer.</p>",
|
||||
"CompleteLayerUploadResponse$repositoryName": "<p>The repository name associated with the request.</p>",
|
||||
"CreateRepositoryRequest$repositoryName": "<p>The name to use for the repository. The repository name may be specified on its own (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>",
|
||||
"DeleteLifecyclePolicyRequest$repositoryName": "<p>The name of the repository that is associated with the repository policy to
 delete.</p>",
|
||||
"DeleteLifecyclePolicyRequest$repositoryName": "<p>The name of the repository.</p>",
|
||||
"DeleteLifecyclePolicyResponse$repositoryName": "<p>The repository name associated with the request.</p>",
|
||||
"DeleteRepositoryPolicyRequest$repositoryName": "<p>The name of the repository that is associated with the repository policy to delete.</p>",
|
||||
"DeleteRepositoryPolicyResponse$repositoryName": "<p>The repository name associated with the request.</p>",
|
||||
"DeleteRepositoryRequest$repositoryName": "<p>The name of the repository to delete.</p>",
|
||||
"DescribeImagesRequest$repositoryName": "<p>A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.</p>",
|
||||
"GetDownloadUrlForLayerRequest$repositoryName": "<p>The name of the repository that is associated with the image layer to download.</p>",
|
||||
"GetLifecyclePolicyPreviewRequest$repositoryName": "<p>The name of the repository with the policy to retrieve.</p>",
|
||||
"GetLifecyclePolicyPreviewRequest$repositoryName": "<p>The name of the repository.</p>",
|
||||
"GetLifecyclePolicyPreviewResponse$repositoryName": "<p>The repository name associated with the request.</p>",
|
||||
"GetLifecyclePolicyRequest$repositoryName": "<p>The name of the repository with the policy to retrieve.</p>",
|
||||
"GetLifecyclePolicyRequest$repositoryName": "<p>The name of the repository.</p>",
|
||||
"GetLifecyclePolicyResponse$repositoryName": "<p>The repository name associated with the request.</p>",
|
||||
"GetRepositoryPolicyRequest$repositoryName": "<p>The name of the repository with the policy to retrieve.</p>",
|
||||
"GetRepositoryPolicyResponse$repositoryName": "<p>The repository name associated with the request.</p>",
|
||||
|
|
28
vendor/github.com/aws/aws-sdk-go/models/apis/ecs/2014-11-13/api-2.json
generated
vendored
28
vendor/github.com/aws/aws-sdk-go/models/apis/ecs/2014-11-13/api-2.json
generated
vendored
|
@ -670,7 +670,8 @@
|
|||
"exitCode":{"shape":"BoxedInteger"},
|
||||
"reason":{"shape":"String"},
|
||||
"networkBindings":{"shape":"NetworkBindings"},
|
||||
"networkInterfaces":{"shape":"NetworkInterfaces"}
|
||||
"networkInterfaces":{"shape":"NetworkInterfaces"},
|
||||
"healthStatus":{"shape":"HealthStatus"}
|
||||
}
|
||||
},
|
||||
"ContainerDefinition":{
|
||||
|
@ -702,7 +703,8 @@
|
|||
"dockerSecurityOptions":{"shape":"StringList"},
|
||||
"dockerLabels":{"shape":"DockerLabelsMap"},
|
||||
"ulimits":{"shape":"UlimitList"},
|
||||
"logConfiguration":{"shape":"LogConfiguration"}
|
||||
"logConfiguration":{"shape":"LogConfiguration"},
|
||||
"healthCheck":{"shape":"HealthCheck"}
|
||||
}
|
||||
},
|
||||
"ContainerDefinitions":{
|
||||
|
@ -1050,6 +1052,25 @@
|
|||
"type":"list",
|
||||
"member":{"shape":"Failure"}
|
||||
},
|
||||
"HealthCheck":{
|
||||
"type":"structure",
|
||||
"required":["command"],
|
||||
"members":{
|
||||
"command":{"shape":"StringList"},
|
||||
"interval":{"shape":"BoxedInteger"},
|
||||
"timeout":{"shape":"BoxedInteger"},
|
||||
"retries":{"shape":"BoxedInteger"},
|
||||
"startPeriod":{"shape":"BoxedInteger"}
|
||||
}
|
||||
},
|
||||
"HealthStatus":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"HEALTHY",
|
||||
"UNHEALTHY",
|
||||
"UNKNOWN"
|
||||
]
|
||||
},
|
||||
"HostEntry":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
|
@ -1682,7 +1703,8 @@
|
|||
"group":{"shape":"String"},
|
||||
"launchType":{"shape":"LaunchType"},
|
||||
"platformVersion":{"shape":"String"},
|
||||
"attachments":{"shape":"Attachments"}
|
||||
"attachments":{"shape":"Attachments"},
|
||||
"healthStatus":{"shape":"HealthStatus"}
|
||||
}
|
||||
},
|
||||
"TaskDefinition":{
|
||||
|
|
68
vendor/github.com/aws/aws-sdk-go/models/apis/ecs/2014-11-13/docs-2.json
generated
vendored
68
vendor/github.com/aws/aws-sdk-go/models/apis/ecs/2014-11-13/docs-2.json
generated
vendored
|
@ -49,7 +49,7 @@
|
|||
"AssignPublicIp": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"AwsVpcConfiguration$assignPublicIp": "<p>Specifies whether or not the task's elastic network interface receives a public IP address.</p>"
|
||||
"AwsVpcConfiguration$assignPublicIp": "<p>Whether the task's elastic network interface receives a public IP address.</p>"
|
||||
}
|
||||
},
|
||||
"Attachment": {
|
||||
|
@ -114,7 +114,7 @@
|
|||
}
|
||||
},
|
||||
"BlockedException": {
|
||||
"base": "<p>Your AWS account has been blocked. <a href=\"http://aws.amazon.com/contact-us/\">Contact AWS Customer Support</a> for more information.</p>",
|
||||
"base": "<p>Your AWS account has been blocked. <a href=\"http://aws.amazon.com/contact-us/\">Contact AWS Support</a> for more information.</p>",
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
|
@ -122,7 +122,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"ContainerInstance$agentConnected": "<p>This parameter returns <code>true</code> if the agent is connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return <code>false</code>. Instances without a connected agent can't accept placement requests.</p>",
|
||||
"UpdateServiceRequest$forceNewDeployment": "<p>Whether or not to force a new deployment of the service.</p>"
|
||||
"UpdateServiceRequest$forceNewDeployment": "<p>Whether to force a new deployment of the service. By default, <code>--no-force-new-deployment</code> is assumed unless otherwise specified.</p>"
|
||||
}
|
||||
},
|
||||
"BoxedBoolean": {
|
||||
|
@ -142,16 +142,20 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"Container$exitCode": "<p>The exit code returned from the container.</p>",
|
||||
"ContainerDefinition$memory": "<p>The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to <code>Memory</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--memory</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <p>If your containers will be part of a task using the Fargate launch type, this field is optional and the only requirement is that the total amount of memory reserved for all containers within a task be lower than the task <code>memory</code> value.</p> <p>For containers that will be part of a task using the EC2 launch type, you must specify a non-zero integer for one or both of <code>memory</code> or <code>memoryReservation</code> in container definitions. If you specify both, <code>memory</code> must be greater than <code>memoryReservation</code>. If you specify <code>memoryReservation</code>, then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of <code>memory</code> is used.</p> <p>The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers. </p>",
|
||||
"ContainerDefinition$memory": "<p>The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to <code>Memory</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--memory</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <p>If your containers are part of a task using the Fargate launch type, this field is optional and the only requirement is that the total amount of memory reserved for all containers within a task be lower than the task <code>memory</code> value.</p> <p>For containers that are part of a task using the EC2 launch type, you must specify a non-zero integer for one or both of <code>memory</code> or <code>memoryReservation</code> in container definitions. If you specify both, <code>memory</code> must be greater than <code>memoryReservation</code>. If you specify <code>memoryReservation</code>, then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of <code>memory</code> is used.</p> <p>The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers. </p>",
|
||||
"ContainerDefinition$memoryReservation": "<p>The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the <code>memory</code> parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to <code>MemoryReservation</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--memory-reservation</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <p>You must specify a non-zero integer for one or both of <code>memory</code> or <code>memoryReservation</code> in container definitions. If you specify both, <code>memory</code> must be greater than <code>memoryReservation</code>. If you specify <code>memoryReservation</code>, then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of <code>memory</code> is used.</p> <p>For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a <code>memoryReservation</code> of 128 MiB, and a <code>memory</code> hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.</p> <p>The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers. </p>",
|
||||
"ContainerOverride$cpu": "<p>The number of <code>cpu</code> units reserved for the container, instead of the default value from the task definition. You must also specify a container name.</p>",
|
||||
"ContainerOverride$memory": "<p>The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.</p>",
|
||||
"ContainerOverride$memoryReservation": "<p>The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.</p>",
|
||||
"ContainerStateChange$exitCode": "<p>The exit code for the container, if the state change is a result of the container exiting.</p>",
|
||||
"CreateServiceRequest$desiredCount": "<p>The number of instantiations of the specified task definition to place and keep running on your cluster.</p>",
|
||||
"CreateServiceRequest$healthCheckGracePeriodSeconds": "<p>The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to ELB health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler will ignore ELB health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.</p>",
|
||||
"CreateServiceRequest$healthCheckGracePeriodSeconds": "<p>The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler ignores health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.</p>",
|
||||
"DeploymentConfiguration$maximumPercent": "<p>The upper limit (as a percentage of the service's <code>desiredCount</code>) of the number of tasks that are allowed in the <code>RUNNING</code> or <code>PENDING</code> state in a service during a deployment. The maximum number of tasks during a deployment is the <code>desiredCount</code> multiplied by <code>maximumPercent</code>/100, rounded down to the nearest integer value.</p>",
|
||||
"DeploymentConfiguration$minimumHealthyPercent": "<p>The lower limit (as a percentage of the service's <code>desiredCount</code>) of the number of running tasks that must remain in the <code>RUNNING</code> state in a service during a deployment. The minimum number of healthy tasks during a deployment is the <code>desiredCount</code> multiplied by <code>minimumHealthyPercent</code>/100, rounded up to the nearest integer value.</p>",
|
||||
"HealthCheck$interval": "<p>The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.</p>",
|
||||
"HealthCheck$timeout": "<p>The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.</p>",
|
||||
"HealthCheck$retries": "<p>The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3 retries.</p>",
|
||||
"HealthCheck$startPeriod": "<p>The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The <code>startPeriod</code> is disabled by default.</p> <note> <p>If a health check succeeds within the <code>startPeriod</code>, then the container is considered healthy and any subsequent failures count toward the maximum number of retries.</p> </note>",
|
||||
"ListAttributesRequest$maxResults": "<p>The maximum number of cluster results returned by <code>ListAttributes</code> in paginated output. When this parameter is used, <code>ListAttributes</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListAttributes</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>ListAttributes</code> returns up to 100 results and a <code>nextToken</code> value if applicable.</p>",
|
||||
"ListClustersRequest$maxResults": "<p>The maximum number of cluster results returned by <code>ListClusters</code> in paginated output. When this parameter is used, <code>ListClusters</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListClusters</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>ListClusters</code> returns up to 100 results and a <code>nextToken</code> value if applicable.</p>",
|
||||
"ListContainerInstancesRequest$maxResults": "<p>The maximum number of container instance results returned by <code>ListContainerInstances</code> in paginated output. When this parameter is used, <code>ListContainerInstances</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListContainerInstances</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter is not used, then <code>ListContainerInstances</code> returns up to 100 results and a <code>nextToken</code> value if applicable.</p>",
|
||||
|
@ -163,12 +167,12 @@
|
|||
"NetworkBinding$containerPort": "<p>The port number on the container that is used with the network binding.</p>",
|
||||
"NetworkBinding$hostPort": "<p>The port number on the host that is used with the network binding.</p>",
|
||||
"PortMapping$containerPort": "<p>The port number on the container that is bound to the user-specified or automatically assigned host port.</p> <p>If using containers in a task with the <code>awsvpc</code> or <code>host</code> network mode, exposed ports should be specified using <code>containerPort</code>.</p> <p>If using containers in a task with the <code>bridge</code> network mode and you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range (for more information, see <code>hostPort</code>). Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance.</p>",
|
||||
"PortMapping$hostPort": "<p>The port number on the container instance to reserve for your container.</p> <p>If using containers in a task with the <code>awsvpc</code> or <code>host</code> network mode, the <code>hostPort</code> can either be left blank or needs to be the same value as the <code>containerPort</code>.</p> <p>If using containers in a task with the <code>bridge</code> network mode, you can specify a non-reserved host port for your container port mapping, or you can omit the <code>hostPort</code> (or set it to <code>0</code>) while specifying a <code>containerPort</code> and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version.</p> <p>The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under <code>/proc/sys/net/ipv4/ip_local_port_range</code>; if this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. You should not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range.</p> <note> <p>The default ephemeral port range from 49153 through 65535 is always used for Docker versions before 1.6.0.</p> </note> <p>The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678 and 51679. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released). The current reserved ports are displayed in the <code>remainingResources</code> of <a>DescribeContainerInstances</a> output, and a container instance may have up to 100 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward the 100 reserved ports limit).</p>",
|
||||
"PortMapping$hostPort": "<p>The port number on the container instance to reserve for your container.</p> <p>If using containers in a task with the <code>awsvpc</code> or <code>host</code> network mode, the <code>hostPort</code> can either be left blank or set to the same value as the <code>containerPort</code>.</p> <p>If using containers in a task with the <code>bridge</code> network mode, you can specify a non-reserved host port for your container port mapping, or you can omit the <code>hostPort</code> (or set it to <code>0</code>) while specifying a <code>containerPort</code> and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version.</p> <p>The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under <code>/proc/sys/net/ipv4/ip_local_port_range</code>; if this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. You should not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range.</p> <note> <p>The default ephemeral port range from 49153 through 65535 is always used for Docker versions before 1.6.0.</p> </note> <p>The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678 and 51679. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released). The current reserved ports are displayed in the <code>remainingResources</code> of <a>DescribeContainerInstances</a> output, and a container instance may have up to 100 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward the 100 reserved ports limit).</p>",
|
||||
"RunTaskRequest$count": "<p>The number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks per call.</p>",
|
||||
"Service$healthCheckGracePeriodSeconds": "<p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.</p>",
|
||||
"SubmitContainerStateChangeRequest$exitCode": "<p>The exit code returned for the state change request.</p>",
|
||||
"UpdateServiceRequest$desiredCount": "<p>The number of instantiations of the task to place and keep running in your service.</p>",
|
||||
"UpdateServiceRequest$healthCheckGracePeriodSeconds": "<p>The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to ELB health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler will ignore ELB health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.</p>"
|
||||
"UpdateServiceRequest$healthCheckGracePeriodSeconds": "<p>The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 1,800 seconds during which the ECS service scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.</p>"
|
||||
}
|
||||
},
|
||||
"ClientException": {
|
||||
|
@ -481,7 +485,7 @@
|
|||
"DevicesList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"LinuxParameters$devices": "<p>Any host devices to expose to the container. This parameter maps to <code>Devices</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--device</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>"
|
||||
"LinuxParameters$devices": "<p>Any host devices to expose to the container. This parameter maps to <code>Devices</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--device</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <note> <p>If you are using tasks that use the Fargate launch type, the <code>devices</code> parameter is not supported.</p> </note>"
|
||||
}
|
||||
},
|
||||
"DiscoverPollEndpointRequest": {
|
||||
|
@ -531,6 +535,19 @@
|
|||
"UpdateContainerInstancesStateResponse$failures": "<p>Any failures associated with the call.</p>"
|
||||
}
|
||||
},
|
||||
"HealthCheck": {
|
||||
"base": "<p>An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile).</p>",
|
||||
"refs": {
|
||||
"ContainerDefinition$healthCheck": "<p>The health check command and associated configuration parameters for the container. This parameter maps to <code>HealthCheck</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>HEALTHCHECK</code> parameter of <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>"
|
||||
}
|
||||
},
|
||||
"HealthStatus": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Container$healthStatus": "<p>The health status of the container. If health checks are not configured for this container in its task definition, then it reports health status as <code>UNKNOWN</code>.</p>",
|
||||
"Task$healthStatus": "<p>The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as <code>HEALTHY</code>, then the task status also reports as <code>HEALTHY</code>. If any essential containers in the task are reporting as <code>UNHEALTHY</code> or <code>UNKNOWN</code>, then the task status also reports as <code>UNHEALTHY</code> or <code>UNKNOWN</code>, accordingly.</p> <note> <p>The Amazon ECS container agent does not monitor or report on Docker health checks that are embedded in a container image (such as those specified in a parent image or from the image's Dockerfile) and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.</p> </note>"
|
||||
}
|
||||
},
|
||||
"HostEntry": {
|
||||
"base": "<p>Hostnames and IP address entries that are added to the <code>/etc/hosts</code> file of a container via the <code>extraHosts</code> parameter of its <a>ContainerDefinition</a>. </p>",
|
||||
"refs": {
|
||||
|
@ -556,7 +573,7 @@
|
|||
"Cluster$runningTasksCount": "<p>The number of tasks in the cluster that are in the <code>RUNNING</code> state.</p>",
|
||||
"Cluster$pendingTasksCount": "<p>The number of tasks in the cluster that are in the <code>PENDING</code> state.</p>",
|
||||
"Cluster$activeServicesCount": "<p>The number of services that are running on the cluster in an <code>ACTIVE</code> state. You can view these services with <a>ListServices</a>.</p>",
|
||||
"ContainerDefinition$cpu": "<p>The number of <code>cpu</code> units reserved for the container. This parameter maps to <code>CpuShares</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--cpu-shares</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <p>This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level <code>cpu</code> value.</p> <note> <p>You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the <a href=\"http://aws.amazon.com/ec2/instance-types/\">Amazon EC2 Instances</a> detail page by 1,024.</p> </note> <p>For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units.</p> <p>Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units.</p> <p>On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see <a href=\"https://docs.docker.com/engine/reference/run/#cpu-share-constraint\">CPU share constraint</a> in the Docker documentation. The minimum valid CPU share value that the Linux kernel will allow is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version:</p> <ul> <li> <p> <b>Agent versions less than or equal to 1.1.0:</b> Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares.</p> </li> <li> <p> <b>Agent versions greater than or equal to 1.2.0:</b> Null, zero, and CPU values of 1 are passed to Docker as 2.</p> </li> </ul> <p>On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that is described in the task definition.</p>",
|
||||
"ContainerDefinition$cpu": "<p>The number of <code>cpu</code> units reserved for the container. This parameter maps to <code>CpuShares</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--cpu-shares</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <p>This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level <code>cpu</code> value.</p> <note> <p>You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the <a href=\"http://aws.amazon.com/ec2/instance-types/\">Amazon EC2 Instances</a> detail page by 1,024.</p> </note> <p>For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units.</p> <p>Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units.</p> <p>On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see <a href=\"https://docs.docker.com/engine/reference/run/#cpu-share-constraint\">CPU share constraint</a> in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version:</p> <ul> <li> <p> <b>Agent versions less than or equal to 1.1.0:</b> Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares.</p> </li> <li> <p> <b>Agent versions greater than or equal to 1.2.0:</b> Null, zero, and CPU values of 1 are passed to Docker as 2.</p> </li> </ul> <p>On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that is described in the task definition.</p>",
|
||||
"ContainerInstance$runningTasksCount": "<p>The number of tasks on the container instance that are in the <code>RUNNING</code> status.</p>",
|
||||
"ContainerInstance$pendingTasksCount": "<p>The number of tasks on the container instance that are in the <code>PENDING</code> status.</p>",
|
||||
"Deployment$desiredCount": "<p>The most recent desired count of tasks that was specified for the service to deploy or maintain.</p>",
|
||||
|
@ -579,7 +596,7 @@
|
|||
"KernelCapabilities": {
|
||||
"base": "<p>The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. For more information on the default capabilities and the non-default available capabilities, see <a href=\"https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities\">Runtime privilege and Linux capabilities</a> in the <i>Docker run reference</i>. For more detailed information on these Linux capabilities, see the <a href=\"http://man7.org/linux/man-pages/man7/capabilities.7.html\">capabilities(7)</a> Linux manual page.</p>",
|
||||
"refs": {
|
||||
"LinuxParameters$capabilities": "<p>The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.</p>"
|
||||
"LinuxParameters$capabilities": "<p>The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.</p> <note> <p>If you are using tasks that use the Fargate launch type, <code>capabilities</code> is supported but the <code>add</code> parameter is not supported.</p> </note>"
|
||||
}
|
||||
},
|
||||
"KeyValuePair": {
|
||||
|
@ -605,7 +622,7 @@
|
|||
"LinuxParameters": {
|
||||
"base": "<p>Linux-specific options that are applied to the container, such as Linux <a>KernelCapabilities</a>.</p>",
|
||||
"refs": {
|
||||
"ContainerDefinition$linuxParameters": "<p>Linux-specific modifications that are applied to the container, such as Linux <a>KernelCapabilities</a>.</p> <note> <p>This parameter is not supported for Windows containers or tasks using the Fargate launch type.</p> </note>"
|
||||
"ContainerDefinition$linuxParameters": "<p>Linux-specific modifications that are applied to the container, such as Linux <a>KernelCapabilities</a>.</p> <note> <p>This parameter is not supported for Windows containers.</p> </note>"
|
||||
}
|
||||
},
|
||||
"ListAttributesRequest": {
|
||||
|
@ -756,7 +773,7 @@
|
|||
"RunTaskRequest$networkConfiguration": "<p>The network configuration for the task. This parameter is required for task definitions that use the <code>awsvpc</code> network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html\">Task Networking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
|
||||
"Service$networkConfiguration": "<p>The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the <code>awsvpc</code> networking mode.</p>",
|
||||
"StartTaskRequest$networkConfiguration": "<p>The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the <code>awsvpc</code> networking mode.</p>",
|
||||
"UpdateServiceRequest$networkConfiguration": "<p>The network configuration for the service. This parameter is required for task definitions that use the <code>awsvpc</code> network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html\">Task Networking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <note> <p>Updating a service to add a subnet to a list of existing subnets does not trigger a service deployment. For example, if your network configuration change is to keep the existing subnets and simply add another subnet to the network configuration, this does not trigger a new service deployment.</p> </note>"
|
||||
"UpdateServiceRequest$networkConfiguration": "<p>The network configuration for the service. This parameter is required for task definitions that use the <code>awsvpc</code> network mode to receive their own elastic network interface, and it is not supported for other network modes. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html\">Task Networking</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <note> <p>Updating a service to add a subnet to a list of existing subnets does not trigger a service deployment. For example, if your network configuration change is to keep the existing subnets and simply add another subnet to the network configuration, this does not trigger a new service deployment.</p> </note>"
|
||||
}
|
||||
},
|
||||
"NetworkInterface": {
|
||||
|
@ -983,7 +1000,7 @@
|
|||
"base": null,
|
||||
"refs": {
|
||||
"Attachment$id": "<p>The unique identifier for the attachment.</p>",
|
||||
"Attachment$type": "<p>The type of the attachment, such as an <code>ElasticNetworkInterface</code>.</p>",
|
||||
"Attachment$type": "<p>The type of the attachment, such as <code>ElasticNetworkInterface</code>.</p>",
|
||||
"Attachment$status": "<p> The status of the attachment. Valid values are <code>PRECREATED</code>, <code>CREATED</code>, <code>ATTACHING</code>, <code>ATTACHED</code>, <code>DETACHING</code>, <code>DETACHED</code>, and <code>DELETED</code>.</p>",
|
||||
"AttachmentStateChange$attachmentArn": "<p>The Amazon Resource Name (ARN) of the attachment.</p>",
|
||||
"AttachmentStateChange$status": "<p>The status of the attachment.</p>",
|
||||
|
@ -1000,7 +1017,7 @@
|
|||
"Container$lastStatus": "<p>The last known status of the container.</p>",
|
||||
"Container$reason": "<p>A short (255 max characters) human-readable string to provide additional details about a running or stopped container.</p>",
|
||||
"ContainerDefinition$name": "<p>The name of a container. If you are linking multiple containers together in a task definition, the <code>name</code> of one container can be entered in the <code>links</code> of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to <code>name</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--name</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. </p>",
|
||||
"ContainerDefinition$image": "<p>The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either <code> <i>repository-url</i>/<i>image</i>:<i>tag</i> </code> or <code> <i>repository-url</i>/<i>image</i>@<i>digest</i> </code>. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to <code>Image</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>IMAGE</code> parameter of <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <ul> <li> <p>Images in Amazon ECR repositories can be specified by either using the full <code>registry/repository:tag</code> or <code>registry/repository@digest</code>. For example, <code>012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest</code> or <code>012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE</code>. </p> </li> <li> <p>Images in official repositories on Docker Hub use a single name (for example, <code>ubuntu</code> or <code>mongo</code>).</p> </li> <li> <p>Images in other repositories on Docker Hub are qualified with an organization name (for example, <code>amazon/amazon-ecs-agent</code>).</p> </li> <li> <p>Images in other online repositories are qualified further by a domain name (for example, <code>quay.io/assemblyline/ubuntu</code>).</p> </li> </ul>",
|
||||
"ContainerDefinition$image": "<p>The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either <code> <i>repository-url</i>/<i>image</i>:<i>tag</i> </code> or <code> <i>repository-url</i>/<i>image</i>@<i>digest</i> </code>. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to <code>Image</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>IMAGE</code> parameter of <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <ul> <li> <p>When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image are not propagated to already running tasks.</p> </li> <li> <p>Images in Amazon ECR repositories can be specified by either using the full <code>registry/repository:tag</code> or <code>registry/repository@digest</code>. For example, <code>012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest</code> or <code>012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE</code>. </p> </li> <li> <p>Images in official repositories on Docker Hub use a single name (for example, <code>ubuntu</code> or <code>mongo</code>).</p> </li> <li> <p>Images in other repositories on Docker Hub are qualified with an organization name (for example, <code>amazon/amazon-ecs-agent</code>).</p> </li> <li> <p>Images in other online repositories are qualified further by a domain name (for example, <code>quay.io/assemblyline/ubuntu</code>).</p> </li> </ul>",
|
||||
"ContainerDefinition$hostname": "<p>The hostname to use for your container. This parameter maps to <code>Hostname</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--hostname</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>",
|
||||
"ContainerDefinition$user": "<p>The user name to use inside the container. This parameter maps to <code>User</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--user</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <note> <p>This parameter is not supported for Windows containers.</p> </note>",
|
||||
"ContainerDefinition$workingDirectory": "<p>The working directory in which to run commands inside the container. This parameter maps to <code>WorkingDir</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--workdir</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>",
|
||||
|
@ -1096,8 +1113,8 @@
|
|||
"RegisterTaskDefinitionRequest$family": "<p>You must specify a <code>family</code> for a task definition, which allows you to track multiple versions of the same task definition. The <code>family</code> is used as a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.</p>",
|
||||
"RegisterTaskDefinitionRequest$taskRoleArn": "<p>The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html\">IAM Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
|
||||
"RegisterTaskDefinitionRequest$executionRoleArn": "<p>The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.</p>",
|
||||
"RegisterTaskDefinitionRequest$cpu": "<p>The number of <code>cpu</code> units used by the task. If using the EC2 launch type, this field is optional and any value can be used.</p> <note> <p>Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.</p> </note> <p>If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>memory</code> parameter:</p> <ul> <li> <p>256 (.25 vCPU) - Available <code>memory</code> values: 0.5GB, 1GB, 2GB</p> </li> <li> <p>512 (.5 vCPU) - Available <code>memory</code> values: 1GB, 2GB, 3GB, 4GB</p> </li> <li> <p>1024 (1 vCPU) - Available <code>memory</code> values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB</p> </li> <li> <p>2048 (2 vCPU) - Available <code>memory</code> values: Between 4GB and 16GB in 1GB increments</p> </li> <li> <p>4096 (4 vCPU) - Available <code>memory</code> values: Between 8GB and 30GB in 1GB increments</p> </li> </ul>",
|
||||
"RegisterTaskDefinitionRequest$memory": "<p>The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used.</p> <note> <p>Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.</p> </note> <p>If you are using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>cpu</code> parameter:</p> <ul> <li> <p>0.5GB, 1GB, 2GB - Available <code>cpu</code> values: 256 (.25 vCPU)</p> </li> <li> <p>1GB, 2GB, 3GB, 4GB - Available <code>cpu</code> values: 512 (.5 vCPU)</p> </li> <li> <p>2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available <code>cpu</code> values: 1024 (1 vCPU)</p> </li> <li> <p>Between 4GB and 16GB in 1GB increments - Available <code>cpu</code> values: 2048 (2 vCPU)</p> </li> <li> <p>Between 8GB and 30GB in 1GB increments - Available <code>cpu</code> values: 4096 (4 vCPU)</p> </li> </ul>",
|
||||
"RegisterTaskDefinitionRequest$cpu": "<p>The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example <code>1024</code>, or as a string using vCPUs, for example <code>1 vCPU</code> or <code>1 vcpu</code>, in a task definition but will be converted to an integer indicating the CPU units when the task definition is registered.</p> <note> <p>Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.</p> </note> <p>If using the EC2 launch type, this field is optional. Supported values are between <code>128</code> CPU units (<code>0.125</code> vCPUs) and <code>10240</code> CPU units (<code>10</code> vCPUs).</p> <p>If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the <code>memory</code> parameter:</p> <ul> <li> <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p> </li> <li> <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p> </li> <li> <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p> </li> <li> <p>2048 (2 vCPU) - Available <code>memory</code> values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p> </li> <li> <p>4096 (4 vCPU) - Available <code>memory</code> values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p> </li> </ul>",
|
||||
"RegisterTaskDefinitionRequest$memory": "<p>The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example <code>1024</code>, or as a string using GB, for example <code>1GB</code> or <code>1 GB</code>, in a task definition but will be converted to an integer indicating the MiB when the task definition is registered.</p> <note> <p>Task-level CPU and memory parameters are ignored for Windows containers. We recommend specifying container-level resources for Windows containers.</p> </note> <p>If using the EC2 launch type, this field is optional.</p> <p>If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the <code>cpu</code> parameter:</p> <ul> <li> <p>512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available <code>cpu</code> values: 256 (.25 vCPU)</p> </li> <li> <p>1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available <code>cpu</code> values: 512 (.5 vCPU)</p> </li> <li> <p>2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available <code>cpu</code> values: 1024 (1 vCPU)</p> </li> <li> <p>Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available <code>cpu</code> values: 2048 (2 vCPU)</p> </li> <li> <p>Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available <code>cpu</code> values: 4096 (4 vCPU)</p> </li> </ul>",
|
||||
"Resource$name": "<p>The name of the resource, such as <code>cpu</code>, <code>memory</code>, <code>ports</code>, or a user-defined resource.</p>",
|
||||
"Resource$type": "<p>The type of the resource, such as <code>INTEGER</code>, <code>DOUBLE</code>, <code>LONG</code>, or <code>STRINGSET</code>.</p>",
|
||||
"RunTaskRequest$cluster": "<p>The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. If you do not specify a cluster, the default cluster is assumed.</p>",
|
||||
|
@ -1140,8 +1157,8 @@
|
|||
"Task$containerInstanceArn": "<p>The ARN of the container instances that host the task.</p>",
|
||||
"Task$lastStatus": "<p>The last known status of the task.</p>",
|
||||
"Task$desiredStatus": "<p>The desired status of the task.</p>",
|
||||
"Task$cpu": "<p>The number of <code>cpu</code> units used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>memory</code> parameter:</p> <ul> <li> <p>256 (.25 vCPU) - Available <code>memory</code> values: 0.5GB, 1GB, 2GB</p> </li> <li> <p>512 (.5 vCPU) - Available <code>memory</code> values: 1GB, 2GB, 3GB, 4GB</p> </li> <li> <p>1024 (1 vCPU) - Available <code>memory</code> values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB</p> </li> <li> <p>2048 (2 vCPU) - Available <code>memory</code> values: Between 4GB and 16GB in 1GB increments</p> </li> <li> <p>4096 (4 vCPU) - Available <code>memory</code> values: Between 8GB and 30GB in 1GB increments</p> </li> </ul>",
|
||||
"Task$memory": "<p>The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>cpu</code> parameter:</p> <ul> <li> <p>0.5GB, 1GB, 2GB - Available <code>cpu</code> values: 256 (.25 vCPU)</p> </li> <li> <p>1GB, 2GB, 3GB, 4GB - Available <code>cpu</code> values: 512 (.5 vCPU)</p> </li> <li> <p>2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available <code>cpu</code> values: 1024 (1 vCPU)</p> </li> <li> <p>Between 4GB and 16GB in 1GB increments - Available <code>cpu</code> values: 2048 (2 vCPU)</p> </li> <li> <p>Between 8GB and 30GB in 1GB increments - Available <code>cpu</code> values: 4096 (4 vCPU)</p> </li> </ul>",
|
||||
"Task$cpu": "<p>The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example <code>1024</code>, or as a string using vCPUs, for example <code>1 vCPU</code> or <code>1 vcpu</code>, in a task definition but is converted to an integer indicating the CPU units when the task definition is registered.</p> <p>If using the EC2 launch type, this field is optional. Supported values are between <code>128</code> CPU units (<code>0.125</code> vCPUs) and <code>10240</code> CPU units (<code>10</code> vCPUs).</p> <p>If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the <code>memory</code> parameter:</p> <ul> <li> <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p> </li> <li> <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p> </li> <li> <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p> </li> <li> <p>2048 (2 vCPU) - Available <code>memory</code> values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p> </li> <li> <p>4096 (4 vCPU) - Available <code>memory</code> values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p> </li> </ul>",
|
||||
"Task$memory": "<p>The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example <code>1024</code>, or as a string using GB, for example <code>1GB</code> or <code>1 GB</code>, in a task definition but is converted to an integer indicating the MiB when the task definition is registered.</p> <p>If using the EC2 launch type, this field is optional.</p> <p>If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the <code>cpu</code> parameter:</p> <ul> <li> <p>512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available <code>cpu</code> values: 256 (.25 vCPU)</p> </li> <li> <p>1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available <code>cpu</code> values: 512 (.5 vCPU)</p> </li> <li> <p>2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available <code>cpu</code> values: 1024 (1 vCPU)</p> </li> <li> <p>Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available <code>cpu</code> values: 2048 (2 vCPU)</p> </li> <li> <p>Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available <code>cpu</code> values: 4096 (4 vCPU)</p> </li> </ul>",
|
||||
"Task$startedBy": "<p>The tag specified when a task is started. If the task is started by an Amazon ECS service, then the <code>startedBy</code> parameter contains the deployment ID of the service that starts it.</p>",
|
||||
"Task$stoppedReason": "<p>The reason the task was stopped.</p>",
|
||||
"Task$group": "<p>The name of the task group associated with the task.</p>",
|
||||
|
@ -1150,8 +1167,8 @@
|
|||
"TaskDefinition$family": "<p>The family of your task definition, used as the definition name.</p>",
|
||||
"TaskDefinition$taskRoleArn": "<p>The ARN of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.</p> <p>IAM roles for tasks on Windows require that the <code>-EnableTaskIAMRole</code> option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code in order to take advantage of the feature. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html\">Windows IAM Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
|
||||
"TaskDefinition$executionRoleArn": "<p>The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.</p>",
|
||||
"TaskDefinition$cpu": "<p>The number of <code>cpu</code> units used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>memory</code> parameter:</p> <ul> <li> <p>256 (.25 vCPU) - Available <code>memory</code> values: 0.5GB, 1GB, 2GB</p> </li> <li> <p>512 (.5 vCPU) - Available <code>memory</code> values: 1GB, 2GB, 3GB, 4GB</p> </li> <li> <p>1024 (1 vCPU) - Available <code>memory</code> values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB</p> </li> <li> <p>2048 (2 vCPU) - Available <code>memory</code> values: Between 4GB and 16GB in 1GB increments</p> </li> <li> <p>4096 (4 vCPU) - Available <code>memory</code> values: Between 8GB and 30GB in 1GB increments</p> </li> </ul>",
|
||||
"TaskDefinition$memory": "<p>The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>cpu</code> parameter:</p> <ul> <li> <p>0.5GB, 1GB, 2GB - Available <code>cpu</code> values: 256 (.25 vCPU)</p> </li> <li> <p>1GB, 2GB, 3GB, 4GB - Available <code>cpu</code> values: 512 (.5 vCPU)</p> </li> <li> <p>2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available <code>cpu</code> values: 1024 (1 vCPU)</p> </li> <li> <p>Between 4GB and 16GB in 1GB increments - Available <code>cpu</code> values: 2048 (2 vCPU)</p> </li> <li> <p>Between 8GB and 30GB in 1GB increments - Available <code>cpu</code> values: 4096 (4 vCPU)</p> </li> </ul>",
|
||||
"TaskDefinition$cpu": "<p>The number of <code>cpu</code> units used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>memory</code> parameter:</p> <ul> <li> <p>256 (.25 vCPU) - Available <code>memory</code> values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)</p> </li> <li> <p>512 (.5 vCPU) - Available <code>memory</code> values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)</p> </li> <li> <p>1024 (1 vCPU) - Available <code>memory</code> values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)</p> </li> <li> <p>2048 (2 vCPU) - Available <code>memory</code> values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)</p> </li> <li> <p>4096 (4 vCPU) - Available <code>memory</code> values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)</p> </li> </ul>",
|
||||
"TaskDefinition$memory": "<p>The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the <code>cpu</code> parameter:</p> <ul> <li> <p>512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available <code>cpu</code> values: 256 (.25 vCPU)</p> </li> <li> <p>1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available <code>cpu</code> values: 512 (.5 vCPU)</p> </li> <li> <p>2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available <code>cpu</code> values: 1024 (1 vCPU)</p> </li> <li> <p>Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available <code>cpu</code> values: 2048 (2 vCPU)</p> </li> <li> <p>Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available <code>cpu</code> values: 4096 (4 vCPU)</p> </li> </ul>",
|
||||
"TaskDefinitionPlacementConstraint$expression": "<p>A cluster query language expression to apply to the constraint. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html\">Cluster Query Language</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
|
||||
"TaskOverride$taskRoleArn": "<p>The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.</p>",
|
||||
"TaskOverride$executionRoleArn": "<p>The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.</p>",
|
||||
|
@ -1185,7 +1202,8 @@
|
|||
"DescribeContainerInstancesRequest$containerInstances": "<p>A list of container instance IDs or full ARN entries.</p>",
|
||||
"DescribeServicesRequest$services": "<p>A list of services to describe. You may specify up to 10 services to describe in a single operation.</p>",
|
||||
"DescribeTasksRequest$tasks": "<p>A list of up to 100 task IDs or full ARN entries.</p>",
|
||||
"KernelCapabilities$add": "<p>The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to <code>CapAdd</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--cap-add</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <p>Valid values: <code>\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"</code> </p>",
|
||||
"HealthCheck$command": "<p>A string array representing the command that the container runs to determine if it is healthy. The string array must start with <code>CMD</code> to execute the command arguments directly, or <code>CMD-SHELL</code> to run the command with the container's default shell. For example:</p> <p> <code>[ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]</code> </p> <p>An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see <code>HealthCheck</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a>.</p>",
|
||||
"KernelCapabilities$add": "<p>The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to <code>CapAdd</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--cap-add</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <note> <p>If you are using tasks that use the Fargate launch type, the <code>add</code> parameter is not supported.</p> </note> <p>Valid values: <code>\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"</code> </p>",
|
||||
"KernelCapabilities$drop": "<p>The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to <code>CapDrop</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/\">Docker Remote API</a> and the <code>--cap-drop</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p> <p>Valid values: <code>\"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"</code> </p>",
|
||||
"ListClustersResponse$clusterArns": "<p>The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.</p>",
|
||||
"ListContainerInstancesResponse$containerInstanceArns": "<p>The list of container instances with full ARN entries for each container instance associated with the specified cluster.</p>",
|
||||
|
@ -1252,7 +1270,7 @@
|
|||
}
|
||||
},
|
||||
"TaskDefinitionPlacementConstraint": {
|
||||
"base": "<p>An object representing a constraint on task placement in the task definition.</p> <p>If you are using the Fargate launch type, task placement contraints are not supported.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html\">Task Placement Constraints</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
|
||||
"base": "<p>An object representing a constraint on task placement in the task definition.</p> <p>If you are using the Fargate launch type, task placement constraints are not supported.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html\">Task Placement Constraints</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
|
||||
"refs": {
|
||||
"TaskDefinitionPlacementConstraints$member": null
|
||||
}
|
||||
|
@ -1303,14 +1321,14 @@
|
|||
"ServiceEvent$createdAt": "<p>The Unix time stamp for when the event was triggered.</p>",
|
||||
"SubmitTaskStateChangeRequest$pullStartedAt": "<p>The Unix time stamp for when the container image pull began.</p>",
|
||||
"SubmitTaskStateChangeRequest$pullStoppedAt": "<p>The Unix time stamp for when the container image pull completed.</p>",
|
||||
"SubmitTaskStateChangeRequest$executionStoppedAt": "<p>The Unix timestamp for when the task execution stopped.</p>",
|
||||
"SubmitTaskStateChangeRequest$executionStoppedAt": "<p>The Unix time stamp for when the task execution stopped.</p>",
|
||||
"Task$connectivityAt": "<p>The Unix time stamp for when the task last went into <code>CONNECTED</code> status.</p>",
|
||||
"Task$pullStartedAt": "<p>The Unix time stamp for when the container image pull began.</p>",
|
||||
"Task$pullStoppedAt": "<p>The Unix time stamp for when the container image pull completed.</p>",
|
||||
"Task$executionStoppedAt": "<p>The Unix timestamp for when the task execution stopped.</p>",
|
||||
"Task$executionStoppedAt": "<p>The Unix time stamp for when the task execution stopped.</p>",
|
||||
"Task$createdAt": "<p>The Unix time stamp for when the task was created (the task entered the <code>PENDING</code> state).</p>",
|
||||
"Task$startedAt": "<p>The Unix time stamp for when the task started (the task transitioned from the <code>PENDING</code> state to the <code>RUNNING</code> state).</p>",
|
||||
"Task$stoppingAt": "<p>The Unix time stamp for when the task will stop (the task transitioned from the <code>RUNNING</code> state to the <code>STOPPED</code> state).</p>",
|
||||
"Task$stoppingAt": "<p>The Unix time stamp for when the task will stop (transitions from the <code>RUNNING</code> state to <code>STOPPED</code>).</p>",
|
||||
"Task$stoppedAt": "<p>The Unix time stamp for when the task was stopped (the task transitioned from the <code>RUNNING</code> state to the <code>STOPPED</code> state).</p>"
|
||||
}
|
||||
},
|
||||
|
|
37
vendor/github.com/aws/aws-sdk-go/models/apis/elasticbeanstalk/2010-12-01/api-2.json
generated
vendored
37
vendor/github.com/aws/aws-sdk-go/models/apis/elasticbeanstalk/2010-12-01/api-2.json
generated
vendored
|
@ -6,6 +6,7 @@
|
|||
"protocol":"query",
|
||||
"serviceAbbreviation":"Elastic Beanstalk",
|
||||
"serviceFullName":"AWS Elastic Beanstalk",
|
||||
"serviceId":"Elastic Beanstalk",
|
||||
"signatureVersion":"v4",
|
||||
"uid":"elasticbeanstalk-2010-12-01",
|
||||
"xmlNamespace":"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"
|
||||
|
@ -228,6 +229,20 @@
|
|||
{"shape":"PlatformVersionStillReferencedException"}
|
||||
]
|
||||
},
|
||||
"DescribeAccountAttributes":{
|
||||
"name":"DescribeAccountAttributes",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"output":{
|
||||
"shape":"DescribeAccountAttributesResult",
|
||||
"resultWrapper":"DescribeAccountAttributesResult"
|
||||
},
|
||||
"errors":[
|
||||
{"shape":"InsufficientPrivilegesException"}
|
||||
]
|
||||
},
|
||||
"DescribeApplicationVersions":{
|
||||
"name":"DescribeApplicationVersions",
|
||||
"http":{
|
||||
|
@ -1156,6 +1171,12 @@
|
|||
}
|
||||
},
|
||||
"DeploymentTimestamp":{"type":"timestamp"},
|
||||
"DescribeAccountAttributesResult":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ResourceQuotas":{"shape":"ResourceQuotas"}
|
||||
}
|
||||
},
|
||||
"DescribeApplicationVersionsMessage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
@ -1991,6 +2012,22 @@
|
|||
},
|
||||
"exception":true
|
||||
},
|
||||
"ResourceQuota":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Maximum":{"shape":"BoxedInt"}
|
||||
}
|
||||
},
|
||||
"ResourceQuotas":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ApplicationQuota":{"shape":"ResourceQuota"},
|
||||
"ApplicationVersionQuota":{"shape":"ResourceQuota"},
|
||||
"EnvironmentQuota":{"shape":"ResourceQuota"},
|
||||
"ConfigurationTemplateQuota":{"shape":"ResourceQuota"},
|
||||
"CustomPlatformQuota":{"shape":"ResourceQuota"}
|
||||
}
|
||||
},
|
||||
"ResourceTagsDescriptionMessage":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
|
|
25
vendor/github.com/aws/aws-sdk-go/models/apis/elasticbeanstalk/2010-12-01/docs-2.json
generated
vendored
25
vendor/github.com/aws/aws-sdk-go/models/apis/elasticbeanstalk/2010-12-01/docs-2.json
generated
vendored
|
@ -17,6 +17,7 @@
|
|||
"DeleteConfigurationTemplate": "<p>Deletes the specified configuration template.</p> <note> <p>When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment.</p> </note>",
|
||||
"DeleteEnvironmentConfiguration": "<p>Deletes the draft configuration associated with the running environment.</p> <p>Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using <a>DescribeConfigurationSettings</a> while the update is in progress or if the update fails. The <code>DeploymentStatus</code> for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.</p>",
|
||||
"DeletePlatformVersion": "<p>Deletes the specified version of a custom platform.</p>",
|
||||
"DescribeAccountAttributes": null,
|
||||
"DescribeApplicationVersions": "<p>Retrieve a list of application versions.</p>",
|
||||
"DescribeApplications": "<p>Returns the descriptions of existing applications.</p>",
|
||||
"DescribeConfigurationOptions": "<p>Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.</p>",
|
||||
|
@ -263,7 +264,8 @@
|
|||
"refs": {
|
||||
"BuildConfiguration$TimeoutInMinutes": "<p>How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.</p>",
|
||||
"MaxAgeRule$MaxAgeInDays": "<p>Specify the number of days to retain an application versions.</p>",
|
||||
"MaxCountRule$MaxCount": "<p>Specify the maximum number of application versions to retain.</p>"
|
||||
"MaxCountRule$MaxCount": "<p>Specify the maximum number of application versions to retain.</p>",
|
||||
"ResourceQuota$Maximum": null
|
||||
}
|
||||
},
|
||||
"BuildConfiguration": {
|
||||
|
@ -581,6 +583,11 @@
|
|||
"Deployment$DeploymentTime": "<p>For in-progress deployments, the time that the deployment started.</p> <p>For completed deployments, the time that the deployment ended.</p>"
|
||||
}
|
||||
},
|
||||
"DescribeAccountAttributesResult": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DescribeApplicationVersionsMessage": {
|
||||
"base": "<p>Request to describe application versions.</p>",
|
||||
"refs": {
|
||||
|
@ -1522,6 +1529,22 @@
|
|||
"refs": {
|
||||
}
|
||||
},
|
||||
"ResourceQuota": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResourceQuotas$ApplicationQuota": null,
|
||||
"ResourceQuotas$ApplicationVersionQuota": null,
|
||||
"ResourceQuotas$EnvironmentQuota": null,
|
||||
"ResourceQuotas$ConfigurationTemplateQuota": null,
|
||||
"ResourceQuotas$CustomPlatformQuota": null
|
||||
}
|
||||
},
|
||||
"ResourceQuotas": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeAccountAttributesResult$ResourceQuotas": null
|
||||
}
|
||||
},
|
||||
"ResourceTagsDescriptionMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
|
|
18
vendor/github.com/aws/aws-sdk-go/models/apis/elasticbeanstalk/2010-12-01/smoke.json
generated
vendored
Normal file
18
vendor/github.com/aws/aws-sdk-go/models/apis/elasticbeanstalk/2010-12-01/smoke.json
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "ListAvailableSolutionStacks",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "DescribeEnvironmentResources",
|
||||
"input": {
|
||||
"EnvironmentId": "fake_environment"
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
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