From 372d444f2432b596e0f22f5b4146e86970df16ff Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 27 Jun 2024 14:30:51 -0400 Subject: [PATCH] Release v1.54.10 (2024-06-27) (#5298) Release v1.54.10 (2024-06-27) === ### Service Client Updates * `service/application-autoscaling`: Updates service API and documentation * `service/chime-sdk-media-pipelines`: Updates service API and documentation * `service/cloudfront`: Updates service API and documentation * Doc only update for CloudFront that fixes customer-reported issue * `service/datazone`: Updates service API, documentation, and paginators * `service/elasticache`: Updates service API * Add v2 smoke tests and smithy smokeTests trait for SDK testing. * `service/mq`: Updates service API and documentation * This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'. * `service/qconnect`: Updates service API, documentation, and paginators * `service/quicksight`: Updates service API and documentation * Adding support for Repeating Sections, Nested Filters * `service/rds`: Updates service API, documentation, waiters, paginators, and examples * Updates Amazon RDS documentation for TAZ export to S3. * `service/sagemaker`: Updates service API and documentation * Add capability for Admins to customize Studio experience for the user by showing or hiding Apps and MLTools. * `service/workspaces`: Updates service API and documentation * Added support for WorkSpaces Pools. --- CHANGELOG.md | 23 + aws/endpoints/defaults.go | 15 + aws/version.go | 2 +- .../2016-02-06/api-2.json | 12 +- .../2016-02-06/docs-2.json | 82 +- .../2021-07-15/api-2.json | 7 +- .../2021-07-15/docs-2.json | 29 +- .../2021-07-15/endpoint-rule-set-1.json | 40 +- models/apis/cloudfront/2020-05-31/api-2.json | 3 +- models/apis/cloudfront/2020-05-31/docs-2.json | 10 +- models/apis/datazone/2018-05-10/api-2.json | 277 +- models/apis/datazone/2018-05-10/docs-2.json | 137 +- .../datazone/2018-05-10/paginators-1.json | 6 + models/apis/elasticache/2015-02-02/api-2.json | 3 +- .../apis/elasticache/2015-02-02/smoke-2.json | 16 + models/apis/mq/2017-11-27/api-2.json | 5491 +++++----- models/apis/mq/2017-11-27/docs-2.json | 22 +- .../mq/2017-11-27/endpoint-rule-set-1.json | 366 +- models/apis/qconnect/2020-10-19/api-2.json | 281 +- models/apis/qconnect/2020-10-19/docs-2.json | 123 +- .../qconnect/2020-10-19/paginators-1.json | 6 + models/apis/quicksight/2018-04-01/api-2.json | 107 +- models/apis/quicksight/2018-04-01/docs-2.json | 87 +- models/apis/rds/2014-10-31/api-2.json | 3 +- models/apis/rds/2014-10-31/docs-2.json | 10 +- models/apis/sagemaker/2017-07-24/api-2.json | 36 +- models/apis/sagemaker/2017-07-24/docs-2.json | 31 +- models/apis/workspaces/2015-04-08/api-2.json | 770 +- models/apis/workspaces/2015-04-08/docs-2.json | 515 +- models/endpoints/endpoints.json | 14 +- service/applicationautoscaling/api.go | 286 +- service/applicationautoscaling/doc.go | 6 +- service/chimesdkmediapipelines/api.go | 81 +- service/cloudfront/api.go | 20 +- service/datazone/api.go | 1194 +++ service/datazone/datazoneiface/interface.go | 15 + service/mq/api.go | 25 +- service/qconnect/api.go | 1703 +++- service/qconnect/errors.go | 7 + service/qconnect/qconnectiface/interface.go | 19 + service/quicksight/api.go | 608 ++ service/rds/api.go | 16 +- service/sagemaker/api.go | 123 +- service/workspaces/api.go | 8905 ++++++++++++----- .../workspaces/workspacesiface/interface.go | 36 + 45 files changed, 15547 insertions(+), 6021 deletions(-) create mode 100644 models/apis/elasticache/2015-02-02/smoke-2.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e8016a22c5..05917d3a3f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +Release v1.54.10 (2024-06-27) +=== + +### Service Client Updates +* `service/application-autoscaling`: Updates service API and documentation +* `service/chime-sdk-media-pipelines`: Updates service API and documentation +* `service/cloudfront`: Updates service API and documentation + * Doc only update for CloudFront that fixes customer-reported issue +* `service/datazone`: Updates service API, documentation, and paginators +* `service/elasticache`: Updates service API + * Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* `service/mq`: Updates service API and documentation + * This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'. +* `service/qconnect`: Updates service API, documentation, and paginators +* `service/quicksight`: Updates service API and documentation + * Adding support for Repeating Sections, Nested Filters +* `service/rds`: Updates service API, documentation, waiters, paginators, and examples + * Updates Amazon RDS documentation for TAZ export to S3. +* `service/sagemaker`: Updates service API and documentation + * Add capability for Admins to customize Studio experience for the user by showing or hiding Apps and MLTools. +* `service/workspaces`: Updates service API and documentation + * Added support for WorkSpaces Pools. + Release v1.54.9 (2024-06-26) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 74c40471452..47e3601d76c 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -20965,6 +20965,21 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "meetings-chime-fips.ca-central-1.amazonaws.com", + }, + endpointKey{ + Region: "ca-central-1-fips", + }: endpoint{ + Hostname: "meetings-chime-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 6e101f70e51..5c1faee5c85 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.54.9" +const SDKVersion = "1.54.10" diff --git a/models/apis/application-autoscaling/2016-02-06/api-2.json b/models/apis/application-autoscaling/2016-02-06/api-2.json index 1da4c9dcc96..d5658134a7f 100644 --- a/models/apis/application-autoscaling/2016-02-06/api-2.json +++ b/models/apis/application-autoscaling/2016-02-06/api-2.json @@ -11,7 +11,8 @@ "signatureVersion":"v4", "signingName":"application-autoscaling", "targetPrefix":"AnyScaleFrontendService", - "uid":"application-autoscaling-2016-02-06" + "uid":"application-autoscaling-2016-02-06", + "auth":["aws.auth#sigv4"] }, "operations":{ "DeleteScalingPolicy":{ @@ -512,7 +513,8 @@ "NeptuneReaderAverageCPUUtilization", "SageMakerVariantProvisionedConcurrencyUtilization", "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage", - "SageMakerInferenceComponentInvocationsPerCopy" + "SageMakerInferenceComponentInvocationsPerCopy", + "WorkSpacesAverageUserSessionsCapacityUtilization" ] }, "MetricUnit":{"type":"string"}, @@ -688,7 +690,8 @@ "elasticache:replication-group:Replicas", "neptune:cluster:ReadReplicaCount", "sagemaker:variant:DesiredProvisionedConcurrency", - "sagemaker:inference-component:DesiredCopyCount" + "sagemaker:inference-component:DesiredCopyCount", + "workspaces:workspacespool:DesiredUserSessions" ] }, "ScalableTarget":{ @@ -847,7 +850,8 @@ "cassandra", "kafka", "elasticache", - "neptune" + "neptune", + "workspaces" ] }, "StepAdjustment":{ diff --git a/models/apis/application-autoscaling/2016-02-06/docs-2.json b/models/apis/application-autoscaling/2016-02-06/docs-2.json index 1d9cae74c9a..6375f6c87a6 100644 --- a/models/apis/application-autoscaling/2016-02-06/docs-2.json +++ b/models/apis/application-autoscaling/2016-02-06/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "
With Application Auto Scaling, you can configure automatic scaling for the following resources:
Amazon AppStream 2.0 fleets
Amazon Aurora Replicas
Amazon Comprehend document classification and entity recognizer endpoints
Amazon DynamoDB tables and global secondary indexes throughput capacity
Amazon ECS services
Amazon ElastiCache for Redis clusters (replication groups)
Amazon EMR clusters
Amazon Keyspaces (for Apache Cassandra) tables
Lambda function provisioned concurrency
Amazon Managed Streaming for Apache Kafka broker storage
Amazon Neptune clusters
Amazon SageMaker endpoint variants
Amazon SageMaker Serverless endpoint provisioned concurrency
Amazon SageMaker inference components
Spot Fleets (Amazon EC2)
Custom resources provided by your own applications or services
To learn more about Application Auto Scaling, see the Application Auto Scaling User Guide.
API Summary
The Application Auto Scaling service API includes three key sets of actions:
Register and manage scalable targets - Register Amazon Web Services or custom resources as scalable targets (a resource that Application Auto Scaling can scale), set minimum and maximum capacity limits, and retrieve information on existing scalable targets.
Configure and manage automatic scaling - Define scaling policies to dynamically scale your resources in response to CloudWatch alarms, schedule one-time or recurring scaling actions, and retrieve your recent scaling activity history.
Suspend and resume scaling - Temporarily suspend and later resume automatic scaling by calling the RegisterScalableTarget API action for any Application Auto Scaling scalable target. You can suspend and resume (individually or in combination) scale-out activities that are triggered by a scaling policy, scale-in activities that are triggered by a scaling policy, and scheduled scaling.
With Application Auto Scaling, you can configure automatic scaling for the following resources:
Amazon AppStream 2.0 fleets
Amazon Aurora Replicas
Amazon Comprehend document classification and entity recognizer endpoints
Amazon DynamoDB tables and global secondary indexes throughput capacity
Amazon ECS services
Amazon ElastiCache for Redis clusters (replication groups)
Amazon EMR clusters
Amazon Keyspaces (for Apache Cassandra) tables
Lambda function provisioned concurrency
Amazon Managed Streaming for Apache Kafka broker storage
Amazon Neptune clusters
Amazon SageMaker endpoint variants
Amazon SageMaker inference components
Amazon SageMaker serverless endpoint provisioned concurrency
Spot Fleets (Amazon EC2)
WorkSpaces pools
Custom resources provided by your own applications or services
To learn more about Application Auto Scaling, see the Application Auto Scaling User Guide.
API Summary
The Application Auto Scaling service API includes three key sets of actions:
Register and manage scalable targets - Register Amazon Web Services or custom resources as scalable targets (a resource that Application Auto Scaling can scale), set minimum and maximum capacity limits, and retrieve information on existing scalable targets.
Configure and manage automatic scaling - Define scaling policies to dynamically scale your resources in response to CloudWatch alarms, schedule one-time or recurring scaling actions, and retrieve your recent scaling activity history.
Suspend and resume scaling - Temporarily suspend and later resume automatic scaling by calling the RegisterScalableTarget API action for any Application Auto Scaling scalable target. You can suspend and resume (individually or in combination) scale-out activities that are triggered by a scaling policy, scale-in activities that are triggered by a scaling policy, and scheduled scaling.
Deletes the specified scaling policy for an Application Auto Scaling scalable target.
Deleting a step scaling 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.
For more information, see Delete a step scaling policy and Delete a target tracking scaling policy in the Application Auto Scaling User Guide.
", "DeleteScheduledAction": "Deletes the specified scheduled action for an Application Auto Scaling scalable target.
For more information, see Delete a scheduled action in the Application Auto Scaling User Guide.
", @@ -8,12 +8,12 @@ "DescribeScalableTargets": "Gets information about the scalable targets in the specified namespace.
You can filter the results using ResourceIds
and ScalableDimension
.
Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.
You can filter the results using ResourceId
and ScalableDimension
.
For information about viewing scaling activities using the Amazon Web Services CLI, see Scaling activities for Application Auto Scaling.
", "DescribeScalingPolicies": "Describes the Application Auto Scaling scaling policies for the specified service namespace.
You can filter the results using ResourceId
, ScalableDimension
, and PolicyNames
.
For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.
", - "DescribeScheduledActions": "Describes the Application Auto Scaling scheduled actions for the specified service namespace.
You can filter the results using the ResourceId
, ScalableDimension
, and ScheduledActionNames
parameters.
For more information, see Scheduled scaling and Managing scheduled scaling in the Application Auto Scaling User Guide.
", - "ListTagsForResource": "Returns all the tags on the specified Application Auto Scaling scalable target.
For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
", + "DescribeScheduledActions": "Describes the Application Auto Scaling scheduled actions for the specified service namespace.
You can filter the results using the ResourceId
, ScalableDimension
, and ScheduledActionNames
parameters.
For more information, see Scheduled scaling in the Application Auto Scaling User Guide.
", + "ListTagsForResource": "Returns all the tags on the specified Application Auto Scaling scalable target.
For general information about tags, including the format and syntax, see Tagging your Amazon Web Services resources in the Amazon Web Services General Reference.
", "PutScalingPolicy": "Creates or updates a scaling policy for an Application Auto Scaling scalable target.
Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy until you have registered the resource as a scalable target.
Multiple scaling policies can be in force at the same time for the same scalable target. You can have one or more target tracking scaling policies, one or more step scaling policies, or both. However, there is a chance that multiple policies could conflict, instructing the scalable target to scale out or in at the same time. Application Auto Scaling gives precedence to the policy that provides the largest capacity for both scale out and scale in. For example, if one policy increases capacity by 3, another policy increases capacity by 200 percent, and the current capacity is 10, Application Auto Scaling uses the policy with the highest calculated capacity (200% of 10 = 20) and scales out to 30.
We recommend caution, however, when using target tracking scaling policies with step scaling policies because conflicts between these policies can cause undesirable behavior. For example, if the step scaling policy initiates a scale-in activity before the target tracking policy is ready to scale in, the scale-in activity will not be blocked. After the scale-in activity completes, the target tracking policy could instruct the scalable target to scale out again.
For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.
If a scalable target is deregistered, the scalable target is no longer available to use scaling policies. Any scaling policies that were specified for the scalable target are deleted.
Creates or updates a scheduled action for an Application Auto Scaling scalable target.
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 have registered the resource as a scalable target.
When you specify start and end times with a recurring schedule using a cron expression or rates, they form the boundaries for when the recurring action starts and stops.
To update a scheduled action, specify the parameters that you want to change. If you don't specify start and end times, the old values are deleted.
For more information, see Scheduled scaling in the Application Auto Scaling User Guide.
If a scalable target is deregistered, the scalable target is no longer available to run scheduled actions. Any scheduled actions that were specified for the scalable target are deleted.
Registers or updates a scalable target, which is the resource that you want to scale.
Scalable targets are uniquely identified by the combination of resource ID, scalable dimension, and namespace, which represents some capacity dimension of the underlying service.
When you register a new scalable target, you must specify values for the minimum and maximum capacity. If the specified resource is not active in the target service, this operation does not change the resource's current capacity. Otherwise, it changes the resource's current capacity to a value that is inside of this range.
If you add a scaling policy, current capacity is adjustable within the specified range when scaling starts. Application Auto Scaling scaling policies will not scale capacity to values that are outside of the minimum and maximum range.
After you register a scalable target, you do not need to register it again to use other Application Auto Scaling operations. To see which resources have been registered, use DescribeScalableTargets. You can also view the scaling policies for a service namespace by using DescribeScalableTargets. If you no longer need a scalable target, you can deregister it by using DeregisterScalableTarget.
To update a scalable target, specify the parameters that you want to change. Include the parameters that identify the scalable target: resource ID, scalable dimension, and namespace. Any parameters that you don't specify are not changed by this update request.
If you call the RegisterScalableTarget
API operation to create a scalable target, there might be a brief delay until the operation achieves eventual consistency. You might become aware of this brief delay if you get unexpected errors when performing sequential operations. The typical strategy is to retry the request, and some Amazon Web Services SDKs include automatic backoff and retry logic.
If you call the RegisterScalableTarget
API operation to update an existing scalable target, Application Auto Scaling retrieves the current capacity of the resource. If it's below the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the capacity of the scalable target to place it within these bounds, even if you don't include the MinCapacity
or MaxCapacity
request parameters.
Adds or edits tags on an Application Auto Scaling scalable target.
Each tag consists of a tag key and a tag value, which are both case-sensitive strings. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.
You can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a scaling policy or scheduled action.
You can also add tags to an Application Auto Scaling scalable target while creating it (RegisterScalableTarget
).
For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
Use tags to control access to a scalable target. For more information, see Tagging support for Application Auto Scaling in the Application Auto Scaling User Guide.
", + "TagResource": "Adds or edits tags on an Application Auto Scaling scalable target.
Each tag consists of a tag key and a tag value, which are both case-sensitive strings. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.
You can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a scaling policy or scheduled action.
You can also add tags to an Application Auto Scaling scalable target while creating it (RegisterScalableTarget
).
For general information about tags, including the format and syntax, see Tagging your Amazon Web Services resources in the Amazon Web Services General Reference.
Use tags to control access to a scalable target. For more information, see Tagging support for Application Auto Scaling in the Application Auto Scaling User Guide.
", "UntagResource": "Deletes tags from an Application Auto Scaling scalable target. To delete a tag, specify the tag key and the Application Auto Scaling scalable target.
" }, "shapes": { @@ -292,7 +292,7 @@ } }, "NotScaledReason": { - "base": "Describes the reason for an activity that isn't scaled (not scaled activity), in machine-readable format. For help interpreting the not scaled reason details, see Scaling activities for Application Auto Scaling.
", + "base": "Describes the reason for an activity that isn't scaled (not scaled activity), in machine-readable format. For help interpreting the not scaled reason details, see Scaling activities for Application Auto Scaling in the Application Auto Scaling User Guide.
", "refs": { "NotScaledReasons$member": null } @@ -323,7 +323,7 @@ } }, "PredefinedMetricSpecification": { - "base": "Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.
Only the Amazon Web Services that you're using send metrics to Amazon CloudWatch. To determine whether a desired metric already exists by looking up its namespace and dimension using the CloudWatch metrics dashboard in the console, follow the procedure in Monitor your resources using CloudWatch in the Application Auto Scaling User Guide.
", + "base": "Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.
For more information, Predefined metrics for target tracking scaling policies in the Application Auto Scaling User Guide.
", "refs": { "TargetTrackingScalingPolicyConfiguration$PredefinedMetricSpecification": "A predefined metric. You can specify either a predefined metric or a customized metric.
" } @@ -364,7 +364,7 @@ "NotScaledReason$MaxCapacity": "The maximum capacity.
", "NotScaledReason$MinCapacity": "The minimum capacity.
", "NotScaledReason$CurrentCapacity": "The current capacity.
", - "RegisterScalableTargetRequest$MinCapacity": "The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. This property is required when registering a new scalable target.
For the following resources, the minimum value allowed is 0.
AppStream 2.0 fleets
Aurora DB clusters
ECS services
EMR clusters
Lambda provisioned concurrency
SageMaker endpoint variants
SageMaker Serverless endpoint provisioned concurrency
Spot Fleets
custom resources
It's strongly recommended that you specify a value greater than 0. A value greater than 0 means that data points are continuously reported to CloudWatch that scaling policies can use to scale on a metric like average CPU utilization.
For all other resources, the minimum allowed value depends on the type of resource that you are using. If you provide a value that is lower than what a resource can accept, an error occurs. In which case, the error message will provide the minimum value that the resource can accept.
", + "RegisterScalableTargetRequest$MinCapacity": "The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. This property is required when registering a new scalable target.
For the following resources, the minimum value allowed is 0.
AppStream 2.0 fleets
Aurora DB clusters
ECS services
EMR clusters
Lambda provisioned concurrency
SageMaker endpoint variants
SageMaker inference components
SageMaker serverless endpoint provisioned concurrency
Spot Fleets
custom resources
It's strongly recommended that you specify a value greater than 0. A value greater than 0 means that data points are continuously reported to CloudWatch that scaling policies can use to scale on a metric like average CPU utilization.
For all other resources, the minimum allowed value depends on the type of resource that you are using. If you provide a value that is lower than what a resource can accept, an error occurs. In which case, the error message will provide the minimum value that the resource can accept.
", "RegisterScalableTargetRequest$MaxCapacity": "The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand. This property is required when registering a new scalable target.
Although you can specify a large maximum capacity, note that service quotas might impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
", "ScalableTarget$MinCapacity": "The minimum value to scale to in response to a scale-in activity.
", "ScalableTarget$MaxCapacity": "The maximum value to scale to in response to a scale-out activity.
", @@ -384,36 +384,36 @@ "base": null, "refs": { "DeleteScalingPolicyRequest$PolicyName": "The name of the scaling policy.
", - "DeleteScalingPolicyRequest$ResourceId": "The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The name of the scheduled action.
", - "DeleteScheduledActionRequest$ResourceId": "The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The Amazon Resource Name (ARN) of the resulting scaling policy.
", - "PutScheduledActionRequest$Schedule": "The schedule for this action. The following formats are supported:
At expressions - \"at(yyyy-mm-ddThh:mm:ss)
\"
Rate expressions - \"rate(value unit)
\"
Cron expressions - \"cron(fields)
\"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
At and cron expressions use Universal Coordinated Time (UTC) by default.
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
For rate expressions, value is a positive integer and unit is minute
| minutes
| hour
| hours
| day
| days
.
For more information and examples, see Example scheduled actions for Application Auto Scaling in the Application Auto Scaling User Guide.
", + "PutScheduledActionRequest$Schedule": "The schedule for this action. The following formats are supported:
At expressions - \"at(yyyy-mm-ddThh:mm:ss)
\"
Rate expressions - \"rate(value unit)
\"
Cron expressions - \"cron(fields)
\"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
At and cron expressions use Universal Coordinated Time (UTC) by default.
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
For rate expressions, value is a positive integer and unit is minute
| minutes
| hour
| hours
| day
| days
.
For more information, see Schedule recurring scaling actions using cron expressions in the Application Auto Scaling User Guide.
", "PutScheduledActionRequest$Timezone": "Specifies the time zone used when setting a scheduled action by using an at or cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones supported by Joda-Time (such as Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://www.joda.org/joda-time/timezones.html.
The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource that is associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
This parameter is required for services that do not support service-linked roles (such as Amazon EMR), and it must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.
If the service supports service-linked roles, Application Auto Scaling uses a service-linked role, which it creates if it does not yet exist. For more information, see Application Auto Scaling IAM roles.
", + "PutScheduledActionRequest$ResourceId": "The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The identifier of the resource that is associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
This parameter is required for services that do not support service-linked roles (such as Amazon EMR), and it must specify the ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.
If the service supports service-linked roles, Application Auto Scaling uses a service-linked role, which it creates if it does not yet exist. For more information, see How Application Auto Scaling works with IAM.
", "ResourceIdsMaxLen1600$member": null, - "ScalableTarget$ResourceId": "The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.
", - "ScalingActivity$ResourceId": "The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The Amazon Resource Name (ARN) of the scaling policy.
", - "ScalingPolicy$ResourceId": "The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The Amazon Resource Name (ARN) of the scheduled action.
", - "ScheduledAction$Schedule": "The schedule for this action. The following formats are supported:
At expressions - \"at(yyyy-mm-ddThh:mm:ss)
\"
Rate expressions - \"rate(value unit)
\"
Cron expressions - \"cron(fields)
\"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
At and cron expressions use Universal Coordinated Time (UTC) by default.
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
For rate expressions, value is a positive integer and unit is minute
| minutes
| hour
| hours
| day
| days
.
For more information and examples, see Example scheduled actions for Application Auto Scaling in the Application Auto Scaling User Guide.
", + "ScheduledAction$Schedule": "The schedule for this action. The following formats are supported:
At expressions - \"at(yyyy-mm-ddThh:mm:ss)
\"
Rate expressions - \"rate(value unit)
\"
Cron expressions - \"cron(fields)
\"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
At and cron expressions use Universal Coordinated Time (UTC) by default.
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
For rate expressions, value is a positive integer and unit is minute
| minutes
| hour
| hours
| day
| days
.
For more information, see Schedule recurring scaling actions using cron expressions in the Application Auto Scaling User Guide.
", "ScheduledAction$Timezone": "The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.
", - "ScheduledAction$ResourceId": "The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker Serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/my-cluster/my-service
.
Spot Fleet - The resource type is spot-fleet-request
and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
AppStream 2.0 fleet - The resource type is fleet
and the unique identifier is the fleet name. Example: fleet/sample-fleet
.
DynamoDB table - The resource type is table
and the unique identifier is the table name. Example: table/my-table
.
DynamoDB global secondary index - The resource type is index
and the unique identifier is the index name. Example: table/my-table/index/my-table-index
.
Aurora DB cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:my-db-cluster
.
SageMaker endpoint variant - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
Custom resources are not supported with a resource type. This parameter must specify the OutputValue
from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.
Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE
.
Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE
.
Lambda provisioned concurrency - The resource type is function
and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST
. Example: function:my-function:prod
or function:my-function:1
.
Amazon Keyspaces table - The resource type is table
and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable
.
Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5
.
Amazon ElastiCache replication group - The resource type is replication-group
and the unique identifier is the replication group name. Example: replication-group/mycluster
.
Neptune cluster - The resource type is cluster
and the unique identifier is the cluster name. Example: cluster:mycluster
.
SageMaker serverless endpoint - The resource type is variant
and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering
.
SageMaker inference component - The resource type is inference-component
and the unique identifier is the resource ID. Example: inference-component/my-inference-component
.
Amazon WorkSpaces - The resource type is workspacespool
and the unique identifier is the pool ID. Example: workspacespool/wspool-123456
.
The names of the scaling policies to describe.
", "DescribeScheduledActionsRequest$ScheduledActionNames": "The names of the scheduled actions to describe.
" } @@ -438,20 +438,20 @@ "ScalableDimension": { "base": null, "refs": { - "DeleteScalingPolicyRequest$ScalableDimension": "The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The desired task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The desired capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker Serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
ecs:service:DesiredCount
- The task count of an ECS service.
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot Fleet.
appstream:fleet:DesiredCapacity
- The capacity of an AppStream 2.0 fleet.
dynamodb:table:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB table.
dynamodb:table:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB table.
dynamodb:index:ReadCapacityUnits
- The provisioned read capacity for a DynamoDB global secondary index.
dynamodb:index:WriteCapacityUnits
- The provisioned write capacity for a DynamoDB global secondary index.
rds:cluster:ReadReplicaCount
- The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
sagemaker:variant:DesiredInstanceCount
- The number of EC2 instances for a SageMaker model endpoint variant.
custom-resource:ResourceType:Property
- The scalable dimension for a custom resource provided by your own application or service.
comprehend:document-classifier-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend document classification endpoint.
comprehend:entity-recognizer-endpoint:DesiredInferenceUnits
- The number of inference units for an Amazon Comprehend entity recognizer endpoint.
lambda:function:ProvisionedConcurrency
- The provisioned concurrency for a Lambda function.
cassandra:table:ReadCapacityUnits
- The provisioned read capacity for an Amazon Keyspaces table.
cassandra:table:WriteCapacityUnits
- The provisioned write capacity for an Amazon Keyspaces table.
kafka:broker-storage:VolumeSize
- The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
elasticache:replication-group:NodeGroups
- The number of node groups for an Amazon ElastiCache replication group.
elasticache:replication-group:Replicas
- The number of replicas per node group for an Amazon ElastiCache replication group.
neptune:cluster:ReadReplicaCount
- The count of read replicas in an Amazon Neptune DB cluster.
sagemaker:variant:DesiredProvisionedConcurrency
- The provisioned concurrency for a SageMaker serverless endpoint.
sagemaker:inference-component:DesiredCopyCount
- The number of copies across an endpoint for a SageMaker inference component.
workspaces:workspacespool:DesiredUserSessions
- The capacity of a WorkSpaces pool.
Specifies whether the scaling activities for a scalable target are in a suspended state.
", "refs": { - "RegisterScalableTargetRequest$SuspendedState": "An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true
suspends the specified scaling activities. Setting it to false
(default) resumes the specified scaling activities.
Suspension Outcomes
For DynamicScalingInSuspended
, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
For DynamicScalingOutSuspended
, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
For ScheduledScalingSuspended
, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
For more information, see Suspending and resuming scaling in the Application Auto Scaling User Guide.
", + "RegisterScalableTargetRequest$SuspendedState": "An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true
suspends the specified scaling activities. Setting it to false
(default) resumes the specified scaling activities.
Suspension Outcomes
For DynamicScalingInSuspended
, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended.
For DynamicScalingOutSuspended
, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended.
For ScheduledScalingSuspended
, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
For more information, see Suspend and resume scaling in the Application Auto Scaling User Guide.
", "ScalableTarget$SuspendedState": "Specifies whether the scaling activities for a scalable target are in a suspended state.
" } }, @@ -599,7 +599,7 @@ "refs": { "ListTagsForResourceResponse$Tags": "A list of tags. Each tag consists of a tag key and a tag value.
", "RegisterScalableTargetRequest$Tags": "Assigns one or more tags to the scalable target. Use this parameter to tag the scalable target when it is created. To tag an existing scalable target, use the TagResource operation.
Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required. You cannot have more than one tag on a scalable target with the same tag key.
Use tags to control access to a scalable target. For more information, see Tagging support for Application Auto Scaling in the Application Auto Scaling User Guide.
", - "TagResourceRequest$Tags": "The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
Each tag consists of a tag key and a tag value.
You cannot have more than one tag on an Application Auto Scaling scalable target with the same tag key. If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the current tag value with the specified one.
For information about the rules that apply to tag keys and tag values, see User-defined tag restrictions in the Amazon Web Services Billing and Cost Management User Guide.
" + "TagResourceRequest$Tags": "The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
Each tag consists of a tag key and a tag value.
You cannot have more than one tag on an Application Auto Scaling scalable target with the same tag key. If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the current tag value with the specified one.
For information about the rules that apply to tag keys and tag values, see User-defined tag restrictions in the Amazon Web Services Billing User Guide.
" } }, "TagResourceRequest": { @@ -673,7 +673,7 @@ } }, "TargetTrackingMetricStat": { - "base": "This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.
For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.
", + "base": "This structure defines the CloudWatch metric to return, along with the statistic and unit.
For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.
", "refs": { "TargetTrackingMetricDataQuery$MetricStat": "Information about the metric data to return.
Conditional: Within each MetricDataQuery
object, you must specify either Expression
or MetricStat
, but not both.
Creates a media insights pipeline.
", "CreateMediaInsightsPipelineConfiguration": "A structure that contains the static configurations for a media insights pipeline.
", "CreateMediaLiveConnectorPipeline": "Creates a media live connector pipeline in an Amazon Chime SDK meeting.
", - "CreateMediaPipelineKinesisVideoStreamPool": "Creates an Kinesis video stream pool for the media pipeline.
", + "CreateMediaPipelineKinesisVideoStreamPool": "Creates an Amazon Kinesis Video Stream pool for use with media stream pipelines.
If a meeting uses an opt-in Region as its MediaRegion, the KVS stream must be in that same Region. For example, if a meeting uses the af-south-1
Region, the KVS stream must also be in af-south-1
. However, if the meeting uses a Region that AWS turns on by default, the KVS stream can be in any available Region, including an opt-in Region. For example, if the meeting uses ca-central-1
, the KVS stream can be in eu-west-2
, us-east-1
, af-south-1
, or any other Region that the Amazon Chime SDK supports.
To learn which AWS Region a meeting uses, call the GetMeeting API and use the MediaRegion parameter from the response.
For more information about opt-in Regions, refer to Available Regions in the Amazon Chime SDK Developer Guide, and Specify which AWS Regions your account can use, in the AWS Account Management Reference Guide.
Creates a streaming media pipeline.
", "DeleteMediaCapturePipeline": "Deletes the media pipeline.
", "DeleteMediaInsightsPipelineConfiguration": "Deletes the specified configuration settings.
", "DeleteMediaPipeline": "Deletes the media pipeline.
", - "DeleteMediaPipelineKinesisVideoStreamPool": "Deletes an Kinesis video stream pool.
", + "DeleteMediaPipelineKinesisVideoStreamPool": "Deletes an Amazon Kinesis Video Stream pool.
", "GetMediaCapturePipeline": "Gets an existing media pipeline.
", "GetMediaInsightsPipelineConfiguration": "Gets the configuration settings for a media insights pipeline.
", "GetMediaPipeline": "Gets an existing media pipeline.
", @@ -32,7 +32,7 @@ "UntagResource": "Removes any tags from a media pipeline.
", "UpdateMediaInsightsPipelineConfiguration": "Updates the media insights pipeline's configuration settings.
", "UpdateMediaInsightsPipelineStatus": "Updates the status of a media insights pipeline.
", - "UpdateMediaPipelineKinesisVideoStreamPool": "Updates an Kinesis video stream pool in a media pipeline.
" + "UpdateMediaPipelineKinesisVideoStreamPool": "Updates an Amazon Kinesis Video Stream pool in a media pipeline.
" }, "shapes": { "ActiveSpeakerOnlyConfiguration": { @@ -68,7 +68,7 @@ } }, "AmazonTranscribeProcessorConfiguration": { - "base": "A structure that contains the configuration settings for an Amazon Transcribe processor.
", + "base": "A structure that contains the configuration settings for an Amazon Transcribe processor.
Calls to this API must include a LanguageCode
, IdentifyLanguage
, or IdentifyMultipleLanguages
parameter. If you include more than one of those parameters, your transcription job fails.
The transcription processor configuration settings in a media insights pipeline configuration element.
" } @@ -93,8 +93,8 @@ "MediaInsightsPipelineConfiguration$MediaInsightsPipelineConfigurationArn": "The ARN of the configuration.
", "MediaInsightsPipelineConfiguration$ResourceAccessRoleArn": "The ARN of the role used by the service to access Amazon Web Services resources.
", "MediaInsightsPipelineConfigurationSummary$MediaInsightsPipelineConfigurationArn": "The ARN of the media insights pipeline configuration.
", - "MediaStreamSink$SinkArn": "The ARN of the media stream sink.
", - "MediaStreamSource$SourceArn": "The ARN of the media stream source.
", + "MediaStreamSink$SinkArn": "The ARN of the Kinesis Video Stream pool returned by the CreateMediaPipelineKinesisVideoStreamPool API.
", + "MediaStreamSource$SourceArn": "The ARN of the meeting.
", "S3BucketSinkConfiguration$Destination": "The destination URL of the S3 bucket.
", "S3RecordingSinkConfiguration$Destination": "The default URI of the Amazon S3 bucket used as the recording sink.
", "S3RecordingSinkRuntimeConfiguration$Destination": "The URI of the S3 bucket used as the sink.
", @@ -196,6 +196,7 @@ "AmazonTranscribeProcessorConfiguration$EnablePartialResultsStabilization": "Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
", "AmazonTranscribeProcessorConfiguration$FilterPartialResults": "If true, TranscriptEvents
with IsPartial: true
are filtered out of the insights target.
Turns language identification on or off.
", + "AmazonTranscribeProcessorConfiguration$IdentifyMultipleLanguages": "Turns language identification on or off for multiple languages.
", "KeywordMatchConfiguration$Negate": "Matches keywords or phrases on their presence or absence. If set to TRUE
, the rule matches when all the specified keywords or phrases are absent. Default: FALSE
.
Turns off real-time alerts.
", "VoiceEnhancementSinkConfiguration$Disabled": "Disables the VoiceEnhancementSinkConfiguration
element.
The configuration of an Kinesis video stream.
", + "base": "The configuration of an Kinesis video stream.
If a meeting uses an opt-in Region as its MediaRegion, the KVS stream must be in that same Region. For example, if a meeting uses the af-south-1
Region, the KVS stream must also be in af-south-1
. However, if the meeting uses a Region that AWS turns on by default, the KVS stream can be in any available Region, including an opt-in Region. For example, if the meeting uses ca-central-1
, the KVS stream can be in eu-west-2
, us-east-1
, af-south-1
, or any other Region that the Amazon Chime SDK supports.
To learn which AWS Region a meeting uses, call the GetMeeting API and use the MediaRegion parameter from the response.
For more information about opt-in Regions, refer to Available Regions in the Amazon Chime SDK Developer Guide, and Specify which AWS Regions your account can use, in the AWS Account Management Reference Guide.
The configuration settings for the video stream.
", + "CreateMediaPipelineKinesisVideoStreamPoolRequest$StreamConfiguration": "The configuration settings for the stream.
", "KinesisVideoStreamPoolConfiguration$StreamConfiguration": "The Kinesis video stream pool configuration object.
" } }, @@ -735,7 +736,7 @@ "KinesisVideoStreamPoolConfiguration": { "base": "The video stream pool configuration object.
", "refs": { - "CreateMediaPipelineKinesisVideoStreamPoolResponse$KinesisVideoStreamPoolConfiguration": "The configuration for the Kinesis video stream pool.
", + "CreateMediaPipelineKinesisVideoStreamPoolResponse$KinesisVideoStreamPoolConfiguration": "The configuration for applying the streams to the pool.
The video stream pool configuration object.
", "UpdateMediaPipelineKinesisVideoStreamPoolResponse$KinesisVideoStreamPoolConfiguration": "The video stream pool configuration object.
" } @@ -750,7 +751,7 @@ "KinesisVideoStreamPoolName": { "base": null, "refs": { - "CreateMediaPipelineKinesisVideoStreamPoolRequest$PoolName": "The name of the video stream pool.
", + "CreateMediaPipelineKinesisVideoStreamPoolRequest$PoolName": "The name of the pool.
", "KinesisVideoStreamPoolConfiguration$PoolName": "The name of the video stream pool configuration.
", "KinesisVideoStreamPoolSummary$PoolName": "The name of the video stream pool.
" } @@ -1169,9 +1170,9 @@ "base": null, "refs": { "DeleteMediaInsightsPipelineConfigurationRequest$Identifier": "The unique identifier of the resource to be deleted. Valid values include the name and ARN of the media insights pipeline configuration.
", - "DeleteMediaPipelineKinesisVideoStreamPoolRequest$Identifier": "The ID of the pool being deleted.
", + "DeleteMediaPipelineKinesisVideoStreamPoolRequest$Identifier": "The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool.
", "GetMediaInsightsPipelineConfigurationRequest$Identifier": "The unique identifier of the requested resource. Valid values include the name and ARN of the media insights pipeline configuration.
", - "GetMediaPipelineKinesisVideoStreamPoolRequest$Identifier": "The ID of the video stream pool.
", + "GetMediaPipelineKinesisVideoStreamPoolRequest$Identifier": "The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool.
", "GetSpeakerSearchTaskRequest$Identifier": "The unique identifier of the resource to be updated. Valid values include the ID and ARN of the media insights pipeline.
", "GetVoiceToneAnalysisTaskRequest$Identifier": "The unique identifier of the resource to be updated. Valid values include the ID and ARN of the media insights pipeline.
", "MediaInsightsRuntimeMetadata$key": null, @@ -1181,7 +1182,7 @@ "StopVoiceToneAnalysisTaskRequest$Identifier": "The unique identifier of the resource to be updated. Valid values include the ID and ARN of the media insights pipeline.
", "UpdateMediaInsightsPipelineConfigurationRequest$Identifier": "The unique identifier for the resource to be updated. Valid values include the name and ARN of the media insights pipeline configuration.
", "UpdateMediaInsightsPipelineStatusRequest$Identifier": "The unique identifier of the resource to be updated. Valid values include the ID and ARN of the media insights pipeline.
", - "UpdateMediaPipelineKinesisVideoStreamPoolRequest$Identifier": "The ID of the video stream pool.
" + "UpdateMediaPipelineKinesisVideoStreamPoolRequest$Identifier": "The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool.
" } }, "NotFoundException": { @@ -1507,7 +1508,7 @@ "CreateMediaInsightsPipelineConfigurationRequest$Tags": "The tags assigned to the media insights pipeline configuration.
", "CreateMediaInsightsPipelineRequest$Tags": "The tags assigned to the media insights pipeline.
", "CreateMediaLiveConnectorPipelineRequest$Tags": "The tags associated with the media live connector pipeline.
", - "CreateMediaPipelineKinesisVideoStreamPoolRequest$Tags": "The tags assigned to the video stream pool.
", + "CreateMediaPipelineKinesisVideoStreamPoolRequest$Tags": "The tags assigned to the stream pool.
", "CreateMediaStreamPipelineRequest$Tags": "The tags assigned to the media pipeline.
", "ListTagsForResourceResponse$Tags": "The tags associated with the specified media pipeline.
", "TagResourceRequest$Tags": "The tags associated with the specified media pipeline.
" diff --git a/models/apis/chime-sdk-media-pipelines/2021-07-15/endpoint-rule-set-1.json b/models/apis/chime-sdk-media-pipelines/2021-07-15/endpoint-rule-set-1.json index a451babf8a6..c82bcc16b67 100644 --- a/models/apis/chime-sdk-media-pipelines/2021-07-15/endpoint-rule-set-1.json +++ b/models/apis/chime-sdk-media-pipelines/2021-07-15/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/cloudfront/2020-05-31/api-2.json b/models/apis/cloudfront/2020-05-31/api-2.json index e4ec4a05db6..4015589024a 100644 --- a/models/apis/cloudfront/2020-05-31/api-2.json +++ b/models/apis/cloudfront/2020-05-31/api-2.json @@ -10,7 +10,8 @@ "serviceFullName":"Amazon CloudFront", "serviceId":"CloudFront", "signatureVersion":"v4", - "uid":"cloudfront-2020-05-31" + "uid":"cloudfront-2020-05-31", + "auth":["aws.auth#sigv4"] }, "operations":{ "AssociateAlias":{ diff --git a/models/apis/cloudfront/2020-05-31/docs-2.json b/models/apis/cloudfront/2020-05-31/docs-2.json index dad0061492d..bac9901a091 100644 --- a/models/apis/cloudfront/2020-05-31/docs-2.json +++ b/models/apis/cloudfront/2020-05-31/docs-2.json @@ -92,11 +92,11 @@ "ListRealtimeLogConfigs": "Gets a list of real-time log configurations.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker
value from the current response as the Marker
value in the subsequent request.
Gets a list of response headers policies.
You can optionally apply a filter to get only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker
value from the current response as the Marker
value in the subsequent request.
List streaming distributions.
", - "ListTagsForResource": "List tags for a CloudFront resource.
", + "ListTagsForResource": "List tags for a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.
", "PublishFunction": "Publishes a CloudFront function by copying the function code from the DEVELOPMENT
stage to LIVE
. This automatically updates all cache behaviors that are using this function to use the newly published copy in the LIVE
stage.
When a function is published to the LIVE
stage, you can attach the function to a distribution's cache behavior, using the function's Amazon Resource Name (ARN).
To publish a function, you must provide the function's name and version (ETag
value). To get these values, you can use ListFunctions
and DescribeFunction
.
Add tags to a CloudFront resource.
", + "TagResource": "Add tags to a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.
", "TestFunction": "Tests a CloudFront function.
To test a function, you provide an event object that represents an HTTP request or response that your CloudFront distribution could receive in production. CloudFront runs the function, passing it the event object that you provided, and returns the function's result (the modified event object) in the response. The response also contains function logs and error messages, if any exist. For more information about testing functions, see Testing functions in the Amazon CloudFront Developer Guide.
To test a function, you provide the function's name and version (ETag
value) along with the event object. To get the function's name and version, you can use ListFunctions
and DescribeFunction
.
Remove tags from a CloudFront resource.
", + "UntagResource": "Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the Amazon CloudFront Developer Guide.
", "UpdateCachePolicy": "Updates a cache policy configuration.
When you update a cache policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a cache policy configuration:
Use GetCachePolicyConfig
to get the current configuration.
Locally modify the fields in the cache policy configuration that you want to update.
Call UpdateCachePolicy
by providing the entire cache policy configuration, including the fields that you modified and those that you didn't.
Update an origin access identity.
", "UpdateContinuousDeploymentPolicy": "Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to.
When you update a continuous deployment policy configuration, all the fields are updated with the values that are provided in the request. You cannot update some fields independent of others. To update a continuous deployment policy configuration:
Use GetContinuousDeploymentPolicyConfig
to get the current configuration.
Locally modify the fields in the continuous deployment policy configuration that you want to update.
Use UpdateContinuousDeploymentPolicy
, providing the entire continuous deployment policy configuration, including the fields that you modified and those that you didn't.
A complex type that describes how CloudFront processes requests.
You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.
For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide.
If you don't want to specify any cache behaviors, include only an empty CacheBehaviors
element. For more information, see CacheBehaviors. Don't include an empty CacheBehavior
element because this is invalid.
To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors
element.
To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.
For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.
", + "base": "A complex type that describes how CloudFront processes requests.
You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used.
For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see Quotas in the Amazon CloudFront Developer Guide.
If you don't want to specify any cache behaviors, include only an empty CacheBehaviors
element. Don't specify an empty individual CacheBehavior
element, because this is invalid. For more information, see CacheBehaviors.
To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors
element.
To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.
For more information about cache behaviors, see Cache Behavior Settings in the Amazon CloudFront Developer Guide.
", "refs": { "CacheBehaviorList$member": null } @@ -2194,7 +2194,7 @@ "base": null, "refs": { "AllowedMethods$Items": "A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
", - "CachedMethods$Items": "A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
" + "CachedMethods$Items": "A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods
include GET
, HEAD
, and OPTIONS
, depending on which caching option you choose. For more information, see the preceding section.
Gets a business glossary term in Amazon DataZone.
", "GetGroupProfile": "Gets a group profile in Amazon DataZone.
", "GetIamPortalLoginUrl": "Gets the data portal URL for the specified Amazon DataZone domain.
", + "GetLineageNode": "Gets the data lineage node.
", "GetListing": "Gets a listing (a record of an asset at a given time).
", "GetMetadataGenerationRun": "Gets a metadata generation run in Amazon DataZone.
", "GetProject": "Gets a project in Amazon DataZone.
", @@ -79,6 +80,7 @@ "ListEnvironmentBlueprints": "Lists blueprints in an Amazon DataZone environment.
", "ListEnvironmentProfiles": "Lists Amazon DataZone environment profiles.
", "ListEnvironments": "Lists Amazon DataZone environments.
", + "ListLineageNodeHistory": "Lists the history of the specified data lineage node.
", "ListMetadataGenerationRuns": "Lists all metadata generation runs.
", "ListNotifications": "Lists all Amazon DataZone notifications.
", "ListProjectMemberships": "Lists all members of the specified project.
", @@ -89,6 +91,7 @@ "ListSubscriptions": "Lists subscriptions in Amazon DataZone.
", "ListTagsForResource": "Lists tags for the specified resource in Amazon DataZone.
", "ListTimeSeriesDataPoints": "Lists time series data points.
", + "PostLineageEvent": "Posts a data lineage event.
", "PostTimeSeriesDataPoints": "Posts time series data points to Amazon DataZone for the specified asset.
", "PutEnvironmentBlueprintConfiguration": "Writes the configuration for the specified environment blueprint in Amazon DataZone.
", "RejectPredictions": "Rejects automatically generated business-friendly metadata for your Amazon DataZone assets.
", @@ -484,6 +487,7 @@ "CreateGlossaryTermInput$clientToken": "A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
", "CreateListingChangeSetInput$clientToken": "A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
", "DeleteTimeSeriesDataPointsInput$clientToken": "A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
", + "PostLineageEventInput$clientToken": "A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
", "PostTimeSeriesDataPointsInput$clientToken": "A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
", "RejectPredictionsInput$clientToken": "A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
", "StartMetadataGenerationRunInput$clientToken": "A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
", @@ -757,6 +761,7 @@ "GetFormTypeOutput$createdAt": "The timestamp of when this metadata form type was created.
", "GetGlossaryOutput$createdAt": "The timestamp of when this business glossary was created.
", "GetGlossaryTermOutput$createdAt": "The timestamp of when the business glossary term was created.
", + "GetLineageNodeOutput$createdAt": "The timestamp at which the data lineage node was created.
", "GetListingOutput$createdAt": "The timestamp of when the listing was created.
", "GetMetadataGenerationRunOutput$createdAt": "The timestamp of when the metadata generation run was start.
", "GetSubscriptionGrantOutput$createdAt": "The timestamp of when the subscription grant is created.
", @@ -765,6 +770,8 @@ "GetSubscriptionTargetOutput$createdAt": "The timestamp of when the subscription target was created.
", "GlossaryItem$createdAt": "The timestamp of when the glossary was created.
", "GlossaryTermItem$createdAt": "The timestamp of when a business glossary term was created.
", + "LineageNodeSummary$createdAt": "The timestamp at which the data lineage node was created.
", + "LineageNodeTypeItem$createdAt": "The timestamp at which the data lineage node type was created.
", "MetadataGenerationRunItem$createdAt": "The timestamp at which the metadata generation run was created.
", "RejectSubscriptionRequestOutput$createdAt": "The timestamp of when the subscription request was rejected.
", "RevokeSubscriptionOutput$createdAt": "The timestamp of when the subscription was revoked.
", @@ -806,6 +813,7 @@ "GetFormTypeOutput$createdBy": "The Amazon DataZone user who created this metadata form type.
", "GetGlossaryOutput$createdBy": "The Amazon DataZone user who created this business glossary.
", "GetGlossaryTermOutput$createdBy": "The Amazon DataZone user who created the business glossary.
", + "GetLineageNodeOutput$createdBy": "The user who created the data lineage node.
", "GetListingOutput$createdBy": "The Amazon DataZone user who created the listing.
", "GetMetadataGenerationRunOutput$createdBy": "The Amazon DataZone user who started the metadata generation run.
", "GetProjectOutput$createdBy": "The Amazon DataZone user who created the project.
", @@ -815,6 +823,8 @@ "GetSubscriptionTargetOutput$createdBy": "The Amazon DataZone user who created the subscription target.
", "GlossaryItem$createdBy": "The Amazon DataZone user who created the glossary.
", "GlossaryTermItem$createdBy": "The Amazon DataZone user who created the business glossary.
", + "LineageNodeSummary$createdBy": "The user who created the data lineage node.
", + "LineageNodeTypeItem$createdBy": "The user who created the data lineage node type.
", "MetadataGenerationRunItem$createdBy": "The user who created the metadata generation run.
", "ProjectSummary$createdBy": "The Amazon DataZone user who created the project.
", "RejectSubscriptionRequestOutput$createdBy": "The timestamp of when the subscription request was rejected.
", @@ -1505,6 +1515,8 @@ "GetGroupProfileInput$domainIdentifier": "The identifier of the Amazon DataZone domain in which the group profile exists.
", "GetGroupProfileOutput$domainId": "The identifier of the Amazon DataZone domain in which the group profile exists.
", "GetIamPortalLoginUrlInput$domainIdentifier": "the ID of the Amazon DataZone domain the data portal of which you want to get.
", + "GetLineageNodeInput$domainIdentifier": "The ID of the domain in which you want to get the data lineage node.
", + "GetLineageNodeOutput$domainId": "The ID of the domain where you're getting the data lineage node.
", "GetListingInput$domainIdentifier": "The ID of the Amazon DataZone domain.
", "GetListingOutput$domainId": "The ID of the Amazon DataZone domain.
", "GetMetadataGenerationRunInput$domainIdentifier": "The ID of the Amazon DataZone domain the metadata generation run of which you want to get.
", @@ -1526,6 +1538,8 @@ "GlossaryItem$domainId": "The identifier of the Amazon DataZone domain in which the business glossary exists.
", "GlossaryTermItem$domainId": "The identifier of the Amazon DataZone domain in which the business glossary exists.
", "GroupProfileSummary$domainId": "The ID of the Amazon DataZone domain of a group profile.
", + "LineageNodeSummary$domainId": "The ID of the domain of the data lineage node.
", + "LineageNodeTypeItem$domainId": "The ID of the domain where the data lineage node type lives.
", "ListAssetRevisionsInput$domainIdentifier": "The identifier of the domain.
", "ListDataSourceRunActivitiesInput$domainIdentifier": "The identifier of the Amazon DataZone domain in which to list data source run activities.
", "ListDataSourceRunsInput$domainIdentifier": "The identifier of the Amazon DataZone domain in which to invoke the ListDataSourceRuns
action.
The identifier of the Amazon DataZone domain.
", "ListEnvironmentProfilesInput$domainIdentifier": "The identifier of the Amazon DataZone domain.
", "ListEnvironmentsInput$domainIdentifier": "The identifier of the Amazon DataZone domain.
", + "ListLineageNodeHistoryInput$domainIdentifier": "The ID of the domain where you want to list the history of the specified data lineage node.
", "ListMetadataGenerationRunsInput$domainIdentifier": "The ID of the Amazon DataZone domain where you want to list metadata generation runs.
", "ListNotificationsInput$domainIdentifier": "The identifier of the Amazon DataZone domain.
", "ListProjectMembershipsInput$domainIdentifier": "The identifier of the Amazon DataZone domain in which you want to list project memberships.
", @@ -1546,6 +1561,7 @@ "ListTimeSeriesDataPointsInput$domainIdentifier": "The ID of the Amazon DataZone domain that houses the assets for which you want to list time series data points.
", "MetadataGenerationRunItem$domainId": "The ID of the Amazon DataZone domain in which the metadata generation run was created.
", "NotificationOutput$domainIdentifier": "The identifier of a Amazon DataZone domain in which the notification exists.
", + "PostLineageEventInput$domainIdentifier": "The ID of the domain where you want to post a data lineage event.
", "PostTimeSeriesDataPointsInput$domainIdentifier": "The ID of the Amazon DataZone domain in which you want to post time series data points.
", "PostTimeSeriesDataPointsOutput$domainId": "The ID of the Amazon DataZone domain in which you want to post time series data points.
", "ProjectSummary$domainId": "The identifier of a Amazon DataZone domain where the project exists.
", @@ -1627,6 +1643,12 @@ "DomainSummaries$member": null } }, + "EdgeDirection": { + "base": null, + "refs": { + "ListLineageNodeHistoryInput$direction": "The direction of the data lineage node refers to the lineage node having neighbors in that direction. For example, if direction is UPSTREAM
, the ListLineageNodeHistory
API responds with historical versions with upstream neighbors only.
The metadata forms attached to the asset.
", "GetAssetOutput$readOnlyFormsOutput": "The read-only metadata forms attached to the asset.
", "GetDataSourceOutput$assetFormsOutput": "The metadata forms attached to the assets created by this data source.
", + "GetLineageNodeOutput$formsOutput": "The metadata of the specified data lineage node.
", "UpdateDataSourceOutput$assetFormsOutput": "The asset forms to be updated as part of the UpdateDataSource
action.
The forms included in the details of the asset type.
", "CreateAssetTypeOutput$formsOutput": "The metadata forms that are attached to the asset type.
", - "GetAssetTypeOutput$formsOutput": "The metadata forms attached to the asset type.
" + "GetAssetTypeOutput$formsOutput": "The metadata forms attached to the asset type.
", + "LineageNodeTypeItem$formsOutput": "The forms output of the data lineage node type.
" } }, "GetAssetInput": { @@ -2268,6 +2292,16 @@ "refs": { } }, + "GetLineageNodeInput": { + "base": null, + "refs": { + } + }, + "GetLineageNodeOutput": { + "base": null, + "refs": { + } + }, "GetListingInput": { "base": null, "refs": { @@ -2679,6 +2713,58 @@ "SsoUserProfileDetails$lastName": "The last name included in the single sign-on details of the user profile.
" } }, + "LineageEvent": { + "base": null, + "refs": { + "PostLineageEventInput$event": "The data lineage event that you want to post. Only open-lineage run event are supported as events.
" + } + }, + "LineageNodeId": { + "base": null, + "refs": { + "GetLineageNodeOutput$id": "The ID of the data lineage node.
", + "LineageNodeReference$id": "The ID of the data lineage node.
", + "LineageNodeSummary$id": "The ID of the data lineage node.
" + } + }, + "LineageNodeIdentifier": { + "base": null, + "refs": { + "GetLineageNodeInput$identifier": "The ID of the data lineage node that you want to get.
Both, a lineage node identifier generated by Amazon DataZone and a sourceIdentifier
of the lineage node are supported. If sourceIdentifier
is greater than 1800 characters, you can use lineage node identifier generated by Amazon DataZone to get the node details.
The ID of the data lineage node whose history you want to list.
" + } + }, + "LineageNodeReference": { + "base": "The reference details for the data lineage node.
", + "refs": { + "LineageNodeReferenceList$member": null + } + }, + "LineageNodeReferenceList": { + "base": null, + "refs": { + "GetLineageNodeOutput$downstreamNodes": "The downsteam nodes of the specified data lineage node.
", + "GetLineageNodeOutput$upstreamNodes": "The upstream nodes of the specified data lineage node.
" + } + }, + "LineageNodeSummaries": { + "base": null, + "refs": { + "ListLineageNodeHistoryOutput$nodes": "The nodes returned by the ListLineageNodeHistory action.
" + } + }, + "LineageNodeSummary": { + "base": "The summary of the data lineage node.
", + "refs": { + "LineageNodeSummaries$member": null + } + }, + "LineageNodeTypeItem": { + "base": "The details of a data lineage node type.
", + "refs": { + "SearchTypesResultItem$lineageNodeTypeItem": "The details of a data lineage node type.
" + } + }, "ListAssetRevisionsInput": { "base": null, "refs": { @@ -2785,6 +2871,16 @@ "refs": { } }, + "ListLineageNodeHistoryInput": { + "base": null, + "refs": { + } + }, + "ListLineageNodeHistoryOutput": { + "base": null, + "refs": { + } + }, "ListMetadataGenerationRunsInput": { "base": null, "refs": { @@ -2959,6 +3055,7 @@ "ListEnvironmentBlueprintsInput$maxResults": "The maximum number of blueprints to return in a single call to ListEnvironmentBlueprints
. When the number of blueprints to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListEnvironmentBlueprints
to list the next set of blueprints.
The maximum number of environment profiles to return in a single call to ListEnvironmentProfiles
. When the number of environment profiles to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListEnvironmentProfiles
to list the next set of environment profiles.
The maximum number of environments to return in a single call to ListEnvironments
. When the number of environments to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListEnvironments
to list the next set of environments.
The maximum number of history items to return in a single call to ListLineageNodeHistory. When the number of memberships to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListLineageNodeHistory to list the next set of items.
", "ListMetadataGenerationRunsInput$maxResults": "The maximum number of metadata generation runs to return in a single call to ListMetadataGenerationRuns. When the number of metadata generation runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.
", "ListNotificationsInput$maxResults": "The maximum number of notifications to return in a single call to ListNotifications
. When the number of notifications to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListNotifications
to list the next set of notifications.
The maximum number of memberships to return in a single call to ListProjectMemberships
. When the number of memberships to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to ListProjectMemberships
to list the next set of memberships.
When the number of environment profiles is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of environment profiles, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListEnvironmentProfiles
to list the next set of environment profiles.
When the number of environments is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of environments, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListEnvironments
to list the next set of environments.
When the number of environments is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of environments, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListEnvironments
to list the next set of environments.
When the number of history items is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of items, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of items.
", + "ListLineageNodeHistoryOutput$nextToken": "When the number of history items is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of items, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageNodeHistory to list the next set of items.
", "ListMetadataGenerationRunsInput$nextToken": "When the number of metadata generation runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of metadata generation runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.
", "ListMetadataGenerationRunsOutput$nextToken": "When the number of metadata generation runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of metadata generation runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.
", "ListNotificationsInput$nextToken": "When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of notifications, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
When the number of results is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of results, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to SearchUserProfiles
to list the next set of results.
The revision of the asset type.
", "GetFormTypeInput$revision": "The revision of this metadata form type.
", "GetFormTypeOutput$revision": "The revision of the metadata form type.
", + "GetLineageNodeOutput$typeRevision": "The revision type of the specified data lineage node.
", "GetListingInput$listingRevision": "The revision of the listing.
", "GetListingOutput$listingRevision": "The revision of a listing.
", "Import$revision": "The revision of the import.
", + "LineageNodeSummary$typeRevision": "The type of the revision of the data lineage node.
", + "LineageNodeTypeItem$revision": "The revision of the data lineage node type.
", "ListingRevision$revision": "The details of a revision of an asset published in a Amazon DataZone catalog.
", "ListingRevisionInput$revision": "The details of a revision to be made to an asset published in a Amazon DataZone catalog.
", "MetadataGenerationRunTarget$revision": "The revision of the asset for which metadata was generated.
", @@ -3903,6 +4015,7 @@ "SortOrder": { "base": null, "refs": { + "ListLineageNodeHistoryInput$sortOrder": "The order by which you want data lineage node history to be sorted.
", "ListProjectMembershipsInput$sortOrder": "The sort order of the project memberships.
", "ListSubscriptionGrantsInput$sortOrder": "Specifies the sort order of this action.
", "ListSubscriptionRequestsInput$sortOrder": "Specifies the sort order for the results of this action.
", @@ -4022,12 +4135,22 @@ "GetEnvironmentProfileOutput$createdBy": "The Amazon DataZone user who created this environment profile.
", "GetIamPortalLoginUrlOutput$authCodeUrl": "The data portal URL of the specified Amazon DataZone domain.
", "GetIamPortalLoginUrlOutput$userProfileId": "The ID of the user profile.
", + "GetLineageNodeOutput$description": "The description of the data lineage node.
", + "GetLineageNodeOutput$name": "The name of the data lineage node.
", + "GetLineageNodeOutput$sourceIdentifier": "The source identifier of the data lineage node.
", + "GetLineageNodeOutput$typeName": "The name of the type of the specified data lineage node.
", "GetSubscriptionRequestDetailsOutput$reviewerId": "The identifier of the Amazon DataZone user who reviewed the subscription request.
", "GetSubscriptionTargetOutput$manageAccessRole": "The manage access role with which the subscription target was created.
", "GetSubscriptionTargetOutput$provider": "The provider of the subscription target.
", "GetSubscriptionTargetOutput$type": "The type of the subscription target.
", "GroupDetails$groupId": "The identifier of the group in Amazon DataZone.
", "IamUserProfileDetails$arn": "The ARN of an IAM user profile in Amazon DataZone.
", + "LineageNodeSummary$description": "The description of the data lineage node.
", + "LineageNodeSummary$name": "The name of the data lineage node.
", + "LineageNodeSummary$sourceIdentifier": "The alternate ID of the data lineage node.
", + "LineageNodeSummary$typeName": "The name of the type of the data lineage node.
", + "LineageNodeTypeItem$description": "The description of the data lineage node type.
", + "LineageNodeTypeItem$name": "The name of the data lineage node type.
", "ListDataSourcesInput$environmentIdentifier": "The identifier of the environment in which to list the data sources.
", "ListDataSourcesInput$projectIdentifier": "The identifier of the project in which to list data sources.
", "ListEnvironmentsInput$name": "The name of the environment.
", @@ -4597,6 +4720,12 @@ "Timestamp": { "base": null, "refs": { + "GetLineageNodeInput$eventTimestamp": "The event time stamp for which you want to get the data lineage node.
", + "GetLineageNodeOutput$eventTimestamp": "The timestamp of the event described in the data lineage node.
", + "LineageNodeReference$eventTimestamp": "The event timestamp of the data lineage node.
", + "LineageNodeSummary$eventTimestamp": "The event timestamp of the data lineage node.
", + "ListLineageNodeHistoryInput$eventTimestampGTE": "Specifies whether the action is to return data lineage node history from the time after the event timestamp.
", + "ListLineageNodeHistoryInput$eventTimestampLTE": "Specifies whether the action is to return data lineage node history from the time prior of the event timestamp.
", "ListNotificationsInput$afterTimestamp": "The time after which you want to list notifications.
", "ListNotificationsInput$beforeTimestamp": "The time before which you want to list notifications.
", "ListTimeSeriesDataPointsInput$endedAt": "The timestamp at which the data points that you wanted to list ended.
", @@ -4821,6 +4950,7 @@ "GetDomainOutput$lastUpdatedAt": "The timestamp of when the Amazon DataZone domain was last updated.
", "GetGlossaryOutput$updatedAt": "The timestamp of when the business glossary was updated.
", "GetGlossaryTermOutput$updatedAt": "The timestamp of when the business glossary term was updated.
", + "GetLineageNodeOutput$updatedAt": "The timestamp at which the data lineage node was updated.
", "GetListingOutput$updatedAt": "The timestamp of when the listing was updated.
", "GetSubscriptionGrantOutput$updatedAt": "The timestamp of when the subscription grant was upated.
", "GetSubscriptionOutput$updatedAt": "The timestamp of when the subscription was updated.
", @@ -4828,6 +4958,8 @@ "GetSubscriptionTargetOutput$updatedAt": "The timestamp of when the subscription target was updated.
", "GlossaryItem$updatedAt": "The timestamp of when the business glossary was updated.
", "GlossaryTermItem$updatedAt": "The timestamp of when a business glossary term was updated.
", + "LineageNodeSummary$updatedAt": "The timestamp at which the data lineage node was updated.
", + "LineageNodeTypeItem$updatedAt": "The timestamp at which the data lineage node type was updated.
", "RejectSubscriptionRequestOutput$updatedAt": "The timestamp of when the subscription request was updated.
", "RevokeSubscriptionOutput$updatedAt": "The timestamp of when the subscription was revoked.
", "SubscriptionGrantSummary$updatedAt": "The timestampf of when the subscription grant was updated.
", @@ -4856,6 +4988,7 @@ "GetAssetTypeOutput$updatedBy": "The Amazon DataZone user that updated the asset type.
", "GetGlossaryOutput$updatedBy": "The Amazon DataZone user who updated the business glossary.
", "GetGlossaryTermOutput$updatedBy": "The Amazon DataZone user who updated the business glossary term.
", + "GetLineageNodeOutput$updatedBy": "The user who updated the data lineage node.
", "GetListingOutput$updatedBy": "The Amazon DataZone user who updated the listing.
", "GetSubscriptionGrantOutput$updatedBy": "The Amazon DataZone user who updated the subscription grant.
", "GetSubscriptionOutput$updatedBy": "The Amazon DataZone user who updated the subscription.
", @@ -4863,6 +4996,8 @@ "GetSubscriptionTargetOutput$updatedBy": "The Amazon DataZone user who updated the subscription target.
", "GlossaryItem$updatedBy": "The Amazon DataZone user who updated the business glossary.
", "GlossaryTermItem$updatedBy": "The Amazon DataZone user who updated the business glossary term.
", + "LineageNodeSummary$updatedBy": "The user who updated the data lineage node.
", + "LineageNodeTypeItem$updatedBy": "The user who updated the data lineage node type.
", "RejectSubscriptionRequestOutput$updatedBy": "The Amazon DataZone user who updated the subscription request.
", "RevokeSubscriptionOutput$updatedBy": "The Amazon DataZone user who revoked the subscription.
", "SubscriptionGrantSummary$updatedBy": "The Amazon DataZone user who updated the subscription grant.
", diff --git a/models/apis/datazone/2018-05-10/paginators-1.json b/models/apis/datazone/2018-05-10/paginators-1.json index 463d2f6502f..7ff3277a72f 100644 --- a/models/apis/datazone/2018-05-10/paginators-1.json +++ b/models/apis/datazone/2018-05-10/paginators-1.json @@ -60,6 +60,12 @@ "limit_key": "maxResults", "result_key": "items" }, + "ListLineageNodeHistory": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "nodes" + }, "ListMetadataGenerationRuns": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/elasticache/2015-02-02/api-2.json b/models/apis/elasticache/2015-02-02/api-2.json index e4609ea90ee..514e5de41e7 100644 --- a/models/apis/elasticache/2015-02-02/api-2.json +++ b/models/apis/elasticache/2015-02-02/api-2.json @@ -9,7 +9,8 @@ "serviceId":"ElastiCache", "signatureVersion":"v4", "uid":"elasticache-2015-02-02", - "xmlNamespace":"http://elasticache.amazonaws.com/doc/2015-02-02/" + "xmlNamespace":"http://elasticache.amazonaws.com/doc/2015-02-02/", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddTagsToResource":{ diff --git a/models/apis/elasticache/2015-02-02/smoke-2.json b/models/apis/elasticache/2015-02-02/smoke-2.json new file mode 100644 index 00000000000..608cf705d72 --- /dev/null +++ b/models/apis/elasticache/2015-02-02/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeEventsSuccess", + "operationName": "DescribeEvents", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/mq/2017-11-27/api-2.json b/models/apis/mq/2017-11-27/api-2.json index dbe0cbc35bb..adb141bfe7b 100644 --- a/models/apis/mq/2017-11-27/api-2.json +++ b/models/apis/mq/2017-11-27/api-2.json @@ -1,3061 +1,3384 @@ { - "metadata" : { - "apiVersion" : "2017-11-27", - "endpointPrefix" : "mq", - "signingName" : "mq", - "serviceFullName" : "AmazonMQ", - "serviceId" : "mq", - "protocol" : "rest-json", - "jsonVersion" : "1.1", - "uid" : "mq-2017-11-27", - "signatureVersion" : "v4" + "metadata": { + "apiVersion": "2017-11-27", + "endpointPrefix": "mq", + "signingName": "mq", + "serviceFullName": "AmazonMQ", + "serviceId": "mq", + "protocol": "rest-json", + "jsonVersion": "1.1", + "uid": "mq-2017-11-27", + "signatureVersion": "v4", + "auth": [ + "aws.auth#sigv4" + ] }, - "operations" : { - "CreateBroker" : { - "name" : "CreateBroker", - "http" : { - "method" : "POST", - "requestUri" : "/v1/brokers", - "responseCode" : 200 - }, - "input" : { - "shape" : "CreateBrokerRequest" - }, - "output" : { - "shape" : "CreateBrokerResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "UnauthorizedException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ConflictException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "CreateConfiguration" : { - "name" : "CreateConfiguration", - "http" : { - "method" : "POST", - "requestUri" : "/v1/configurations", - "responseCode" : 200 - }, - "input" : { - "shape" : "CreateConfigurationRequest" - }, - "output" : { - "shape" : "CreateConfigurationResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ConflictException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "CreateTags" : { - "name" : "CreateTags", - "http" : { - "method" : "POST", - "requestUri" : "/v1/tags/{resource-arn}", - "responseCode" : 204 - }, - "input" : { - "shape" : "CreateTagsRequest" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "CreateUser" : { - "name" : "CreateUser", - "http" : { - "method" : "POST", - "requestUri" : "/v1/brokers/{broker-id}/users/{username}", - "responseCode" : 200 - }, - "input" : { - "shape" : "CreateUserRequest" - }, - "output" : { - "shape" : "CreateUserResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ConflictException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DeleteBroker" : { - "name" : "DeleteBroker", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/brokers/{broker-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteBrokerRequest" - }, - "output" : { - "shape" : "DeleteBrokerResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DeleteTags" : { - "name" : "DeleteTags", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/tags/{resource-arn}", - "responseCode" : 204 - }, - "input" : { - "shape" : "DeleteTagsRequest" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DeleteUser" : { - "name" : "DeleteUser", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/brokers/{broker-id}/users/{username}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteUserRequest" - }, - "output" : { - "shape" : "DeleteUserResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DescribeBroker" : { - "name" : "DescribeBroker", - "http" : { - "method" : "GET", - "requestUri" : "/v1/brokers/{broker-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeBrokerRequest" - }, - "output" : { - "shape" : "DescribeBrokerResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DescribeBrokerEngineTypes" : { - "name" : "DescribeBrokerEngineTypes", - "http" : { - "method" : "GET", - "requestUri" : "/v1/broker-engine-types", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeBrokerEngineTypesRequest" - }, - "output" : { - "shape" : "DescribeBrokerEngineTypesResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DescribeBrokerInstanceOptions" : { - "name" : "DescribeBrokerInstanceOptions", - "http" : { - "method" : "GET", - "requestUri" : "/v1/broker-instance-options", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeBrokerInstanceOptionsRequest" - }, - "output" : { - "shape" : "DescribeBrokerInstanceOptionsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DescribeConfiguration" : { - "name" : "DescribeConfiguration", - "http" : { - "method" : "GET", - "requestUri" : "/v1/configurations/{configuration-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeConfigurationRequest" - }, - "output" : { - "shape" : "DescribeConfigurationResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DescribeConfigurationRevision" : { - "name" : "DescribeConfigurationRevision", - "http" : { - "method" : "GET", - "requestUri" : "/v1/configurations/{configuration-id}/revisions/{configuration-revision}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeConfigurationRevisionRequest" - }, - "output" : { - "shape" : "DescribeConfigurationRevisionResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "DescribeUser" : { - "name" : "DescribeUser", - "http" : { - "method" : "GET", - "requestUri" : "/v1/brokers/{broker-id}/users/{username}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeUserRequest" - }, - "output" : { - "shape" : "DescribeUserResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "ListBrokers" : { - "name" : "ListBrokers", - "http" : { - "method" : "GET", - "requestUri" : "/v1/brokers", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListBrokersRequest" - }, - "output" : { - "shape" : "ListBrokersResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "ListConfigurationRevisions" : { - "name" : "ListConfigurationRevisions", - "http" : { - "method" : "GET", - "requestUri" : "/v1/configurations/{configuration-id}/revisions", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListConfigurationRevisionsRequest" - }, - "output" : { - "shape" : "ListConfigurationRevisionsResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "ListConfigurations" : { - "name" : "ListConfigurations", - "http" : { - "method" : "GET", - "requestUri" : "/v1/configurations", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListConfigurationsRequest" - }, - "output" : { - "shape" : "ListConfigurationsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "ListTags" : { - "name" : "ListTags", - "http" : { - "method" : "GET", - "requestUri" : "/v1/tags/{resource-arn}", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListTagsRequest" - }, - "output" : { - "shape" : "ListTagsResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "ListUsers" : { - "name" : "ListUsers", - "http" : { - "method" : "GET", - "requestUri" : "/v1/brokers/{broker-id}/users", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListUsersRequest" - }, - "output" : { - "shape" : "ListUsersResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "Promote" : { - "name" : "Promote", - "http" : { - "method" : "POST", - "requestUri" : "/v1/brokers/{broker-id}/promote", - "responseCode" : 200 - }, - "input" : { - "shape" : "PromoteRequest" - }, - "output" : { - "shape" : "PromoteResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "RebootBroker" : { - "name" : "RebootBroker", - "http" : { - "method" : "POST", - "requestUri" : "/v1/brokers/{broker-id}/reboot", - "responseCode" : 200 - }, - "input" : { - "shape" : "RebootBrokerRequest" - }, - "output" : { - "shape" : "RebootBrokerResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "UpdateBroker" : { - "name" : "UpdateBroker", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/brokers/{broker-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateBrokerRequest" - }, - "output" : { - "shape" : "UpdateBrokerResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ConflictException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "UpdateConfiguration" : { - "name" : "UpdateConfiguration", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/configurations/{configuration-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateConfigurationRequest" - }, - "output" : { - "shape" : "UpdateConfigurationResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ConflictException" - }, { - "shape" : "ForbiddenException" - } ] - }, - "UpdateUser" : { - "name" : "UpdateUser", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/brokers/{broker-id}/users/{username}", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateUserRequest" - }, - "output" : { - "shape" : "UpdateUserResponse" - }, - "errors" : [ { - "shape" : "NotFoundException" - }, { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ConflictException" - }, { - "shape" : "ForbiddenException" - } ] - } - }, - "shapes" : { - "ActionRequired" : { - "type" : "structure", - "members" : { - "ActionRequiredCode" : { - "shape" : "__string", - "locationName" : "actionRequiredCode" - }, - "ActionRequiredInfo" : { - "shape" : "__string", - "locationName" : "actionRequiredInfo" - } - } - }, - "AuthenticationStrategy" : { - "type" : "string", - "enum" : [ "SIMPLE", "LDAP" ] - }, - "AvailabilityZone" : { - "type" : "structure", - "members" : { - "Name" : { - "shape" : "__string", - "locationName" : "name" - } - } - }, - "BadRequestException" : { - "type" : "structure", - "members" : { - "ErrorAttribute" : { - "shape" : "__string", - "locationName" : "errorAttribute" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message" - } + "operations": { + "CreateBroker": { + "name": "CreateBroker", + "http": { + "method": "POST", + "requestUri": "/v1/brokers", + "responseCode": 200 }, - "exception" : true, - "error" : { - "httpStatusCode" : 400 - } - }, - "BrokerEngineType" : { - "type" : "structure", - "members" : { - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + "input": { + "shape": "CreateBrokerRequest" + }, + "output": { + "shape": "CreateBrokerResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "EngineVersions" : { - "shape" : "__listOfEngineVersion", - "locationName" : "engineVersions" - } - } - }, - "BrokerEngineTypeOutput" : { - "type" : "structure", - "members" : { - "BrokerEngineTypes" : { - "shape" : "__listOfBrokerEngineType", - "locationName" : "brokerEngineTypes" + { + "shape": "UnauthorizedException" }, - "MaxResults" : { - "shape" : "__integerMin5Max100", - "locationName" : "maxResults" + { + "shape": "InternalServerErrorException" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" - } - }, - "required" : [ "MaxResults" ] - }, - "BrokerInstance" : { - "type" : "structure", - "members" : { - "ConsoleURL" : { - "shape" : "__string", - "locationName" : "consoleURL" - }, - "Endpoints" : { - "shape" : "__listOf__string", - "locationName" : "endpoints" + { + "shape": "ConflictException" }, - "IpAddress" : { - "shape" : "__string", - "locationName" : "ipAddress" + { + "shape": "ForbiddenException" } - } + ] }, - "BrokerInstanceOption" : { - "type" : "structure", - "members" : { - "AvailabilityZones" : { - "shape" : "__listOfAvailabilityZone", - "locationName" : "availabilityZones" - }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" - }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "CreateConfiguration": { + "name": "CreateConfiguration", + "http": { + "method": "POST", + "requestUri": "/v1/configurations", + "responseCode": 200 + }, + "input": { + "shape": "CreateConfigurationRequest" + }, + "output": { + "shape": "CreateConfigurationResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "StorageType" : { - "shape" : "BrokerStorageType", - "locationName" : "storageType" + { + "shape": "InternalServerErrorException" }, - "SupportedDeploymentModes" : { - "shape" : "__listOfDeploymentMode", - "locationName" : "supportedDeploymentModes" + { + "shape": "ConflictException" }, - "SupportedEngineVersions" : { - "shape" : "__listOf__string", - "locationName" : "supportedEngineVersions" + { + "shape": "ForbiddenException" } - } + ] }, - "BrokerInstanceOptionsOutput" : { - "type" : "structure", - "members" : { - "BrokerInstanceOptions" : { - "shape" : "__listOfBrokerInstanceOption", - "locationName" : "brokerInstanceOptions" + "CreateTags": { + "name": "CreateTags", + "http": { + "method": "POST", + "requestUri": "/v1/tags/{resource-arn}", + "responseCode": 204 + }, + "input": { + "shape": "CreateTagsRequest" + }, + "errors": [ + { + "shape": "NotFoundException" + }, + { + "shape": "BadRequestException" }, - "MaxResults" : { - "shape" : "__integerMin5Max100", - "locationName" : "maxResults" + { + "shape": "InternalServerErrorException" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + { + "shape": "ForbiddenException" } - }, - "required" : [ "MaxResults" ] - }, - "BrokerState" : { - "type" : "string", - "enum" : [ "CREATION_IN_PROGRESS", "CREATION_FAILED", "DELETION_IN_PROGRESS", "RUNNING", "REBOOT_IN_PROGRESS", "CRITICAL_ACTION_REQUIRED", "REPLICA" ] - }, - "BrokerStorageType" : { - "type" : "string", - "enum" : [ "EBS", "EFS" ] + ] }, - "BrokerSummary" : { - "type" : "structure", - "members" : { - "BrokerArn" : { - "shape" : "__string", - "locationName" : "brokerArn" + "CreateUser": { + "name": "CreateUser", + "http": { + "method": "POST", + "requestUri": "/v1/brokers/{broker-id}/users/{username}", + "responseCode": 200 + }, + "input": { + "shape": "CreateUserRequest" + }, + "output": { + "shape": "CreateUserResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + { + "shape": "BadRequestException" }, - "BrokerName" : { - "shape" : "__string", - "locationName" : "brokerName" + { + "shape": "InternalServerErrorException" }, - "BrokerState" : { - "shape" : "BrokerState", - "locationName" : "brokerState" + { + "shape": "ConflictException" }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" + { + "shape": "ForbiddenException" + } + ] + }, + "DeleteBroker": { + "name": "DeleteBroker", + "http": { + "method": "DELETE", + "requestUri": "/v1/brokers/{broker-id}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteBrokerRequest" + }, + "output": { + "shape": "DeleteBrokerResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "DeploymentMode" : { - "shape" : "DeploymentMode", - "locationName" : "deploymentMode" + { + "shape": "BadRequestException" }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + { + "shape": "InternalServerErrorException" }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + { + "shape": "ForbiddenException" } - }, - "required" : [ "DeploymentMode", "EngineType" ] - }, - "ChangeType" : { - "type" : "string", - "enum" : [ "CREATE", "UPDATE", "DELETE" ] + ] }, - "Configuration" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string", - "locationName" : "arn" + "DeleteTags": { + "name": "DeleteTags", + "http": { + "method": "DELETE", + "requestUri": "/v1/tags/{resource-arn}", + "responseCode": 204 + }, + "input": { + "shape": "DeleteTagsRequest" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + { + "shape": "BadRequestException" }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" + { + "shape": "InternalServerErrorException" }, - "Description" : { - "shape" : "__string", - "locationName" : "description" + { + "shape": "ForbiddenException" + } + ] + }, + "DeleteUser": { + "name": "DeleteUser", + "http": { + "method": "DELETE", + "requestUri": "/v1/brokers/{broker-id}/users/{username}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteUserRequest" + }, + "output": { + "shape": "DeleteUserResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + { + "shape": "BadRequestException" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + { + "shape": "InternalServerErrorException" }, - "Id" : { - "shape" : "__string", - "locationName" : "id" + { + "shape": "ForbiddenException" + } + ] + }, + "DescribeBroker": { + "name": "DescribeBroker", + "http": { + "method": "GET", + "requestUri": "/v1/brokers/{broker-id}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeBrokerRequest" + }, + "output": { + "shape": "DescribeBrokerResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "LatestRevision" : { - "shape" : "ConfigurationRevision", - "locationName" : "latestRevision" + { + "shape": "BadRequestException" }, - "Name" : { - "shape" : "__string", - "locationName" : "name" + { + "shape": "InternalServerErrorException" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + { + "shape": "ForbiddenException" } - }, - "required" : [ "Description", "EngineVersion", "LatestRevision", "AuthenticationStrategy", "EngineType", "Id", "Arn", "Name", "Created" ] + ] }, - "ConfigurationId" : { - "type" : "structure", - "members" : { - "Id" : { - "shape" : "__string", - "locationName" : "id" - }, - "Revision" : { - "shape" : "__integer", - "locationName" : "revision" - } + "DescribeBrokerEngineTypes": { + "name": "DescribeBrokerEngineTypes", + "http": { + "method": "GET", + "requestUri": "/v1/broker-engine-types", + "responseCode": 200 }, - "required" : [ "Id" ] - }, - "ConfigurationRevision" : { - "type" : "structure", - "members" : { - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" + "input": { + "shape": "DescribeBrokerEngineTypesRequest" + }, + "output": { + "shape": "DescribeBrokerEngineTypesResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Description" : { - "shape" : "__string", - "locationName" : "description" + { + "shape": "InternalServerErrorException" }, - "Revision" : { - "shape" : "__integer", - "locationName" : "revision" + { + "shape": "ForbiddenException" } - }, - "required" : [ "Revision", "Created" ] + ] }, - "Configurations" : { - "type" : "structure", - "members" : { - "Current" : { - "shape" : "ConfigurationId", - "locationName" : "current" + "DescribeBrokerInstanceOptions": { + "name": "DescribeBrokerInstanceOptions", + "http": { + "method": "GET", + "requestUri": "/v1/broker-instance-options", + "responseCode": 200 + }, + "input": { + "shape": "DescribeBrokerInstanceOptionsRequest" + }, + "output": { + "shape": "DescribeBrokerInstanceOptionsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "History" : { - "shape" : "__listOfConfigurationId", - "locationName" : "history" + { + "shape": "InternalServerErrorException" }, - "Pending" : { - "shape" : "ConfigurationId", - "locationName" : "pending" + { + "shape": "ForbiddenException" } - } + ] }, - "ConflictException" : { - "type" : "structure", - "members" : { - "ErrorAttribute" : { - "shape" : "__string", - "locationName" : "errorAttribute" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message" - } + "DescribeConfiguration": { + "name": "DescribeConfiguration", + "http": { + "method": "GET", + "requestUri": "/v1/configurations/{configuration-id}", + "responseCode": 200 }, - "exception" : true, - "error" : { - "httpStatusCode" : 409 - } - }, - "CreateBrokerInput" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" - }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" - }, - "BrokerName" : { - "shape" : "__string", - "locationName" : "brokerName" - }, - "Configuration" : { - "shape" : "ConfigurationId", - "locationName" : "configuration" - }, - "CreatorRequestId" : { - "shape" : "__string", - "locationName" : "creatorRequestId", - "idempotencyToken" : true - }, - "DeploymentMode" : { - "shape" : "DeploymentMode", - "locationName" : "deploymentMode" - }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" - }, - "DataReplicationPrimaryBrokerArn" : { - "shape" : "__string", - "locationName" : "dataReplicationPrimaryBrokerArn" - }, - "EncryptionOptions" : { - "shape" : "EncryptionOptions", - "locationName" : "encryptionOptions" - }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" - }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" - }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "input": { + "shape": "DescribeConfigurationRequest" + }, + "output": { + "shape": "DescribeConfigurationResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataInput", - "locationName" : "ldapServerMetadata" + { + "shape": "BadRequestException" }, - "Logs" : { - "shape" : "Logs", - "locationName" : "logs" + { + "shape": "InternalServerErrorException" }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" + { + "shape": "ForbiddenException" + } + ] + }, + "DescribeConfigurationRevision": { + "name": "DescribeConfigurationRevision", + "http": { + "method": "GET", + "requestUri": "/v1/configurations/{configuration-id}/revisions/{configuration-revision}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeConfigurationRevisionRequest" + }, + "output": { + "shape": "DescribeConfigurationRevisionResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "PubliclyAccessible" : { - "shape" : "__boolean", - "locationName" : "publiclyAccessible" + { + "shape": "BadRequestException" }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" + { + "shape": "InternalServerErrorException" }, - "StorageType" : { - "shape" : "BrokerStorageType", - "locationName" : "storageType" + { + "shape": "ForbiddenException" + } + ] + }, + "DescribeUser": { + "name": "DescribeUser", + "http": { + "method": "GET", + "requestUri": "/v1/brokers/{broker-id}/users/{username}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeUserRequest" + }, + "output": { + "shape": "DescribeUserResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "SubnetIds" : { - "shape" : "__listOf__string", - "locationName" : "subnetIds" + { + "shape": "BadRequestException" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + { + "shape": "InternalServerErrorException" }, - "Users" : { - "shape" : "__listOfUser", - "locationName" : "users" + { + "shape": "ForbiddenException" } - }, - "required" : [ "EngineVersion", "HostInstanceType", "AutoMinorVersionUpgrade", "Users", "BrokerName", "DeploymentMode", "EngineType", "PubliclyAccessible" ] + ] }, - "CreateBrokerOutput" : { - "type" : "structure", - "members" : { - "BrokerArn" : { - "shape" : "__string", - "locationName" : "brokerArn" + "ListBrokers": { + "name": "ListBrokers", + "http": { + "method": "GET", + "requestUri": "/v1/brokers", + "responseCode": 200 + }, + "input": { + "shape": "ListBrokersRequest" + }, + "output": { + "shape": "ListBrokersResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" }, - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + { + "shape": "ForbiddenException" } - } + ] }, - "CreateBrokerRequest" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + "ListConfigurationRevisions": { + "name": "ListConfigurationRevisions", + "http": { + "method": "GET", + "requestUri": "/v1/configurations/{configuration-id}/revisions", + "responseCode": 200 + }, + "input": { + "shape": "ListConfigurationRevisionsRequest" + }, + "output": { + "shape": "ListConfigurationRevisionsResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" + { + "shape": "BadRequestException" }, - "BrokerName" : { - "shape" : "__string", - "locationName" : "brokerName" + { + "shape": "InternalServerErrorException" }, - "Configuration" : { - "shape" : "ConfigurationId", - "locationName" : "configuration" + { + "shape": "ForbiddenException" + } + ] + }, + "ListConfigurations": { + "name": "ListConfigurations", + "http": { + "method": "GET", + "requestUri": "/v1/configurations", + "responseCode": 200 + }, + "input": { + "shape": "ListConfigurationsRequest" + }, + "output": { + "shape": "ListConfigurationsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "CreatorRequestId" : { - "shape" : "__string", - "locationName" : "creatorRequestId", - "idempotencyToken" : true + { + "shape": "InternalServerErrorException" }, - "DeploymentMode" : { - "shape" : "DeploymentMode", - "locationName" : "deploymentMode" + { + "shape": "ForbiddenException" + } + ] + }, + "ListTags": { + "name": "ListTags", + "http": { + "method": "GET", + "requestUri": "/v1/tags/{resource-arn}", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsRequest" + }, + "output": { + "shape": "ListTagsResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "EncryptionOptions" : { - "shape" : "EncryptionOptions", - "locationName" : "encryptionOptions" + { + "shape": "BadRequestException" }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + { + "shape": "InternalServerErrorException" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + { + "shape": "ForbiddenException" + } + ] + }, + "ListUsers": { + "name": "ListUsers", + "http": { + "method": "GET", + "requestUri": "/v1/brokers/{broker-id}/users", + "responseCode": 200 + }, + "input": { + "shape": "ListUsersRequest" + }, + "output": { + "shape": "ListUsersResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + { + "shape": "BadRequestException" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataInput", - "locationName" : "ldapServerMetadata" + { + "shape": "InternalServerErrorException" }, - "Logs" : { - "shape" : "Logs", - "locationName" : "logs" + { + "shape": "ForbiddenException" + } + ] + }, + "Promote": { + "name": "Promote", + "http": { + "method": "POST", + "requestUri": "/v1/brokers/{broker-id}/promote", + "responseCode": 200 + }, + "input": { + "shape": "PromoteRequest" + }, + "output": { + "shape": "PromoteResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" + { + "shape": "BadRequestException" }, - "PubliclyAccessible" : { - "shape" : "__boolean", - "locationName" : "publiclyAccessible" + { + "shape": "InternalServerErrorException" }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" + { + "shape": "ForbiddenException" + } + ] + }, + "RebootBroker": { + "name": "RebootBroker", + "http": { + "method": "POST", + "requestUri": "/v1/brokers/{broker-id}/reboot", + "responseCode": 200 + }, + "input": { + "shape": "RebootBrokerRequest" + }, + "output": { + "shape": "RebootBrokerResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "StorageType" : { - "shape" : "BrokerStorageType", - "locationName" : "storageType" + { + "shape": "BadRequestException" }, - "SubnetIds" : { - "shape" : "__listOf__string", - "locationName" : "subnetIds" + { + "shape": "InternalServerErrorException" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + { + "shape": "ForbiddenException" + } + ] + }, + "UpdateBroker": { + "name": "UpdateBroker", + "http": { + "method": "PUT", + "requestUri": "/v1/brokers/{broker-id}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateBrokerRequest" + }, + "output": { + "shape": "UpdateBrokerResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "Users" : { - "shape" : "__listOfUser", - "locationName" : "users" + { + "shape": "BadRequestException" }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" + { + "shape": "InternalServerErrorException" }, - "DataReplicationPrimaryBrokerArn" : { - "shape" : "__string", - "locationName" : "dataReplicationPrimaryBrokerArn" - } - }, - "required" : [ "EngineVersion", "HostInstanceType", "AutoMinorVersionUpgrade", "Users", "BrokerName", "DeploymentMode", "EngineType", "PubliclyAccessible" ] - }, - "CreateBrokerResponse" : { - "type" : "structure", - "members" : { - "BrokerArn" : { - "shape" : "__string", - "locationName" : "brokerArn" + { + "shape": "ConflictException" }, - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + { + "shape": "ForbiddenException" } - } + ] }, - "CreateConfigurationInput" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + "UpdateConfiguration": { + "name": "UpdateConfiguration", + "http": { + "method": "PUT", + "requestUri": "/v1/configurations/{configuration-id}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateConfigurationRequest" + }, + "output": { + "shape": "UpdateConfigurationResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + { + "shape": "BadRequestException" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + { + "shape": "InternalServerErrorException" }, - "Name" : { - "shape" : "__string", - "locationName" : "name" + { + "shape": "ConflictException" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + { + "shape": "ForbiddenException" } - }, - "required" : [ "EngineVersion", "EngineType", "Name" ] + ] }, - "CreateConfigurationOutput" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string", - "locationName" : "arn" - }, - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + "UpdateUser": { + "name": "UpdateUser", + "http": { + "method": "PUT", + "requestUri": "/v1/brokers/{broker-id}/users/{username}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateUserRequest" + }, + "output": { + "shape": "UpdateUserResponse" + }, + "errors": [ + { + "shape": "NotFoundException" }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" + { + "shape": "BadRequestException" }, - "Id" : { - "shape" : "__string", - "locationName" : "id" + { + "shape": "InternalServerErrorException" }, - "LatestRevision" : { - "shape" : "ConfigurationRevision", - "locationName" : "latestRevision" + { + "shape": "ConflictException" }, - "Name" : { - "shape" : "__string", - "locationName" : "name" + { + "shape": "ForbiddenException" } - }, - "required" : [ "AuthenticationStrategy", "Id", "Arn", "Name", "Created" ] + ] + } + }, + "shapes": { + "ActionRequired": { + "type": "structure", + "members": { + "ActionRequiredCode": { + "shape": "__string", + "locationName": "actionRequiredCode" + }, + "ActionRequiredInfo": { + "shape": "__string", + "locationName": "actionRequiredInfo" + } + } }, - "CreateConfigurationRequest" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" - }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" - }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" - }, - "Name" : { - "shape" : "__string", - "locationName" : "name" + "AuthenticationStrategy": { + "type": "string", + "enum": [ + "SIMPLE", + "LDAP" + ] + }, + "AvailabilityZone": { + "type": "structure", + "members": { + "Name": { + "shape": "__string", + "locationName": "name" + } + } + }, + "BadRequestException": { + "type": "structure", + "members": { + "ErrorAttribute": { + "shape": "__string", + "locationName": "errorAttribute" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + "Message": { + "shape": "__string", + "locationName": "message" } }, - "required" : [ "EngineVersion", "EngineType", "Name" ] + "exception": true, + "error": { + "httpStatusCode": 400 + } }, - "CreateConfigurationResponse" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string", - "locationName" : "arn" - }, - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" - }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" - }, - "Id" : { - "shape" : "__string", - "locationName" : "id" - }, - "LatestRevision" : { - "shape" : "ConfigurationRevision", - "locationName" : "latestRevision" + "BrokerEngineType": { + "type": "structure", + "members": { + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" }, - "Name" : { - "shape" : "__string", - "locationName" : "name" + "EngineVersions": { + "shape": "__listOfEngineVersion", + "locationName": "engineVersions" } } }, - "CreateTagsRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn" + "BrokerEngineTypeOutput": { + "type": "structure", + "members": { + "BrokerEngineTypes": { + "shape": "__listOfBrokerEngineType", + "locationName": "brokerEngineTypes" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + "MaxResults": { + "shape": "__integerMin5Max100", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "locationName": "nextToken" } }, - "required" : [ "ResourceArn" ] + "required": [ + "MaxResults" + ] }, - "CreateUserInput" : { - "type" : "structure", - "members" : { - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" - }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" + "BrokerInstance": { + "type": "structure", + "members": { + "ConsoleURL": { + "shape": "__string", + "locationName": "consoleURL" }, - "Password" : { - "shape" : "__string", - "locationName" : "password" + "Endpoints": { + "shape": "__listOf__string", + "locationName": "endpoints" }, - "ReplicationUser" : { - "shape" : "__boolean", - "locationName" : "replicationUser" + "IpAddress": { + "shape": "__string", + "locationName": "ipAddress" } - }, - "required" : [ "Password" ] + } }, - "CreateUserRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" + "BrokerInstanceOption": { + "type": "structure", + "members": { + "AvailabilityZones": { + "shape": "__listOfAvailabilityZone", + "locationName": "availabilityZones" }, - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" }, - "Password" : { - "shape" : "__string", - "locationName" : "password" + "StorageType": { + "shape": "BrokerStorageType", + "locationName": "storageType" }, - "Username" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "username" + "SupportedDeploymentModes": { + "shape": "__listOfDeploymentMode", + "locationName": "supportedDeploymentModes" }, - "ReplicationUser" : { - "shape" : "__boolean", - "locationName" : "replicationUser" + "SupportedEngineVersions": { + "shape": "__listOf__string", + "locationName": "supportedEngineVersions" } - }, - "required" : [ "Username", "BrokerId", "Password" ] - }, - "CreateUserResponse" : { - "type" : "structure", - "members" : { } + } }, - "DataReplicationCounterpart" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" - }, - "Region" : { - "shape" : "__string", - "locationName" : "region" + "BrokerInstanceOptionsOutput": { + "type": "structure", + "members": { + "BrokerInstanceOptions": { + "shape": "__listOfBrokerInstanceOption", + "locationName": "brokerInstanceOptions" + }, + "MaxResults": { + "shape": "__integerMin5Max100", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "locationName": "nextToken" + } + }, + "required": [ + "MaxResults" + ] + }, + "BrokerState": { + "type": "string", + "enum": [ + "CREATION_IN_PROGRESS", + "CREATION_FAILED", + "DELETION_IN_PROGRESS", + "RUNNING", + "REBOOT_IN_PROGRESS", + "CRITICAL_ACTION_REQUIRED", + "REPLICA" + ] + }, + "BrokerStorageType": { + "type": "string", + "enum": [ + "EBS", + "EFS" + ] + }, + "BrokerSummary": { + "type": "structure", + "members": { + "BrokerArn": { + "shape": "__string", + "locationName": "brokerArn" + }, + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" + }, + "BrokerName": { + "shape": "__string", + "locationName": "brokerName" + }, + "BrokerState": { + "shape": "BrokerState", + "locationName": "brokerState" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "DeploymentMode": { + "shape": "DeploymentMode", + "locationName": "deploymentMode" + }, + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" + }, + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" + } + }, + "required": [ + "DeploymentMode", + "EngineType" + ] + }, + "ChangeType": { + "type": "string", + "enum": [ + "CREATE", + "UPDATE", + "DELETE" + ] + }, + "Configuration": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Description": { + "shape": "__string", + "locationName": "description" + }, + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" + }, + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "LatestRevision": { + "shape": "ConfigurationRevision", + "locationName": "latestRevision" + }, + "Name": { + "shape": "__string", + "locationName": "name" + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" + } + }, + "required": [ + "Description", + "EngineVersion", + "LatestRevision", + "AuthenticationStrategy", + "EngineType", + "Id", + "Arn", + "Name", + "Created" + ] + }, + "ConfigurationId": { + "type": "structure", + "members": { + "Id": { + "shape": "__string", + "locationName": "id" + }, + "Revision": { + "shape": "__integer", + "locationName": "revision" + } + }, + "required": [ + "Id" + ] + }, + "ConfigurationRevision": { + "type": "structure", + "members": { + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Description": { + "shape": "__string", + "locationName": "description" + }, + "Revision": { + "shape": "__integer", + "locationName": "revision" + } + }, + "required": [ + "Revision", + "Created" + ] + }, + "Configurations": { + "type": "structure", + "members": { + "Current": { + "shape": "ConfigurationId", + "locationName": "current" + }, + "History": { + "shape": "__listOfConfigurationId", + "locationName": "history" + }, + "Pending": { + "shape": "ConfigurationId", + "locationName": "pending" } - }, - "required" : [ "BrokerId", "Region" ] + } }, - "DataReplicationMetadataOutput" : { - "type" : "structure", - "members" : { - "DataReplicationCounterpart" : { - "shape" : "DataReplicationCounterpart", - "locationName" : "dataReplicationCounterpart" + "ConflictException": { + "type": "structure", + "members": { + "ErrorAttribute": { + "shape": "__string", + "locationName": "errorAttribute" }, - "DataReplicationRole" : { - "shape" : "__string", - "locationName" : "dataReplicationRole" + "Message": { + "shape": "__string", + "locationName": "message" } }, - "required" : [ "DataReplicationRole" ] - }, - "DataReplicationMode" : { - "type" : "string", - "enum" : [ "NONE", "CRDR" ] - }, - "DayOfWeek" : { - "type" : "string", - "enum" : [ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ] + "exception": true, + "error": { + "httpStatusCode": 409 + } }, - "DeleteBrokerOutput" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + "CreateBrokerInput": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" + }, + "BrokerName": { + "shape": "__string", + "locationName": "brokerName" + }, + "Configuration": { + "shape": "ConfigurationId", + "locationName": "configuration" + }, + "CreatorRequestId": { + "shape": "__string", + "locationName": "creatorRequestId", + "idempotencyToken": true + }, + "DeploymentMode": { + "shape": "DeploymentMode", + "locationName": "deploymentMode" + }, + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" + }, + "DataReplicationPrimaryBrokerArn": { + "shape": "__string", + "locationName": "dataReplicationPrimaryBrokerArn" + }, + "EncryptionOptions": { + "shape": "EncryptionOptions", + "locationName": "encryptionOptions" + }, + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" + }, + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" + }, + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" + }, + "LdapServerMetadata": { + "shape": "LdapServerMetadataInput", + "locationName": "ldapServerMetadata" + }, + "Logs": { + "shape": "Logs", + "locationName": "logs" + }, + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" + }, + "PubliclyAccessible": { + "shape": "__boolean", + "locationName": "publiclyAccessible" + }, + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" + }, + "StorageType": { + "shape": "BrokerStorageType", + "locationName": "storageType" + }, + "SubnetIds": { + "shape": "__listOf__string", + "locationName": "subnetIds" + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" + }, + "Users": { + "shape": "__listOfUser", + "locationName": "users" + } + }, + "required": [ + "HostInstanceType", + "Users", + "BrokerName", + "DeploymentMode", + "EngineType", + "PubliclyAccessible" + ] + }, + "CreateBrokerOutput": { + "type": "structure", + "members": { + "BrokerArn": { + "shape": "__string", + "locationName": "brokerArn" + }, + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" } } }, - "DeleteBrokerRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" + "CreateBrokerRequest": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" + }, + "BrokerName": { + "shape": "__string", + "locationName": "brokerName" + }, + "Configuration": { + "shape": "ConfigurationId", + "locationName": "configuration" + }, + "CreatorRequestId": { + "shape": "__string", + "locationName": "creatorRequestId", + "idempotencyToken": true + }, + "DeploymentMode": { + "shape": "DeploymentMode", + "locationName": "deploymentMode" + }, + "EncryptionOptions": { + "shape": "EncryptionOptions", + "locationName": "encryptionOptions" + }, + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" + }, + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" + }, + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" + }, + "LdapServerMetadata": { + "shape": "LdapServerMetadataInput", + "locationName": "ldapServerMetadata" + }, + "Logs": { + "shape": "Logs", + "locationName": "logs" + }, + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" + }, + "PubliclyAccessible": { + "shape": "__boolean", + "locationName": "publiclyAccessible" + }, + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" + }, + "StorageType": { + "shape": "BrokerStorageType", + "locationName": "storageType" + }, + "SubnetIds": { + "shape": "__listOf__string", + "locationName": "subnetIds" + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" + }, + "Users": { + "shape": "__listOfUser", + "locationName": "users" + }, + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" + }, + "DataReplicationPrimaryBrokerArn": { + "shape": "__string", + "locationName": "dataReplicationPrimaryBrokerArn" + } + }, + "required": [ + "HostInstanceType", + "Users", + "BrokerName", + "DeploymentMode", + "EngineType", + "PubliclyAccessible" + ] + }, + "CreateBrokerResponse": { + "type": "structure", + "members": { + "BrokerArn": { + "shape": "__string", + "locationName": "brokerArn" + }, + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" } - }, - "required" : [ "BrokerId" ] + } }, - "DeleteBrokerResponse" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + "CreateConfigurationInput": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" + }, + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" + }, + "Name": { + "shape": "__string", + "locationName": "name" + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" + } + }, + "required": [ + "EngineType", + "Name" + ] + }, + "CreateConfigurationOutput": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "LatestRevision": { + "shape": "ConfigurationRevision", + "locationName": "latestRevision" + }, + "Name": { + "shape": "__string", + "locationName": "name" + } + }, + "required": [ + "AuthenticationStrategy", + "Id", + "Arn", + "Name", + "Created" + ] + }, + "CreateConfigurationRequest": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" + }, + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" + }, + "Name": { + "shape": "__string", + "locationName": "name" + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" + } + }, + "required": [ + "EngineType", + "Name" + ] + }, + "CreateConfigurationResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "LatestRevision": { + "shape": "ConfigurationRevision", + "locationName": "latestRevision" + }, + "Name": { + "shape": "__string", + "locationName": "name" } } }, - "DeleteTagsRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn" - }, - "TagKeys" : { - "shape" : "__listOf__string", - "location" : "querystring", - "locationName" : "tagKeys" + "CreateTagsRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "resource-arn" + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" + } + }, + "required": [ + "ResourceArn" + ] + }, + "CreateUserInput": { + "type": "structure", + "members": { + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" + }, + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" + }, + "Password": { + "shape": "__string", + "locationName": "password" + }, + "ReplicationUser": { + "shape": "__boolean", + "locationName": "replicationUser" + } + }, + "required": [ + "Password" + ] + }, + "CreateUserRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" + }, + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" + }, + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" + }, + "Password": { + "shape": "__string", + "locationName": "password" + }, + "Username": { + "shape": "__string", + "location": "uri", + "locationName": "username" + }, + "ReplicationUser": { + "shape": "__boolean", + "locationName": "replicationUser" + } + }, + "required": [ + "Username", + "BrokerId", + "Password" + ] + }, + "CreateUserResponse": { + "type": "structure", + "members": { + } + }, + "DataReplicationCounterpart": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" + }, + "Region": { + "shape": "__string", + "locationName": "region" + } + }, + "required": [ + "BrokerId", + "Region" + ] + }, + "DataReplicationMetadataOutput": { + "type": "structure", + "members": { + "DataReplicationCounterpart": { + "shape": "DataReplicationCounterpart", + "locationName": "dataReplicationCounterpart" + }, + "DataReplicationRole": { + "shape": "__string", + "locationName": "dataReplicationRole" + } + }, + "required": [ + "DataReplicationRole" + ] + }, + "DataReplicationMode": { + "type": "string", + "enum": [ + "NONE", + "CRDR" + ] + }, + "DayOfWeek": { + "type": "string", + "enum": [ + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY" + ] + }, + "DeleteBrokerOutput": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" } - }, - "required" : [ "TagKeys", "ResourceArn" ] + } }, - "DeleteUserRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" - }, - "Username" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "username" + "DeleteBrokerRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" } }, - "required" : [ "Username", "BrokerId" ] + "required": [ + "BrokerId" + ] }, - "DeleteUserResponse" : { - "type" : "structure", - "members" : { } + "DeleteBrokerResponse": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" + } + } }, - "DeploymentMode" : { - "type" : "string", - "enum" : [ "SINGLE_INSTANCE", "ACTIVE_STANDBY_MULTI_AZ", "CLUSTER_MULTI_AZ" ] + "DeleteTagsRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "resource-arn" + }, + "TagKeys": { + "shape": "__listOf__string", + "location": "querystring", + "locationName": "tagKeys" + } + }, + "required": [ + "TagKeys", + "ResourceArn" + ] + }, + "DeleteUserRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" + }, + "Username": { + "shape": "__string", + "location": "uri", + "locationName": "username" + } + }, + "required": [ + "Username", + "BrokerId" + ] + }, + "DeleteUserResponse": { + "type": "structure", + "members": { + } }, - "DescribeBrokerEngineTypesRequest" : { - "type" : "structure", - "members" : { - "EngineType" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "engineType" - }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults" - }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken" + "DeploymentMode": { + "type": "string", + "enum": [ + "SINGLE_INSTANCE", + "ACTIVE_STANDBY_MULTI_AZ", + "CLUSTER_MULTI_AZ" + ] + }, + "DescribeBrokerEngineTypesRequest": { + "type": "structure", + "members": { + "EngineType": { + "shape": "__string", + "location": "querystring", + "locationName": "engineType" + }, + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" } } }, - "DescribeBrokerEngineTypesResponse" : { - "type" : "structure", - "members" : { - "BrokerEngineTypes" : { - "shape" : "__listOfBrokerEngineType", - "locationName" : "brokerEngineTypes" + "DescribeBrokerEngineTypesResponse": { + "type": "structure", + "members": { + "BrokerEngineTypes": { + "shape": "__listOfBrokerEngineType", + "locationName": "brokerEngineTypes" }, - "MaxResults" : { - "shape" : "__integerMin5Max100", - "locationName" : "maxResults" + "MaxResults": { + "shape": "__integerMin5Max100", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "locationName": "nextToken" } } }, - "DescribeBrokerInstanceOptionsRequest" : { - "type" : "structure", - "members" : { - "EngineType" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "engineType" - }, - "HostInstanceType" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "hostInstanceType" - }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults" - }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken" - }, - "StorageType" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "storageType" + "DescribeBrokerInstanceOptionsRequest": { + "type": "structure", + "members": { + "EngineType": { + "shape": "__string", + "location": "querystring", + "locationName": "engineType" + }, + "HostInstanceType": { + "shape": "__string", + "location": "querystring", + "locationName": "hostInstanceType" + }, + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "StorageType": { + "shape": "__string", + "location": "querystring", + "locationName": "storageType" } } }, - "DescribeBrokerInstanceOptionsResponse" : { - "type" : "structure", - "members" : { - "BrokerInstanceOptions" : { - "shape" : "__listOfBrokerInstanceOption", - "locationName" : "brokerInstanceOptions" + "DescribeBrokerInstanceOptionsResponse": { + "type": "structure", + "members": { + "BrokerInstanceOptions": { + "shape": "__listOfBrokerInstanceOption", + "locationName": "brokerInstanceOptions" }, - "MaxResults" : { - "shape" : "__integerMin5Max100", - "locationName" : "maxResults" + "MaxResults": { + "shape": "__integerMin5Max100", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "locationName": "nextToken" } } }, - "DescribeBrokerOutput" : { - "type" : "structure", - "members" : { - "ActionsRequired" : { - "shape" : "__listOfActionRequired", - "locationName" : "actionsRequired" - }, - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" - }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" - }, - "BrokerArn" : { - "shape" : "__string", - "locationName" : "brokerArn" - }, - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" - }, - "BrokerInstances" : { - "shape" : "__listOfBrokerInstance", - "locationName" : "brokerInstances" - }, - "BrokerName" : { - "shape" : "__string", - "locationName" : "brokerName" - }, - "BrokerState" : { - "shape" : "BrokerState", - "locationName" : "brokerState" - }, - "Configurations" : { - "shape" : "Configurations", - "locationName" : "configurations" - }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" - }, - "DeploymentMode" : { - "shape" : "DeploymentMode", - "locationName" : "deploymentMode" - }, - "DataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "dataReplicationMetadata" + "DescribeBrokerOutput": { + "type": "structure", + "members": { + "ActionsRequired": { + "shape": "__listOfActionRequired", + "locationName": "actionsRequired" }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" }, - "EncryptionOptions" : { - "shape" : "EncryptionOptions", - "locationName" : "encryptionOptions" + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + "BrokerArn": { + "shape": "__string", + "locationName": "brokerArn" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "BrokerInstances": { + "shape": "__listOfBrokerInstance", + "locationName": "brokerInstances" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataOutput", - "locationName" : "ldapServerMetadata" + "BrokerName": { + "shape": "__string", + "locationName": "brokerName" }, - "Logs" : { - "shape" : "LogsSummary", - "locationName" : "logs" + "BrokerState": { + "shape": "BrokerState", + "locationName": "brokerState" }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" + "Configurations": { + "shape": "Configurations", + "locationName": "configurations" }, - "PendingAuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "pendingAuthenticationStrategy" + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" }, - "PendingDataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "pendingDataReplicationMetadata" + "DeploymentMode": { + "shape": "DeploymentMode", + "locationName": "deploymentMode" + }, + "DataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "dataReplicationMetadata" + }, + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" + }, + "EncryptionOptions": { + "shape": "EncryptionOptions", + "locationName": "encryptionOptions" + }, + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" + }, + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" + }, + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" + }, + "LdapServerMetadata": { + "shape": "LdapServerMetadataOutput", + "locationName": "ldapServerMetadata" + }, + "Logs": { + "shape": "LogsSummary", + "locationName": "logs" + }, + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" + }, + "PendingAuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "pendingAuthenticationStrategy" + }, + "PendingDataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "pendingDataReplicationMetadata" + }, + "PendingDataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "pendingDataReplicationMode" + }, + "PendingEngineVersion": { + "shape": "__string", + "locationName": "pendingEngineVersion" + }, + "PendingHostInstanceType": { + "shape": "__string", + "locationName": "pendingHostInstanceType" + }, + "PendingLdapServerMetadata": { + "shape": "LdapServerMetadataOutput", + "locationName": "pendingLdapServerMetadata" }, - "PendingDataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "pendingDataReplicationMode" + "PendingSecurityGroups": { + "shape": "__listOf__string", + "locationName": "pendingSecurityGroups" }, - "PendingEngineVersion" : { - "shape" : "__string", - "locationName" : "pendingEngineVersion" + "PubliclyAccessible": { + "shape": "__boolean", + "locationName": "publiclyAccessible" }, - "PendingHostInstanceType" : { - "shape" : "__string", - "locationName" : "pendingHostInstanceType" + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" }, - "PendingLdapServerMetadata" : { - "shape" : "LdapServerMetadataOutput", - "locationName" : "pendingLdapServerMetadata" + "StorageType": { + "shape": "BrokerStorageType", + "locationName": "storageType" }, - "PendingSecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "pendingSecurityGroups" + "SubnetIds": { + "shape": "__listOf__string", + "locationName": "subnetIds" }, - "PubliclyAccessible" : { - "shape" : "__boolean", - "locationName" : "publiclyAccessible" + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" - }, - "StorageType" : { - "shape" : "BrokerStorageType", - "locationName" : "storageType" - }, - "SubnetIds" : { - "shape" : "__listOf__string", - "locationName" : "subnetIds" - }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" - }, - "Users" : { - "shape" : "__listOfUserSummary", - "locationName" : "users" + "Users": { + "shape": "__listOfUserSummary", + "locationName": "users" } - }, - "required" : [ "DeploymentMode", "EngineType", "AutoMinorVersionUpgrade", "PubliclyAccessible" ] + }, + "required": [ + "DeploymentMode", + "EngineType", + "AutoMinorVersionUpgrade", + "PubliclyAccessible" + ] }, - "DescribeBrokerRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" + "DescribeBrokerRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" } - }, - "required" : [ "BrokerId" ] - }, - "DescribeBrokerResponse" : { - "type" : "structure", - "members" : { - "ActionsRequired" : { - "shape" : "__listOfActionRequired", - "locationName" : "actionsRequired" - }, - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + }, + "required": [ + "BrokerId" + ] + }, + "DescribeBrokerResponse": { + "type": "structure", + "members": { + "ActionsRequired": { + "shape": "__listOfActionRequired", + "locationName": "actionsRequired" }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" }, - "BrokerArn" : { - "shape" : "__string", - "locationName" : "brokerArn" + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" }, - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + "BrokerArn": { + "shape": "__string", + "locationName": "brokerArn" }, - "BrokerInstances" : { - "shape" : "__listOfBrokerInstance", - "locationName" : "brokerInstances" + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" }, - "BrokerName" : { - "shape" : "__string", - "locationName" : "brokerName" + "BrokerInstances": { + "shape": "__listOfBrokerInstance", + "locationName": "brokerInstances" }, - "BrokerState" : { - "shape" : "BrokerState", - "locationName" : "brokerState" + "BrokerName": { + "shape": "__string", + "locationName": "brokerName" }, - "Configurations" : { - "shape" : "Configurations", - "locationName" : "configurations" + "BrokerState": { + "shape": "BrokerState", + "locationName": "brokerState" }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" + "Configurations": { + "shape": "Configurations", + "locationName": "configurations" }, - "DeploymentMode" : { - "shape" : "DeploymentMode", - "locationName" : "deploymentMode" + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" }, - "EncryptionOptions" : { - "shape" : "EncryptionOptions", - "locationName" : "encryptionOptions" + "DeploymentMode": { + "shape": "DeploymentMode", + "locationName": "deploymentMode" }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + "EncryptionOptions": { + "shape": "EncryptionOptions", + "locationName": "encryptionOptions" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataOutput", - "locationName" : "ldapServerMetadata" + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" }, - "Logs" : { - "shape" : "LogsSummary", - "locationName" : "logs" + "LdapServerMetadata": { + "shape": "LdapServerMetadataOutput", + "locationName": "ldapServerMetadata" }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" + "Logs": { + "shape": "LogsSummary", + "locationName": "logs" }, - "PendingAuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "pendingAuthenticationStrategy" + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" }, - "PendingEngineVersion" : { - "shape" : "__string", - "locationName" : "pendingEngineVersion" + "PendingAuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "pendingAuthenticationStrategy" }, - "PendingHostInstanceType" : { - "shape" : "__string", - "locationName" : "pendingHostInstanceType" + "PendingEngineVersion": { + "shape": "__string", + "locationName": "pendingEngineVersion" + }, + "PendingHostInstanceType": { + "shape": "__string", + "locationName": "pendingHostInstanceType" }, - "PendingLdapServerMetadata" : { - "shape" : "LdapServerMetadataOutput", - "locationName" : "pendingLdapServerMetadata" + "PendingLdapServerMetadata": { + "shape": "LdapServerMetadataOutput", + "locationName": "pendingLdapServerMetadata" }, - "PendingSecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "pendingSecurityGroups" + "PendingSecurityGroups": { + "shape": "__listOf__string", + "locationName": "pendingSecurityGroups" }, - "PubliclyAccessible" : { - "shape" : "__boolean", - "locationName" : "publiclyAccessible" + "PubliclyAccessible": { + "shape": "__boolean", + "locationName": "publiclyAccessible" }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" }, - "StorageType" : { - "shape" : "BrokerStorageType", - "locationName" : "storageType" + "StorageType": { + "shape": "BrokerStorageType", + "locationName": "storageType" }, - "SubnetIds" : { - "shape" : "__listOf__string", - "locationName" : "subnetIds" + "SubnetIds": { + "shape": "__listOf__string", + "locationName": "subnetIds" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" }, - "Users" : { - "shape" : "__listOfUserSummary", - "locationName" : "users" + "Users": { + "shape": "__listOfUserSummary", + "locationName": "users" }, - "DataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "dataReplicationMetadata" + "DataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "dataReplicationMetadata" }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" }, - "PendingDataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "pendingDataReplicationMetadata" + "PendingDataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "pendingDataReplicationMetadata" }, - "PendingDataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "pendingDataReplicationMode" + "PendingDataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "pendingDataReplicationMode" } } }, - "DescribeConfigurationRequest" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "configuration-id" + "DescribeConfigurationRequest": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "location": "uri", + "locationName": "configuration-id" } }, - "required" : [ "ConfigurationId" ] + "required": [ + "ConfigurationId" + ] }, - "DescribeConfigurationResponse" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string", - "locationName" : "arn" + "DescribeConfigurationResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" }, - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" }, - "Description" : { - "shape" : "__string", - "locationName" : "description" + "Description": { + "shape": "__string", + "locationName": "description" }, - "EngineType" : { - "shape" : "EngineType", - "locationName" : "engineType" + "EngineType": { + "shape": "EngineType", + "locationName": "engineType" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" }, - "Id" : { - "shape" : "__string", - "locationName" : "id" + "Id": { + "shape": "__string", + "locationName": "id" }, - "LatestRevision" : { - "shape" : "ConfigurationRevision", - "locationName" : "latestRevision" + "LatestRevision": { + "shape": "ConfigurationRevision", + "locationName": "latestRevision" }, - "Name" : { - "shape" : "__string", - "locationName" : "name" + "Name": { + "shape": "__string", + "locationName": "name" }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" } } }, - "DescribeConfigurationRevisionOutput" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "locationName" : "configurationId" - }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" - }, - "Data" : { - "shape" : "__string", - "locationName" : "data" - }, - "Description" : { - "shape" : "__string", - "locationName" : "description" - } - }, - "required" : [ "Data", "ConfigurationId", "Created" ] - }, - "DescribeConfigurationRevisionRequest" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "configuration-id" - }, - "ConfigurationRevision" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "configuration-revision" - } - }, - "required" : [ "ConfigurationRevision", "ConfigurationId" ] - }, - "DescribeConfigurationRevisionResponse" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "locationName" : "configurationId" - }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" - }, - "Data" : { - "shape" : "__string", - "locationName" : "data" - }, - "Description" : { - "shape" : "__string", - "locationName" : "description" + "DescribeConfigurationRevisionOutput": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "locationName": "configurationId" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Data": { + "shape": "__string", + "locationName": "data" + }, + "Description": { + "shape": "__string", + "locationName": "description" + } + }, + "required": [ + "Data", + "ConfigurationId", + "Created" + ] + }, + "DescribeConfigurationRevisionRequest": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "location": "uri", + "locationName": "configuration-id" + }, + "ConfigurationRevision": { + "shape": "__string", + "location": "uri", + "locationName": "configuration-revision" + } + }, + "required": [ + "ConfigurationRevision", + "ConfigurationId" + ] + }, + "DescribeConfigurationRevisionResponse": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "locationName": "configurationId" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Data": { + "shape": "__string", + "locationName": "data" + }, + "Description": { + "shape": "__string", + "locationName": "description" } } }, - "DescribeUserOutput" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" - }, - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" - }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" - }, - "Pending" : { - "shape" : "UserPendingChanges", - "locationName" : "pending" - }, - "ReplicationUser" : { - "shape" : "__boolean", - "locationName" : "replicationUser" - }, - "Username" : { - "shape" : "__string", - "locationName" : "username" - } - }, - "required" : [ "Username", "BrokerId" ] - }, - "DescribeUserRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" - }, - "Username" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "username" - } - }, - "required" : [ "Username", "BrokerId" ] - }, - "DescribeUserResponse" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" - }, - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" - }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" - }, - "Pending" : { - "shape" : "UserPendingChanges", - "locationName" : "pending" - }, - "Username" : { - "shape" : "__string", - "locationName" : "username" - }, - "ReplicationUser" : { - "shape" : "__boolean", - "locationName" : "replicationUser" + "DescribeUserOutput": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" + }, + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" + }, + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" + }, + "Pending": { + "shape": "UserPendingChanges", + "locationName": "pending" + }, + "ReplicationUser": { + "shape": "__boolean", + "locationName": "replicationUser" + }, + "Username": { + "shape": "__string", + "locationName": "username" + } + }, + "required": [ + "Username", + "BrokerId" + ] + }, + "DescribeUserRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" + }, + "Username": { + "shape": "__string", + "location": "uri", + "locationName": "username" + } + }, + "required": [ + "Username", + "BrokerId" + ] + }, + "DescribeUserResponse": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" + }, + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" + }, + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" + }, + "Pending": { + "shape": "UserPendingChanges", + "locationName": "pending" + }, + "Username": { + "shape": "__string", + "locationName": "username" + }, + "ReplicationUser": { + "shape": "__boolean", + "locationName": "replicationUser" } } }, - "EncryptionOptions" : { - "type" : "structure", - "members" : { - "KmsKeyId" : { - "shape" : "__string", - "locationName" : "kmsKeyId" + "EncryptionOptions": { + "type": "structure", + "members": { + "KmsKeyId": { + "shape": "__string", + "locationName": "kmsKeyId" }, - "UseAwsOwnedKey" : { - "shape" : "__boolean", - "locationName" : "useAwsOwnedKey" + "UseAwsOwnedKey": { + "shape": "__boolean", + "locationName": "useAwsOwnedKey" } }, - "required" : [ "UseAwsOwnedKey" ] + "required": [ + "UseAwsOwnedKey" + ] }, - "EngineType" : { - "type" : "string", - "enum" : [ "ACTIVEMQ", "RABBITMQ" ] + "EngineType": { + "type": "string", + "enum": [ + "ACTIVEMQ", + "RABBITMQ" + ] }, - "EngineVersion" : { - "type" : "structure", - "members" : { - "Name" : { - "shape" : "__string", - "locationName" : "name" + "EngineVersion": { + "type": "structure", + "members": { + "Name": { + "shape": "__string", + "locationName": "name" } } }, - "Error" : { - "type" : "structure", - "members" : { - "ErrorAttribute" : { - "shape" : "__string", - "locationName" : "errorAttribute" + "Error": { + "type": "structure", + "members": { + "ErrorAttribute": { + "shape": "__string", + "locationName": "errorAttribute" }, - "Message" : { - "shape" : "__string", - "locationName" : "message" + "Message": { + "shape": "__string", + "locationName": "message" } } }, - "ForbiddenException" : { - "type" : "structure", - "members" : { - "ErrorAttribute" : { - "shape" : "__string", - "locationName" : "errorAttribute" + "ForbiddenException": { + "type": "structure", + "members": { + "ErrorAttribute": { + "shape": "__string", + "locationName": "errorAttribute" }, - "Message" : { - "shape" : "__string", - "locationName" : "message" + "Message": { + "shape": "__string", + "locationName": "message" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 403 + "exception": true, + "error": { + "httpStatusCode": 403 } }, - "InternalServerErrorException" : { - "type" : "structure", - "members" : { - "ErrorAttribute" : { - "shape" : "__string", - "locationName" : "errorAttribute" + "InternalServerErrorException": { + "type": "structure", + "members": { + "ErrorAttribute": { + "shape": "__string", + "locationName": "errorAttribute" }, - "Message" : { - "shape" : "__string", - "locationName" : "message" + "Message": { + "shape": "__string", + "locationName": "message" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 500 + "exception": true, + "error": { + "httpStatusCode": 500 } }, - "LdapServerMetadataInput" : { - "type" : "structure", - "members" : { - "Hosts" : { - "shape" : "__listOf__string", - "locationName" : "hosts" - }, - "RoleBase" : { - "shape" : "__string", - "locationName" : "roleBase" - }, - "RoleName" : { - "shape" : "__string", - "locationName" : "roleName" - }, - "RoleSearchMatching" : { - "shape" : "__string", - "locationName" : "roleSearchMatching" - }, - "RoleSearchSubtree" : { - "shape" : "__boolean", - "locationName" : "roleSearchSubtree" - }, - "ServiceAccountPassword" : { - "shape" : "__string", - "locationName" : "serviceAccountPassword" - }, - "ServiceAccountUsername" : { - "shape" : "__string", - "locationName" : "serviceAccountUsername" - }, - "UserBase" : { - "shape" : "__string", - "locationName" : "userBase" - }, - "UserRoleName" : { - "shape" : "__string", - "locationName" : "userRoleName" - }, - "UserSearchMatching" : { - "shape" : "__string", - "locationName" : "userSearchMatching" - }, - "UserSearchSubtree" : { - "shape" : "__boolean", - "locationName" : "userSearchSubtree" - } - }, - "required" : [ "Hosts", "UserSearchMatching", "UserBase", "RoleSearchMatching", "ServiceAccountUsername", "RoleBase", "ServiceAccountPassword" ] - }, - "LdapServerMetadataOutput" : { - "type" : "structure", - "members" : { - "Hosts" : { - "shape" : "__listOf__string", - "locationName" : "hosts" - }, - "RoleBase" : { - "shape" : "__string", - "locationName" : "roleBase" - }, - "RoleName" : { - "shape" : "__string", - "locationName" : "roleName" - }, - "RoleSearchMatching" : { - "shape" : "__string", - "locationName" : "roleSearchMatching" - }, - "RoleSearchSubtree" : { - "shape" : "__boolean", - "locationName" : "roleSearchSubtree" - }, - "ServiceAccountUsername" : { - "shape" : "__string", - "locationName" : "serviceAccountUsername" - }, - "UserBase" : { - "shape" : "__string", - "locationName" : "userBase" - }, - "UserRoleName" : { - "shape" : "__string", - "locationName" : "userRoleName" - }, - "UserSearchMatching" : { - "shape" : "__string", - "locationName" : "userSearchMatching" - }, - "UserSearchSubtree" : { - "shape" : "__boolean", - "locationName" : "userSearchSubtree" - } - }, - "required" : [ "Hosts", "UserSearchMatching", "UserBase", "RoleSearchMatching", "ServiceAccountUsername", "RoleBase" ] - }, - "ListBrokersOutput" : { - "type" : "structure", - "members" : { - "BrokerSummaries" : { - "shape" : "__listOfBrokerSummary", - "locationName" : "brokerSummaries" - }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "LdapServerMetadataInput": { + "type": "structure", + "members": { + "Hosts": { + "shape": "__listOf__string", + "locationName": "hosts" + }, + "RoleBase": { + "shape": "__string", + "locationName": "roleBase" + }, + "RoleName": { + "shape": "__string", + "locationName": "roleName" + }, + "RoleSearchMatching": { + "shape": "__string", + "locationName": "roleSearchMatching" + }, + "RoleSearchSubtree": { + "shape": "__boolean", + "locationName": "roleSearchSubtree" + }, + "ServiceAccountPassword": { + "shape": "__string", + "locationName": "serviceAccountPassword" + }, + "ServiceAccountUsername": { + "shape": "__string", + "locationName": "serviceAccountUsername" + }, + "UserBase": { + "shape": "__string", + "locationName": "userBase" + }, + "UserRoleName": { + "shape": "__string", + "locationName": "userRoleName" + }, + "UserSearchMatching": { + "shape": "__string", + "locationName": "userSearchMatching" + }, + "UserSearchSubtree": { + "shape": "__boolean", + "locationName": "userSearchSubtree" + } + }, + "required": [ + "Hosts", + "UserSearchMatching", + "UserBase", + "RoleSearchMatching", + "ServiceAccountUsername", + "RoleBase", + "ServiceAccountPassword" + ] + }, + "LdapServerMetadataOutput": { + "type": "structure", + "members": { + "Hosts": { + "shape": "__listOf__string", + "locationName": "hosts" + }, + "RoleBase": { + "shape": "__string", + "locationName": "roleBase" + }, + "RoleName": { + "shape": "__string", + "locationName": "roleName" + }, + "RoleSearchMatching": { + "shape": "__string", + "locationName": "roleSearchMatching" + }, + "RoleSearchSubtree": { + "shape": "__boolean", + "locationName": "roleSearchSubtree" + }, + "ServiceAccountUsername": { + "shape": "__string", + "locationName": "serviceAccountUsername" + }, + "UserBase": { + "shape": "__string", + "locationName": "userBase" + }, + "UserRoleName": { + "shape": "__string", + "locationName": "userRoleName" + }, + "UserSearchMatching": { + "shape": "__string", + "locationName": "userSearchMatching" + }, + "UserSearchSubtree": { + "shape": "__boolean", + "locationName": "userSearchSubtree" + } + }, + "required": [ + "Hosts", + "UserSearchMatching", + "UserBase", + "RoleSearchMatching", + "ServiceAccountUsername", + "RoleBase" + ] + }, + "ListBrokersOutput": { + "type": "structure", + "members": { + "BrokerSummaries": { + "shape": "__listOfBrokerSummary", + "locationName": "brokerSummaries" + }, + "NextToken": { + "shape": "__string", + "locationName": "nextToken" } } }, - "ListBrokersRequest" : { - "type" : "structure", - "members" : { - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults" + "ListBrokersRequest": { + "type": "structure", + "members": { + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" } } }, - "ListBrokersResponse" : { - "type" : "structure", - "members" : { - "BrokerSummaries" : { - "shape" : "__listOfBrokerSummary", - "locationName" : "brokerSummaries" + "ListBrokersResponse": { + "type": "structure", + "members": { + "BrokerSummaries": { + "shape": "__listOfBrokerSummary", + "locationName": "brokerSummaries" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "locationName": "nextToken" } } }, - "ListConfigurationRevisionsOutput" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "locationName" : "configurationId" + "ListConfigurationRevisionsOutput": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "locationName": "configurationId" }, - "MaxResults" : { - "shape" : "__integer", - "locationName" : "maxResults" + "MaxResults": { + "shape": "__integer", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "locationName": "nextToken" }, - "Revisions" : { - "shape" : "__listOfConfigurationRevision", - "locationName" : "revisions" + "Revisions": { + "shape": "__listOfConfigurationRevision", + "locationName": "revisions" } } }, - "ListConfigurationRevisionsRequest" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "configuration-id" + "ListConfigurationRevisionsRequest": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "location": "uri", + "locationName": "configuration-id" }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults" + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" } }, - "required" : [ "ConfigurationId" ] + "required": [ + "ConfigurationId" + ] }, - "ListConfigurationRevisionsResponse" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "locationName" : "configurationId" + "ListConfigurationRevisionsResponse": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "locationName": "configurationId" }, - "MaxResults" : { - "shape" : "__integer", - "locationName" : "maxResults" + "MaxResults": { + "shape": "__integer", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "locationName": "nextToken" }, - "Revisions" : { - "shape" : "__listOfConfigurationRevision", - "locationName" : "revisions" + "Revisions": { + "shape": "__listOfConfigurationRevision", + "locationName": "revisions" } } }, - "ListConfigurationsOutput" : { - "type" : "structure", - "members" : { - "Configurations" : { - "shape" : "__listOfConfiguration", - "locationName" : "configurations" + "ListConfigurationsOutput": { + "type": "structure", + "members": { + "Configurations": { + "shape": "__listOfConfiguration", + "locationName": "configurations" }, - "MaxResults" : { - "shape" : "__integer", - "locationName" : "maxResults" + "MaxResults": { + "shape": "__integer", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "locationName": "nextToken" } } }, - "ListConfigurationsRequest" : { - "type" : "structure", - "members" : { - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults" + "ListConfigurationsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" } } }, - "ListConfigurationsResponse" : { - "type" : "structure", - "members" : { - "Configurations" : { - "shape" : "__listOfConfiguration", - "locationName" : "configurations" + "ListConfigurationsResponse": { + "type": "structure", + "members": { + "Configurations": { + "shape": "__listOfConfiguration", + "locationName": "configurations" }, - "MaxResults" : { - "shape" : "__integer", - "locationName" : "maxResults" + "MaxResults": { + "shape": "__integer", + "locationName": "maxResults" }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" + "NextToken": { + "shape": "__string", + "locationName": "nextToken" } } }, - "ListTagsRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn" + "ListTagsRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "resource-arn" } }, - "required" : [ "ResourceArn" ] + "required": [ + "ResourceArn" + ] }, - "ListTagsResponse" : { - "type" : "structure", - "members" : { - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + "ListTagsResponse": { + "type": "structure", + "members": { + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" } } }, - "ListUsersOutput" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" - }, - "MaxResults" : { - "shape" : "__integerMin5Max100", - "locationName" : "maxResults" - }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" - }, - "Users" : { - "shape" : "__listOfUserSummary", - "locationName" : "users" - } - }, - "required" : [ "BrokerId", "MaxResults", "Users" ] - }, - "ListUsersRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" - }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults" - }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken" - } - }, - "required" : [ "BrokerId" ] - }, - "ListUsersResponse" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" - }, - "MaxResults" : { - "shape" : "__integerMin5Max100", - "locationName" : "maxResults" - }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken" - }, - "Users" : { - "shape" : "__listOfUserSummary", - "locationName" : "users" + "ListUsersOutput": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" + }, + "MaxResults": { + "shape": "__integerMin5Max100", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "locationName": "nextToken" + }, + "Users": { + "shape": "__listOfUserSummary", + "locationName": "users" + } + }, + "required": [ + "BrokerId", + "MaxResults", + "Users" + ] + }, + "ListUsersRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" + }, + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + } + }, + "required": [ + "BrokerId" + ] + }, + "ListUsersResponse": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" + }, + "MaxResults": { + "shape": "__integerMin5Max100", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "locationName": "nextToken" + }, + "Users": { + "shape": "__listOfUserSummary", + "locationName": "users" } } }, - "Logs" : { - "type" : "structure", - "members" : { - "Audit" : { - "shape" : "__boolean", - "locationName" : "audit" + "Logs": { + "type": "structure", + "members": { + "Audit": { + "shape": "__boolean", + "locationName": "audit" }, - "General" : { - "shape" : "__boolean", - "locationName" : "general" + "General": { + "shape": "__boolean", + "locationName": "general" } } }, - "LogsSummary" : { - "type" : "structure", - "members" : { - "Audit" : { - "shape" : "__boolean", - "locationName" : "audit" + "LogsSummary": { + "type": "structure", + "members": { + "Audit": { + "shape": "__boolean", + "locationName": "audit" }, - "AuditLogGroup" : { - "shape" : "__string", - "locationName" : "auditLogGroup" + "AuditLogGroup": { + "shape": "__string", + "locationName": "auditLogGroup" }, - "General" : { - "shape" : "__boolean", - "locationName" : "general" + "General": { + "shape": "__boolean", + "locationName": "general" }, - "GeneralLogGroup" : { - "shape" : "__string", - "locationName" : "generalLogGroup" + "GeneralLogGroup": { + "shape": "__string", + "locationName": "generalLogGroup" }, - "Pending" : { - "shape" : "PendingLogs", - "locationName" : "pending" + "Pending": { + "shape": "PendingLogs", + "locationName": "pending" } }, - "required" : [ "GeneralLogGroup", "General" ] + "required": [ + "GeneralLogGroup", + "General" + ] }, - "MaxResults" : { - "type" : "integer", - "min" : 1, - "max" : 100 + "MaxResults": { + "type": "integer", + "min": 1, + "max": 100 }, - "NotFoundException" : { - "type" : "structure", - "members" : { - "ErrorAttribute" : { - "shape" : "__string", - "locationName" : "errorAttribute" + "NotFoundException": { + "type": "structure", + "members": { + "ErrorAttribute": { + "shape": "__string", + "locationName": "errorAttribute" }, - "Message" : { - "shape" : "__string", - "locationName" : "message" + "Message": { + "shape": "__string", + "locationName": "message" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 404 + "exception": true, + "error": { + "httpStatusCode": 404 } }, - "PendingLogs" : { - "type" : "structure", - "members" : { - "Audit" : { - "shape" : "__boolean", - "locationName" : "audit" + "PendingLogs": { + "type": "structure", + "members": { + "Audit": { + "shape": "__boolean", + "locationName": "audit" }, - "General" : { - "shape" : "__boolean", - "locationName" : "general" + "General": { + "shape": "__boolean", + "locationName": "general" } } }, - "PromoteInput" : { - "type" : "structure", - "members" : { - "Mode" : { - "shape" : "PromoteMode", - "locationName" : "mode" + "PromoteInput": { + "type": "structure", + "members": { + "Mode": { + "shape": "PromoteMode", + "locationName": "mode" } }, - "required" : [ "Mode" ] + "required": [ + "Mode" + ] }, - "PromoteMode" : { - "type" : "string", - "enum" : [ "SWITCHOVER", "FAILOVER" ] + "PromoteMode": { + "type": "string", + "enum": [ + "SWITCHOVER", + "FAILOVER" + ] }, - "PromoteOutput" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + "PromoteOutput": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" } } }, - "PromoteRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" + "PromoteRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" }, - "Mode" : { - "shape" : "PromoteMode", - "locationName" : "mode" + "Mode": { + "shape": "PromoteMode", + "locationName": "mode" } }, - "required" : [ "BrokerId", "Mode" ] + "required": [ + "BrokerId", + "Mode" + ] }, - "PromoteResponse" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + "PromoteResponse": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" } } }, - "RebootBrokerRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" + "RebootBrokerRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" } }, - "required" : [ "BrokerId" ] - }, - "RebootBrokerResponse" : { - "type" : "structure", - "members" : { } + "required": [ + "BrokerId" + ] }, - "SanitizationWarning" : { - "type" : "structure", - "members" : { - "AttributeName" : { - "shape" : "__string", - "locationName" : "attributeName" - }, - "ElementName" : { - "shape" : "__string", - "locationName" : "elementName" - }, - "Reason" : { - "shape" : "SanitizationWarningReason", - "locationName" : "reason" - } - }, - "required" : [ "Reason" ] - }, - "SanitizationWarningReason" : { - "type" : "string", - "enum" : [ "DISALLOWED_ELEMENT_REMOVED", "DISALLOWED_ATTRIBUTE_REMOVED", "INVALID_ATTRIBUTE_VALUE_REMOVED" ] + "RebootBrokerResponse": { + "type": "structure", + "members": { + } }, - "Tags" : { - "type" : "structure", - "members" : { - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags" + "SanitizationWarning": { + "type": "structure", + "members": { + "AttributeName": { + "shape": "__string", + "locationName": "attributeName" + }, + "ElementName": { + "shape": "__string", + "locationName": "elementName" + }, + "Reason": { + "shape": "SanitizationWarningReason", + "locationName": "reason" + } + }, + "required": [ + "Reason" + ] + }, + "SanitizationWarningReason": { + "type": "string", + "enum": [ + "DISALLOWED_ELEMENT_REMOVED", + "DISALLOWED_ATTRIBUTE_REMOVED", + "INVALID_ATTRIBUTE_VALUE_REMOVED" + ] + }, + "Tags": { + "type": "structure", + "members": { + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags" } } }, - "UnauthorizedException" : { - "type" : "structure", - "members" : { - "ErrorAttribute" : { - "shape" : "__string", - "locationName" : "errorAttribute" + "UnauthorizedException": { + "type": "structure", + "members": { + "ErrorAttribute": { + "shape": "__string", + "locationName": "errorAttribute" }, - "Message" : { - "shape" : "__string", - "locationName" : "message" + "Message": { + "shape": "__string", + "locationName": "message" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 401 + "exception": true, + "error": { + "httpStatusCode": 401 } }, - "UpdateBrokerInput" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + "UpdateBrokerInput": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" }, - "Configuration" : { - "shape" : "ConfigurationId", - "locationName" : "configuration" + "Configuration": { + "shape": "ConfigurationId", + "locationName": "configuration" }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataInput", - "locationName" : "ldapServerMetadata" + "LdapServerMetadata": { + "shape": "LdapServerMetadataInput", + "locationName": "ldapServerMetadata" }, - "Logs" : { - "shape" : "Logs", - "locationName" : "logs" + "Logs": { + "shape": "Logs", + "locationName": "logs" }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" } } }, - "UpdateBrokerOutput" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" - }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" - }, - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" - }, - "Configuration" : { - "shape" : "ConfigurationId", - "locationName" : "configuration" - }, - "DataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "dataReplicationMetadata" - }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" - }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" - }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "UpdateBrokerOutput": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" + }, + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataOutput", - "locationName" : "ldapServerMetadata" + "Configuration": { + "shape": "ConfigurationId", + "locationName": "configuration" }, - "Logs" : { - "shape" : "Logs", - "locationName" : "logs" - }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" - }, - "PendingDataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "pendingDataReplicationMetadata" - }, - "PendingDataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "pendingDataReplicationMode" - }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" - } + "DataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "dataReplicationMetadata" + }, + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" + }, + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" + }, + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" + }, + "LdapServerMetadata": { + "shape": "LdapServerMetadataOutput", + "locationName": "ldapServerMetadata" + }, + "Logs": { + "shape": "Logs", + "locationName": "logs" + }, + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" + }, + "PendingDataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "pendingDataReplicationMetadata" + }, + "PendingDataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "pendingDataReplicationMode" + }, + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" + } }, - "required" : [ "BrokerId" ] + "required": [ + "BrokerId" + ] }, - "UpdateBrokerRequest" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + "UpdateBrokerRequest": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" + }, + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" + }, + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" + "Configuration": { + "shape": "ConfigurationId", + "locationName": "configuration" }, - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" }, - "Configuration" : { - "shape" : "ConfigurationId", - "locationName" : "configuration" + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + "LdapServerMetadata": { + "shape": "LdapServerMetadataInput", + "locationName": "ldapServerMetadata" }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "Logs": { + "shape": "Logs", + "locationName": "logs" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataInput", - "locationName" : "ldapServerMetadata" + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" }, - "Logs" : { - "shape" : "Logs", - "locationName" : "logs" + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" - }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" - }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" } }, - "required" : [ "BrokerId" ] + "required": [ + "BrokerId" + ] }, - "UpdateBrokerResponse" : { - "type" : "structure", - "members" : { - "AuthenticationStrategy" : { - "shape" : "AuthenticationStrategy", - "locationName" : "authenticationStrategy" + "UpdateBrokerResponse": { + "type": "structure", + "members": { + "AuthenticationStrategy": { + "shape": "AuthenticationStrategy", + "locationName": "authenticationStrategy" }, - "AutoMinorVersionUpgrade" : { - "shape" : "__boolean", - "locationName" : "autoMinorVersionUpgrade" + "AutoMinorVersionUpgrade": { + "shape": "__boolean", + "locationName": "autoMinorVersionUpgrade" }, - "BrokerId" : { - "shape" : "__string", - "locationName" : "brokerId" + "BrokerId": { + "shape": "__string", + "locationName": "brokerId" }, - "Configuration" : { - "shape" : "ConfigurationId", - "locationName" : "configuration" + "Configuration": { + "shape": "ConfigurationId", + "locationName": "configuration" }, - "EngineVersion" : { - "shape" : "__string", - "locationName" : "engineVersion" + "EngineVersion": { + "shape": "__string", + "locationName": "engineVersion" }, - "HostInstanceType" : { - "shape" : "__string", - "locationName" : "hostInstanceType" + "HostInstanceType": { + "shape": "__string", + "locationName": "hostInstanceType" }, - "LdapServerMetadata" : { - "shape" : "LdapServerMetadataOutput", - "locationName" : "ldapServerMetadata" + "LdapServerMetadata": { + "shape": "LdapServerMetadataOutput", + "locationName": "ldapServerMetadata" }, - "Logs" : { - "shape" : "Logs", - "locationName" : "logs" + "Logs": { + "shape": "Logs", + "locationName": "logs" }, - "MaintenanceWindowStartTime" : { - "shape" : "WeeklyStartTime", - "locationName" : "maintenanceWindowStartTime" + "MaintenanceWindowStartTime": { + "shape": "WeeklyStartTime", + "locationName": "maintenanceWindowStartTime" }, - "SecurityGroups" : { - "shape" : "__listOf__string", - "locationName" : "securityGroups" + "SecurityGroups": { + "shape": "__listOf__string", + "locationName": "securityGroups" }, - "DataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "dataReplicationMetadata" + "DataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "dataReplicationMetadata" }, - "DataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "dataReplicationMode" + "DataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "dataReplicationMode" }, - "PendingDataReplicationMetadata" : { - "shape" : "DataReplicationMetadataOutput", - "locationName" : "pendingDataReplicationMetadata" + "PendingDataReplicationMetadata": { + "shape": "DataReplicationMetadataOutput", + "locationName": "pendingDataReplicationMetadata" }, - "PendingDataReplicationMode" : { - "shape" : "DataReplicationMode", - "locationName" : "pendingDataReplicationMode" + "PendingDataReplicationMode": { + "shape": "DataReplicationMode", + "locationName": "pendingDataReplicationMode" } } }, - "UpdateConfigurationInput" : { - "type" : "structure", - "members" : { - "Data" : { - "shape" : "__string", - "locationName" : "data" - }, - "Description" : { - "shape" : "__string", - "locationName" : "description" - } - }, - "required" : [ "Data" ] - }, - "UpdateConfigurationOutput" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string", - "locationName" : "arn" - }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" - }, - "Id" : { - "shape" : "__string", - "locationName" : "id" - }, - "LatestRevision" : { - "shape" : "ConfigurationRevision", - "locationName" : "latestRevision" - }, - "Name" : { - "shape" : "__string", - "locationName" : "name" - }, - "Warnings" : { - "shape" : "__listOfSanitizationWarning", - "locationName" : "warnings" - } - }, - "required" : [ "Id", "Arn", "Name", "Created" ] - }, - "UpdateConfigurationRequest" : { - "type" : "structure", - "members" : { - "ConfigurationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "configuration-id" - }, - "Data" : { - "shape" : "__string", - "locationName" : "data" - }, - "Description" : { - "shape" : "__string", - "locationName" : "description" - } - }, - "required" : [ "ConfigurationId", "Data" ] - }, - "UpdateConfigurationResponse" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string", - "locationName" : "arn" - }, - "Created" : { - "shape" : "__timestampIso8601", - "locationName" : "created" - }, - "Id" : { - "shape" : "__string", - "locationName" : "id" - }, - "LatestRevision" : { - "shape" : "ConfigurationRevision", - "locationName" : "latestRevision" - }, - "Name" : { - "shape" : "__string", - "locationName" : "name" - }, - "Warnings" : { - "shape" : "__listOfSanitizationWarning", - "locationName" : "warnings" + "UpdateConfigurationInput": { + "type": "structure", + "members": { + "Data": { + "shape": "__string", + "locationName": "data" + }, + "Description": { + "shape": "__string", + "locationName": "description" + } + }, + "required": [ + "Data" + ] + }, + "UpdateConfigurationOutput": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "LatestRevision": { + "shape": "ConfigurationRevision", + "locationName": "latestRevision" + }, + "Name": { + "shape": "__string", + "locationName": "name" + }, + "Warnings": { + "shape": "__listOfSanitizationWarning", + "locationName": "warnings" + } + }, + "required": [ + "Id", + "Arn", + "Name", + "Created" + ] + }, + "UpdateConfigurationRequest": { + "type": "structure", + "members": { + "ConfigurationId": { + "shape": "__string", + "location": "uri", + "locationName": "configuration-id" + }, + "Data": { + "shape": "__string", + "locationName": "data" + }, + "Description": { + "shape": "__string", + "locationName": "description" + } + }, + "required": [ + "ConfigurationId", + "Data" + ] + }, + "UpdateConfigurationResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string", + "locationName": "arn" + }, + "Created": { + "shape": "__timestampIso8601", + "locationName": "created" + }, + "Id": { + "shape": "__string", + "locationName": "id" + }, + "LatestRevision": { + "shape": "ConfigurationRevision", + "locationName": "latestRevision" + }, + "Name": { + "shape": "__string", + "locationName": "name" + }, + "Warnings": { + "shape": "__listOfSanitizationWarning", + "locationName": "warnings" } } }, - "UpdateUserInput" : { - "type" : "structure", - "members" : { - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" + "UpdateUserInput": { + "type": "structure", + "members": { + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" }, - "Password" : { - "shape" : "__string", - "locationName" : "password" + "Password": { + "shape": "__string", + "locationName": "password" }, - "ReplicationUser" : { - "shape" : "__boolean", - "locationName" : "replicationUser" + "ReplicationUser": { + "shape": "__boolean", + "locationName": "replicationUser" } } }, - "UpdateUserRequest" : { - "type" : "structure", - "members" : { - "BrokerId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "broker-id" + "UpdateUserRequest": { + "type": "structure", + "members": { + "BrokerId": { + "shape": "__string", + "location": "uri", + "locationName": "broker-id" }, - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" }, - "Password" : { - "shape" : "__string", - "locationName" : "password" + "Password": { + "shape": "__string", + "locationName": "password" }, - "Username" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "username" + "Username": { + "shape": "__string", + "location": "uri", + "locationName": "username" }, - "ReplicationUser" : { - "shape" : "__boolean", - "locationName" : "replicationUser" + "ReplicationUser": { + "shape": "__boolean", + "locationName": "replicationUser" } }, - "required" : [ "Username", "BrokerId" ] + "required": [ + "Username", + "BrokerId" + ] }, - "UpdateUserResponse" : { - "type" : "structure", - "members" : { } + "UpdateUserResponse": { + "type": "structure", + "members": { + } }, - "User" : { - "type" : "structure", - "members" : { - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" + "User": { + "type": "structure", + "members": { + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" }, - "Password" : { - "shape" : "__string", - "locationName" : "password" + "Password": { + "shape": "__string", + "locationName": "password" }, - "Username" : { - "shape" : "__string", - "locationName" : "username" + "Username": { + "shape": "__string", + "locationName": "username" }, - "ReplicationUser" : { - "shape" : "__boolean", - "locationName" : "replicationUser" + "ReplicationUser": { + "shape": "__boolean", + "locationName": "replicationUser" } }, - "required" : [ "Username", "Password" ] + "required": [ + "Username", + "Password" + ] }, - "UserPendingChanges" : { - "type" : "structure", - "members" : { - "ConsoleAccess" : { - "shape" : "__boolean", - "locationName" : "consoleAccess" + "UserPendingChanges": { + "type": "structure", + "members": { + "ConsoleAccess": { + "shape": "__boolean", + "locationName": "consoleAccess" }, - "Groups" : { - "shape" : "__listOf__string", - "locationName" : "groups" + "Groups": { + "shape": "__listOf__string", + "locationName": "groups" }, - "PendingChange" : { - "shape" : "ChangeType", - "locationName" : "pendingChange" + "PendingChange": { + "shape": "ChangeType", + "locationName": "pendingChange" } }, - "required" : [ "PendingChange" ] + "required": [ + "PendingChange" + ] }, - "UserSummary" : { - "type" : "structure", - "members" : { - "PendingChange" : { - "shape" : "ChangeType", - "locationName" : "pendingChange" + "UserSummary": { + "type": "structure", + "members": { + "PendingChange": { + "shape": "ChangeType", + "locationName": "pendingChange" }, - "Username" : { - "shape" : "__string", - "locationName" : "username" + "Username": { + "shape": "__string", + "locationName": "username" } }, - "required" : [ "Username" ] + "required": [ + "Username" + ] }, - "WeeklyStartTime" : { - "type" : "structure", - "members" : { - "DayOfWeek" : { - "shape" : "DayOfWeek", - "locationName" : "dayOfWeek" + "WeeklyStartTime": { + "type": "structure", + "members": { + "DayOfWeek": { + "shape": "DayOfWeek", + "locationName": "dayOfWeek" }, - "TimeOfDay" : { - "shape" : "__string", - "locationName" : "timeOfDay" + "TimeOfDay": { + "shape": "__string", + "locationName": "timeOfDay" }, - "TimeZone" : { - "shape" : "__string", - "locationName" : "timeZone" + "TimeZone": { + "shape": "__string", + "locationName": "timeZone" } }, - "required" : [ "TimeOfDay", "DayOfWeek" ] + "required": [ + "TimeOfDay", + "DayOfWeek" + ] }, - "__boolean" : { - "type" : "boolean" + "__boolean": { + "type": "boolean" }, - "__double" : { - "type" : "double" + "__double": { + "type": "double" }, - "__integer" : { - "type" : "integer" + "__integer": { + "type": "integer" }, - "__integerMin5Max100" : { - "type" : "integer", - "min" : 5, - "max" : 100 + "__integerMin5Max100": { + "type": "integer", + "min": 5, + "max": 100 }, - "__listOfActionRequired" : { - "type" : "list", - "member" : { - "shape" : "ActionRequired" + "__listOfActionRequired": { + "type": "list", + "member": { + "shape": "ActionRequired" } }, - "__listOfAvailabilityZone" : { - "type" : "list", - "member" : { - "shape" : "AvailabilityZone" + "__listOfAvailabilityZone": { + "type": "list", + "member": { + "shape": "AvailabilityZone" } }, - "__listOfBrokerEngineType" : { - "type" : "list", - "member" : { - "shape" : "BrokerEngineType" + "__listOfBrokerEngineType": { + "type": "list", + "member": { + "shape": "BrokerEngineType" } }, - "__listOfBrokerInstance" : { - "type" : "list", - "member" : { - "shape" : "BrokerInstance" + "__listOfBrokerInstance": { + "type": "list", + "member": { + "shape": "BrokerInstance" } }, - "__listOfBrokerInstanceOption" : { - "type" : "list", - "member" : { - "shape" : "BrokerInstanceOption" + "__listOfBrokerInstanceOption": { + "type": "list", + "member": { + "shape": "BrokerInstanceOption" } }, - "__listOfBrokerSummary" : { - "type" : "list", - "member" : { - "shape" : "BrokerSummary" + "__listOfBrokerSummary": { + "type": "list", + "member": { + "shape": "BrokerSummary" } }, - "__listOfConfiguration" : { - "type" : "list", - "member" : { - "shape" : "Configuration" + "__listOfConfiguration": { + "type": "list", + "member": { + "shape": "Configuration" } }, - "__listOfConfigurationId" : { - "type" : "list", - "member" : { - "shape" : "ConfigurationId" + "__listOfConfigurationId": { + "type": "list", + "member": { + "shape": "ConfigurationId" } }, - "__listOfConfigurationRevision" : { - "type" : "list", - "member" : { - "shape" : "ConfigurationRevision" + "__listOfConfigurationRevision": { + "type": "list", + "member": { + "shape": "ConfigurationRevision" } }, - "__listOfDeploymentMode" : { - "type" : "list", - "member" : { - "shape" : "DeploymentMode" + "__listOfDeploymentMode": { + "type": "list", + "member": { + "shape": "DeploymentMode" } }, - "__listOfEngineVersion" : { - "type" : "list", - "member" : { - "shape" : "EngineVersion" + "__listOfEngineVersion": { + "type": "list", + "member": { + "shape": "EngineVersion" } }, - "__listOfSanitizationWarning" : { - "type" : "list", - "member" : { - "shape" : "SanitizationWarning" + "__listOfSanitizationWarning": { + "type": "list", + "member": { + "shape": "SanitizationWarning" } }, - "__listOfUser" : { - "type" : "list", - "member" : { - "shape" : "User" + "__listOfUser": { + "type": "list", + "member": { + "shape": "User" } }, - "__listOfUserSummary" : { - "type" : "list", - "member" : { - "shape" : "UserSummary" + "__listOfUserSummary": { + "type": "list", + "member": { + "shape": "UserSummary" } }, - "__listOf__string" : { - "type" : "list", - "member" : { - "shape" : "__string" + "__listOf__string": { + "type": "list", + "member": { + "shape": "__string" } }, - "__long" : { - "type" : "long" + "__long": { + "type": "long" }, - "__mapOf__string" : { - "type" : "map", - "key" : { - "shape" : "__string" + "__mapOf__string": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "__string" + "value": { + "shape": "__string" } }, - "__string" : { - "type" : "string" + "__string": { + "type": "string" }, - "__timestampIso8601" : { - "type" : "timestamp", - "timestampFormat" : "iso8601" + "__timestampIso8601": { + "type": "timestamp", + "timestampFormat": "iso8601" }, - "__timestampUnix" : { - "type" : "timestamp", - "timestampFormat" : "unixTimestamp" + "__timestampUnix": { + "type": "timestamp", + "timestampFormat": "unixTimestamp" } } } \ No newline at end of file diff --git a/models/apis/mq/2017-11-27/docs-2.json b/models/apis/mq/2017-11-27/docs-2.json index fee24048b1b..09a1eed4713 100644 --- a/models/apis/mq/2017-11-27/docs-2.json +++ b/models/apis/mq/2017-11-27/docs-2.json @@ -399,11 +399,11 @@ "__boolean" : { "base" : null, "refs" : { - "CreateBrokerInput$AutoMinorVersionUpgrade" : "Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified.
", + "CreateBrokerInput$AutoMinorVersionUpgrade" : "Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot. Set to true by default, if no value is specified.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.
", "CreateUserInput$ConsoleAccess" : "Enables access to the ActiveMQ Web Console for the ActiveMQ user.
", "CreateUserInput$ReplicationUser" : "Defines if this user is intended for CRDR replication purposes.
", - "DescribeBrokerOutput$AutoMinorVersionUpgrade" : "Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
", + "DescribeBrokerOutput$AutoMinorVersionUpgrade" : "Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
", "DescribeBrokerOutput$PubliclyAccessible" : "Enables connections from applications outside of the VPC that hosts the broker's subnets.
", "DescribeUserOutput$ConsoleAccess" : "Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
", "DescribeUserOutput$ReplicationUser" : "Describes whether the user is intended for data replication
", @@ -418,8 +418,8 @@ "LogsSummary$General" : "Enables general logging.
", "PendingLogs$Audit" : "Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged.
", "PendingLogs$General" : "Enables general logging.
", - "UpdateBrokerInput$AutoMinorVersionUpgrade" : "Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
", - "UpdateBrokerOutput$AutoMinorVersionUpgrade" : "The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
", + "UpdateBrokerInput$AutoMinorVersionUpgrade" : "Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
Must be set to true for ActiveMQ brokers version 5.18 and above and for RabbitMQ brokers version 3.13 and above.
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
", "UpdateUserInput$ConsoleAccess" : "Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
", "UpdateUserInput$ReplicationUser" : "Defines whether the user is intended for data replication.
", "User$ConsoleAccess" : "Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
", @@ -577,7 +577,7 @@ "BrokerSummary$HostInstanceType" : "The broker's instance type.
", "Configuration$Arn" : "Required. The ARN of the configuration.
", "Configuration$Description" : "Required. The description of the configuration.
", - "Configuration$EngineVersion" : "Required. The broker engine's version. For a list of supported engine versions, see, Supported engines.
", + "Configuration$EngineVersion" : "The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
", "Configuration$Id" : "Required. The unique ID that Amazon MQ generates for the configuration.
", "Configuration$Name" : "Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
", "ConfigurationId$Id" : "Required. The unique ID that Amazon MQ generates for the configuration.
", @@ -585,11 +585,11 @@ "CreateBrokerInput$BrokerName" : "Required. The broker's name. This value must be unique in your Amazon Web Services account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.
The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action.
We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.
The Amazon Resource Name (ARN) of the primary broker that is used to replicate data from in a data replication pair, and is applied to the replica broker. Must be set when dataReplicationMode is set to CRDR.
", - "CreateBrokerInput$EngineVersion" : "Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
", + "CreateBrokerInput$EngineVersion" : "The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
", "CreateBrokerInput$HostInstanceType" : "Required. The broker's instance type.
", "CreateBrokerOutput$BrokerArn" : "The broker's Amazon Resource Name (ARN).
", "CreateBrokerOutput$BrokerId" : "The unique ID that Amazon MQ generates for the broker.
", - "CreateConfigurationInput$EngineVersion" : "Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
", + "CreateConfigurationInput$EngineVersion" : "The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
", "CreateConfigurationInput$Name" : "Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
", "CreateConfigurationOutput$Arn" : "Required. The Amazon Resource Name (ARN) of the configuration.
", "CreateConfigurationOutput$Id" : "Required. The unique ID that Amazon MQ generates for the configuration.
", @@ -602,9 +602,9 @@ "DescribeBrokerOutput$BrokerArn" : "The broker's Amazon Resource Name (ARN).
", "DescribeBrokerOutput$BrokerId" : "The unique ID that Amazon MQ generates for the broker.
", "DescribeBrokerOutput$BrokerName" : "The broker's name. This value must be unique in your Amazon Web Services account account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
", - "DescribeBrokerOutput$EngineVersion" : "The broker engine's version. For a list of supported engine versions, see Supported engines.
", + "DescribeBrokerOutput$EngineVersion" : "The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
", "DescribeBrokerOutput$HostInstanceType" : "The broker's instance type.
", - "DescribeBrokerOutput$PendingEngineVersion" : "The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
", + "DescribeBrokerOutput$PendingEngineVersion" : "The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
", "DescribeBrokerOutput$PendingHostInstanceType" : "The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
", "DescribeConfigurationRevisionOutput$ConfigurationId" : "Required. The unique ID that Amazon MQ generates for the configuration.
", "DescribeConfigurationRevisionOutput$Data" : "Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for RabbitMQ: base64-encoded Cuttlefish.
", @@ -641,10 +641,10 @@ "PromoteOutput$BrokerId" : "The unique ID that Amazon MQ generates for the broker.
", "SanitizationWarning$AttributeName" : "The name of the configuration attribute that has been sanitized.
", "SanitizationWarning$ElementName" : "The name of the configuration element that has been sanitized.
", - "UpdateBrokerInput$EngineVersion" : "The broker engine version. For a list of supported engine versions, see Supported engines.
", + "UpdateBrokerInput$EngineVersion" : "The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
When upgrading to ActiveMQ version 5.18 and above or RabbitMQ version 3.13 and above, you must have autoMinorVersionUpgrade set to true for the broker.
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
", "UpdateBrokerOutput$BrokerId" : "Required. The unique ID that Amazon MQ generates for the broker.
", - "UpdateBrokerOutput$EngineVersion" : "The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
", + "UpdateBrokerOutput$EngineVersion" : "The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
", "UpdateBrokerOutput$HostInstanceType" : "The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
", "UpdateConfigurationInput$Data" : "Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.
", "UpdateConfigurationInput$Description" : "The description of the configuration.
", diff --git a/models/apis/mq/2017-11-27/endpoint-rule-set-1.json b/models/apis/mq/2017-11-27/endpoint-rule-set-1.json index d18215d8003..d56e61d0697 100644 --- a/models/apis/mq/2017-11-27/endpoint-rule-set-1.json +++ b/models/apis/mq/2017-11-27/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mq-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://mq-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mq-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://mq-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mq.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://mq.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mq.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://mq.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/qconnect/2020-10-19/api-2.json b/models/apis/qconnect/2020-10-19/api-2.json index ab1f62e8338..4f54d455add 100644 --- a/models/apis/qconnect/2020-10-19/api-2.json +++ b/models/apis/qconnect/2020-10-19/api-2.json @@ -65,6 +65,24 @@ ], "idempotent":true }, + "CreateContentAssociation":{ + "name":"CreateContentAssociation", + "http":{ + "method":"POST", + "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", + "responseCode":200 + }, + "input":{"shape":"CreateContentAssociationRequest"}, + "output":{"shape":"CreateContentAssociationResponse"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "CreateKnowledgeBase":{ "name":"CreateKnowledgeBase", "http":{ @@ -165,6 +183,22 @@ ], "idempotent":true }, + "DeleteContentAssociation":{ + "name":"DeleteContentAssociation", + "http":{ + "method":"DELETE", + "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", + "responseCode":204 + }, + "input":{"shape":"DeleteContentAssociationRequest"}, + "output":{"shape":"DeleteContentAssociationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ], + "idempotent":true + }, "DeleteImportJob":{ "name":"DeleteImportJob", "http":{ @@ -260,6 +294,21 @@ {"shape":"ResourceNotFoundException"} ] }, + "GetContentAssociation":{ + "name":"GetContentAssociation", + "http":{ + "method":"GET", + "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", + "responseCode":200 + }, + "input":{"shape":"GetContentAssociationRequest"}, + "output":{"shape":"GetContentAssociationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "GetContentSummary":{ "name":"GetContentSummary", "http":{ @@ -381,6 +430,21 @@ {"shape":"AccessDeniedException"} ] }, + "ListContentAssociations":{ + "name":"ListContentAssociations", + "http":{ + "method":"GET", + "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", + "responseCode":200 + }, + "input":{"shape":"ListContentAssociationsRequest"}, + "output":{"shape":"ListContentAssociationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "ListContents":{ "name":"ListContents", "http":{ @@ -701,6 +765,12 @@ }, "exception":true }, + "AmazonConnectGuideAssociationData":{ + "type":"structure", + "members":{ + "flowId":{"shape":"GenericArn"} + } + }, "AndConditions":{ "type":"list", "member":{"shape":"TagCondition"} @@ -715,7 +785,7 @@ }, "Arn":{ "type":"string", - "pattern":"^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" + "pattern":"^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$" }, "AssistantAssociationData":{ "type":"structure", @@ -917,6 +987,69 @@ "value":{"shape":"ContactAttributeValue"}, "sensitive":true }, + "ContentAssociationContents":{ + "type":"structure", + "members":{ + "amazonConnectGuideAssociation":{"shape":"AmazonConnectGuideAssociationData"} + }, + "union":true + }, + "ContentAssociationData":{ + "type":"structure", + "required":[ + "associationData", + "associationType", + "contentArn", + "contentAssociationArn", + "contentAssociationId", + "contentId", + "knowledgeBaseArn", + "knowledgeBaseId" + ], + "members":{ + "associationData":{"shape":"ContentAssociationContents"}, + "associationType":{"shape":"ContentAssociationType"}, + "contentArn":{"shape":"Arn"}, + "contentAssociationArn":{"shape":"Arn"}, + "contentAssociationId":{"shape":"Uuid"}, + "contentId":{"shape":"Uuid"}, + "knowledgeBaseArn":{"shape":"Arn"}, + "knowledgeBaseId":{"shape":"Uuid"}, + "tags":{"shape":"Tags"} + } + }, + "ContentAssociationSummary":{ + "type":"structure", + "required":[ + "associationData", + "associationType", + "contentArn", + "contentAssociationArn", + "contentAssociationId", + "contentId", + "knowledgeBaseArn", + "knowledgeBaseId" + ], + "members":{ + "associationData":{"shape":"ContentAssociationContents"}, + "associationType":{"shape":"ContentAssociationType"}, + "contentArn":{"shape":"Arn"}, + "contentAssociationArn":{"shape":"Arn"}, + "contentAssociationId":{"shape":"Uuid"}, + "contentId":{"shape":"Uuid"}, + "knowledgeBaseArn":{"shape":"Arn"}, + "knowledgeBaseId":{"shape":"Uuid"}, + "tags":{"shape":"Tags"} + } + }, + "ContentAssociationSummaryList":{ + "type":"list", + "member":{"shape":"ContentAssociationSummary"} + }, + "ContentAssociationType":{ + "type":"string", + "enum":["AMAZON_CONNECT_GUIDE"] + }, "ContentData":{ "type":"structure", "required":[ @@ -1089,6 +1222,40 @@ "assistant":{"shape":"AssistantData"} } }, + "CreateContentAssociationRequest":{ + "type":"structure", + "required":[ + "association", + "associationType", + "contentId", + "knowledgeBaseId" + ], + "members":{ + "association":{"shape":"ContentAssociationContents"}, + "associationType":{"shape":"ContentAssociationType"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "contentId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"contentId" + }, + "knowledgeBaseId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"knowledgeBaseId" + }, + "tags":{"shape":"Tags"} + } + }, + "CreateContentAssociationResponse":{ + "type":"structure", + "members":{ + "contentAssociation":{"shape":"ContentAssociationData"} + } + }, "CreateContentRequest":{ "type":"structure", "required":[ @@ -1281,6 +1448,36 @@ "members":{ } }, + "DeleteContentAssociationRequest":{ + "type":"structure", + "required":[ + "contentAssociationId", + "contentId", + "knowledgeBaseId" + ], + "members":{ + "contentAssociationId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"contentAssociationId" + }, + "contentId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"contentId" + }, + "knowledgeBaseId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"knowledgeBaseId" + } + } + }, + "DeleteContentAssociationResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteContentRequest":{ "type":"structure", "required":[ @@ -1506,6 +1703,37 @@ "assistant":{"shape":"AssistantData"} } }, + "GetContentAssociationRequest":{ + "type":"structure", + "required":[ + "contentAssociationId", + "contentId", + "knowledgeBaseId" + ], + "members":{ + "contentAssociationId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"contentAssociationId" + }, + "contentId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"contentId" + }, + "knowledgeBaseId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"knowledgeBaseId" + } + } + }, + "GetContentAssociationResponse":{ + "type":"structure", + "members":{ + "contentAssociation":{"shape":"ContentAssociationData"} + } + }, "GetContentRequest":{ "type":"structure", "required":[ @@ -1931,6 +2159,43 @@ "nextToken":{"shape":"NextToken"} } }, + "ListContentAssociationsRequest":{ + "type":"structure", + "required":[ + "contentId", + "knowledgeBaseId" + ], + "members":{ + "contentId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"contentId" + }, + "knowledgeBaseId":{ + "shape":"UuidOrArn", + "location":"uri", + "locationName":"knowledgeBaseId" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListContentAssociationsResponse":{ + "type":"structure", + "required":["contentAssociationSummaries"], + "members":{ + "contentAssociationSummaries":{"shape":"ContentAssociationSummaryList"}, + "nextToken":{"shape":"NextToken"} + } + }, "ListContentsRequest":{ "type":"structure", "required":["knowledgeBaseId"], @@ -3045,6 +3310,18 @@ "title":{"shape":"DocumentText"} } }, + "ThrottlingException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true, + "retryable":{"throttling":false} + }, "TimeToLive":{ "type":"integer", "box":true, @@ -3225,7 +3502,7 @@ }, "UuidOrArn":{ "type":"string", - "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" + "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$" }, "ValidationException":{ "type":"structure", diff --git a/models/apis/qconnect/2020-10-19/docs-2.json b/models/apis/qconnect/2020-10-19/docs-2.json index 2a708b85100..1490e4ffec3 100644 --- a/models/apis/qconnect/2020-10-19/docs-2.json +++ b/models/apis/qconnect/2020-10-19/docs-2.json @@ -5,18 +5,21 @@ "CreateAssistant": "Creates an Amazon Q in Connect assistant.
", "CreateAssistantAssociation": "Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
", "CreateContent": "Creates Amazon Q in Connect content. Before to calling this API, use StartContentUpload to upload an asset.
", + "CreateContentAssociation": "Creates an association between a content resource in a knowledge base and step-by-step guides. Step-by-step guides offer instructions to agents for resolving common customer issues. You create a content association to integrate Amazon Q in Connect and step-by-step guides.
After you integrate Amazon Q and step-by-step guides, when Amazon Q provides a recommendation to an agent based on the intent that it's detected, it also provides them with the option to start the step-by-step guide that you have associated with the content.
Note the following limitations:
You can create only one content association for each content resource in a knowledge base.
You can associate a step-by-step guide with multiple content resources.
For more information, see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
", "CreateKnowledgeBase": "Creates a knowledge base.
When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException
error.
For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:
Call DeleteKnowledgeBase.
Call DeleteDataIntegration.
Call CreateDataIntegration to recreate the DataIntegration or a create different one.
Call CreateKnowledgeBase.
Creates an Amazon Q in Connect quick response.
", "CreateSession": "Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
", "DeleteAssistant": "Deletes an assistant.
", "DeleteAssistantAssociation": "Deletes an assistant association.
", "DeleteContent": "Deletes the content.
", + "DeleteContentAssociation": "Deletes the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
", "DeleteImportJob": "Deletes the quick response import job.
", "DeleteKnowledgeBase": "Deletes the knowledge base.
When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.
Deletes a quick response.
", "GetAssistant": "Retrieves information about an assistant.
", "GetAssistantAssociation": "Retrieves information about an assistant association.
", "GetContent": "Retrieves content, including a pre-signed URL to download the content.
", + "GetContentAssociation": "Returns the content association.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
", "GetContentSummary": "Retrieves summary information about the content.
", "GetImportJob": "Retrieves the started import job.
", "GetKnowledgeBase": "Retrieves information about the knowledge base.
", @@ -25,6 +28,7 @@ "GetSession": "Retrieves information for a specified session.
", "ListAssistantAssociations": "Lists information about assistant associations.
", "ListAssistants": "Lists information about assistants.
", + "ListContentAssociations": "Lists the content associations.
For more information about content associations--what they are and when they are used--see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
", "ListContents": "Lists the content.
", "ListImportJobs": "Lists information about import jobs.
", "ListKnowledgeBases": "Lists the knowledge bases.
", @@ -52,6 +56,12 @@ "refs": { } }, + "AmazonConnectGuideAssociationData": { + "base": "Content association data for a step-by-step guide.
", + "refs": { + "ContentAssociationContents$amazonConnectGuideAssociation": "The data of the step-by-step guide association.
" + } + }, "AndConditions": { "base": null, "refs": { @@ -74,6 +84,12 @@ "AssistantAssociationSummary$assistantAssociationArn": "The Amazon Resource Name (ARN) of the assistant association.
", "AssistantData$assistantArn": "The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
", "AssistantSummary$assistantArn": "The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
", + "ContentAssociationData$contentArn": "The Amazon Resource Name (ARN) of the content.
", + "ContentAssociationData$contentAssociationArn": "The Amazon Resource Name (ARN) of the content association.
", + "ContentAssociationData$knowledgeBaseArn": "The Amazon Resource Name (ARN) of the knowledge base.
", + "ContentAssociationSummary$contentArn": "The Amazon Resource Name (ARN) of the content.
", + "ContentAssociationSummary$contentAssociationArn": "The Amazon Resource Name (ARN) of the content association.
", + "ContentAssociationSummary$knowledgeBaseArn": "The Amazon Resource Name (ARN) of the knowledge base.
", "ContentData$contentArn": "The Amazon Resource Name (ARN) of the content.
", "ContentData$knowledgeBaseArn": "The Amazon Resource Name (ARN) of the knowledge base.
", "ContentReference$contentArn": "The Amazon Resource Name (ARN) of the content.
", @@ -230,6 +246,7 @@ "refs": { "CreateAssistantAssociationRequest$clientToken": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
", "CreateAssistantRequest$clientToken": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
", + "CreateContentAssociationRequest$clientToken": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
", "CreateSessionRequest$clientToken": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
" } }, @@ -276,6 +293,41 @@ "SearchQuickResponsesRequest$attributes": "The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
" } }, + "ContentAssociationContents": { + "base": "The contents of a content association.
", + "refs": { + "ContentAssociationData$associationData": "The content association.
", + "ContentAssociationSummary$associationData": "The content association.
", + "CreateContentAssociationRequest$association": "The identifier of the associated resource.
" + } + }, + "ContentAssociationData": { + "base": "Information about the content association.
", + "refs": { + "CreateContentAssociationResponse$contentAssociation": "The association between Amazon Q in Connect content and another resource.
", + "GetContentAssociationResponse$contentAssociation": "The association between Amazon Q in Connect content and another resource.
" + } + }, + "ContentAssociationSummary": { + "base": "Summary information about a content association.
", + "refs": { + "ContentAssociationSummaryList$member": null + } + }, + "ContentAssociationSummaryList": { + "base": null, + "refs": { + "ListContentAssociationsResponse$contentAssociationSummaries": "Summary information about content associations.
" + } + }, + "ContentAssociationType": { + "base": null, + "refs": { + "ContentAssociationData$associationType": "The type of association.
", + "ContentAssociationSummary$associationType": "The type of association.
", + "CreateContentAssociationRequest$associationType": "The type of association.
" + } + }, "ContentData": { "base": "Information about the content.
", "refs": { @@ -374,6 +426,16 @@ "refs": { } }, + "CreateContentAssociationRequest": { + "base": null, + "refs": { + } + }, + "CreateContentAssociationResponse": { + "base": null, + "refs": { + } + }, "CreateContentRequest": { "base": null, "refs": { @@ -460,6 +522,16 @@ "refs": { } }, + "DeleteContentAssociationRequest": { + "base": null, + "refs": { + } + }, + "DeleteContentAssociationResponse": { + "base": null, + "refs": { + } + }, "DeleteContentRequest": { "base": null, "refs": { @@ -589,6 +661,7 @@ "GenericArn": { "base": null, "refs": { + "AmazonConnectGuideAssociationData$flowId": "The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides are a type of flow.
", "AppIntegrationsConfiguration$appIntegrationArn": "The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.
For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least Id
, ArticleNumber
, VersionNumber
, Title
, PublishStatus
, and IsDeleted
as source fields.
For ServiceNow, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least number
, short_description
, sys_mod_count
, workflow_state
, and active
as source fields.
For Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields
is not provided, including at least id
, title
, updated_at
, and draft
as source fields.
For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file extensions that are among docx
, pdf
, html
, htm
, and txt
.
For Amazon S3, the ObjectConfiguration and FileConfiguration of your AppIntegrations DataIntegration must be null. The SourceURI
of your DataIntegration must use the following format: s3://your_s3_bucket_name
.
The bucket policy of the corresponding S3 bucket must allow the Amazon Web Services principal app-integrations.amazonaws.com
to perform s3:ListBucket
, s3:GetObject
, and s3:GetBucketLocation
against the bucket.
The Amazon Resource Name (ARN) of the integrated Amazon SNS topic used for streaming chat messages.
", "QuickResponseData$lastModifiedBy": "The Amazon Resource Name (ARN) of the user who last updated the quick response data.
", @@ -617,6 +690,16 @@ "refs": { } }, + "GetContentAssociationRequest": { + "base": null, + "refs": { + } + }, + "GetContentAssociationResponse": { + "base": null, + "refs": { + } + }, "GetContentRequest": { "base": null, "refs": { @@ -843,6 +926,16 @@ "refs": { } }, + "ListContentAssociationsRequest": { + "base": null, + "refs": { + } + }, + "ListContentAssociationsResponse": { + "base": null, + "refs": { + } + }, "ListContentsRequest": { "base": null, "refs": { @@ -905,6 +998,7 @@ "GetRecommendationsRequest$maxResults": "The maximum number of results to return per page.
", "ListAssistantAssociationsRequest$maxResults": "The maximum number of results to return per page.
", "ListAssistantsRequest$maxResults": "The maximum number of results to return per page.
", + "ListContentAssociationsRequest$maxResults": "The maximum number of results to return per page.
", "ListContentsRequest$maxResults": "The maximum number of results to return per page.
", "ListImportJobsRequest$maxResults": "The maximum number of results to return per page.
", "ListKnowledgeBasesRequest$maxResults": "The maximum number of results to return per page.
", @@ -938,6 +1032,8 @@ "ListAssistantAssociationsResponse$nextToken": "If there are additional results, this is the token for the next set of results.
", "ListAssistantsRequest$nextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", "ListAssistantsResponse$nextToken": "If there are additional results, this is the token for the next set of results.
", + "ListContentAssociationsRequest$nextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", + "ListContentAssociationsResponse$nextToken": "If there are additional results, this is the token for the next set of results.
", "ListContentsRequest$nextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", "ListContentsResponse$nextToken": "If there are additional results, this is the token for the next set of results.
", "QueryAssistantRequest$nextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", @@ -1560,6 +1656,7 @@ "ResourceNotFoundException$message": null, "ResourceNotFoundException$resourceName": "The specified resource name.
", "ServiceQuotaExceededException$message": null, + "ThrottlingException$message": null, "TooManyTagsException$message": null, "TooManyTagsException$resourceName": "The specified resource name.
", "ValidationException$message": null @@ -1638,10 +1735,13 @@ "AssistantAssociationSummary$tags": "The tags used to organize, track, or control access for this resource.
", "AssistantData$tags": "The tags used to organize, track, or control access for this resource.
", "AssistantSummary$tags": "The tags used to organize, track, or control access for this resource.
", + "ContentAssociationData$tags": "The tags used to organize, track, or control access for this resource.
", + "ContentAssociationSummary$tags": "The tags used to organize, track, or control access for this resource.
", "ContentData$tags": "The tags used to organize, track, or control access for this resource.
", "ContentSummary$tags": "The tags used to organize, track, or control access for this resource.
", "CreateAssistantAssociationRequest$tags": "The tags used to organize, track, or control access for this resource.
", "CreateAssistantRequest$tags": "The tags used to organize, track, or control access for this resource.
", + "CreateContentAssociationRequest$tags": "The tags used to organize, track, or control access for this resource.
", "CreateContentRequest$tags": "The tags used to organize, track, or control access for this resource.
", "CreateKnowledgeBaseRequest$tags": "The tags used to organize, track, or control access for this resource.
", "CreateQuickResponseRequest$tags": "The tags used to organize, track, or control access for this resource.
", @@ -1670,6 +1770,11 @@ "SourceContentDataDetails$textData": "Details about the source content text data.
" } }, + "ThrottlingException": { + "base": "The throttling limit has been exceeded.
", + "refs": { + } + }, "TimeToLive": { "base": "Expiration time in minutes
", "refs": { @@ -1756,7 +1861,7 @@ "base": null, "refs": { "ContentData$url": "The URL of the content.
", - "ImportJobData$failedRecordReport": "The link to donwload the information of resource data that failed to be imported.
", + "ImportJobData$failedRecordReport": "The link to download the information of resource data that failed to be imported.
", "ImportJobData$url": "The download link to the resource file that is uploaded to the import job.
", "StartContentUploadResponse$url": "The URL of the upload.
" } @@ -1771,6 +1876,12 @@ "AssistantAssociationSummary$assistantId": "The identifier of the Amazon Q in Connect assistant.
", "AssistantData$assistantId": "The identifier of the Amazon Q in Connect assistant.
", "AssistantSummary$assistantId": "The identifier of the Amazon Q in Connect assistant.
", + "ContentAssociationData$contentAssociationId": "The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "ContentAssociationData$contentId": "The identifier of the content.
", + "ContentAssociationData$knowledgeBaseId": "The identifier of the knowledge base.
", + "ContentAssociationSummary$contentAssociationId": "The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "ContentAssociationSummary$contentId": "The identifier of the content.
", + "ContentAssociationSummary$knowledgeBaseId": "The identifier of the knowledge base.
", "ContentData$contentId": "The identifier of the content.
", "ContentData$knowledgeBaseId": "The identifier of the knowledge base.
", "ContentReference$contentId": "The identifier of the content.
", @@ -1808,12 +1919,17 @@ "base": null, "refs": { "CreateAssistantAssociationRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "CreateContentAssociationRequest$contentId": "The identifier of the content.
", + "CreateContentAssociationRequest$knowledgeBaseId": "The identifier of the knowledge base.
", "CreateContentRequest$knowledgeBaseId": "The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "CreateQuickResponseRequest$knowledgeBaseId": "The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "CreateSessionRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "DeleteAssistantAssociationRequest$assistantAssociationId": "The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "DeleteAssistantAssociationRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "DeleteAssistantRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "DeleteContentAssociationRequest$contentAssociationId": "The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "DeleteContentAssociationRequest$contentId": "The identifier of the content.
", + "DeleteContentAssociationRequest$knowledgeBaseId": "The identifier of the knowledge base.
", "DeleteContentRequest$contentId": "The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "DeleteContentRequest$knowledgeBaseId": "The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "DeleteImportJobRequest$knowledgeBaseId": "The identifier of the knowledge base.
", @@ -1823,6 +1939,9 @@ "GetAssistantAssociationRequest$assistantAssociationId": "The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "GetAssistantAssociationRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "GetAssistantRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "GetContentAssociationRequest$contentAssociationId": "The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "GetContentAssociationRequest$contentId": "The identifier of the content.
", + "GetContentAssociationRequest$knowledgeBaseId": "The identifier of the knowledge base.
", "GetContentRequest$contentId": "The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "GetContentRequest$knowledgeBaseId": "The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "GetContentSummaryRequest$contentId": "The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
", @@ -1836,6 +1955,8 @@ "GetSessionRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "GetSessionRequest$sessionId": "The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "ListAssistantAssociationsRequest$assistantId": "The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "ListContentAssociationsRequest$contentId": "The identifier of the content.
", + "ListContentAssociationsRequest$knowledgeBaseId": "The identifier of the knowledge base.
", "ListContentsRequest$knowledgeBaseId": "The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "ListImportJobsRequest$knowledgeBaseId": "The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", "ListQuickResponsesRequest$knowledgeBaseId": "The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", diff --git a/models/apis/qconnect/2020-10-19/paginators-1.json b/models/apis/qconnect/2020-10-19/paginators-1.json index 2d69a269566..0d536b74c98 100644 --- a/models/apis/qconnect/2020-10-19/paginators-1.json +++ b/models/apis/qconnect/2020-10-19/paginators-1.json @@ -12,6 +12,12 @@ "limit_key": "maxResults", "result_key": "assistantSummaries" }, + "ListContentAssociations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "contentAssociationSummaries" + }, "ListContents": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index 430890d9169..a3a638420d2 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -9,7 +9,8 @@ "serviceFullName":"Amazon QuickSight", "serviceId":"QuickSight", "signatureVersion":"v4", - "uid":"quicksight-2018-04-01" + "uid":"quicksight-2018-04-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "CancelIngestion":{ @@ -4595,7 +4596,8 @@ "SectionId":{"shape":"ShortRestrictiveResourceId"}, "Content":{"shape":"BodySectionContent"}, "Style":{"shape":"SectionStyle"}, - "PageBreakConfiguration":{"shape":"SectionPageBreakConfiguration"} + "PageBreakConfiguration":{"shape":"SectionPageBreakConfiguration"}, + "RepeatConfiguration":{"shape":"BodySectionRepeatConfiguration"} } }, "BodySectionConfigurationList":{ @@ -4609,6 +4611,66 @@ "Layout":{"shape":"SectionLayoutConfiguration"} } }, + "BodySectionDynamicCategoryDimensionConfiguration":{ + "type":"structure", + "required":["Column"], + "members":{ + "Column":{"shape":"ColumnIdentifier"}, + "Limit":{ + "shape":"BodySectionDynamicDimensionLimit", + "box":true + }, + "SortByMetrics":{"shape":"BodySectionDynamicDimensionSortConfigurationList"} + } + }, + "BodySectionDynamicDimensionLimit":{ + "type":"integer", + "max":1000, + "min":1 + }, + "BodySectionDynamicDimensionSortConfigurationList":{ + "type":"list", + "member":{"shape":"ColumnSort"}, + "max":100 + }, + "BodySectionDynamicNumericDimensionConfiguration":{ + "type":"structure", + "required":["Column"], + "members":{ + "Column":{"shape":"ColumnIdentifier"}, + "Limit":{ + "shape":"BodySectionDynamicDimensionLimit", + "box":true + }, + "SortByMetrics":{"shape":"BodySectionDynamicDimensionSortConfigurationList"} + } + }, + "BodySectionRepeatConfiguration":{ + "type":"structure", + "members":{ + "DimensionConfigurations":{"shape":"BodySectionRepeatDimensionConfigurationList"}, + "PageBreakConfiguration":{"shape":"BodySectionRepeatPageBreakConfiguration"}, + "NonRepeatingVisuals":{"shape":"NonRepeatingVisualsList"} + } + }, + "BodySectionRepeatDimensionConfiguration":{ + "type":"structure", + "members":{ + "DynamicCategoryDimensionConfiguration":{"shape":"BodySectionDynamicCategoryDimensionConfiguration"}, + "DynamicNumericDimensionConfiguration":{"shape":"BodySectionDynamicNumericDimensionConfiguration"} + } + }, + "BodySectionRepeatDimensionConfigurationList":{ + "type":"list", + "member":{"shape":"BodySectionRepeatDimensionConfiguration"}, + "max":3 + }, + "BodySectionRepeatPageBreakConfiguration":{ + "type":"structure", + "members":{ + "After":{"shape":"SectionAfterPageBreak"} + } + }, "BookmarksConfigurations":{ "type":"structure", "required":["Enabled"], @@ -4933,6 +4995,18 @@ "FILTER_LIST" ] }, + "CategoryInnerFilter":{ + "type":"structure", + "required":[ + "Column", + "Configuration" + ], + "members":{ + "Column":{"shape":"ColumnIdentifier"}, + "Configuration":{"shape":"CategoryFilterConfiguration"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} + } + }, "CategoryValue":{ "type":"string", "max":512 @@ -10647,7 +10721,8 @@ "TimeEqualityFilter":{"shape":"TimeEqualityFilter"}, "TimeRangeFilter":{"shape":"TimeRangeFilter"}, "RelativeDatesFilter":{"shape":"RelativeDatesFilter"}, - "TopBottomFilter":{"shape":"TopBottomFilter"} + "TopBottomFilter":{"shape":"TopBottomFilter"}, + "NestedFilter":{"shape":"NestedFilter"} } }, "FilterClass":{ @@ -12253,6 +12328,12 @@ "type":"list", "member":{"shape":"Ingestion"} }, + "InnerFilter":{ + "type":"structure", + "members":{ + "CategoryInnerFilter":{"shape":"CategoryInnerFilter"} + } + }, "InputColumn":{ "type":"structure", "required":[ @@ -14432,6 +14513,21 @@ "NEGATIVE" ] }, + "NestedFilter":{ + "type":"structure", + "required":[ + "FilterId", + "Column", + "IncludeInnerSet", + "InnerFilter" + ], + "members":{ + "FilterId":{"shape":"ShortRestrictiveResourceId"}, + "Column":{"shape":"ColumnIdentifier"}, + "IncludeInnerSet":{"shape":"Boolean"}, + "InnerFilter":{"shape":"InnerFilter"} + } + }, "NetworkInterface":{ "type":"structure", "members":{ @@ -14479,6 +14575,11 @@ "type":"string", "pattern":".*\\S.*" }, + "NonRepeatingVisualsList":{ + "type":"list", + "member":{"shape":"ShortRestrictiveResourceId"}, + "max":20 + }, "NullString":{ "type":"string", "max":128, diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index ce692b962a2..da9fce91313 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -1791,6 +1791,56 @@ "BodySectionConfiguration$Content": "The configuration of content in a body section.
" } }, + "BodySectionDynamicCategoryDimensionConfiguration": { + "base": "Describes the Category dataset column and constraints for the dynamic values used to repeat the contents of a section.
", + "refs": { + "BodySectionRepeatDimensionConfiguration$DynamicCategoryDimensionConfiguration": "Describes the Category dataset column and constraints around the dynamic values that will be used in repeating the section contents.
" + } + }, + "BodySectionDynamicDimensionLimit": { + "base": null, + "refs": { + "BodySectionDynamicCategoryDimensionConfiguration$Limit": "Number of values to use from the column for repetition.
", + "BodySectionDynamicNumericDimensionConfiguration$Limit": "Number of values to use from the column for repetition.
" + } + }, + "BodySectionDynamicDimensionSortConfigurationList": { + "base": null, + "refs": { + "BodySectionDynamicCategoryDimensionConfiguration$SortByMetrics": "Sort criteria on the column values that you use for repetition.
", + "BodySectionDynamicNumericDimensionConfiguration$SortByMetrics": "Sort criteria on the column values that you use for repetition.
" + } + }, + "BodySectionDynamicNumericDimensionConfiguration": { + "base": "Describes the Numeric dataset column and constraints for the dynamic values used to repeat the contents of a section.
", + "refs": { + "BodySectionRepeatDimensionConfiguration$DynamicNumericDimensionConfiguration": "Describes the Numeric dataset column and constraints around the dynamic values used to repeat the contents of a section.
" + } + }, + "BodySectionRepeatConfiguration": { + "base": "Describes the configurations that are required to declare a section as repeating.
", + "refs": { + "BodySectionConfiguration$RepeatConfiguration": "Describes the configurations that are required to declare a section as repeating.
" + } + }, + "BodySectionRepeatDimensionConfiguration": { + "base": "Describes the dataset column and constraints for the dynamic values used to repeat the contents of a section. The dataset column is either Category or Numeric column configuration
", + "refs": { + "BodySectionRepeatDimensionConfigurationList$member": null + } + }, + "BodySectionRepeatDimensionConfigurationList": { + "base": null, + "refs": { + "BodySectionRepeatConfiguration$DimensionConfigurations": "List of BodySectionRepeatDimensionConfiguration
values that describe the dataset column and constraints for the column used to repeat the contents of a section.
The page break configuration to apply for each repeating instance.
", + "refs": { + "BodySectionRepeatConfiguration$PageBreakConfiguration": "Page break configuration to apply for each repeating instance.
" + } + }, "BookmarksConfigurations": { "base": "The bookmarks configuration of an embedded dashboard.
", "refs": { @@ -1829,6 +1879,7 @@ "IdentityCenterConfiguration$EnableIdentityPropagation": "A Boolean option that controls whether Trusted Identity Propagation should be used.
", "JoinKeyProperties$UniqueKey": "A value that indicates that a row in a table is uniquely identified by the columns in a join key. This is used by Amazon QuickSight to optimize query performance.
", "MarginStyle$Show": "This Boolean value controls whether to display sheet margins.
", + "NestedFilter$IncludeInnerSet": "A boolean condition to include or exclude the subset that is defined by the values of the nested inner filter.
", "NumericRangeFilter$IncludeMinimum": "Determines whether the minimum value in the filter value range should be included in the filtered results.
", "NumericRangeFilter$IncludeMaximum": "Determines whether the maximum value in the filter value range should be included in the filtered results.
", "RedshiftIAMParameters$AutoCreateDatabaseUser": "Automatically creates a database user. If your database doesn't have a DatabaseUser
, set this parameter to True
. If there is no DatabaseUser
, Amazon QuickSight can't connect to your cluster. The RoleArn
that you use for this operation must grant access to redshift:CreateClusterUser
to successfully create the user.
The configuration for a CategoryFilter
.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
", "refs": { - "CategoryFilter$Configuration": "The configuration for a CategoryFilter
.
The configuration for a CategoryFilter
.
The category filter type. This element is used to specify whether a filter is a simple category filter or an inverse category filter.
" } }, + "CategoryInnerFilter": { + "base": "A CategoryInnerFilter
filters text values for the NestedFilter
.
A CategoryInnerFilter
filters text values for the NestedFilter
.
The column that determines the sort order of aggregated values.
", "AxisLabelReferenceOptions$Column": "The column that the axis label is targeted to.
", + "BodySectionDynamicCategoryDimensionConfiguration$Column": null, + "BodySectionDynamicNumericDimensionConfiguration$Column": null, "CascadingControlSource$ColumnToMatch": "The column identifier that determines which column to look up for the source sheet control.
", "CategoricalDimensionField$Column": "The column that is used in the CategoricalDimensionField
.
The column that is used in the CategoricalMeasureField
.
The column that the filter is applied to.
", "CategoryFilter$Column": "The column that the filter is applied to.
", + "CategoryInnerFilter$Column": null, "ColumnConfiguration$Column": "The column.
", "ColumnSort$SortBy": null, "ColumnTooltipItem$Column": "The target column of the tooltip item.
", @@ -2348,6 +2409,7 @@ "DynamicDefaultValue$GroupNameColumn": "The column that contains the group name.
", "DynamicDefaultValue$DefaultValueColumn": "The column that contains the default value of each user or group.
", "ExplicitHierarchyColumnList$member": null, + "NestedFilter$Column": "The column that the filter is applied to.
", "NumericEqualityDrillDownFilter$Column": "The column that the filter is applied to.
", "NumericEqualityFilter$Column": "The column that the filter is applied to.
", "NumericRangeFilter$Column": "The column that the filter is applied to.
", @@ -2433,6 +2495,7 @@ "ColumnSort": { "base": "The sort configuration for a column that is not used in a field well.
", "refs": { + "BodySectionDynamicDimensionSortConfigurationList$member": null, "FieldSortOptions$ColumnSort": "The sort configuration for a column that is not used in a field well.
", "PivotTableSortBy$Column": "The column sort (field id, direction) for the pivot table sort by options.
" } @@ -3870,6 +3933,7 @@ "base": "The default configuration for all dependent controls of the filter.
", "refs": { "CategoryFilter$DefaultFilterControlConfiguration": "The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
", + "CategoryInnerFilter$DefaultFilterControlConfiguration": null, "NumericEqualityFilter$DefaultFilterControlConfiguration": "The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
", "NumericRangeFilter$DefaultFilterControlConfiguration": "The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
", "RelativeDatesFilter$DefaultFilterControlConfiguration": "The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
", @@ -6384,6 +6448,12 @@ "ListIngestionsResponse$Ingestions": "A list of the ingestions.
" } }, + "InnerFilter": { + "base": "The InnerFilter
defines the subset of data to be used with the NestedFilter
.
The InnerFilter
defines the subset of data to be used with the NestedFilter
.
Metadata for a column that is used as the input of a transform operation.
", "refs": { @@ -7692,6 +7762,12 @@ "NegativeValueConfiguration$DisplayMode": "Determines the display mode of the negative value configuration.
" } }, + "NestedFilter": { + "base": "A NestedFilter
filters data with a subset of data that is defined by the nested inner filter.
A NestedFilter
filters data with a subset of data that is defined by the nested inner filter.
The structure that contains information about a network interface.
", "refs": { @@ -7760,6 +7836,12 @@ "UpdateKeyRegistrationResponse$RequestId": "The Amazon Web Services request ID for this operation.
" } }, + "NonRepeatingVisualsList": { + "base": null, + "refs": { + "BodySectionRepeatConfiguration$NonRepeatingVisuals": "List of visuals to exclude from repetition in repeating sections. The visuals will render identically, and ignore the repeating configurations in all repeating instances.
" + } + }, "NullString": { "base": null, "refs": { @@ -9534,6 +9616,7 @@ "SectionAfterPageBreak": { "base": "The configuration of a page break after a section.
", "refs": { + "BodySectionRepeatPageBreakConfiguration$After": null, "SectionPageBreakConfiguration$After": "The configuration of a page break after a section.
" } }, @@ -10154,6 +10237,8 @@ "LocalNavigationConfiguration$TargetSheetId": "The sheet that is targeted for navigation in the same analysis.
", "MaximumMinimumComputation$ComputationId": "The ID for a computation.
", "MetricComparisonComputation$ComputationId": "The ID for a computation.
", + "NestedFilter$FilterId": "An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
", + "NonRepeatingVisualsList$member": null, "NumericEqualityFilter$FilterId": "An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
", "NumericRangeFilter$FilterId": "An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
", "ParameterDateTimePickerControl$ParameterControlId": "The ID of the ParameterDateTimePickerControl
.
Starts an Amazon Aurora DB cluster that was stopped using the Amazon Web Services console, the stop-db-cluster CLI command, or the StopDBCluster
operation.
For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide.
This operation only applies to Aurora DB clusters.
Starts an Amazon RDS DB instance that was stopped using the Amazon Web Services console, the stop-db-instance CLI command, or the StopDBInstance
operation.
For more information, see Starting an Amazon RDS DB instance That Was Previously Stopped in the Amazon RDS User Guide.
This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora DB clusters, use StartDBCluster
instead.
Enables replication of automated backups to a different Amazon Web Services Region.
This command doesn't apply to RDS Custom.
For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide.
", - "StartExportTask": "Starts an export of DB snapshot or DB cluster data to Amazon S3. The provided IAM role must have access to the S3 bucket.
You can't export snapshot data from Db2 or RDS Custom DB instances.
You can't export cluster data from Multi-AZ DB clusters.
For more information on exporting DB snapshot data, see Exporting DB snapshot data to Amazon S3 in the Amazon RDS User Guide or Exporting DB cluster snapshot data to Amazon S3 in the Amazon Aurora User Guide.
For more information on exporting DB cluster data, see Exporting DB cluster data to Amazon S3 in the Amazon Aurora User Guide.
", + "StartExportTask": "Starts an export of DB snapshot or DB cluster data to Amazon S3. The provided IAM role must have access to the S3 bucket.
You can't export snapshot data from Db2 or RDS Custom DB instances.
For more information on exporting DB snapshot data, see Exporting DB snapshot data to Amazon S3 in the Amazon RDS User Guide or Exporting DB cluster snapshot data to Amazon S3 in the Amazon Aurora User Guide.
For more information on exporting DB cluster data, see Exporting DB cluster data to Amazon S3 in the Amazon Aurora User Guide.
", "StopActivityStream": "Stops a database activity stream that was started using the Amazon Web Services console, the start-activity-stream
CLI command, or the StartActivityStream
operation.
For more information, see Monitoring Amazon Aurora with Database Activity Streams in the Amazon Aurora User Guide or Monitoring Amazon RDS with Database Activity Streams in the Amazon RDS User Guide.
", "StopDBCluster": "Stops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora retains the DB cluster's metadata, including its endpoints and DB parameter groups. Aurora also retains the transaction logs so you can do a point-in-time restore if necessary.
For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide.
This operation only applies to Aurora DB clusters.
Stops an Amazon RDS DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary.
For more information, see Stopping an Amazon RDS DB Instance Temporarily in the Amazon RDS User Guide.
This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora clusters, use StopDBCluster
instead.
Returns the details of the DB instance’s server certificate.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
", + "base": "The details of the DB instance’s server certificate.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
", "refs": { "ClusterPendingModifiedValues$CertificateDetails": null, "DBCluster$CertificateDetails": null, @@ -3994,7 +3994,7 @@ } }, "ProcessorFeature": { - "base": "Contains the processor features of a DB instance class.
To specify the number of CPU cores, use the coreCount
feature name for the Name
parameter. To specify the number of threads per core, use the threadsPerCore
feature name for the Name
parameter.
You can set the processor features of the DB instance class for a DB instance when you call one of the following actions:
CreateDBInstance
ModifyDBInstance
RestoreDBInstanceFromDBSnapshot
RestoreDBInstanceFromS3
RestoreDBInstanceToPointInTime
You can view the valid processor values for a particular instance class by calling the DescribeOrderableDBInstanceOptions
action and specifying the instance class for the DBInstanceClass
parameter.
In addition, you can use the following actions for DB instance class processor information:
DescribeDBInstances
DescribeDBSnapshots
DescribeValidDBInstanceModifications
If you call DescribeDBInstances
, ProcessorFeature
returns non-null values only if the following conditions are met:
You are accessing an Oracle DB instance.
Your Oracle DB instance class supports configuring the number of CPU cores and threads per core.
The current number CPU cores and threads is set to a non-default value.
For more information, see Configuring the Processor of the DB Instance Class in the Amazon RDS User Guide.
", + "base": "Contains the processor features of a DB instance class.
To specify the number of CPU cores, use the coreCount
feature name for the Name
parameter. To specify the number of threads per core, use the threadsPerCore
feature name for the Name
parameter.
You can set the processor features of the DB instance class for a DB instance when you call one of the following actions:
CreateDBInstance
ModifyDBInstance
RestoreDBInstanceFromDBSnapshot
RestoreDBInstanceFromS3
RestoreDBInstanceToPointInTime
You can view the valid processor values for a particular instance class by calling the DescribeOrderableDBInstanceOptions
action and specifying the instance class for the DBInstanceClass
parameter.
In addition, you can use the following actions for DB instance class processor information:
DescribeDBInstances
DescribeDBSnapshots
DescribeValidDBInstanceModifications
If you call DescribeDBInstances
, ProcessorFeature
returns non-null values only if the following conditions are met:
You are accessing an Oracle DB instance.
Your Oracle DB instance class supports configuring the number of CPU cores and threads per core.
The current number CPU cores and threads is set to a non-default value.
For more information, see Configuring the processor for a DB instance class in RDS for Oracle in the Amazon RDS User Guide.
", "refs": { "ProcessorFeatureList$member": null } @@ -4681,7 +4681,7 @@ "CreateDBClusterMessage$DatabaseName": "The name for your database of up to 64 alphanumeric characters. A database named postgres
is always created. If this parameter is specified, an additional database with this name is created.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
", "CreateDBClusterMessage$DBClusterIdentifier": "The identifier for this DB cluster. This parameter is stored as a lowercase string.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Constraints:
Must contain from 1 to 63 (for Aurora DB clusters) or 1 to 52 (for Multi-AZ DB clusters) letters, numbers, or hyphens.
First character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1
The name of the DB cluster parameter group to associate with this DB cluster. If you don't specify a value, then the default DB cluster parameter group for the specified DB engine and version is used.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Constraints:
If supplied, must match the name of an existing DB cluster parameter group.
A DB subnet group to associate with this DB cluster.
This setting is required to create a Multi-AZ DB cluster.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Constraints:
Must match the name of an existing DB subnet group.
Must not be default
.
Example: mydbsubnetgroup
A DB subnet group to associate with this DB cluster.
This setting is required to create a Multi-AZ DB cluster.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Constraints:
Must match the name of an existing DB subnet group.
Example: mydbsubnetgroup
The database engine to use for this DB cluster.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Valid Values:
aurora-mysql
aurora-postgresql
mysql
postgres
neptune
- For information about using Amazon Neptune, see the Amazon Neptune User Guide .
The version number of the database engine to use.
To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the following command:
aws rds describe-db-engine-versions --engine aurora-mysql --query \"DBEngineVersions[].EngineVersion\"
You can supply either 5.7
or 8.0
to use the default engine version for Aurora MySQL version 2 or version 3, respectively.
To list all of the available engine versions for Aurora PostgreSQL, use the following command:
aws rds describe-db-engine-versions --engine aurora-postgresql --query \"DBEngineVersions[].EngineVersion\"
To list all of the available engine versions for RDS for MySQL, use the following command:
aws rds describe-db-engine-versions --engine mysql --query \"DBEngineVersions[].EngineVersion\"
To list all of the available engine versions for RDS for PostgreSQL, use the following command:
aws rds describe-db-engine-versions --engine postgres --query \"DBEngineVersions[].EngineVersion\"
For information about a specific engine, see the following topics:
Aurora MySQL - see Database engine updates for Amazon Aurora MySQL in the Amazon Aurora User Guide.
Aurora PostgreSQL - see Amazon Aurora PostgreSQL releases and engine versions in the Amazon Aurora User Guide.
RDS for MySQL - see Amazon RDS for MySQL in the Amazon RDS User Guide.
RDS for PostgreSQL - see Amazon RDS for PostgreSQL in the Amazon RDS User Guide.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
", "CreateDBClusterMessage$MasterUsername": "The name of the master user for the DB cluster.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Constraints:
Must be 1 to 16 letters or numbers.
First character must be a letter.
Can't be a reserved word for the chosen database engine.
The name of a Performance Insights metric to be measured.
Valid Values:
db.load.avg
- A scaled representation of the number of active sessions for the database engine.
db.sampledload.avg
- The raw number of active sessions for the database engine.
The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide.
If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg
and db.sampledload.avg
are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg
showing the scaled values, db.sampledload.avg
showing the raw values, and db.sampledload.avg
less than db.load.avg
. For most use cases, you can query db.load.avg
only.
The analysis of the performance issue. The information might contain markdown.
", "ProcessorFeature$Name": "The name of the processor feature. Valid names are coreCount
and threadsPerCore
.
The value of a processor feature name.
", + "ProcessorFeature$Value": "The value of a processor feature.
", "PromoteReadReplicaDBClusterMessage$DBClusterIdentifier": "The identifier of the DB cluster read replica to promote. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DB cluster read replica.
Example: my-cluster-replica1
The DB instance identifier. This value is stored as a lowercase string.
Constraints:
Must match the identifier of an existing read replica DB instance.
Example: mydbinstance
The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
The type of app.
", "DescribeAppRequest$AppType": "The type of app.
", "DescribeAppResponse$AppType": "The type of app.
", + "HiddenAppTypesList$member": null, "SpaceSettings$AppType": "The type of app created within the space.
", "SpaceSettingsSummary$AppType": "The type of app created within the space.
" } @@ -2030,7 +2031,7 @@ } }, "ClusterEbsVolumeConfig": { - "base": "Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group.
", + "base": "Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.
", "refs": { "ClusterInstanceStorageConfig$EbsVolumeConfig": "Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker
.
Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group.
", + "base": "Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.
", "refs": { "ClusterInstanceStorageConfigs$member": null } @@ -6515,6 +6516,18 @@ "OidcMemberDefinition$Groups": "A list of comma seperated strings that identifies user groups in your OIDC IdP. Each user group is made up of a group of private workers.
" } }, + "HiddenAppTypesList": { + "base": null, + "refs": { + "StudioWebPortalSettings$HiddenAppTypes": "The Applications supported in Studio that are hidden from the Studio left navigation pane.
" + } + }, + "HiddenMlToolsList": { + "base": null, + "refs": { + "StudioWebPortalSettings$HiddenMlTools": "The machine learning tools that are hidden from the Studio left navigation pane.
" + } + }, "HolidayConfig": { "base": null, "refs": { @@ -6663,7 +6676,7 @@ "HubContentType": { "base": null, "refs": { - "DeleteHubContentReferenceRequest$HubContentType": "The type of hub content to delete.
", + "DeleteHubContentReferenceRequest$HubContentType": "The type of hub content reference to delete. The only supported type of hub content reference to delete is ModelReference
.
The type of content that you want to delete from a hub.
", "DescribeHubContentRequest$HubContentType": "The type of content in the hub.
", "DescribeHubContentResponse$HubContentType": "The type of hub content.
", @@ -9579,6 +9592,12 @@ "InstanceMetadataServiceConfiguration$MinimumInstanceMetadataServiceVersion": "Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance
, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance
, there is no default.
Whether the user can access Studio. If this value is set to DISABLED
, the user cannot access Studio, even if that is the default experience for the domain.
Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.
", + "refs": { + "UserSettings$StudioWebPortalSettings": "Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.
" + } + }, "SubnetId": { "base": null, "refs": { diff --git a/models/apis/workspaces/2015-04-08/api-2.json b/models/apis/workspaces/2015-04-08/api-2.json index 77a73599b4c..21196d4506b 100644 --- a/models/apis/workspaces/2015-04-08/api-2.json +++ b/models/apis/workspaces/2015-04-08/api-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"workspaces", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"Amazon WorkSpaces", "serviceId":"WorkSpaces", "signatureVersion":"v4", "targetPrefix":"WorkspacesService", - "uid":"workspaces-2015-04-08" + "uid":"workspaces-2015-04-08", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptAccountLinkInvitation":{ @@ -277,6 +279,23 @@ {"shape":"InvalidParameterValuesException"} ] }, + "CreateWorkspacesPool":{ + "name":"CreateWorkspacesPool", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateWorkspacesPoolRequest"}, + "output":{"shape":"CreateWorkspacesPoolResult"}, + "errors":[ + {"shape":"ResourceLimitExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceAlreadyExistsException"}, + {"shape":"OperationNotSupportedException"}, + {"shape":"AccessDeniedException"} + ] + }, "DeleteAccountLinkInvitation":{ "name":"DeleteAccountLinkInvitation", "http":{ @@ -712,6 +731,34 @@ {"shape":"InvalidParameterValuesException"} ] }, + "DescribeWorkspacesPoolSessions":{ + "name":"DescribeWorkspacesPoolSessions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeWorkspacesPoolSessionsRequest"}, + "output":{"shape":"DescribeWorkspacesPoolSessionsResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, + "DescribeWorkspacesPools":{ + "name":"DescribeWorkspacesPools", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeWorkspacesPoolsRequest"}, + "output":{"shape":"DescribeWorkspacesPoolsResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, "DisassociateConnectionAlias":{ "name":"DisassociateConnectionAlias", "http":{ @@ -740,7 +787,8 @@ {"shape":"InvalidParameterValuesException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidResourceStateException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"OperationNotSupportedException"} ] }, "DisassociateWorkspaceApplication":{ @@ -892,7 +940,8 @@ "errors":[ {"shape":"InvalidParameterValuesException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"OperationNotSupportedException"} ] }, "ModifySamlProperties":{ @@ -921,7 +970,23 @@ "errors":[ {"shape":"AccessDeniedException"}, {"shape":"InvalidParameterValuesException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"ResourceNotFoundException"}, + {"shape":"OperationNotSupportedException"} + ] + }, + "ModifyStreamingProperties":{ + "name":"ModifyStreamingProperties", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyStreamingPropertiesRequest"}, + "output":{"shape":"ModifyStreamingPropertiesResult"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"OperationNotSupportedException"} ] }, "ModifyWorkspaceAccessProperties":{ @@ -1025,7 +1090,8 @@ {"shape":"WorkspacesDefaultRoleNotFoundException"}, {"shape":"InvalidResourceStateException"}, {"shape":"UnsupportedNetworkConfigurationException"}, - {"shape":"OperationNotSupportedException"} + {"shape":"OperationNotSupportedException"}, + {"shape":"ResourceAlreadyExistsException"} ] }, "RejectAccountLinkInvitation":{ @@ -1083,6 +1149,24 @@ "input":{"shape":"StartWorkspacesRequest"}, "output":{"shape":"StartWorkspacesResult"} }, + "StartWorkspacesPool":{ + "name":"StartWorkspacesPool", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StartWorkspacesPoolRequest"}, + "output":{"shape":"StartWorkspacesPoolResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"InvalidResourceStateException"}, + {"shape":"ResourceLimitExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"OperationNotSupportedException"}, + {"shape":"OperationInProgressException"}, + {"shape":"AccessDeniedException"} + ] + }, "StopWorkspaces":{ "name":"StopWorkspaces", "http":{ @@ -1092,6 +1176,22 @@ "input":{"shape":"StopWorkspacesRequest"}, "output":{"shape":"StopWorkspacesResult"} }, + "StopWorkspacesPool":{ + "name":"StopWorkspacesPool", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StopWorkspacesPoolRequest"}, + "output":{"shape":"StopWorkspacesPoolResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"InvalidResourceStateException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"OperationInProgressException"}, + {"shape":"AccessDeniedException"} + ] + }, "TerminateWorkspaces":{ "name":"TerminateWorkspaces", "http":{ @@ -1101,6 +1201,38 @@ "input":{"shape":"TerminateWorkspacesRequest"}, "output":{"shape":"TerminateWorkspacesResult"} }, + "TerminateWorkspacesPool":{ + "name":"TerminateWorkspacesPool", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"TerminateWorkspacesPoolRequest"}, + "output":{"shape":"TerminateWorkspacesPoolResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"InvalidResourceStateException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"OperationInProgressException"}, + {"shape":"AccessDeniedException"} + ] + }, + "TerminateWorkspacesPoolSession":{ + "name":"TerminateWorkspacesPoolSession", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"TerminateWorkspacesPoolSessionRequest"}, + "output":{"shape":"TerminateWorkspacesPoolSessionResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"OperationNotSupportedException"}, + {"shape":"OperationInProgressException"}, + {"shape":"AccessDeniedException"} + ] + }, "UpdateConnectClientAddIn":{ "name":"UpdateConnectClientAddIn", "http":{ @@ -1180,12 +1312,30 @@ {"shape":"InvalidParameterValuesException"}, {"shape":"OperationNotSupportedException"} ] + }, + "UpdateWorkspacesPool":{ + "name":"UpdateWorkspacesPool", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateWorkspacesPoolRequest"}, + "output":{"shape":"UpdateWorkspacesPoolResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"InvalidResourceStateException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceLimitExceededException"}, + {"shape":"OperationNotSupportedException"}, + {"shape":"OperationInProgressException"}, + {"shape":"AccessDeniedException"} + ] } }, "shapes":{ "ARN":{ "type":"string", - "pattern":"^arn:aws:[A-Za-z0-9][A-za-z0-9_/.-]{0,62}:[A-za-z0-9_/.-]{0,63}:[A-za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.-]{0,127}$" + "pattern":"^arn:aws[a-z-]{0,7}:[A-Za-z0-9][A-za-z0-9_/.-]{0,62}:[A-za-z0-9_/.-]{0,63}:[A-za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.\\\\-]{0,1023}$" }, "AcceptAccountLinkInvitationRequest":{ "type":"structure", @@ -1253,6 +1403,25 @@ "type":"list", "member":{"shape":"AccountModification"} }, + "ActiveDirectoryConfig":{ + "type":"structure", + "required":[ + "DomainName", + "ServiceAccountSecretArn" + ], + "members":{ + "DomainName":{"shape":"DomainName"}, + "ServiceAccountSecretArn":{"shape":"SecretsManagerArn"} + } + }, + "ActiveUserSessions":{ + "type":"integer", + "min":0 + }, + "ActualUserSessions":{ + "type":"integer", + "min":0 + }, "AddInName":{ "type":"string", "max":64, @@ -1319,6 +1488,30 @@ "type":"list", "member":{"shape":"ApplicationResourceAssociation"} }, + "ApplicationSettingsRequest":{ + "type":"structure", + "required":["Status"], + "members":{ + "Status":{"shape":"ApplicationSettingsStatusEnum"}, + "SettingsGroup":{"shape":"SettingsGroup"} + } + }, + "ApplicationSettingsResponse":{ + "type":"structure", + "required":["Status"], + "members":{ + "Status":{"shape":"ApplicationSettingsStatusEnum"}, + "SettingsGroup":{"shape":"SettingsGroup"}, + "S3BucketName":{"shape":"S3BucketName"} + } + }, + "ApplicationSettingsStatusEnum":{ + "type":"string", + "enum":[ + "DISABLED", + "ENABLED" + ] + }, "AssociateConnectionAliasRequest":{ "type":"structure", "required":[ @@ -1410,6 +1603,10 @@ "PENDING_DISASSOCIATION" ] }, + "AuthenticationType":{ + "type":"string", + "enum":["SAML"] + }, "AuthorizeIpRulesRequest":{ "type":"structure", "required":[ @@ -1426,6 +1623,10 @@ "members":{ } }, + "AvailableUserSessions":{ + "type":"integer", + "min":0 + }, "AwsAccount":{ "type":"string", "pattern":"^\\d{12}$" @@ -1477,6 +1678,28 @@ "STANDBY" ] }, + "Capacity":{ + "type":"structure", + "required":["DesiredUserSessions"], + "members":{ + "DesiredUserSessions":{"shape":"DesiredUserSessions"} + } + }, + "CapacityStatus":{ + "type":"structure", + "required":[ + "AvailableUserSessions", + "DesiredUserSessions", + "ActualUserSessions", + "ActiveUserSessions" + ], + "members":{ + "AvailableUserSessions":{"shape":"AvailableUserSessions"}, + "DesiredUserSessions":{"shape":"DesiredUserSessions"}, + "ActualUserSessions":{"shape":"ActualUserSessions"}, + "ActiveUserSessions":{"shape":"ActiveUserSessions"} + } + }, "CertificateAuthorityArn":{ "type":"string", "max":200, @@ -1889,6 +2112,32 @@ "OwnerAccountId":{"shape":"AwsAccount"} } }, + "CreateWorkspacesPoolRequest":{ + "type":"structure", + "required":[ + "PoolName", + "Description", + "BundleId", + "DirectoryId", + "Capacity" + ], + "members":{ + "PoolName":{"shape":"WorkspacesPoolName"}, + "Description":{"shape":"UpdateDescription"}, + "BundleId":{"shape":"BundleId"}, + "DirectoryId":{"shape":"DirectoryId"}, + "Capacity":{"shape":"Capacity"}, + "Tags":{"shape":"TagList"}, + "ApplicationSettings":{"shape":"ApplicationSettingsRequest"}, + "TimeoutSettings":{"shape":"TimeoutSettings"} + } + }, + "CreateWorkspacesPoolResult":{ + "type":"structure", + "members":{ + "WorkspacesPool":{"shape":"WorkspacesPool"} + } + }, "CreateWorkspacesRequest":{ "type":"structure", "required":["Workspaces"], @@ -1985,7 +2234,8 @@ "DefaultOu":{"shape":"DefaultOu"}, "CustomSecurityGroupId":{"shape":"SecurityGroupId"}, "UserEnabledAsLocalAdministrator":{"shape":"BooleanObject"}, - "EnableMaintenanceMode":{"shape":"BooleanObject"} + "EnableMaintenanceMode":{"shape":"BooleanObject"}, + "InstanceIamRoleArn":{"shape":"ARN"} } }, "DeletableCertificateBasedAuthPropertiesList":{ @@ -2385,6 +2635,7 @@ "type":"structure", "members":{ "DirectoryIds":{"shape":"DirectoryIdList"}, + "WorkspaceDirectoryNames":{"shape":"WorkspaceDirectoryNameList"}, "Limit":{"shape":"Limit"}, "NextToken":{"shape":"PaginationToken"} } @@ -2457,6 +2708,83 @@ "NextToken":{"shape":"PaginationToken"} } }, + "DescribeWorkspacesPoolSessionsRequest":{ + "type":"structure", + "required":["PoolId"], + "members":{ + "PoolId":{"shape":"WorkspacesPoolId"}, + "UserId":{"shape":"WorkspacesPoolUserId"}, + "Limit":{"shape":"Limit50"}, + "NextToken":{"shape":"PaginationToken"} + } + }, + "DescribeWorkspacesPoolSessionsResult":{ + "type":"structure", + "members":{ + "Sessions":{"shape":"WorkspacesPoolSessions"}, + "NextToken":{"shape":"PaginationToken"} + } + }, + "DescribeWorkspacesPoolsFilter":{ + "type":"structure", + "required":[ + "Name", + "Values", + "Operator" + ], + "members":{ + "Name":{"shape":"DescribeWorkspacesPoolsFilterName"}, + "Values":{"shape":"DescribeWorkspacesPoolsFilterValues"}, + "Operator":{"shape":"DescribeWorkspacesPoolsFilterOperator"} + } + }, + "DescribeWorkspacesPoolsFilterName":{ + "type":"string", + "enum":["PoolName"] + }, + "DescribeWorkspacesPoolsFilterOperator":{ + "type":"string", + "enum":[ + "EQUALS", + "NOTEQUALS", + "CONTAINS", + "NOTCONTAINS" + ] + }, + "DescribeWorkspacesPoolsFilterValue":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]+$" + }, + "DescribeWorkspacesPoolsFilterValues":{ + "type":"list", + "member":{"shape":"DescribeWorkspacesPoolsFilterValue"}, + "max":25, + "min":1 + }, + "DescribeWorkspacesPoolsFilters":{ + "type":"list", + "member":{"shape":"DescribeWorkspacesPoolsFilter"}, + "max":25, + "min":1 + }, + "DescribeWorkspacesPoolsRequest":{ + "type":"structure", + "members":{ + "PoolIds":{"shape":"WorkspacesPoolIds"}, + "Filters":{"shape":"DescribeWorkspacesPoolsFilters"}, + "Limit":{"shape":"Limit"}, + "NextToken":{"shape":"PaginationToken"} + } + }, + "DescribeWorkspacesPoolsResult":{ + "type":"structure", + "members":{ + "WorkspacesPools":{"shape":"WorkspacesPools"}, + "NextToken":{"shape":"PaginationToken"} + } + }, "DescribeWorkspacesRequest":{ "type":"structure", "members":{ @@ -2477,11 +2805,15 @@ } }, "Description":{"type":"string"}, + "DesiredUserSessions":{ + "type":"integer", + "min":0 + }, "DirectoryId":{ "type":"string", "max":65, "min":10, - "pattern":"^d-[0-9a-f]{8,63}$" + "pattern":"^(d-[0-9a-f]{8,63}$)|(wsd-[0-9a-z]{8,63}$)" }, "DirectoryIdList":{ "type":"list", @@ -2539,10 +2871,19 @@ "Association":{"shape":"WorkspaceResourceAssociation"} } }, + "DisconnectTimeoutInSeconds":{ + "type":"integer", + "max":36000, + "min":60 + }, "DnsIpAddresses":{ "type":"list", "member":{"shape":"IpAddress"} }, + "DomainName":{ + "type":"string", + "pattern":"^([a-zA-Z0-9]+[\\\\.-])+([a-zA-Z0-9])+$" + }, "Ec2ImageId":{ "type":"string", "pattern":"^ami\\-([a-f0-9]{8}|[a-f0-9]{17})$" @@ -2558,6 +2899,7 @@ "type":"list", "member":{"shape":"ErrorDetails"} }, + "ErrorMessage":{"type":"string"}, "ErrorType":{"type":"string"}, "ExceptionErrorCode":{"type":"string"}, "ExceptionMessage":{"type":"string"}, @@ -2626,6 +2968,11 @@ "AccountLink":{"shape":"AccountLink"} } }, + "IdleDisconnectTimeoutInSeconds":{ + "type":"integer", + "max":36000, + "min":0 + }, "ImageAssociatedResourceType":{ "type":"string", "enum":["APPLICATION"] @@ -2813,6 +3160,11 @@ "max":25, "min":1 }, + "Limit50":{ + "type":"integer", + "max":50, + "min":1 + }, "LinkId":{ "type":"string", "pattern":"^link-.{8,24}$" @@ -2873,6 +3225,15 @@ "max":5, "min":1 }, + "MaxUserDurationInSeconds":{ + "type":"integer", + "max":432000, + "min":600 + }, + "MaximumLength":{ + "type":"integer", + "min":0 + }, "MigrateWorkspaceRequest":{ "type":"structure", "required":[ @@ -2989,6 +3350,19 @@ "members":{ } }, + "ModifyStreamingPropertiesRequest":{ + "type":"structure", + "required":["ResourceId"], + "members":{ + "ResourceId":{"shape":"DirectoryId"}, + "StreamingProperties":{"shape":"StreamingProperties"} + } + }, + "ModifyStreamingPropertiesResult":{ + "type":"structure", + "members":{ + } + }, "ModifyWorkspaceAccessPropertiesRequest":{ "type":"structure", "required":[ @@ -3051,6 +3425,13 @@ "members":{ } }, + "NetworkAccessConfiguration":{ + "type":"structure", + "members":{ + "EniPrivateIpAddress":{"shape":"NonEmptyString"}, + "EniId":{"shape":"NonEmptyString"} + } + }, "NonEmptyString":{ "type":"string", "min":1 @@ -3205,22 +3586,25 @@ }, "RegisterWorkspaceDirectoryRequest":{ "type":"structure", - "required":[ - "DirectoryId", - "EnableWorkDocs" - ], "members":{ "DirectoryId":{"shape":"DirectoryId"}, "SubnetIds":{"shape":"SubnetIds"}, "EnableWorkDocs":{"shape":"BooleanObject"}, "EnableSelfService":{"shape":"BooleanObject"}, "Tenancy":{"shape":"Tenancy"}, - "Tags":{"shape":"TagList"} + "Tags":{"shape":"TagList"}, + "WorkspaceDirectoryName":{"shape":"WorkspaceDirectoryName"}, + "WorkspaceDirectoryDescription":{"shape":"WorkspaceDirectoryDescription"}, + "UserIdentityType":{"shape":"UserIdentityType"}, + "WorkspaceType":{"shape":"WorkspaceType"}, + "ActiveDirectoryConfig":{"shape":"ActiveDirectoryConfig"} } }, "RegisterWorkspaceDirectoryResult":{ "type":"structure", "members":{ + "DirectoryId":{"shape":"DirectoryId"}, + "State":{"shape":"WorkspaceDirectoryState"} } }, "RegistrationCode":{ @@ -3357,6 +3741,12 @@ ] }, "RunningModeAutoStopTimeoutInMinutes":{"type":"integer"}, + "S3BucketName":{ + "type":"string", + "max":63, + "min":3, + "pattern":"^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" + }, "SamlProperties":{ "type":"structure", "members":{ @@ -3379,6 +3769,10 @@ "min":8, "pattern":"^(http|https)\\://\\S+$" }, + "SecretsManagerArn":{ + "type":"string", + "pattern":"^arn:aws[a-z-]{0,7}:secretsmanager:[A-za-z0-9_/.-]{0,63}:[A-za-z0-9_/.-]{0,63}:secret:[A-Za-z0-9][A-za-z0-9_/.-]{8,519}$" + }, "SecurityGroupId":{ "type":"string", "max":20, @@ -3395,6 +3789,22 @@ "RebuildWorkspace":{"shape":"ReconnectEnum"} } }, + "SessionConnectionState":{ + "type":"string", + "enum":[ + "CONNECTED", + "NOT_CONNECTED" + ] + }, + "SessionInstanceId":{ + "type":"string", + "pattern":"^i-[a-f0-9]{8}(?:[a-f0-9]{9})?$" + }, + "SettingsGroup":{ + "type":"string", + "max":100, + "pattern":"^[A-Za-z0-9_./()!*'-]+$" + }, "Snapshot":{ "type":"structure", "members":{ @@ -3454,6 +3864,18 @@ "max":25, "min":1 }, + "StartWorkspacesPoolRequest":{ + "type":"structure", + "required":["PoolId"], + "members":{ + "PoolId":{"shape":"WorkspacesPoolId"} + } + }, + "StartWorkspacesPoolResult":{ + "type":"structure", + "members":{ + } + }, "StartWorkspacesRequest":{ "type":"structure", "required":["StartWorkspaceRequests"], @@ -3479,6 +3901,18 @@ "max":25, "min":1 }, + "StopWorkspacesPoolRequest":{ + "type":"structure", + "required":["PoolId"], + "members":{ + "PoolId":{"shape":"WorkspacesPoolId"} + } + }, + "StopWorkspacesPoolResult":{ + "type":"structure", + "members":{ + } + }, "StopWorkspacesRequest":{ "type":"structure", "required":["StopWorkspaceRequests"], @@ -3492,6 +3926,48 @@ "FailedRequests":{"shape":"FailedStopWorkspaceRequests"} } }, + "StorageConnector":{ + "type":"structure", + "required":[ + "ConnectorType", + "Status" + ], + "members":{ + "ConnectorType":{"shape":"StorageConnectorTypeEnum"}, + "Status":{"shape":"StorageConnectorStatusEnum"} + } + }, + "StorageConnectorStatusEnum":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "StorageConnectorTypeEnum":{ + "type":"string", + "enum":["HOME_FOLDER"] + }, + "StorageConnectors":{ + "type":"list", + "member":{"shape":"StorageConnector"}, + "min":1 + }, + "StreamingExperiencePreferredProtocolEnum":{ + "type":"string", + "enum":[ + "TCP", + "UDP" + ] + }, + "StreamingProperties":{ + "type":"structure", + "members":{ + "StreamingExperiencePreferredProtocol":{"shape":"StreamingExperiencePreferredProtocolEnum"}, + "UserSettings":{"shape":"UserSettings"}, + "StorageConnectors":{"shape":"StorageConnectors"} + } + }, "String2048":{ "type":"string", "max":2048, @@ -3560,6 +4036,30 @@ "max":25, "min":1 }, + "TerminateWorkspacesPoolRequest":{ + "type":"structure", + "required":["PoolId"], + "members":{ + "PoolId":{"shape":"WorkspacesPoolId"} + } + }, + "TerminateWorkspacesPoolResult":{ + "type":"structure", + "members":{ + } + }, + "TerminateWorkspacesPoolSessionRequest":{ + "type":"structure", + "required":["SessionId"], + "members":{ + "SessionId":{"shape":"AmazonUuid"} + } + }, + "TerminateWorkspacesPoolSessionResult":{ + "type":"structure", + "members":{ + } + }, "TerminateWorkspacesRequest":{ "type":"structure", "required":["TerminateWorkspaceRequests"], @@ -3573,6 +4073,14 @@ "FailedRequests":{"shape":"FailedTerminateWorkspaceRequests"} } }, + "TimeoutSettings":{ + "type":"structure", + "members":{ + "DisconnectTimeoutInSeconds":{"shape":"DisconnectTimeoutInSeconds"}, + "IdleDisconnectTimeoutInSeconds":{"shape":"IdleDisconnectTimeoutInSeconds"}, + "MaxUserDurationInSeconds":{"shape":"MaxUserDurationInSeconds"} + } + }, "Timestamp":{"type":"timestamp"}, "UnsupportedNetworkConfigurationException":{ "type":"structure", @@ -3681,11 +4189,70 @@ "members":{ } }, + "UpdateWorkspacesPoolRequest":{ + "type":"structure", + "required":["PoolId"], + "members":{ + "PoolId":{"shape":"WorkspacesPoolId"}, + "Description":{"shape":"UpdateDescription"}, + "BundleId":{"shape":"BundleId"}, + "DirectoryId":{"shape":"DirectoryId"}, + "Capacity":{"shape":"Capacity"}, + "ApplicationSettings":{"shape":"ApplicationSettingsRequest"}, + "TimeoutSettings":{"shape":"TimeoutSettings"} + } + }, + "UpdateWorkspacesPoolResult":{ + "type":"structure", + "members":{ + "WorkspacesPool":{"shape":"WorkspacesPool"} + } + }, + "UserIdentityType":{ + "type":"string", + "enum":[ + "CUSTOMER_MANAGED", + "AWS_DIRECTORY_SERVICE" + ] + }, "UserName":{ "type":"string", "max":63, "min":1 }, + "UserSetting":{ + "type":"structure", + "required":[ + "Action", + "Permission" + ], + "members":{ + "Action":{"shape":"UserSettingActionEnum"}, + "Permission":{"shape":"UserSettingPermissionEnum"}, + "MaximumLength":{"shape":"MaximumLength"} + } + }, + "UserSettingActionEnum":{ + "type":"string", + "enum":[ + "CLIPBOARD_COPY_FROM_LOCAL_DEVICE", + "CLIPBOARD_COPY_TO_LOCAL_DEVICE", + "PRINTING_TO_LOCAL_DEVICE", + "SMART_CARD" + ] + }, + "UserSettingPermissionEnum":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "UserSettings":{ + "type":"list", + "member":{"shape":"UserSetting"}, + "min":1 + }, "UserStorage":{ "type":"structure", "members":{ @@ -3858,7 +4425,8 @@ "DefaultOu":{"shape":"DefaultOu"}, "CustomSecurityGroupId":{"shape":"SecurityGroupId"}, "UserEnabledAsLocalAdministrator":{"shape":"BooleanObject"}, - "EnableMaintenanceMode":{"shape":"BooleanObject"} + "EnableMaintenanceMode":{"shape":"BooleanObject"}, + "InstanceIamRoleArn":{"shape":"ARN"} } }, "WorkspaceDirectory":{ @@ -3881,9 +4449,30 @@ "Tenancy":{"shape":"Tenancy"}, "SelfservicePermissions":{"shape":"SelfservicePermissions"}, "SamlProperties":{"shape":"SamlProperties"}, - "CertificateBasedAuthProperties":{"shape":"CertificateBasedAuthProperties"} + "CertificateBasedAuthProperties":{"shape":"CertificateBasedAuthProperties"}, + "WorkspaceDirectoryName":{"shape":"WorkspaceDirectoryName"}, + "WorkspaceDirectoryDescription":{"shape":"WorkspaceDirectoryDescription"}, + "UserIdentityType":{"shape":"UserIdentityType"}, + "WorkspaceType":{"shape":"WorkspaceType"}, + "ActiveDirectoryConfig":{"shape":"ActiveDirectoryConfig"}, + "StreamingProperties":{"shape":"StreamingProperties"}, + "ErrorMessage":{"shape":"Description"} } }, + "WorkspaceDirectoryDescription":{ + "type":"string", + "pattern":"^([a-zA-Z0-9_])[\\\\a-zA-Z0-9_@#%*+=:?./!\\s-]{1,255}$" + }, + "WorkspaceDirectoryName":{ + "type":"string", + "pattern":"^[a-zA-Z0-9][a-zA-Z0-9_.\\s-]{1,64}$" + }, + "WorkspaceDirectoryNameList":{ + "type":"list", + "member":{"shape":"WorkspaceDirectoryName"}, + "max":25, + "min":1 + }, "WorkspaceDirectoryState":{ "type":"string", "enum":[ @@ -3898,7 +4487,8 @@ "type":"string", "enum":[ "SIMPLE_AD", - "AD_CONNECTOR" + "AD_CONNECTOR", + "CUSTOMER_MANAGED" ] }, "WorkspaceErrorCode":{"type":"string"}, @@ -4097,6 +4687,13 @@ "ERROR" ] }, + "WorkspaceType":{ + "type":"string", + "enum":[ + "PERSONAL", + "POOLS" + ] + }, "WorkspacesDefaultRoleNotFoundException":{ "type":"structure", "members":{ @@ -4116,6 +4713,147 @@ "WorkspacesIpGroupsList":{ "type":"list", "member":{"shape":"WorkspacesIpGroup"} + }, + "WorkspacesPool":{ + "type":"structure", + "required":[ + "PoolId", + "PoolArn", + "CapacityStatus", + "PoolName", + "State", + "CreatedAt", + "BundleId", + "DirectoryId" + ], + "members":{ + "PoolId":{"shape":"WorkspacesPoolId"}, + "PoolArn":{"shape":"ARN"}, + "CapacityStatus":{"shape":"CapacityStatus"}, + "PoolName":{"shape":"WorkspacesPoolName"}, + "Description":{"shape":"UpdateDescription"}, + "State":{"shape":"WorkspacesPoolState"}, + "CreatedAt":{"shape":"Timestamp"}, + "BundleId":{"shape":"BundleId"}, + "DirectoryId":{"shape":"DirectoryId"}, + "Errors":{"shape":"WorkspacesPoolErrors"}, + "ApplicationSettings":{"shape":"ApplicationSettingsResponse"}, + "TimeoutSettings":{"shape":"TimeoutSettings"} + } + }, + "WorkspacesPoolError":{ + "type":"structure", + "members":{ + "ErrorCode":{"shape":"WorkspacesPoolErrorCode"}, + "ErrorMessage":{"shape":"ErrorMessage"} + } + }, + "WorkspacesPoolErrorCode":{ + "type":"string", + "enum":[ + "IAM_SERVICE_ROLE_IS_MISSING", + "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", + "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", + "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", + "NETWORK_INTERFACE_LIMIT_EXCEEDED", + "INTERNAL_SERVICE_ERROR", + "MACHINE_ROLE_IS_MISSING", + "STS_DISABLED_IN_REGION", + "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", + "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", + "SUBNET_NOT_FOUND", + "IMAGE_NOT_FOUND", + "INVALID_SUBNET_CONFIGURATION", + "SECURITY_GROUPS_NOT_FOUND", + "IGW_NOT_ATTACHED", + "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", + "WORKSPACES_POOL_STOPPED", + "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE", + "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", + "DOMAIN_JOIN_ERROR_ACCESS_DENIED", + "DOMAIN_JOIN_ERROR_LOGON_FAILURE", + "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", + "DOMAIN_JOIN_ERROR_MORE_DATA", + "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", + "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", + "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", + "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", + "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", + "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", + "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR", + "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING", + "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE", + "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID", + "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND", + "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND", + "DOMAIN_JOIN_ERROR_SECRET_INVALID", + "BUNDLE_NOT_FOUND", + "DIRECTORY_NOT_FOUND", + "INSUFFICIENT_PERMISSIONS_ERROR", + "DEFAULT_OU_IS_MISSING" + ] + }, + "WorkspacesPoolErrors":{ + "type":"list", + "member":{"shape":"WorkspacesPoolError"} + }, + "WorkspacesPoolId":{ + "type":"string", + "pattern":"^wspool-[0-9a-z]{9}$" + }, + "WorkspacesPoolIds":{ + "type":"list", + "member":{"shape":"WorkspacesPoolId"}, + "max":25, + "min":1 + }, + "WorkspacesPoolName":{ + "type":"string", + "pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$" + }, + "WorkspacesPoolSession":{ + "type":"structure", + "required":[ + "SessionId", + "PoolId", + "UserId" + ], + "members":{ + "AuthenticationType":{"shape":"AuthenticationType"}, + "ConnectionState":{"shape":"SessionConnectionState"}, + "SessionId":{"shape":"AmazonUuid"}, + "InstanceId":{"shape":"SessionInstanceId"}, + "PoolId":{"shape":"WorkspacesPoolId"}, + "ExpirationTime":{"shape":"Timestamp"}, + "NetworkAccessConfiguration":{"shape":"NetworkAccessConfiguration"}, + "StartTime":{"shape":"Timestamp"}, + "UserId":{"shape":"WorkspacesPoolUserId"} + } + }, + "WorkspacesPoolSessions":{ + "type":"list", + "member":{"shape":"WorkspacesPoolSession"} + }, + "WorkspacesPoolState":{ + "type":"string", + "enum":[ + "CREATING", + "DELETING", + "RUNNING", + "STARTING", + "STOPPED", + "STOPPING", + "UPDATING" + ] + }, + "WorkspacesPoolUserId":{ + "type":"string", + "max":128, + "min":2 + }, + "WorkspacesPools":{ + "type":"list", + "member":{"shape":"WorkspacesPool"} } } } diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index ed13df0aad1..5831c1c5bc2 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -18,6 +18,7 @@ "CreateWorkspaceBundle": "Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.
", "CreateWorkspaceImage": "Creates a new WorkSpace image from an existing WorkSpace.
", "CreateWorkspaces": "Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
The MANUAL
running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
You don't need to specify the PCOIP
protocol for Linux bundles because WSP
is the default protocol for those bundles.
User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core.
Creates a pool of WorkSpaces.
", "DeleteAccountLinkInvitation": "Deletes the account link invitation.
", "DeleteClientBranding": "Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
After you delete your customized client branding, your login portal reverts to the default client branding.
", "DeleteConnectClientAddIn": "Deletes a client-add-in for Amazon Connect that is configured within a directory.
", @@ -49,6 +50,8 @@ "DescribeWorkspaceSnapshots": "Describes the snapshots for the specified WorkSpace.
", "DescribeWorkspaces": "Describes the specified WorkSpaces.
You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.
", "DescribeWorkspacesConnectionStatus": "Describes the connection status of the specified WorkSpaces.
", + "DescribeWorkspacesPoolSessions": "Retrieves a list that describes the streaming sessions for a specified WorkSpaces pool.
", + "DescribeWorkspacesPools": "Describes the specified WorkSpaces pool.
", "DisassociateConnectionAlias": "Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED
.
Disassociates the specified IP access control group from the specified directory.
", "DisassociateWorkspaceApplication": "Disassociates the specified application from a WorkSpace.
", @@ -63,6 +66,7 @@ "ModifyClientProperties": "Modifies the properties of the specified Amazon WorkSpaces clients.
", "ModifySamlProperties": "Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
", "ModifySelfservicePermissions": "Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.
", + "ModifyStreamingProperties": "Modifies the specified streaming properties.
", "ModifyWorkspaceAccessProperties": "Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.
", "ModifyWorkspaceCreationProperties": "Modify the default properties used to create WorkSpaces.
", "ModifyWorkspaceProperties": "Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
The MANUAL
running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
Restores the specified WorkSpace to its last known healthy state.
You cannot restore a WorkSpace unless its state is AVAILABLE
, ERROR
, UNHEALTHY
, or STOPPED
.
Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace.
This operation is asynchronous and returns before the WorkSpace is completely restored.
", "RevokeIpRules": "Removes one or more rules from the specified IP access control group.
", "StartWorkspaces": "Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of AutoStop
and a state of STOPPED
.
Starts the specified WorkSpaces pool.
You cannot start a WorkSpace pool unless it has a running mode of AutoStop
and a state of STOPPED
.
Stops the specified WorkSpaces.
You cannot stop a WorkSpace unless it has a running mode of AutoStop
and a state of AVAILABLE
, IMPAIRED
, UNHEALTHY
, or ERROR
.
Stops the specifiedWorkSpaces pool.
You cannot stop a WorkSpace pool unless it has a running mode of AutoStop
and a state of AVAILABLE
, IMPAIRED
, UNHEALTHY
, or ERROR
.
Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services Support before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except SUSPENDED
.
This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the TERMINATED
state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
Terminates the specified WorkSpaces pool.
", + "TerminateWorkspacesPoolSession": "Terminates the WorkSpaces pool session.
", "UpdateConnectClientAddIn": "Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in.
", "UpdateConnectionAliasPermission": "Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED
.
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
Replaces the current rules of the specified IP access control group with the specified rules.
", "UpdateWorkspaceBundle": "Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.
Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.
Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.
After an image has been shared, the recipient account can copy the image to other Regions as needed.
In the China (Ningxia) Region, you can copy images only within the same Region.
In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.
To delete an image that has been shared, you must unshare the image before you delete it.
Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in Amazon Web Services GovCloud (US), contact Amazon Web Services Support.
Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.
After an image has been shared, the recipient account can copy the image to other Regions as needed.
In the China (Ningxia) Region, you can copy images only within the same Region.
In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.
To delete an image that has been shared, you must unshare the image before you delete it.
Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in Amazon Web Services GovCloud (US), contact Amazon Web Services Support.
Updates the specified WorkSpaces pool.
" }, "shapes": { "ARN": { "base": null, "refs": { - "WorkspaceDirectory$IamRoleId": "The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
" + "DefaultWorkspaceCreationProperties$InstanceIamRoleArn": "Indicates the IAM role ARN of the instance.
", + "WorkspaceCreationProperties$InstanceIamRoleArn": "Indicates the IAM role ARN of the instance.
", + "WorkspaceDirectory$IamRoleId": "The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
", + "WorkspacesPool$PoolArn": "The Amazon Resource Name (ARN) for the WorkSpaces pool.
" } }, "AcceptAccountLinkInvitationRequest": { @@ -153,6 +165,25 @@ "DescribeAccountModificationsResult$AccountModifications": "The list of modifications to the configuration of BYOL.
" } }, + "ActiveDirectoryConfig": { + "base": "Information about the Active Directory config.
", + "refs": { + "RegisterWorkspaceDirectoryRequest$ActiveDirectoryConfig": "The active directory config of the directory.
", + "WorkspaceDirectory$ActiveDirectoryConfig": "Information about the Active Directory config.
" + } + }, + "ActiveUserSessions": { + "base": null, + "refs": { + "CapacityStatus$ActiveUserSessions": "The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.
" + } + }, + "ActualUserSessions": { + "base": null, + "refs": { + "CapacityStatus$ActualUserSessions": "The total number of session slots that are available for WorkSpaces pools.
" + } + }, "AddInName": { "base": null, "refs": { @@ -181,7 +212,9 @@ "ConnectClientAddIn$AddInId": "The client add-in identifier.
", "CreateConnectClientAddInResult$AddInId": "The client add-in identifier.
", "DeleteConnectClientAddInRequest$AddInId": "The identifier of the client add-in to delete.
", - "UpdateConnectClientAddInRequest$AddInId": "The identifier of the client add-in to update.
" + "TerminateWorkspacesPoolSessionRequest$SessionId": "The identifier of the WorkSpaces pool session.
", + "UpdateConnectClientAddInRequest$AddInId": "The identifier of the client add-in to update.
", + "WorkspacesPoolSession$SessionId": "The identifier of the session.
" } }, "Application": { @@ -226,6 +259,26 @@ "DescribeApplicationAssociationsResult$Associations": "List of associations and information about them.
" } }, + "ApplicationSettingsRequest": { + "base": "The persistent application settings for users of a WorkSpaces pool.
", + "refs": { + "CreateWorkspacesPoolRequest$ApplicationSettings": "Indicates the application settings of the WorkSpaces pool.
", + "UpdateWorkspacesPoolRequest$ApplicationSettings": "The persistent application settings for users in the pool.
" + } + }, + "ApplicationSettingsResponse": { + "base": "Describes the persistent application settings for users of a WorkSpaces pool.
", + "refs": { + "WorkspacesPool$ApplicationSettings": "The persistent application settings for users of the pool.
" + } + }, + "ApplicationSettingsStatusEnum": { + "base": null, + "refs": { + "ApplicationSettingsRequest$Status": "Enables or disables persistent application settings for users during their pool sessions.
", + "ApplicationSettingsResponse$Status": "Specifies whether persistent application settings are enabled for users during their pool sessions.
" + } + }, "AssociateConnectionAliasRequest": { "base": null, "refs": { @@ -286,6 +339,12 @@ "ConnectionAliasAssociation$AssociationStatus": "The association status of the connection alias.
" } }, + "AuthenticationType": { + "base": null, + "refs": { + "WorkspacesPoolSession$AuthenticationType": "The authentication method. The user is authenticated using a WorkSpaces pool URL (API) or SAML 2.0 federation (SAML).
" + } + }, "AuthorizeIpRulesRequest": { "base": null, "refs": { @@ -296,6 +355,12 @@ "refs": { } }, + "AvailableUserSessions": { + "base": null, + "refs": { + "CapacityStatus$AvailableUserSessions": "The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.
" + } + }, "AwsAccount": { "base": null, "refs": { @@ -353,14 +418,17 @@ "refs": { "BundleIdList$member": null, "BundleResourceAssociation$BundleId": "The identifier of the bundle.
", + "CreateWorkspacesPoolRequest$BundleId": "The identifier of the bundle for the WorkSpaces pool.
", "DeleteWorkspaceBundleRequest$BundleId": "The identifier of the bundle.
", "DescribeBundleAssociationsRequest$BundleId": "The identifier of the bundle.
", "DescribeWorkspacesRequest$BundleId": "The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.
", "MigrateWorkspaceRequest$BundleId": "The identifier of the target bundle type to migrate the WorkSpace to.
", "UpdateWorkspaceBundleRequest$BundleId": "The identifier of the bundle.
", + "UpdateWorkspacesPoolRequest$BundleId": "The identifier of the bundle.
", "Workspace$BundleId": "The identifier of the bundle used to create the WorkSpace.
", "WorkspaceBundle$BundleId": "The identifier of the bundle.
", - "WorkspaceRequest$BundleId": "The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
" + "WorkspaceRequest$BundleId": "The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles to list the available bundles.
", + "WorkspacesPool$BundleId": "The identifier of the bundle used by the pool.
" } }, "BundleIdList": { @@ -400,6 +468,19 @@ "WorkspaceBundle$BundleType": "The type of WorkSpace bundle.
" } }, + "Capacity": { + "base": "Describes the user capacity for a WorkSpaces pool.
", + "refs": { + "CreateWorkspacesPoolRequest$Capacity": "The user capacity of the WorkSpaces pool.
", + "UpdateWorkspacesPoolRequest$Capacity": "The desired capacity for the WorkSpaces pool.
" + } + }, + "CapacityStatus": { + "base": "Describes the capacity status for a WorkSpaces pool
", + "refs": { + "WorkspacesPool$CapacityStatus": "The capacity status for the pool
" + } + }, "CertificateAuthorityArn": { "base": null, "refs": { @@ -730,6 +811,16 @@ "refs": { } }, + "CreateWorkspacesPoolRequest": { + "base": null, + "refs": { + } + }, + "CreateWorkspacesPoolResult": { + "base": null, + "refs": { + } + }, "CreateWorkspacesRequest": { "base": null, "refs": { @@ -1163,6 +1254,62 @@ "refs": { } }, + "DescribeWorkspacesPoolSessionsRequest": { + "base": null, + "refs": { + } + }, + "DescribeWorkspacesPoolSessionsResult": { + "base": null, + "refs": { + } + }, + "DescribeWorkspacesPoolsFilter": { + "base": "Describes the filter conditions for the WorkSpaces pool to return.
", + "refs": { + "DescribeWorkspacesPoolsFilters$member": null + } + }, + "DescribeWorkspacesPoolsFilterName": { + "base": null, + "refs": { + "DescribeWorkspacesPoolsFilter$Name": "The name of the pool to filter.
" + } + }, + "DescribeWorkspacesPoolsFilterOperator": { + "base": null, + "refs": { + "DescribeWorkspacesPoolsFilter$Operator": "The operator values for filtering WorkSpaces pools.
" + } + }, + "DescribeWorkspacesPoolsFilterValue": { + "base": null, + "refs": { + "DescribeWorkspacesPoolsFilterValues$member": null + } + }, + "DescribeWorkspacesPoolsFilterValues": { + "base": null, + "refs": { + "DescribeWorkspacesPoolsFilter$Values": "The values for filtering WorkSpaces pools.
" + } + }, + "DescribeWorkspacesPoolsFilters": { + "base": null, + "refs": { + "DescribeWorkspacesPoolsRequest$Filters": "The filter conditions for the WorkSpaces pool to return.
" + } + }, + "DescribeWorkspacesPoolsRequest": { + "base": null, + "refs": { + } + }, + "DescribeWorkspacesPoolsResult": { + "base": null, + "refs": { + } + }, "DescribeWorkspacesRequest": { "base": null, "refs": { @@ -1183,15 +1330,24 @@ "FailedWorkspaceChangeRequest$ErrorMessage": "The text of the error message that is returned if the WorkSpace cannot be rebooted.
", "Workspace$ErrorMessage": "The text of the error message that is returned if the WorkSpace cannot be created.
", "WorkspaceBundle$Description": "The description of the bundle.
", + "WorkspaceDirectory$ErrorMessage": "The error message returned.
", "WorkspaceImage$ErrorMessage": "The text of the error message that is returned for the image.
" } }, + "DesiredUserSessions": { + "base": null, + "refs": { + "Capacity$DesiredUserSessions": "The desired number of user sessions for a multi-session pool. This is not allowed for single-session pools.
", + "CapacityStatus$DesiredUserSessions": "The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your pool can support in a steady state.
" + } + }, "DirectoryId": { "base": null, "refs": { "AssociateIpGroupsRequest$DirectoryId": "The identifier of the directory.
", "ConnectClientAddIn$ResourceId": "The directory identifier for which the client add-in is configured.
", "CreateConnectClientAddInRequest$ResourceId": "The directory identifier for which to configure the client add-in.
", + "CreateWorkspacesPoolRequest$DirectoryId": "The identifier of the directory for the WorkSpaces pool.
", "DeleteClientBrandingRequest$ResourceId": "The directory identifier of the WorkSpace for which you want to delete client branding.
", "DeleteConnectClientAddInRequest$ResourceId": "The directory identifier for which the client add-in is configured.
", "DeregisterWorkspaceDirectoryRequest$DirectoryId": "The identifier of the directory. If any WorkSpaces are registered to this directory, you must remove them before you deregister the directory, or you will receive an OperationNotSupportedException error.
", @@ -1204,15 +1360,19 @@ "ModifyCertificateBasedAuthPropertiesRequest$ResourceId": "The resource identifiers, in the form of directory IDs.
", "ModifySamlPropertiesRequest$ResourceId": "The directory identifier for which you want to configure SAML properties.
", "ModifySelfservicePermissionsRequest$ResourceId": "The identifier of the directory.
", + "ModifyStreamingPropertiesRequest$ResourceId": "The identifier of the resource.
", "ModifyWorkspaceAccessPropertiesRequest$ResourceId": "The identifier of the directory.
", "ModifyWorkspaceCreationPropertiesRequest$ResourceId": "The identifier of the directory.
", "PendingCreateStandbyWorkspacesRequest$DirectoryId": "The identifier of the directory for the standby WorkSpace.
", "RegisterWorkspaceDirectoryRequest$DirectoryId": "The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.
", + "RegisterWorkspaceDirectoryResult$DirectoryId": "The identifier of the directory.
", "StandbyWorkspace$DirectoryId": "The identifier of the directory for the standby WorkSpace.
", "UpdateConnectClientAddInRequest$ResourceId": "The directory identifier for which the client add-in is configured.
", + "UpdateWorkspacesPoolRequest$DirectoryId": "The identifier of the directory.
", "Workspace$DirectoryId": "The identifier of the Directory Service directory for the WorkSpace.
", "WorkspaceDirectory$DirectoryId": "The directory identifier.
", - "WorkspaceRequest$DirectoryId": "The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
" + "WorkspaceRequest$DirectoryId": "The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.
", + "WorkspacesPool$DirectoryId": "The identifier of the directory used by the pool.
" } }, "DirectoryIdList": { @@ -1263,12 +1423,24 @@ "refs": { } }, + "DisconnectTimeoutInSeconds": { + "base": null, + "refs": { + "TimeoutSettings$DisconnectTimeoutInSeconds": "Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.
" + } + }, "DnsIpAddresses": { "base": null, "refs": { "WorkspaceDirectory$DnsIpAddresses": "The IP addresses of the DNS servers for the directory.
" } }, + "DomainName": { + "base": null, + "refs": { + "ActiveDirectoryConfig$DomainName": "The name of the domain.
" + } + }, "Ec2ImageId": { "base": null, "refs": { @@ -1287,6 +1459,12 @@ "WorkspaceImage$ErrorDetails": "Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
" } }, + "ErrorMessage": { + "base": null, + "refs": { + "WorkspacesPoolError$ErrorMessage": "The error message.
" + } + }, "ErrorType": { "base": null, "refs": { @@ -1397,6 +1575,12 @@ "refs": { } }, + "IdleDisconnectTimeoutInSeconds": { + "base": null, + "refs": { + "TimeoutSettings$IdleDisconnectTimeoutInSeconds": "The amount of time in seconds a connection will stay active while idle.
" + } + }, "ImageAssociatedResourceType": { "base": null, "refs": { @@ -1599,10 +1783,17 @@ "DescribeWorkspaceDirectoriesRequest$Limit": "The maximum number of directories to return.
", "DescribeWorkspaceImagePermissionsRequest$MaxResults": "The maximum number of items to return.
", "DescribeWorkspaceImagesRequest$MaxResults": "The maximum number of items to return.
", + "DescribeWorkspacesPoolsRequest$Limit": "The maximum number of items to return.
", "DescribeWorkspacesRequest$Limit": "The maximum number of items to return.
", "ListAccountLinksRequest$MaxResults": "The maximum number of accounts to return.
" } }, + "Limit50": { + "base": null, + "refs": { + "DescribeWorkspacesPoolSessionsRequest$Limit": "The maximum number of items to return.
" + } + }, "LinkId": { "base": null, "refs": { @@ -1666,6 +1857,18 @@ "ListAvailableManagementCidrRangesRequest$MaxResults": "The maximum number of items to return.
" } }, + "MaxUserDurationInSeconds": { + "base": null, + "refs": { + "TimeoutSettings$MaxUserDurationInSeconds": "Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.
" + } + }, + "MaximumLength": { + "base": null, + "refs": { + "UserSetting$MaximumLength": "Indicates the maximum character length for the specified user setting.
" + } + }, "MigrateWorkspaceRequest": { "base": null, "refs": { @@ -1750,6 +1953,16 @@ "refs": { } }, + "ModifyStreamingPropertiesRequest": { + "base": null, + "refs": { + } + }, + "ModifyStreamingPropertiesResult": { + "base": null, + "refs": { + } + }, "ModifyWorkspaceAccessPropertiesRequest": { "base": null, "refs": { @@ -1790,6 +2003,12 @@ "refs": { } }, + "NetworkAccessConfiguration": { + "base": "Describes the network details of a WorkSpaces pool.
", + "refs": { + "WorkspacesPoolSession$NetworkAccessConfiguration": "Describes the network details of the pool.
" + } + }, "NonEmptyString": { "base": null, "refs": { @@ -1804,6 +2023,8 @@ "DescribeTagsRequest$ResourceId": "The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
", "ImageResourceAssociation$AssociatedResourceId": "The identifier of the associated resource.
", "ModifyClientPropertiesRequest$ResourceId": "The resource identifiers, in the form of directory IDs.
", + "NetworkAccessConfiguration$EniPrivateIpAddress": "The private IP address of the elastic network interface that is attached to instances in your VPC.
", + "NetworkAccessConfiguration$EniId": "The resource identifier of the elastic network interface that is attached to instances in your VPC. All network interfaces have the eni-xxxxxxxx resource identifier.
", "ResourceIdList$member": null, "ResourceInUseException$ResourceId": "The ID of the resource that is in use.
", "ResourceNotFoundException$ResourceId": "The ID of the resource that could not be found.
", @@ -1886,6 +2107,10 @@ "DescribeWorkspaceImagesResult$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "DescribeWorkspacesConnectionStatusRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", + "DescribeWorkspacesPoolSessionsRequest$NextToken": "If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
If you received a NextToken
from a previous call that was paginated, provide this token to receive the next set of results.
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", "ListAccountLinksRequest$NextToken": "The token to use to retrieve the next page of results. This value is null when there are no more results to return.
", @@ -2105,6 +2330,12 @@ "WorkspaceProperties$RunningModeAutoStopTimeoutInMinutes": "The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
" } }, + "S3BucketName": { + "base": null, + "refs": { + "ApplicationSettingsResponse$S3BucketName": "The S3 bucket where users’ persistent application settings are stored. When persistent application settings are enabled for the first time for an account in an Amazon Web Services Region, an S3 bucket is created. The bucket is unique to the Amazon Web Services account and the Region.
" + } + }, "SamlProperties": { "base": "Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
", "refs": { @@ -2124,6 +2355,12 @@ "SamlProperties$UserAccessUrl": "The SAML 2.0 identity provider (IdP) user access URL is the URL a user would navigate to in their web browser in order to federate from the IdP and directly access the application, without any SAML 2.0 service provider (SP) bindings.
" } }, + "SecretsManagerArn": { + "base": null, + "refs": { + "ActiveDirectoryConfig$ServiceAccountSecretArn": "Indicates the secret ARN on the service account.
" + } + }, "SecurityGroupId": { "base": null, "refs": { @@ -2139,6 +2376,25 @@ "WorkspaceDirectory$SelfservicePermissions": "The default self-service permissions for WorkSpaces in the directory.
" } }, + "SessionConnectionState": { + "base": null, + "refs": { + "WorkspacesPoolSession$ConnectionState": "Specifies whether a user is connected to the pool session.
" + } + }, + "SessionInstanceId": { + "base": null, + "refs": { + "WorkspacesPoolSession$InstanceId": "The identifier for the instance hosting the session.
" + } + }, + "SettingsGroup": { + "base": null, + "refs": { + "ApplicationSettingsRequest$SettingsGroup": "The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple pools by specifying the same settings group for each pool.
", + "ApplicationSettingsResponse$SettingsGroup": "The path prefix for the S3 bucket where users’ persistent application settings are stored.
" + } + }, "Snapshot": { "base": "Describes a snapshot.
", "refs": { @@ -2195,6 +2451,16 @@ "StartWorkspacesRequest$StartWorkspaceRequests": "The WorkSpaces to start. You can specify up to 25 WorkSpaces.
" } }, + "StartWorkspacesPoolRequest": { + "base": null, + "refs": { + } + }, + "StartWorkspacesPoolResult": { + "base": null, + "refs": { + } + }, "StartWorkspacesRequest": { "base": null, "refs": { @@ -2217,6 +2483,16 @@ "StopWorkspacesRequest$StopWorkspaceRequests": "The WorkSpaces to stop. You can specify up to 25 WorkSpaces.
" } }, + "StopWorkspacesPoolRequest": { + "base": null, + "refs": { + } + }, + "StopWorkspacesPoolResult": { + "base": null, + "refs": { + } + }, "StopWorkspacesRequest": { "base": null, "refs": { @@ -2227,6 +2503,43 @@ "refs": { } }, + "StorageConnector": { + "base": "Describes the storage connector.
", + "refs": { + "StorageConnectors$member": null + } + }, + "StorageConnectorStatusEnum": { + "base": null, + "refs": { + "StorageConnector$Status": "Indicates if the storage connetor is enabled or disabled.
" + } + }, + "StorageConnectorTypeEnum": { + "base": null, + "refs": { + "StorageConnector$ConnectorType": "The type of connector used to save user files.
" + } + }, + "StorageConnectors": { + "base": null, + "refs": { + "StreamingProperties$StorageConnectors": "Indicates the storage connector used
" + } + }, + "StreamingExperiencePreferredProtocolEnum": { + "base": null, + "refs": { + "StreamingProperties$StreamingExperiencePreferredProtocol": "Indicates the type of preferred protocol for the streaming experience.
" + } + }, + "StreamingProperties": { + "base": "Describes the streaming properties.
", + "refs": { + "ModifyStreamingPropertiesRequest$StreamingProperties": "The streaming properties to configure.
", + "WorkspaceDirectory$StreamingProperties": "The streaming properties to configure.
" + } + }, "String2048": { "base": null, "refs": { @@ -2276,6 +2589,7 @@ "CreateUpdatedWorkspaceImageRequest$Tags": "The tags that you want to add to the new updated WorkSpace image.
To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags
.
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags
.
The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags
.
The tags for the WorkSpaces pool.
", "DescribeTagsResult$TagList": "The tags.
", "ImportWorkspaceImageRequest$Tags": "The tags. Each WorkSpaces resource can have a maximum of 50 tags.
", "RegisterWorkspaceDirectoryRequest$Tags": "The tags associated with the directory.
", @@ -2314,6 +2628,26 @@ "TerminateWorkspacesRequest$TerminateWorkspaceRequests": "The WorkSpaces to terminate. You can specify up to 25 WorkSpaces.
" } }, + "TerminateWorkspacesPoolRequest": { + "base": null, + "refs": { + } + }, + "TerminateWorkspacesPoolResult": { + "base": null, + "refs": { + } + }, + "TerminateWorkspacesPoolSessionRequest": { + "base": null, + "refs": { + } + }, + "TerminateWorkspacesPoolSessionResult": { + "base": null, + "refs": { + } + }, "TerminateWorkspacesRequest": { "base": null, "refs": { @@ -2324,6 +2658,14 @@ "refs": { } }, + "TimeoutSettings": { + "base": "Describes the timeout settings for a WorkSpaces pool.
", + "refs": { + "CreateWorkspacesPoolRequest$TimeoutSettings": "Indicates the timeout settings of the WorkSpaces pool.
", + "UpdateWorkspacesPoolRequest$TimeoutSettings": "Indicates the timeout settings of the specified WorkSpaces pool.
", + "WorkspacesPool$TimeoutSettings": "The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
" + } + }, "Timestamp": { "base": null, "refs": { @@ -2345,7 +2687,10 @@ "WorkspaceConnectionStatus$LastKnownUserConnectionTimestamp": "The timestamp of the last known user connection.
", "WorkspaceImage$Created": "The date when the image was created. If the image has been shared, the Amazon Web Services account that the image has been shared with sees the original creation date of the image.
", "WorkspaceResourceAssociation$Created": "The time the association is created.
", - "WorkspaceResourceAssociation$LastUpdatedTime": "The time the association status was last updated.
" + "WorkspaceResourceAssociation$LastUpdatedTime": "The time the association status was last updated.
", + "WorkspacesPool$CreatedAt": "The time the pool was created.
", + "WorkspacesPoolSession$ExpirationTime": "The time that the pool session ended.
", + "WorkspacesPoolSession$StartTime": "The time that the pool sission started.
" } }, "UnsupportedNetworkConfigurationException": { @@ -2381,7 +2726,10 @@ "UpdateDescription": { "base": null, "refs": { - "UpdateResult$Description": "A description of whether updates for the WorkSpace image are pending or available.
" + "CreateWorkspacesPoolRequest$Description": "The WorkSpaces pool description.
", + "UpdateResult$Description": "A description of whether updates for the WorkSpace image are pending or available.
", + "UpdateWorkspacesPoolRequest$Description": "Describes the specified WorkSpaces pool to update.
", + "WorkspacesPool$Description": "The description of the pool.
" } }, "UpdateResult": { @@ -2420,6 +2768,23 @@ "refs": { } }, + "UpdateWorkspacesPoolRequest": { + "base": null, + "refs": { + } + }, + "UpdateWorkspacesPoolResult": { + "base": null, + "refs": { + } + }, + "UserIdentityType": { + "base": null, + "refs": { + "RegisterWorkspaceDirectoryRequest$UserIdentityType": "The type of identity management the user is using.
", + "WorkspaceDirectory$UserIdentityType": "Indicates the identity type of the specifired user.
" + } + }, "UserName": { "base": null, "refs": { @@ -2430,6 +2795,30 @@ "WorkspaceRequest$UserName": "The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
The reserved keyword, [UNDEFINED]
, is used when creating user-decoupled WorkSpaces.
Information about the user's permission settings.
", + "refs": { + "UserSettings$member": null + } + }, + "UserSettingActionEnum": { + "base": null, + "refs": { + "UserSetting$Action": "Indicates the type of action.
" + } + }, + "UserSettingPermissionEnum": { + "base": null, + "refs": { + "UserSetting$Permission": "Indicates if the setting is enabled or disabled.
" + } + }, + "UserSettings": { + "base": null, + "refs": { + "StreamingProperties$UserSettings": "Indicates the permission settings asscoiated with the user.
" + } + }, "UserStorage": { "base": "Describes the user volume for a WorkSpace bundle.
", "refs": { @@ -2586,9 +2975,31 @@ "DirectoryList$member": null } }, + "WorkspaceDirectoryDescription": { + "base": null, + "refs": { + "RegisterWorkspaceDirectoryRequest$WorkspaceDirectoryDescription": "Description of the directory to register.
", + "WorkspaceDirectory$WorkspaceDirectoryDescription": "The description of the WorkSpace directory
" + } + }, + "WorkspaceDirectoryName": { + "base": null, + "refs": { + "RegisterWorkspaceDirectoryRequest$WorkspaceDirectoryName": "The name of the directory to register.
", + "WorkspaceDirectory$WorkspaceDirectoryName": "The name fo the WorkSpace directory.
", + "WorkspaceDirectoryNameList$member": null + } + }, + "WorkspaceDirectoryNameList": { + "base": null, + "refs": { + "DescribeWorkspaceDirectoriesRequest$WorkspaceDirectoryNames": "The names of the WorkSpace directories.
" + } + }, "WorkspaceDirectoryState": { "base": null, "refs": { + "RegisterWorkspaceDirectoryResult$State": "The registration status of the WorkSpace directory.
", "WorkspaceDirectory$State": "The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED
state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.
The operational state of the WorkSpace.
PENDING
– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).
AVAILABLE
– The WorkSpace is running and has passed the health checks.
IMPAIRED
– Refer to UNHEALTHY
state.
UNHEALTHY
– The WorkSpace is not responding to health checks.
REBOOTING
– The WorkSpace is being rebooted (restarted).
STARTING
– The WorkSpace is starting up and health checks are being run.
REBUILDING
– The WorkSpace is being rebuilt.
RESTORING
– The WorkSpace is being restored.
MAINTENANCE
– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.
ADMIN_MAINTENANCE
– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.
TERMINATING
– The WorkSpace is being deleted.
TERMINATED
– The WorkSpace has been deleted.
SUSPENDED
– The WorkSpace has been suspended for image creation.
UPDATING
– The WorkSpace is undergoing an update.
STOPPING
– The WorkSpace is being stopped.
STOPPED
– The WorkSpace has been stopped.
ERROR
– The WorkSpace is an error state (for example, an error occurred during startup).
After a WorkSpace is terminated, the TERMINATED
state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.
Indicates whether the directory's WorkSpace type is personal or pools.
", + "WorkspaceDirectory$WorkspaceType": "Indicates whether the directory's WorkSpace type is personal or pools.
" + } + }, "WorkspacesDefaultRoleNotFoundException": { "base": "The workspaces_DefaultRole role could not be found. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
", "refs": { @@ -2813,6 +3231,89 @@ "refs": { "DescribeIpGroupsResult$Result": "Information about the IP access control groups.
" } + }, + "WorkspacesPool": { + "base": "Describes a WorkSpaces pool.
", + "refs": { + "CreateWorkspacesPoolResult$WorkspacesPool": "Indicates the WorkSpaces pool to create.
", + "UpdateWorkspacesPoolResult$WorkspacesPool": "Describes the specified WorkSpaces pool.
", + "WorkspacesPools$member": null + } + }, + "WorkspacesPoolError": { + "base": "Describes a WorkSpaces pool error.
", + "refs": { + "WorkspacesPoolErrors$member": null + } + }, + "WorkspacesPoolErrorCode": { + "base": null, + "refs": { + "WorkspacesPoolError$ErrorCode": "The error code.
" + } + }, + "WorkspacesPoolErrors": { + "base": null, + "refs": { + "WorkspacesPool$Errors": "The pool errors.
" + } + }, + "WorkspacesPoolId": { + "base": null, + "refs": { + "DescribeWorkspacesPoolSessionsRequest$PoolId": "The identifier of the WorkSpaces pool.
", + "StartWorkspacesPoolRequest$PoolId": "The identifier of the WorkSpaces pool.
", + "StopWorkspacesPoolRequest$PoolId": "The identifier of the WorkSpaces pool.
", + "TerminateWorkspacesPoolRequest$PoolId": "The identifier of the WorkSpaces pool.
", + "UpdateWorkspacesPoolRequest$PoolId": "The identifier of the specified WorkSpaces pool to update.
", + "WorkspacesPool$PoolId": "The identifier of a WorkSpaces pool.
", + "WorkspacesPoolIds$member": null, + "WorkspacesPoolSession$PoolId": "The identifier of the pool.
" + } + }, + "WorkspacesPoolIds": { + "base": null, + "refs": { + "DescribeWorkspacesPoolsRequest$PoolIds": "The identifier of the WorkSpaces pool.
" + } + }, + "WorkspacesPoolName": { + "base": null, + "refs": { + "CreateWorkspacesPoolRequest$PoolName": "The name of the WorkSpaces pool.
", + "WorkspacesPool$PoolName": "The name of the pool,
" + } + }, + "WorkspacesPoolSession": { + "base": "Describes a WorkSpaces pool session.
", + "refs": { + "WorkspacesPoolSessions$member": null + } + }, + "WorkspacesPoolSessions": { + "base": null, + "refs": { + "DescribeWorkspacesPoolSessionsResult$Sessions": "Describes the WorkSpaces pool sessions.
" + } + }, + "WorkspacesPoolState": { + "base": null, + "refs": { + "WorkspacesPool$State": "The current state of the pool.
" + } + }, + "WorkspacesPoolUserId": { + "base": null, + "refs": { + "DescribeWorkspacesPoolSessionsRequest$UserId": "The identifier of the user.
", + "WorkspacesPoolSession$UserId": "The identifier of the user.
" + } + }, + "WorkspacesPools": { + "base": null, + "refs": { + "DescribeWorkspacesPoolsResult$WorkspacesPools": "Information about the WorkSpaces pools.
" + } } } } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 08b29800b88..d0a6e397e1e 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -12282,7 +12282,19 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, - "ca-central-1" : { }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "meetings-chime-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "ca-central-1-fips" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "meetings-chime-fips.ca-central-1.amazonaws.com" + }, "eu-central-1" : { }, "eu-west-2" : { }, "il-central-1" : { }, diff --git a/service/applicationautoscaling/api.go b/service/applicationautoscaling/api.go index 127030eba4a..9ae287dcb71 100644 --- a/service/applicationautoscaling/api.go +++ b/service/applicationautoscaling/api.go @@ -836,7 +836,6 @@ func (c *ApplicationAutoScaling) DescribeScheduledActionsRequest(input *Describe // parameters. // // For more information, see Scheduled scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) -// and Managing scheduled scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-additional-cli-commands.html) // in the Application Auto Scaling User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -981,7 +980,7 @@ func (c *ApplicationAutoScaling) ListTagsForResourceRequest(input *ListTagsForRe // Returns all the tags on the specified Application Auto Scaling scalable target. // // For general information about tags, including the format and syntax, see -// Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) +// Tagging your Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in the Amazon Web Services General Reference. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1466,7 +1465,7 @@ func (c *ApplicationAutoScaling) TagResourceRequest(input *TagResourceInput) (re // creating it (RegisterScalableTarget). // // For general information about tags, including the format and syntax, see -// Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) +// Tagging your Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in the Amazon Web Services General Reference. // // Use tags to control access to a scalable target. For more information, see @@ -1858,7 +1857,7 @@ type DeleteScalingPolicyInput struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -1909,19 +1908,22 @@ type DeleteScalingPolicyInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -1929,8 +1931,7 @@ type DeleteScalingPolicyInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -1983,11 +1984,14 @@ type DeleteScalingPolicyInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -2098,7 +2102,7 @@ type DeleteScheduledActionInput struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -2149,19 +2153,22 @@ type DeleteScheduledActionInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -2169,8 +2176,7 @@ type DeleteScheduledActionInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -2223,11 +2229,14 @@ type DeleteScheduledActionInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -2343,7 +2352,7 @@ type DeregisterScalableTargetInput struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -2394,19 +2403,22 @@ type DeregisterScalableTargetInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scalable target. This string consists // of the service namespace, resource type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -2414,8 +2426,7 @@ type DeregisterScalableTargetInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -2468,11 +2479,14 @@ type DeregisterScalableTargetInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -2583,7 +2597,7 @@ type DescribeScalableTargetsInput struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -2634,18 +2648,21 @@ type DescribeScalableTargetsInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. ResourceIds []*string `type:"list"` // The scalable dimension associated with the scalable target. This string consists // of the service namespace, resource type, and scaling property. If you specify // a scalable dimension, you must also specify a resource ID. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -2653,8 +2670,7 @@ type DescribeScalableTargetsInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -2707,10 +2723,13 @@ type DescribeScalableTargetsInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. + // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace of the Amazon Web Services service that provides the resource. @@ -2849,7 +2868,7 @@ type DescribeScalingActivitiesInput struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -2900,18 +2919,21 @@ type DescribeScalingActivitiesInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. ResourceId *string `min:"1" type:"string"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. If you specify a scalable dimension, you must // also specify a resource ID. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -2919,8 +2941,7 @@ type DescribeScalingActivitiesInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -2973,10 +2994,13 @@ type DescribeScalingActivitiesInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. + // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace of the Amazon Web Services service that provides the resource. @@ -3120,7 +3144,7 @@ type DescribeScalingPoliciesInput struct { // consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -3171,18 +3195,21 @@ type DescribeScalingPoliciesInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. ResourceId *string `min:"1" type:"string"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. If you specify a scalable dimension, you must // also specify a resource ID. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -3190,8 +3217,7 @@ type DescribeScalingPoliciesInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -3244,10 +3270,13 @@ type DescribeScalingPoliciesInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. + // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The namespace of the Amazon Web Services service that provides the resource. @@ -3388,7 +3417,7 @@ type DescribeScheduledActionsInput struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -3439,18 +3468,21 @@ type DescribeScheduledActionsInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. + // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. ResourceId *string `min:"1" type:"string"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. If you specify a scalable dimension, you must // also specify a resource ID. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -3458,8 +3490,7 @@ type DescribeScheduledActionsInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -3512,10 +3543,13 @@ type DescribeScheduledActionsInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. + // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The names of the scheduled actions to describe. @@ -4049,7 +4083,8 @@ func (s *MetricDimension) SetValue(v string) *MetricDimension { // Describes the reason for an activity that isn't scaled (not scaled activity), // in machine-readable format. For help interpreting the not scaled reason details, -// see Scaling activities for Application Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html). +// see Scaling activities for Application Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scaling-activities.html) +// in the Application Auto Scaling User Guide. type NotScaledReason struct { _ struct{} `type:"structure"` @@ -4193,10 +4228,8 @@ func (s *ObjectNotFoundException) RequestID() string { // Represents a predefined metric for a target tracking scaling policy to use // with Application Auto Scaling. // -// Only the Amazon Web Services that you're using send metrics to Amazon CloudWatch. -// To determine whether a desired metric already exists by looking up its namespace -// and dimension using the CloudWatch metrics dashboard in the console, follow -// the procedure in Monitor your resources using CloudWatch (https://docs.aws.amazon.com/autoscaling/application/userguide/monitoring-cloudwatch.html) +// For more information, Predefined metrics for target tracking scaling policies +// (https://docs.aws.amazon.com/autoscaling/application/userguide/monitor-cloudwatch-metrics.html#predefined-metrics) // in the Application Auto Scaling User Guide. type PredefinedMetricSpecification struct { _ struct{} `type:"structure"` @@ -4311,7 +4344,7 @@ type PutScalingPolicyInput struct { // consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -4362,19 +4395,22 @@ type PutScalingPolicyInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -4382,8 +4418,7 @@ type PutScalingPolicyInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -4436,11 +4471,14 @@ type PutScalingPolicyInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -4615,7 +4653,7 @@ type PutScheduledActionInput struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -4666,19 +4704,22 @@ type PutScheduledActionInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -4686,8 +4727,7 @@ type PutScheduledActionInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -4740,11 +4780,14 @@ type PutScheduledActionInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -4776,8 +4819,8 @@ type PutScheduledActionInput struct { // For rate expressions, value is a positive integer and unit is minute | minutes // | hour | hours | day | days. // - // For more information and examples, see Example scheduled actions for Application - // Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html) + // For more information, see Schedule recurring scaling actions using cron expressions + // (https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html) // in the Application Auto Scaling User Guide. Schedule *string `min:"1" type:"string"` @@ -4970,7 +5013,9 @@ type RegisterScalableTargetInput struct { // // * SageMaker endpoint variants // - // * SageMaker Serverless endpoint provisioned concurrency + // * SageMaker inference components + // + // * SageMaker serverless endpoint provisioned concurrency // // * Spot Fleets // @@ -4990,7 +5035,7 @@ type RegisterScalableTargetInput struct { // This string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -5041,12 +5086,15 @@ type RegisterScalableTargetInput struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -5056,13 +5104,13 @@ type RegisterScalableTargetInput struct { // // If the service supports service-linked roles, Application Auto Scaling uses // a service-linked role, which it creates if it does not yet exist. For more - // information, see Application Auto Scaling IAM roles (https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles). + // information, see How Application Auto Scaling works with IAM (https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html). RoleARN *string `min:"1" type:"string"` // The scalable dimension associated with the scalable target. This string consists // of the service namespace, resource type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -5070,8 +5118,7 @@ type RegisterScalableTargetInput struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -5124,11 +5171,14 @@ type RegisterScalableTargetInput struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -5155,7 +5205,7 @@ type RegisterScalableTargetInput struct { // * For ScheduledScalingSuspended, while a suspension is in effect, all // scaling activities that involve scheduled actions are suspended. // - // For more information, see Suspending and resuming scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) + // For more information, see Suspend and resume scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) // in the Application Auto Scaling User Guide. SuspendedState *SuspendedState `type:"structure"` @@ -5386,7 +5436,7 @@ type ScalableTarget struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -5437,12 +5487,15 @@ type ScalableTarget struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` @@ -5455,7 +5508,7 @@ type ScalableTarget struct { // The scalable dimension associated with the scalable target. This string consists // of the service namespace, resource type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -5463,8 +5516,7 @@ type ScalableTarget struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -5517,11 +5569,14 @@ type ScalableTarget struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -5698,7 +5753,7 @@ type ScalingActivity struct { // string consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -5749,19 +5804,22 @@ type ScalingActivity struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -5769,8 +5827,7 @@ type ScalingActivity struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -5823,11 +5880,14 @@ type ScalingActivity struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -5984,7 +6044,7 @@ type ScalingPolicy struct { // consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -6035,19 +6095,22 @@ type ScalingPolicy struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -6055,8 +6118,7 @@ type ScalingPolicy struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -6109,11 +6171,14 @@ type ScalingPolicy struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. + // // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` @@ -6224,7 +6289,7 @@ type ScheduledAction struct { // consists of the resource type and unique identifier. // // * ECS service - The resource type is service and the unique identifier - // is the cluster name and service name. Example: service/default/sample-webapp. + // is the cluster name and service name. Example: service/my-cluster/my-service. // // * Spot Fleet - The resource type is spot-fleet-request and the unique // identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. @@ -6275,19 +6340,22 @@ type ScheduledAction struct { // * Neptune cluster - The resource type is cluster and the unique identifier // is the cluster name. Example: cluster:mycluster. // - // * SageMaker Serverless endpoint - The resource type is variant and the + // * SageMaker serverless endpoint - The resource type is variant and the // unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering. // // * SageMaker inference component - The resource type is inference-component // and the unique identifier is the resource ID. Example: inference-component/my-inference-component. // + // * Amazon WorkSpaces - The resource type is workspacespool and the unique + // identifier is the pool ID. Example: workspacespool/wspool-123456. + // // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension. This string consists of the service namespace, resource // type, and scaling property. // - // * ecs:service:DesiredCount - The desired task count of an ECS service. + // * ecs:service:DesiredCount - The task count of an ECS service. // // * elasticmapreduce:instancegroup:InstanceCount - The instance count of // an EMR Instance Group. @@ -6295,8 +6363,7 @@ type ScheduledAction struct { // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot // Fleet. // - // * appstream:fleet:DesiredCapacity - The desired capacity of an AppStream - // 2.0 fleet. + // * appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet. // // * dynamodb:table:ReadCapacityUnits - The provisioned read capacity for // a DynamoDB table. @@ -6349,10 +6416,13 @@ type ScheduledAction struct { // Amazon Neptune DB cluster. // // * sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency - // for a SageMaker Serverless endpoint. + // for a SageMaker serverless endpoint. // // * sagemaker:inference-component:DesiredCopyCount - The number of copies // across an endpoint for a SageMaker inference component. + // + // * workspaces:workspacespool:DesiredUserSessions - The capacity of a WorkSpaces + // pool. ScalableDimension *string `type:"string" enum:"ScalableDimension"` // The new minimum and maximum capacity. You can set both values or just one. @@ -6383,8 +6453,8 @@ type ScheduledAction struct { // For rate expressions, value is a positive integer and unit is minute | minutes // | hour | hours | day | days. // - // For more information and examples, see Example scheduled actions for Application - // Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html) + // For more information, see Schedule recurring scaling actions using cron expressions + // (https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html) // in the Application Auto Scaling User Guide. // // Schedule is a required field @@ -6795,7 +6865,7 @@ type TagResourceInput struct { // // For information about the rules that apply to tag keys and tag values, see // User-defined tag restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) - // in the Amazon Web Services Billing and Cost Management User Guide. + // in the Amazon Web Services Billing User Guide. // // Tags is a required field Tags map[string]*string `type:"map" required:"true"` @@ -7149,8 +7219,8 @@ func (s *TargetTrackingMetricDimension) SetValue(v string) *TargetTrackingMetric return s } -// This structure defines the CloudWatch metric to return, along with the statistic, -// period, and unit. +// This structure defines the CloudWatch metric to return, along with the statistic +// and unit. // // For more information about the CloudWatch terminology below, see Amazon CloudWatch // concepts (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) @@ -7731,6 +7801,9 @@ const ( // MetricTypeSageMakerInferenceComponentInvocationsPerCopy is a MetricType enum value MetricTypeSageMakerInferenceComponentInvocationsPerCopy = "SageMakerInferenceComponentInvocationsPerCopy" + + // MetricTypeWorkSpacesAverageUserSessionsCapacityUtilization is a MetricType enum value + MetricTypeWorkSpacesAverageUserSessionsCapacityUtilization = "WorkSpacesAverageUserSessionsCapacityUtilization" ) // MetricType_Values returns all elements of the MetricType enum @@ -7760,6 +7833,7 @@ func MetricType_Values() []string { MetricTypeSageMakerVariantProvisionedConcurrencyUtilization, MetricTypeElastiCacheDatabaseCapacityUsageCountedForEvictPercentage, MetricTypeSageMakerInferenceComponentInvocationsPerCopy, + MetricTypeWorkSpacesAverageUserSessionsCapacityUtilization, } } @@ -7845,6 +7919,9 @@ const ( // ScalableDimensionSagemakerInferenceComponentDesiredCopyCount is a ScalableDimension enum value ScalableDimensionSagemakerInferenceComponentDesiredCopyCount = "sagemaker:inference-component:DesiredCopyCount" + + // ScalableDimensionWorkspacesWorkspacespoolDesiredUserSessions is a ScalableDimension enum value + ScalableDimensionWorkspacesWorkspacespoolDesiredUserSessions = "workspaces:workspacespool:DesiredUserSessions" ) // ScalableDimension_Values returns all elements of the ScalableDimension enum @@ -7872,6 +7949,7 @@ func ScalableDimension_Values() []string { ScalableDimensionNeptuneClusterReadReplicaCount, ScalableDimensionSagemakerVariantDesiredProvisionedConcurrency, ScalableDimensionSagemakerInferenceComponentDesiredCopyCount, + ScalableDimensionWorkspacesWorkspacespoolDesiredUserSessions, } } @@ -7949,6 +8027,9 @@ const ( // ServiceNamespaceNeptune is a ServiceNamespace enum value ServiceNamespaceNeptune = "neptune" + + // ServiceNamespaceWorkspaces is a ServiceNamespace enum value + ServiceNamespaceWorkspaces = "workspaces" ) // ServiceNamespace_Values returns all elements of the ServiceNamespace enum @@ -7968,5 +8049,6 @@ func ServiceNamespace_Values() []string { ServiceNamespaceKafka, ServiceNamespaceElasticache, ServiceNamespaceNeptune, + ServiceNamespaceWorkspaces, } } diff --git a/service/applicationautoscaling/doc.go b/service/applicationautoscaling/doc.go index ef3c9722a92..3b8da84405b 100644 --- a/service/applicationautoscaling/doc.go +++ b/service/applicationautoscaling/doc.go @@ -30,12 +30,14 @@ // // - Amazon SageMaker endpoint variants // -// - Amazon SageMaker Serverless endpoint provisioned concurrency -// // - Amazon SageMaker inference components // +// - Amazon SageMaker serverless endpoint provisioned concurrency +// // - Spot Fleets (Amazon EC2) // +// - WorkSpaces pools +// // - Custom resources provided by your own applications or services // // To learn more about Application Auto Scaling, see the Application Auto Scaling diff --git a/service/chimesdkmediapipelines/api.go b/service/chimesdkmediapipelines/api.go index 4e3bb64d339..1485fb47f9c 100644 --- a/service/chimesdkmediapipelines/api.go +++ b/service/chimesdkmediapipelines/api.go @@ -548,7 +548,24 @@ func (c *ChimeSDKMediaPipelines) CreateMediaPipelineKinesisVideoStreamPoolReques // CreateMediaPipelineKinesisVideoStreamPool API operation for Amazon Chime SDK Media Pipelines. // -// Creates an Kinesis video stream pool for the media pipeline. +// Creates an Amazon Kinesis Video Stream pool for use with media stream pipelines. +// +// If a meeting uses an opt-in Region as its MediaRegion (https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion), +// the KVS stream must be in that same Region. For example, if a meeting uses +// the af-south-1 Region, the KVS stream must also be in af-south-1. However, +// if the meeting uses a Region that AWS turns on by default, the KVS stream +// can be in any available Region, including an opt-in Region. For example, +// if the meeting uses ca-central-1, the KVS stream can be in eu-west-2, us-east-1, +// af-south-1, or any other Region that the Amazon Chime SDK supports. +// +// To learn which AWS Region a meeting uses, call the GetMeeting (https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_GetMeeting.html) +// API and use the MediaRegion (https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion) +// parameter from the response. +// +// For more information about opt-in Regions, refer to Available Regions (https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions.html) +// in the Amazon Chime SDK Developer Guide, and Specify which AWS Regions your +// account can use (https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#rande-manage-enable.html), +// in the AWS Account Management Reference Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1052,7 +1069,7 @@ func (c *ChimeSDKMediaPipelines) DeleteMediaPipelineKinesisVideoStreamPoolReques // DeleteMediaPipelineKinesisVideoStreamPool API operation for Amazon Chime SDK Media Pipelines. // -// Deletes an Kinesis video stream pool. +// Deletes an Amazon Kinesis Video Stream pool. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3266,7 +3283,7 @@ func (c *ChimeSDKMediaPipelines) UpdateMediaPipelineKinesisVideoStreamPoolReques // UpdateMediaPipelineKinesisVideoStreamPool API operation for Amazon Chime SDK Media Pipelines. // -// Updates an Kinesis video stream pool in a media pipeline. +// Updates an Amazon Kinesis Video Stream pool in a media pipeline. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3614,6 +3631,10 @@ func (s *AmazonTranscribeCallAnalyticsProcessorConfiguration) SetVocabularyName( // A structure that contains the configuration settings for an Amazon Transcribe // processor. +// +// Calls to this API must include a LanguageCode, IdentifyLanguage, or IdentifyMultipleLanguages +// parameter. If you include more than one of those parameters, your transcription +// job fails. type AmazonTranscribeProcessorConfiguration struct { _ struct{} `type:"structure"` @@ -3658,6 +3679,9 @@ type AmazonTranscribeProcessorConfiguration struct { // Turns language identification on or off. IdentifyLanguage *bool `type:"boolean"` + // Turns language identification on or off for multiple languages. + IdentifyMultipleLanguages *bool `type:"boolean"` + // The language code that represents the language spoken in your audio. // // If you're unsure of the language spoken in your audio, consider using IdentifyLanguage @@ -3820,6 +3844,12 @@ func (s *AmazonTranscribeProcessorConfiguration) SetIdentifyLanguage(v bool) *Am return s } +// SetIdentifyMultipleLanguages sets the IdentifyMultipleLanguages field's value. +func (s *AmazonTranscribeProcessorConfiguration) SetIdentifyMultipleLanguages(v bool) *AmazonTranscribeProcessorConfiguration { + s.IdentifyMultipleLanguages = &v + return s +} + // SetLanguageCode sets the LanguageCode field's value. func (s *AmazonTranscribeProcessorConfiguration) SetLanguageCode(v string) *AmazonTranscribeProcessorConfiguration { s.LanguageCode = &v @@ -5890,17 +5920,17 @@ type CreateMediaPipelineKinesisVideoStreamPoolInput struct { // String and GoString methods. ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"` - // The name of the video stream pool. + // The name of the pool. // // PoolName is a required field PoolName *string `min:"1" type:"string" required:"true"` - // The configuration settings for the video stream. + // The configuration settings for the stream. // // StreamConfiguration is a required field StreamConfiguration *KinesisVideoStreamConfiguration `type:"structure" required:"true"` - // The tags assigned to the video stream pool. + // The tags assigned to the stream pool. Tags []*Tag `min:"1" type:"list"` } @@ -5989,7 +6019,7 @@ func (s *CreateMediaPipelineKinesisVideoStreamPoolInput) SetTags(v []*Tag) *Crea type CreateMediaPipelineKinesisVideoStreamPoolOutput struct { _ struct{} `type:"structure"` - // The configuration for the Kinesis video stream pool. + // The configuration for applying the streams to the pool. KinesisVideoStreamPoolConfiguration *KinesisVideoStreamPoolConfiguration `type:"structure"` } @@ -6414,7 +6444,8 @@ func (s *DeleteMediaPipelineInput) SetMediaPipelineId(v string) *DeleteMediaPipe type DeleteMediaPipelineKinesisVideoStreamPoolInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID of the pool being deleted. + // The unique identifier of the requested resource. Valid values include the + // name and ARN of the media pipeline Kinesis Video Stream pool. // // Identifier is a required field Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` @@ -6869,7 +6900,8 @@ func (s *GetMediaPipelineInput) SetMediaPipelineId(v string) *GetMediaPipelineIn type GetMediaPipelineKinesisVideoStreamPoolInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID of the video stream pool. + // The unique identifier of the requested resource. Valid values include the + // name and ARN of the media pipeline Kinesis Video Stream pool. // // Identifier is a required field Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` @@ -7541,6 +7573,23 @@ func (s *KinesisDataStreamSinkConfiguration) SetInsightsTarget(v string) *Kinesi } // The configuration of an Kinesis video stream. +// +// If a meeting uses an opt-in Region as its MediaRegion (https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion), +// the KVS stream must be in that same Region. For example, if a meeting uses +// the af-south-1 Region, the KVS stream must also be in af-south-1. However, +// if the meeting uses a Region that AWS turns on by default, the KVS stream +// can be in any available Region, including an opt-in Region. For example, +// if the meeting uses ca-central-1, the KVS stream can be in eu-west-2, us-east-1, +// af-south-1, or any other Region that the Amazon Chime SDK supports. +// +// To learn which AWS Region a meeting uses, call the GetMeeting (https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_GetMeeting.html) +// API and use the MediaRegion (https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion) +// parameter from the response. +// +// For more information about opt-in Regions, refer to Available Regions (https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions.html) +// in the Amazon Chime SDK Developer Guide, and Specify which AWS Regions your +// account can use (https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#rande-manage-enable.html), +// in the AWS Account Management Reference Guide. type KinesisVideoStreamConfiguration struct { _ struct{} `type:"structure"` @@ -7811,7 +7860,7 @@ type KinesisVideoStreamRecordingSourceRuntimeConfiguration struct { // The stream or streams to be recorded. // // Streams is a required field - Streams []*RecordingStreamConfiguration `min:"2" type:"list" required:"true"` + Streams []*RecordingStreamConfiguration `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -7841,8 +7890,8 @@ func (s *KinesisVideoStreamRecordingSourceRuntimeConfiguration) Validate() error if s.Streams == nil { invalidParams.Add(request.NewErrParamRequired("Streams")) } - if s.Streams != nil && len(s.Streams) < 2 { - invalidParams.Add(request.NewErrParamMinLen("Streams", 2)) + if s.Streams != nil && len(s.Streams) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Streams", 1)) } if s.FragmentSelector != nil { if err := s.FragmentSelector.Validate(); err != nil { @@ -9884,7 +9933,8 @@ type MediaStreamSink struct { // ReservedStreamCapacity is a required field ReservedStreamCapacity *int64 `min:"1" type:"integer" required:"true"` - // The ARN of the media stream sink. + // The ARN of the Kinesis Video Stream pool returned by the CreateMediaPipelineKinesisVideoStreamPool + // API. // // SinkArn is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by MediaStreamSink's @@ -9973,7 +10023,7 @@ func (s *MediaStreamSink) SetSinkType(v string) *MediaStreamSink { type MediaStreamSource struct { _ struct{} `type:"structure"` - // The ARN of the media stream source. + // The ARN of the meeting. // // SourceArn is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by MediaStreamSource's @@ -12531,7 +12581,8 @@ func (s UpdateMediaInsightsPipelineStatusOutput) GoString() string { type UpdateMediaPipelineKinesisVideoStreamPoolInput struct { _ struct{} `type:"structure"` - // The ID of the video stream pool. + // The unique identifier of the requested resource. Valid values include the + // name and ARN of the media pipeline Kinesis Video Stream pool. // // Identifier is a required field Identifier *string `location:"uri" locationName:"identifier" type:"string" required:"true"` diff --git a/service/cloudfront/api.go b/service/cloudfront/api.go index 11144308b1d..d7037d7dfe5 100644 --- a/service/cloudfront/api.go +++ b/service/cloudfront/api.go @@ -9386,7 +9386,9 @@ func (c *CloudFront) ListTagsForResourceRequest(input *ListTagsForResourceInput) // ListTagsForResource API operation for Amazon CloudFront. // -// List tags for a CloudFront resource. +// List tags for a CloudFront resource. For more information, see Tagging a +// distribution (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) +// in the Amazon CloudFront Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9575,7 +9577,9 @@ func (c *CloudFront) TagResourceRequest(input *TagResourceInput) (req *request.R // TagResource API operation for Amazon CloudFront. // -// Add tags to a CloudFront resource. +// Add tags to a CloudFront resource. For more information, see Tagging a distribution +// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) +// in the Amazon CloudFront Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9767,7 +9771,9 @@ func (c *CloudFront) UntagResourceRequest(input *UntagResourceInput) (req *reque // UntagResource API operation for Amazon CloudFront. // -// Remove tags from a CloudFront resource. +// Remove tags from a CloudFront resource. For more information, see Tagging +// a distribution (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html) +// in the Amazon CloudFront Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -12459,8 +12465,8 @@ func (s AssociateAliasOutput) GoString() string { // in the Amazon CloudFront Developer Guide. // // If you don't want to specify any cache behaviors, include only an empty CacheBehaviors -// element. For more information, see CacheBehaviors (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html). -// Don't include an empty CacheBehavior element because this is invalid. +// element. Don't specify an empty individual CacheBehavior element, because +// this is invalid. For more information, see CacheBehaviors (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html). // // To delete all cache behaviors in an existing distribution, update the distribution // configuration and include only an empty CacheBehaviors element. @@ -13531,7 +13537,9 @@ type CachedMethods struct { _ struct{} `type:"structure"` // A complex type that contains the HTTP methods that you want CloudFront to - // cache responses to. + // cache responses to. Valid values for CachedMethods include GET, HEAD, and + // OPTIONS, depending on which caching option you choose. For more information, + // see the preceding section. // // Items is a required field Items []*string `locationNameList:"Method" type:"list" required:"true" enum:"Method"` diff --git a/service/datazone/api.go b/service/datazone/api.go index c918081c4ab..a22093a9030 100644 --- a/service/datazone/api.go +++ b/service/datazone/api.go @@ -5687,6 +5687,101 @@ func (c *DataZone) GetIamPortalLoginUrlWithContext(ctx aws.Context, input *GetIa return out, req.Send() } +const opGetLineageNode = "GetLineageNode" + +// GetLineageNodeRequest generates a "aws/request.Request" representing the +// client's request for the GetLineageNode operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetLineageNode for more information on using the GetLineageNode +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetLineageNodeRequest method. +// req, resp := client.GetLineageNodeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetLineageNode +func (c *DataZone) GetLineageNodeRequest(input *GetLineageNodeInput) (req *request.Request, output *GetLineageNodeOutput) { + op := &request.Operation{ + Name: opGetLineageNode, + HTTPMethod: "GET", + HTTPPath: "/v2/domains/{domainIdentifier}/lineage/nodes/{identifier}", + } + + if input == nil { + input = &GetLineageNodeInput{} + } + + output = &GetLineageNodeOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetLineageNode API operation for Amazon DataZone. +// +// Gets the data lineage node. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DataZone's +// API operation GetLineageNode for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request has failed because of an unknown error, exception or failure. +// +// - ResourceNotFoundException +// The specified resource cannot be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the Amazon Web Services +// service. +// +// - UnauthorizedException +// You do not have permission to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetLineageNode +func (c *DataZone) GetLineageNode(input *GetLineageNodeInput) (*GetLineageNodeOutput, error) { + req, out := c.GetLineageNodeRequest(input) + return out, req.Send() +} + +// GetLineageNodeWithContext is the same as GetLineageNode with the addition of +// the ability to pass a context and additional request options. +// +// See GetLineageNode for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DataZone) GetLineageNodeWithContext(ctx aws.Context, input *GetLineageNodeInput, opts ...request.Option) (*GetLineageNodeOutput, error) { + req, out := c.GetLineageNodeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetListing = "GetListing" // GetListingRequest generates a "aws/request.Request" representing the @@ -8077,6 +8172,158 @@ func (c *DataZone) ListEnvironmentsPagesWithContext(ctx aws.Context, input *List return p.Err() } +const opListLineageNodeHistory = "ListLineageNodeHistory" + +// ListLineageNodeHistoryRequest generates a "aws/request.Request" representing the +// client's request for the ListLineageNodeHistory operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListLineageNodeHistory for more information on using the ListLineageNodeHistory +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListLineageNodeHistoryRequest method. +// req, resp := client.ListLineageNodeHistoryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListLineageNodeHistory +func (c *DataZone) ListLineageNodeHistoryRequest(input *ListLineageNodeHistoryInput) (req *request.Request, output *ListLineageNodeHistoryOutput) { + op := &request.Operation{ + Name: opListLineageNodeHistory, + HTTPMethod: "GET", + HTTPPath: "/v2/domains/{domainIdentifier}/lineage/nodes/{identifier}/history", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListLineageNodeHistoryInput{} + } + + output = &ListLineageNodeHistoryOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListLineageNodeHistory API operation for Amazon DataZone. +// +// Lists the history of the specified data lineage node. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DataZone's +// API operation ListLineageNodeHistory for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request has failed because of an unknown error, exception or failure. +// +// - ResourceNotFoundException +// The specified resource cannot be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the Amazon Web Services +// service. +// +// - UnauthorizedException +// You do not have permission to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListLineageNodeHistory +func (c *DataZone) ListLineageNodeHistory(input *ListLineageNodeHistoryInput) (*ListLineageNodeHistoryOutput, error) { + req, out := c.ListLineageNodeHistoryRequest(input) + return out, req.Send() +} + +// ListLineageNodeHistoryWithContext is the same as ListLineageNodeHistory with the addition of +// the ability to pass a context and additional request options. +// +// See ListLineageNodeHistory for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DataZone) ListLineageNodeHistoryWithContext(ctx aws.Context, input *ListLineageNodeHistoryInput, opts ...request.Option) (*ListLineageNodeHistoryOutput, error) { + req, out := c.ListLineageNodeHistoryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListLineageNodeHistoryPages iterates over the pages of a ListLineageNodeHistory operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListLineageNodeHistory method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListLineageNodeHistory operation. +// pageNum := 0 +// err := client.ListLineageNodeHistoryPages(params, +// func(page *datazone.ListLineageNodeHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *DataZone) ListLineageNodeHistoryPages(input *ListLineageNodeHistoryInput, fn func(*ListLineageNodeHistoryOutput, bool) bool) error { + return c.ListLineageNodeHistoryPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListLineageNodeHistoryPagesWithContext same as ListLineageNodeHistoryPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DataZone) ListLineageNodeHistoryPagesWithContext(ctx aws.Context, input *ListLineageNodeHistoryInput, fn func(*ListLineageNodeHistoryOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListLineageNodeHistoryInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListLineageNodeHistoryRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListLineageNodeHistoryOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListMetadataGenerationRuns = "ListMetadataGenerationRuns" // ListMetadataGenerationRunsRequest generates a "aws/request.Request" representing the @@ -9537,6 +9784,108 @@ func (c *DataZone) ListTimeSeriesDataPointsPagesWithContext(ctx aws.Context, inp return p.Err() } +const opPostLineageEvent = "PostLineageEvent" + +// PostLineageEventRequest generates a "aws/request.Request" representing the +// client's request for the PostLineageEvent operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PostLineageEvent for more information on using the PostLineageEvent +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the PostLineageEventRequest method. +// req, resp := client.PostLineageEventRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/PostLineageEvent +func (c *DataZone) PostLineageEventRequest(input *PostLineageEventInput) (req *request.Request, output *PostLineageEventOutput) { + op := &request.Operation{ + Name: opPostLineageEvent, + HTTPMethod: "POST", + HTTPPath: "/v2/domains/{domainIdentifier}/lineage/events", + } + + if input == nil { + input = &PostLineageEventInput{} + } + + output = &PostLineageEventOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PostLineageEvent API operation for Amazon DataZone. +// +// Posts a data lineage event. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DataZone's +// API operation PostLineageEvent for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request has failed because of an unknown error, exception or failure. +// +// - ResourceNotFoundException +// The specified resource cannot be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ServiceQuotaExceededException +// The request has exceeded the specified service quota. +// +// - ConflictException +// There is a conflict while performing this action. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the Amazon Web Services +// service. +// +// - UnauthorizedException +// You do not have permission to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/PostLineageEvent +func (c *DataZone) PostLineageEvent(input *PostLineageEventInput) (*PostLineageEventOutput, error) { + req, out := c.PostLineageEventRequest(input) + return out, req.Send() +} + +// PostLineageEventWithContext is the same as PostLineageEvent with the addition of +// the ability to pass a context and additional request options. +// +// See PostLineageEvent for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DataZone) PostLineageEventWithContext(ctx aws.Context, input *PostLineageEventInput, opts ...request.Option) (*PostLineageEventOutput, error) { + req, out := c.PostLineageEventRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPostTimeSeriesDataPoints = "PostTimeSeriesDataPoints" // PostTimeSeriesDataPointsRequest generates a "aws/request.Request" representing the @@ -27432,6 +27781,249 @@ func (s *GetIamPortalLoginUrlOutput) SetUserProfileId(v string) *GetIamPortalLog return s } +type GetLineageNodeInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the domain in which you want to get the data lineage node. + // + // DomainIdentifier is a required field + DomainIdentifier *string `location:"uri" locationName:"domainIdentifier" type:"string" required:"true"` + + // The event time stamp for which you want to get the data lineage node. + EventTimestamp *time.Time `location:"querystring" locationName:"timestamp" type:"timestamp"` + + // The ID of the data lineage node that you want to get. + // + // Both, a lineage node identifier generated by Amazon DataZone and a sourceIdentifier + // of the lineage node are supported. If sourceIdentifier is greater than 1800 + // characters, you can use lineage node identifier generated by Amazon DataZone + // to get the node details. + // + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetLineageNodeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetLineageNodeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetLineageNodeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetLineageNodeInput"} + if s.DomainIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DomainIdentifier")) + } + if s.DomainIdentifier != nil && len(*s.DomainIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainIdentifier", 1)) + } + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainIdentifier sets the DomainIdentifier field's value. +func (s *GetLineageNodeInput) SetDomainIdentifier(v string) *GetLineageNodeInput { + s.DomainIdentifier = &v + return s +} + +// SetEventTimestamp sets the EventTimestamp field's value. +func (s *GetLineageNodeInput) SetEventTimestamp(v time.Time) *GetLineageNodeInput { + s.EventTimestamp = &v + return s +} + +// SetIdentifier sets the Identifier field's value. +func (s *GetLineageNodeInput) SetIdentifier(v string) *GetLineageNodeInput { + s.Identifier = &v + return s +} + +type GetLineageNodeOutput struct { + _ struct{} `type:"structure"` + + // The timestamp at which the data lineage node was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` + + // The user who created the data lineage node. + CreatedBy *string `locationName:"createdBy" type:"string"` + + // The description of the data lineage node. + Description *string `locationName:"description" type:"string"` + + // The ID of the domain where you're getting the data lineage node. + // + // DomainId is a required field + DomainId *string `locationName:"domainId" type:"string" required:"true"` + + // The downsteam nodes of the specified data lineage node. + DownstreamNodes []*LineageNodeReference `locationName:"downstreamNodes" type:"list"` + + // The timestamp of the event described in the data lineage node. + EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp"` + + // The metadata of the specified data lineage node. + FormsOutput []*FormOutput_ `locationName:"formsOutput" type:"list"` + + // The ID of the data lineage node. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The name of the data lineage node. + Name *string `locationName:"name" type:"string"` + + // The source identifier of the data lineage node. + SourceIdentifier *string `locationName:"sourceIdentifier" type:"string"` + + // The name of the type of the specified data lineage node. + // + // TypeName is a required field + TypeName *string `locationName:"typeName" type:"string" required:"true"` + + // The revision type of the specified data lineage node. + TypeRevision *string `locationName:"typeRevision" min:"1" type:"string"` + + // The timestamp at which the data lineage node was updated. + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` + + // The user who updated the data lineage node. + UpdatedBy *string `locationName:"updatedBy" type:"string"` + + // The upstream nodes of the specified data lineage node. + UpstreamNodes []*LineageNodeReference `locationName:"upstreamNodes" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetLineageNodeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetLineageNodeOutput) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetLineageNodeOutput) SetCreatedAt(v time.Time) *GetLineageNodeOutput { + s.CreatedAt = &v + return s +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *GetLineageNodeOutput) SetCreatedBy(v string) *GetLineageNodeOutput { + s.CreatedBy = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetLineageNodeOutput) SetDescription(v string) *GetLineageNodeOutput { + s.Description = &v + return s +} + +// SetDomainId sets the DomainId field's value. +func (s *GetLineageNodeOutput) SetDomainId(v string) *GetLineageNodeOutput { + s.DomainId = &v + return s +} + +// SetDownstreamNodes sets the DownstreamNodes field's value. +func (s *GetLineageNodeOutput) SetDownstreamNodes(v []*LineageNodeReference) *GetLineageNodeOutput { + s.DownstreamNodes = v + return s +} + +// SetEventTimestamp sets the EventTimestamp field's value. +func (s *GetLineageNodeOutput) SetEventTimestamp(v time.Time) *GetLineageNodeOutput { + s.EventTimestamp = &v + return s +} + +// SetFormsOutput sets the FormsOutput field's value. +func (s *GetLineageNodeOutput) SetFormsOutput(v []*FormOutput_) *GetLineageNodeOutput { + s.FormsOutput = v + return s +} + +// SetId sets the Id field's value. +func (s *GetLineageNodeOutput) SetId(v string) *GetLineageNodeOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetLineageNodeOutput) SetName(v string) *GetLineageNodeOutput { + s.Name = &v + return s +} + +// SetSourceIdentifier sets the SourceIdentifier field's value. +func (s *GetLineageNodeOutput) SetSourceIdentifier(v string) *GetLineageNodeOutput { + s.SourceIdentifier = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *GetLineageNodeOutput) SetTypeName(v string) *GetLineageNodeOutput { + s.TypeName = &v + return s +} + +// SetTypeRevision sets the TypeRevision field's value. +func (s *GetLineageNodeOutput) SetTypeRevision(v string) *GetLineageNodeOutput { + s.TypeRevision = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetLineageNodeOutput) SetUpdatedAt(v time.Time) *GetLineageNodeOutput { + s.UpdatedAt = &v + return s +} + +// SetUpdatedBy sets the UpdatedBy field's value. +func (s *GetLineageNodeOutput) SetUpdatedBy(v string) *GetLineageNodeOutput { + s.UpdatedBy = &v + return s +} + +// SetUpstreamNodes sets the UpstreamNodes field's value. +func (s *GetLineageNodeOutput) SetUpstreamNodes(v []*LineageNodeReference) *GetLineageNodeOutput { + s.UpstreamNodes = v + return s +} + type GetListingInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -30031,6 +30623,294 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } +// The reference details for the data lineage node. +type LineageNodeReference struct { + _ struct{} `type:"structure"` + + // The event timestamp of the data lineage node. + EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp"` + + // The ID of the data lineage node. + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LineageNodeReference) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LineageNodeReference) GoString() string { + return s.String() +} + +// SetEventTimestamp sets the EventTimestamp field's value. +func (s *LineageNodeReference) SetEventTimestamp(v time.Time) *LineageNodeReference { + s.EventTimestamp = &v + return s +} + +// SetId sets the Id field's value. +func (s *LineageNodeReference) SetId(v string) *LineageNodeReference { + s.Id = &v + return s +} + +// The summary of the data lineage node. +type LineageNodeSummary struct { + _ struct{} `type:"structure"` + + // The timestamp at which the data lineage node was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` + + // The user who created the data lineage node. + CreatedBy *string `locationName:"createdBy" type:"string"` + + // The description of the data lineage node. + Description *string `locationName:"description" type:"string"` + + // The ID of the domain of the data lineage node. + // + // DomainId is a required field + DomainId *string `locationName:"domainId" type:"string" required:"true"` + + // The event timestamp of the data lineage node. + EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp"` + + // The ID of the data lineage node. + // + // Id is a required field + Id *string `locationName:"id" type:"string" required:"true"` + + // The name of the data lineage node. + Name *string `locationName:"name" type:"string"` + + // The alternate ID of the data lineage node. + SourceIdentifier *string `locationName:"sourceIdentifier" type:"string"` + + // The name of the type of the data lineage node. + // + // TypeName is a required field + TypeName *string `locationName:"typeName" type:"string" required:"true"` + + // The type of the revision of the data lineage node. + TypeRevision *string `locationName:"typeRevision" min:"1" type:"string"` + + // The timestamp at which the data lineage node was updated. + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` + + // The user who updated the data lineage node. + UpdatedBy *string `locationName:"updatedBy" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LineageNodeSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LineageNodeSummary) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *LineageNodeSummary) SetCreatedAt(v time.Time) *LineageNodeSummary { + s.CreatedAt = &v + return s +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *LineageNodeSummary) SetCreatedBy(v string) *LineageNodeSummary { + s.CreatedBy = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *LineageNodeSummary) SetDescription(v string) *LineageNodeSummary { + s.Description = &v + return s +} + +// SetDomainId sets the DomainId field's value. +func (s *LineageNodeSummary) SetDomainId(v string) *LineageNodeSummary { + s.DomainId = &v + return s +} + +// SetEventTimestamp sets the EventTimestamp field's value. +func (s *LineageNodeSummary) SetEventTimestamp(v time.Time) *LineageNodeSummary { + s.EventTimestamp = &v + return s +} + +// SetId sets the Id field's value. +func (s *LineageNodeSummary) SetId(v string) *LineageNodeSummary { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *LineageNodeSummary) SetName(v string) *LineageNodeSummary { + s.Name = &v + return s +} + +// SetSourceIdentifier sets the SourceIdentifier field's value. +func (s *LineageNodeSummary) SetSourceIdentifier(v string) *LineageNodeSummary { + s.SourceIdentifier = &v + return s +} + +// SetTypeName sets the TypeName field's value. +func (s *LineageNodeSummary) SetTypeName(v string) *LineageNodeSummary { + s.TypeName = &v + return s +} + +// SetTypeRevision sets the TypeRevision field's value. +func (s *LineageNodeSummary) SetTypeRevision(v string) *LineageNodeSummary { + s.TypeRevision = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *LineageNodeSummary) SetUpdatedAt(v time.Time) *LineageNodeSummary { + s.UpdatedAt = &v + return s +} + +// SetUpdatedBy sets the UpdatedBy field's value. +func (s *LineageNodeSummary) SetUpdatedBy(v string) *LineageNodeSummary { + s.UpdatedBy = &v + return s +} + +// The details of a data lineage node type. +type LineageNodeTypeItem struct { + _ struct{} `type:"structure"` + + // The timestamp at which the data lineage node type was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` + + // The user who created the data lineage node type. + CreatedBy *string `locationName:"createdBy" type:"string"` + + // The description of the data lineage node type. + Description *string `locationName:"description" type:"string"` + + // The ID of the domain where the data lineage node type lives. + // + // DomainId is a required field + DomainId *string `locationName:"domainId" type:"string" required:"true"` + + // The forms output of the data lineage node type. + // + // FormsOutput is a required field + FormsOutput map[string]*FormEntryOutput_ `locationName:"formsOutput" type:"map" required:"true"` + + // The name of the data lineage node type. + Name *string `locationName:"name" type:"string"` + + // The revision of the data lineage node type. + // + // Revision is a required field + Revision *string `locationName:"revision" min:"1" type:"string" required:"true"` + + // The timestamp at which the data lineage node type was updated. + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` + + // The user who updated the data lineage node type. + UpdatedBy *string `locationName:"updatedBy" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LineageNodeTypeItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LineageNodeTypeItem) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *LineageNodeTypeItem) SetCreatedAt(v time.Time) *LineageNodeTypeItem { + s.CreatedAt = &v + return s +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *LineageNodeTypeItem) SetCreatedBy(v string) *LineageNodeTypeItem { + s.CreatedBy = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *LineageNodeTypeItem) SetDescription(v string) *LineageNodeTypeItem { + s.Description = &v + return s +} + +// SetDomainId sets the DomainId field's value. +func (s *LineageNodeTypeItem) SetDomainId(v string) *LineageNodeTypeItem { + s.DomainId = &v + return s +} + +// SetFormsOutput sets the FormsOutput field's value. +func (s *LineageNodeTypeItem) SetFormsOutput(v map[string]*FormEntryOutput_) *LineageNodeTypeItem { + s.FormsOutput = v + return s +} + +// SetName sets the Name field's value. +func (s *LineageNodeTypeItem) SetName(v string) *LineageNodeTypeItem { + s.Name = &v + return s +} + +// SetRevision sets the Revision field's value. +func (s *LineageNodeTypeItem) SetRevision(v string) *LineageNodeTypeItem { + s.Revision = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *LineageNodeTypeItem) SetUpdatedAt(v time.Time) *LineageNodeTypeItem { + s.UpdatedAt = &v + return s +} + +// SetUpdatedBy sets the UpdatedBy field's value. +func (s *LineageNodeTypeItem) SetUpdatedBy(v string) *LineageNodeTypeItem { + s.UpdatedBy = &v + return s +} + type ListAssetRevisionsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -31586,6 +32466,188 @@ func (s *ListEnvironmentsOutput) SetNextToken(v string) *ListEnvironmentsOutput return s } +type ListLineageNodeHistoryInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The direction of the data lineage node refers to the lineage node having + // neighbors in that direction. For example, if direction is UPSTREAM, the ListLineageNodeHistory + // API responds with historical versions with upstream neighbors only. + Direction *string `location:"querystring" locationName:"direction" type:"string" enum:"EdgeDirection"` + + // The ID of the domain where you want to list the history of the specified + // data lineage node. + // + // DomainIdentifier is a required field + DomainIdentifier *string `location:"uri" locationName:"domainIdentifier" type:"string" required:"true"` + + // Specifies whether the action is to return data lineage node history from + // the time after the event timestamp. + EventTimestampGTE *time.Time `location:"querystring" locationName:"timestampGTE" type:"timestamp"` + + // Specifies whether the action is to return data lineage node history from + // the time prior of the event timestamp. + EventTimestampLTE *time.Time `location:"querystring" locationName:"timestampLTE" type:"timestamp"` + + // The ID of the data lineage node whose history you want to list. + // + // Identifier is a required field + Identifier *string `location:"uri" locationName:"identifier" min:"1" type:"string" required:"true"` + + // The maximum number of history items to return in a single call to ListLineageNodeHistory. + // When the number of memberships to be listed is greater than the value of + // MaxResults, the response contains a NextToken value that you can use in a + // subsequent call to ListLineageNodeHistory to list the next set of items. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // When the number of history items is greater than the default value for the + // MaxResults parameter, or if you explicitly specify a value for MaxResults + // that is less than the number of items, the response includes a pagination + // token named NextToken. You can specify this NextToken value in a subsequent + // call to ListLineageNodeHistory to list the next set of items. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The order by which you want data lineage node history to be sorted. + SortOrder *string `location:"querystring" locationName:"sortOrder" type:"string" enum:"SortOrder"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLineageNodeHistoryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLineageNodeHistoryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListLineageNodeHistoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLineageNodeHistoryInput"} + if s.DomainIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DomainIdentifier")) + } + if s.DomainIdentifier != nil && len(*s.DomainIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainIdentifier", 1)) + } + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirection sets the Direction field's value. +func (s *ListLineageNodeHistoryInput) SetDirection(v string) *ListLineageNodeHistoryInput { + s.Direction = &v + return s +} + +// SetDomainIdentifier sets the DomainIdentifier field's value. +func (s *ListLineageNodeHistoryInput) SetDomainIdentifier(v string) *ListLineageNodeHistoryInput { + s.DomainIdentifier = &v + return s +} + +// SetEventTimestampGTE sets the EventTimestampGTE field's value. +func (s *ListLineageNodeHistoryInput) SetEventTimestampGTE(v time.Time) *ListLineageNodeHistoryInput { + s.EventTimestampGTE = &v + return s +} + +// SetEventTimestampLTE sets the EventTimestampLTE field's value. +func (s *ListLineageNodeHistoryInput) SetEventTimestampLTE(v time.Time) *ListLineageNodeHistoryInput { + s.EventTimestampLTE = &v + return s +} + +// SetIdentifier sets the Identifier field's value. +func (s *ListLineageNodeHistoryInput) SetIdentifier(v string) *ListLineageNodeHistoryInput { + s.Identifier = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListLineageNodeHistoryInput) SetMaxResults(v int64) *ListLineageNodeHistoryInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLineageNodeHistoryInput) SetNextToken(v string) *ListLineageNodeHistoryInput { + s.NextToken = &v + return s +} + +// SetSortOrder sets the SortOrder field's value. +func (s *ListLineageNodeHistoryInput) SetSortOrder(v string) *ListLineageNodeHistoryInput { + s.SortOrder = &v + return s +} + +type ListLineageNodeHistoryOutput struct { + _ struct{} `type:"structure"` + + // When the number of history items is greater than the default value for the + // MaxResults parameter, or if you explicitly specify a value for MaxResults + // that is less than the number of items, the response includes a pagination + // token named NextToken. You can specify this NextToken value in a subsequent + // call to ListLineageNodeHistory to list the next set of items. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // The nodes returned by the ListLineageNodeHistory action. + Nodes []*LineageNodeSummary `locationName:"nodes" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLineageNodeHistoryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListLineageNodeHistoryOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLineageNodeHistoryOutput) SetNextToken(v string) *ListLineageNodeHistoryOutput { + s.NextToken = &v + return s +} + +// SetNodes sets the Nodes field's value. +func (s *ListLineageNodeHistoryOutput) SetNodes(v []*LineageNodeSummary) *ListLineageNodeHistoryOutput { + s.Nodes = v + return s +} + type ListMetadataGenerationRunsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -33875,6 +34937,109 @@ func (s *NotificationResource) SetType(v string) *NotificationResource { return s } +type PostLineageEventInput struct { + _ struct{} `type:"structure" payload:"Event"` + + // A unique, case-sensitive identifier that is provided to ensure the idempotency + // of the request. + ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // The ID of the domain where you want to post a data lineage event. + // + // DomainIdentifier is a required field + DomainIdentifier *string `location:"uri" locationName:"domainIdentifier" type:"string" required:"true"` + + // The data lineage event that you want to post. Only open-lineage run event + // are supported as events. + // + // Event is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PostLineageEventInput's + // String and GoString methods. + // + // Event is a required field + Event []byte `locationName:"event" type:"blob" required:"true" sensitive:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PostLineageEventInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PostLineageEventInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PostLineageEventInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PostLineageEventInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.DomainIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DomainIdentifier")) + } + if s.DomainIdentifier != nil && len(*s.DomainIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainIdentifier", 1)) + } + if s.Event == nil { + invalidParams.Add(request.NewErrParamRequired("Event")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *PostLineageEventInput) SetClientToken(v string) *PostLineageEventInput { + s.ClientToken = &v + return s +} + +// SetDomainIdentifier sets the DomainIdentifier field's value. +func (s *PostLineageEventInput) SetDomainIdentifier(v string) *PostLineageEventInput { + s.DomainIdentifier = &v + return s +} + +// SetEvent sets the Event field's value. +func (s *PostLineageEventInput) SetEvent(v []byte) *PostLineageEventInput { + s.Event = v + return s +} + +type PostLineageEventOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PostLineageEventOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PostLineageEventOutput) GoString() string { + return s.String() +} + type PostTimeSeriesDataPointsInput struct { _ struct{} `type:"structure"` @@ -37077,6 +38242,9 @@ type SearchTypesResultItem struct { // The form type included in the results of the SearchTypes action. FormTypeItem *FormTypeData `locationName:"formTypeItem" type:"structure"` + + // The details of a data lineage node type. + LineageNodeTypeItem *LineageNodeTypeItem `locationName:"lineageNodeTypeItem" type:"structure"` } // String returns the string representation. @@ -37109,6 +38277,12 @@ func (s *SearchTypesResultItem) SetFormTypeItem(v *FormTypeData) *SearchTypesRes return s } +// SetLineageNodeTypeItem sets the LineageNodeTypeItem field's value. +func (s *SearchTypesResultItem) SetLineageNodeTypeItem(v *LineageNodeTypeItem) *SearchTypesResultItem { + s.LineageNodeTypeItem = v + return s +} + type SearchUserProfilesInput struct { _ struct{} `type:"structure"` @@ -43604,6 +44778,22 @@ func DomainStatus_Values() []string { } } +const ( + // EdgeDirectionUpstream is a EdgeDirection enum value + EdgeDirectionUpstream = "UPSTREAM" + + // EdgeDirectionDownstream is a EdgeDirection enum value + EdgeDirectionDownstream = "DOWNSTREAM" +) + +// EdgeDirection_Values returns all elements of the EdgeDirection enum +func EdgeDirection_Values() []string { + return []string{ + EdgeDirectionUpstream, + EdgeDirectionDownstream, + } +} + const ( // EnableSettingEnabled is a EnableSetting enum value EnableSettingEnabled = "ENABLED" @@ -44486,6 +45676,9 @@ const ( // TypesSearchScopeFormType is a TypesSearchScope enum value TypesSearchScopeFormType = "FORM_TYPE" + + // TypesSearchScopeLineageNodeType is a TypesSearchScope enum value + TypesSearchScopeLineageNodeType = "LINEAGE_NODE_TYPE" ) // TypesSearchScope_Values returns all elements of the TypesSearchScope enum @@ -44493,6 +45686,7 @@ func TypesSearchScope_Values() []string { return []string{ TypesSearchScopeAssetType, TypesSearchScopeFormType, + TypesSearchScopeLineageNodeType, } } diff --git a/service/datazone/datazoneiface/interface.go b/service/datazone/datazoneiface/interface.go index 68a7d1b1156..1407774b173 100644 --- a/service/datazone/datazoneiface/interface.go +++ b/service/datazone/datazoneiface/interface.go @@ -292,6 +292,10 @@ type DataZoneAPI interface { GetIamPortalLoginUrlWithContext(aws.Context, *datazone.GetIamPortalLoginUrlInput, ...request.Option) (*datazone.GetIamPortalLoginUrlOutput, error) GetIamPortalLoginUrlRequest(*datazone.GetIamPortalLoginUrlInput) (*request.Request, *datazone.GetIamPortalLoginUrlOutput) + GetLineageNode(*datazone.GetLineageNodeInput) (*datazone.GetLineageNodeOutput, error) + GetLineageNodeWithContext(aws.Context, *datazone.GetLineageNodeInput, ...request.Option) (*datazone.GetLineageNodeOutput, error) + GetLineageNodeRequest(*datazone.GetLineageNodeInput) (*request.Request, *datazone.GetLineageNodeOutput) + GetListing(*datazone.GetListingInput) (*datazone.GetListingOutput, error) GetListingWithContext(aws.Context, *datazone.GetListingInput, ...request.Option) (*datazone.GetListingOutput, error) GetListingRequest(*datazone.GetListingInput) (*request.Request, *datazone.GetListingOutput) @@ -398,6 +402,13 @@ type DataZoneAPI interface { ListEnvironmentsPages(*datazone.ListEnvironmentsInput, func(*datazone.ListEnvironmentsOutput, bool) bool) error ListEnvironmentsPagesWithContext(aws.Context, *datazone.ListEnvironmentsInput, func(*datazone.ListEnvironmentsOutput, bool) bool, ...request.Option) error + ListLineageNodeHistory(*datazone.ListLineageNodeHistoryInput) (*datazone.ListLineageNodeHistoryOutput, error) + ListLineageNodeHistoryWithContext(aws.Context, *datazone.ListLineageNodeHistoryInput, ...request.Option) (*datazone.ListLineageNodeHistoryOutput, error) + ListLineageNodeHistoryRequest(*datazone.ListLineageNodeHistoryInput) (*request.Request, *datazone.ListLineageNodeHistoryOutput) + + ListLineageNodeHistoryPages(*datazone.ListLineageNodeHistoryInput, func(*datazone.ListLineageNodeHistoryOutput, bool) bool) error + ListLineageNodeHistoryPagesWithContext(aws.Context, *datazone.ListLineageNodeHistoryInput, func(*datazone.ListLineageNodeHistoryOutput, bool) bool, ...request.Option) error + ListMetadataGenerationRuns(*datazone.ListMetadataGenerationRunsInput) (*datazone.ListMetadataGenerationRunsOutput, error) ListMetadataGenerationRunsWithContext(aws.Context, *datazone.ListMetadataGenerationRunsInput, ...request.Option) (*datazone.ListMetadataGenerationRunsOutput, error) ListMetadataGenerationRunsRequest(*datazone.ListMetadataGenerationRunsInput) (*request.Request, *datazone.ListMetadataGenerationRunsOutput) @@ -465,6 +476,10 @@ type DataZoneAPI interface { ListTimeSeriesDataPointsPages(*datazone.ListTimeSeriesDataPointsInput, func(*datazone.ListTimeSeriesDataPointsOutput, bool) bool) error ListTimeSeriesDataPointsPagesWithContext(aws.Context, *datazone.ListTimeSeriesDataPointsInput, func(*datazone.ListTimeSeriesDataPointsOutput, bool) bool, ...request.Option) error + PostLineageEvent(*datazone.PostLineageEventInput) (*datazone.PostLineageEventOutput, error) + PostLineageEventWithContext(aws.Context, *datazone.PostLineageEventInput, ...request.Option) (*datazone.PostLineageEventOutput, error) + PostLineageEventRequest(*datazone.PostLineageEventInput) (*request.Request, *datazone.PostLineageEventOutput) + PostTimeSeriesDataPoints(*datazone.PostTimeSeriesDataPointsInput) (*datazone.PostTimeSeriesDataPointsOutput, error) PostTimeSeriesDataPointsWithContext(aws.Context, *datazone.PostTimeSeriesDataPointsInput, ...request.Option) (*datazone.PostTimeSeriesDataPointsOutput, error) PostTimeSeriesDataPointsRequest(*datazone.PostTimeSeriesDataPointsInput) (*request.Request, *datazone.PostTimeSeriesDataPointsOutput) diff --git a/service/mq/api.go b/service/mq/api.go index 5be819cc493..cbc89e4480b 100644 --- a/service/mq/api.go +++ b/service/mq/api.go @@ -2585,8 +2585,11 @@ type Configuration struct { // EngineType is a required field EngineType *string `locationName:"engineType" type:"string" required:"true" enum:"EngineType"` - // Required. The broker engine's version. For a list of supported engine versions, - // see, Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html). + // The broker engine version. Defaults to the latest available version for the + // specified broker engine type. For a list of supported engine versions, see + // the ActiveMQ version management (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/activemq-version-management.html) + // and the RabbitMQ version management (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/rabbitmq-version-management.html) + // sections in the Amazon MQ Developer Guide. // // EngineVersion is a required field EngineVersion *string `locationName:"engineVersion" type:"string" required:"true"` @@ -2923,8 +2926,7 @@ type CreateBrokerRequest struct { // is SIMPLE. AuthenticationStrategy *string `locationName:"authenticationStrategy" type:"string" enum:"AuthenticationStrategy"` - // AutoMinorVersionUpgrade is a required field - AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean" required:"true"` + AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean"` // BrokerName is a required field BrokerName *string `locationName:"brokerName" type:"string" required:"true"` @@ -2952,8 +2954,7 @@ type CreateBrokerRequest struct { // EngineType is a required field EngineType *string `locationName:"engineType" type:"string" required:"true" enum:"EngineType"` - // EngineVersion is a required field - EngineVersion *string `locationName:"engineVersion" type:"string" required:"true"` + EngineVersion *string `locationName:"engineVersion" type:"string"` // HostInstanceType is a required field HostInstanceType *string `locationName:"hostInstanceType" type:"string" required:"true"` @@ -3010,9 +3011,6 @@ func (s CreateBrokerRequest) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateBrokerRequest) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateBrokerRequest"} - if s.AutoMinorVersionUpgrade == nil { - invalidParams.Add(request.NewErrParamRequired("AutoMinorVersionUpgrade")) - } if s.BrokerName == nil { invalidParams.Add(request.NewErrParamRequired("BrokerName")) } @@ -3022,9 +3020,6 @@ func (s *CreateBrokerRequest) Validate() error { if s.EngineType == nil { invalidParams.Add(request.NewErrParamRequired("EngineType")) } - if s.EngineVersion == nil { - invalidParams.Add(request.NewErrParamRequired("EngineVersion")) - } if s.HostInstanceType == nil { invalidParams.Add(request.NewErrParamRequired("HostInstanceType")) } @@ -3247,8 +3242,7 @@ type CreateConfigurationRequest struct { // EngineType is a required field EngineType *string `locationName:"engineType" type:"string" required:"true" enum:"EngineType"` - // EngineVersion is a required field - EngineVersion *string `locationName:"engineVersion" type:"string" required:"true"` + EngineVersion *string `locationName:"engineVersion" type:"string"` // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` @@ -3280,9 +3274,6 @@ func (s *CreateConfigurationRequest) Validate() error { if s.EngineType == nil { invalidParams.Add(request.NewErrParamRequired("EngineType")) } - if s.EngineVersion == nil { - invalidParams.Add(request.NewErrParamRequired("EngineVersion")) - } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } diff --git a/service/qconnect/api.go b/service/qconnect/api.go index d28c8692122..aa2dbe74015 100644 --- a/service/qconnect/api.go +++ b/service/qconnect/api.go @@ -302,6 +302,125 @@ func (c *QConnect) CreateContentWithContext(ctx aws.Context, input *CreateConten return out, req.Send() } +const opCreateContentAssociation = "CreateContentAssociation" + +// CreateContentAssociationRequest generates a "aws/request.Request" representing the +// client's request for the CreateContentAssociation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateContentAssociation for more information on using the CreateContentAssociation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateContentAssociationRequest method. +// req, resp := client.CreateContentAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/CreateContentAssociation +func (c *QConnect) CreateContentAssociationRequest(input *CreateContentAssociationInput) (req *request.Request, output *CreateContentAssociationOutput) { + op := &request.Operation{ + Name: opCreateContentAssociation, + HTTPMethod: "POST", + HTTPPath: "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", + } + + if input == nil { + input = &CreateContentAssociationInput{} + } + + output = &CreateContentAssociationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateContentAssociation API operation for Amazon Q Connect. +// +// Creates an association between a content resource in a knowledge base and +// step-by-step guides (https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html). +// Step-by-step guides offer instructions to agents for resolving common customer +// issues. You create a content association to integrate Amazon Q in Connect +// and step-by-step guides. +// +// After you integrate Amazon Q and step-by-step guides, when Amazon Q provides +// a recommendation to an agent based on the intent that it's detected, it also +// provides them with the option to start the step-by-step guide that you have +// associated with the content. +// +// Note the following limitations: +// +// - You can create only one content association for each content resource +// in a knowledge base. +// +// - You can associate a step-by-step guide with multiple content resources. +// +// For more information, see Integrate Amazon Q in Connect with step-by-step +// guides (https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) +// in the Amazon Connect Administrator Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Q Connect's +// API operation CreateContentAssociation for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. For example, if you're using a Create API (such as CreateAssistant) +// that accepts name, a conflicting resource (usually with the same name) is +// being created or mutated. +// +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - ServiceQuotaExceededException +// You've exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use service quotas to request a service +// quota increase. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/CreateContentAssociation +func (c *QConnect) CreateContentAssociation(input *CreateContentAssociationInput) (*CreateContentAssociationOutput, error) { + req, out := c.CreateContentAssociationRequest(input) + return out, req.Send() +} + +// CreateContentAssociationWithContext is the same as CreateContentAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See CreateContentAssociation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QConnect) CreateContentAssociationWithContext(ctx aws.Context, input *CreateContentAssociationInput, opts ...request.Option) (*CreateContentAssociationOutput, error) { + req, out := c.CreateContentAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateKnowledgeBase = "CreateKnowledgeBase" // CreateKnowledgeBaseRequest generates a "aws/request.Request" representing the @@ -859,6 +978,96 @@ func (c *QConnect) DeleteContentWithContext(ctx aws.Context, input *DeleteConten return out, req.Send() } +const opDeleteContentAssociation = "DeleteContentAssociation" + +// DeleteContentAssociationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteContentAssociation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteContentAssociation for more information on using the DeleteContentAssociation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteContentAssociationRequest method. +// req, resp := client.DeleteContentAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DeleteContentAssociation +func (c *QConnect) DeleteContentAssociationRequest(input *DeleteContentAssociationInput) (req *request.Request, output *DeleteContentAssociationOutput) { + op := &request.Operation{ + Name: opDeleteContentAssociation, + HTTPMethod: "DELETE", + HTTPPath: "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", + } + + if input == nil { + input = &DeleteContentAssociationInput{} + } + + output = &DeleteContentAssociationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteContentAssociation API operation for Amazon Q Connect. +// +// Deletes the content association. +// +// For more information about content associations--what they are and when they +// are used--see Integrate Amazon Q in Connect with step-by-step guides (https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) +// in the Amazon Connect Administrator Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Q Connect's +// API operation DeleteContentAssociation for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DeleteContentAssociation +func (c *QConnect) DeleteContentAssociation(input *DeleteContentAssociationInput) (*DeleteContentAssociationOutput, error) { + req, out := c.DeleteContentAssociationRequest(input) + return out, req.Send() +} + +// DeleteContentAssociationWithContext is the same as DeleteContentAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteContentAssociation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QConnect) DeleteContentAssociationWithContext(ctx aws.Context, input *DeleteContentAssociationInput, opts ...request.Option) (*DeleteContentAssociationOutput, error) { + req, out := c.DeleteContentAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteImportJob = "DeleteImportJob" // DeleteImportJobRequest generates a "aws/request.Request" representing the @@ -1392,6 +1601,95 @@ func (c *QConnect) GetContentWithContext(ctx aws.Context, input *GetContentInput return out, req.Send() } +const opGetContentAssociation = "GetContentAssociation" + +// GetContentAssociationRequest generates a "aws/request.Request" representing the +// client's request for the GetContentAssociation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetContentAssociation for more information on using the GetContentAssociation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetContentAssociationRequest method. +// req, resp := client.GetContentAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/GetContentAssociation +func (c *QConnect) GetContentAssociationRequest(input *GetContentAssociationInput) (req *request.Request, output *GetContentAssociationOutput) { + op := &request.Operation{ + Name: opGetContentAssociation, + HTTPMethod: "GET", + HTTPPath: "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", + } + + if input == nil { + input = &GetContentAssociationInput{} + } + + output = &GetContentAssociationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetContentAssociation API operation for Amazon Q Connect. +// +// Returns the content association. +// +// For more information about content associations--what they are and when they +// are used--see Integrate Amazon Q in Connect with step-by-step guides (https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) +// in the Amazon Connect Administrator Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Q Connect's +// API operation GetContentAssociation for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/GetContentAssociation +func (c *QConnect) GetContentAssociation(input *GetContentAssociationInput) (*GetContentAssociationOutput, error) { + req, out := c.GetContentAssociationRequest(input) + return out, req.Send() +} + +// GetContentAssociationWithContext is the same as GetContentAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See GetContentAssociation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QConnect) GetContentAssociationWithContext(ctx aws.Context, input *GetContentAssociationInput, opts ...request.Option) (*GetContentAssociationOutput, error) { + req, out := c.GetContentAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetContentSummary = "GetContentSummary" // GetContentSummaryRequest generates a "aws/request.Request" representing the @@ -2203,36 +2501,36 @@ func (c *QConnect) ListAssistantsPagesWithContext(ctx aws.Context, input *ListAs return p.Err() } -const opListContents = "ListContents" +const opListContentAssociations = "ListContentAssociations" -// ListContentsRequest generates a "aws/request.Request" representing the -// client's request for the ListContents operation. The "output" return +// ListContentAssociationsRequest generates a "aws/request.Request" representing the +// client's request for the ListContentAssociations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListContents for more information on using the ListContents +// See ListContentAssociations for more information on using the ListContentAssociations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListContentsRequest method. -// req, resp := client.ListContentsRequest(params) +// // Example sending a request using the ListContentAssociationsRequest method. +// req, resp := client.ListContentAssociationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContents -func (c *QConnect) ListContentsRequest(input *ListContentsInput) (req *request.Request, output *ListContentsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContentAssociations +func (c *QConnect) ListContentAssociationsRequest(input *ListContentAssociationsInput) (req *request.Request, output *ListContentAssociationsOutput) { op := &request.Operation{ - Name: opListContents, + Name: opListContentAssociations, HTTPMethod: "GET", - HTTPPath: "/knowledgeBases/{knowledgeBaseId}/contents", + HTTPPath: "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -2242,24 +2540,28 @@ func (c *QConnect) ListContentsRequest(input *ListContentsInput) (req *request.R } if input == nil { - input = &ListContentsInput{} + input = &ListContentAssociationsInput{} } - output = &ListContentsOutput{} + output = &ListContentAssociationsOutput{} req = c.newRequest(op, input, output) return } -// ListContents API operation for Amazon Q Connect. +// ListContentAssociations API operation for Amazon Q Connect. // -// Lists the content. +// Lists the content associations. +// +// For more information about content associations--what they are and when they +// are used--see Integrate Amazon Q in Connect with step-by-step guides (https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html) +// in the Amazon Connect Administrator Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Q Connect's -// API operation ListContents for usage and error information. +// API operation ListContentAssociations for usage and error information. // // Returned Error Types: // @@ -2272,64 +2574,64 @@ func (c *QConnect) ListContentsRequest(input *ListContentsInput) (req *request.R // - ResourceNotFoundException // The specified resource does not exist. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContents -func (c *QConnect) ListContents(input *ListContentsInput) (*ListContentsOutput, error) { - req, out := c.ListContentsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContentAssociations +func (c *QConnect) ListContentAssociations(input *ListContentAssociationsInput) (*ListContentAssociationsOutput, error) { + req, out := c.ListContentAssociationsRequest(input) return out, req.Send() } -// ListContentsWithContext is the same as ListContents with the addition of +// ListContentAssociationsWithContext is the same as ListContentAssociations with the addition of // the ability to pass a context and additional request options. // -// See ListContents for details on how to use this API operation. +// See ListContentAssociations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *QConnect) ListContentsWithContext(ctx aws.Context, input *ListContentsInput, opts ...request.Option) (*ListContentsOutput, error) { - req, out := c.ListContentsRequest(input) +func (c *QConnect) ListContentAssociationsWithContext(ctx aws.Context, input *ListContentAssociationsInput, opts ...request.Option) (*ListContentAssociationsOutput, error) { + req, out := c.ListContentAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListContentsPages iterates over the pages of a ListContents operation, +// ListContentAssociationsPages iterates over the pages of a ListContentAssociations operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListContents method for more information on how to use this operation. +// See ListContentAssociations method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContents operation. +// // Example iterating over at most 3 pages of a ListContentAssociations operation. // pageNum := 0 -// err := client.ListContentsPages(params, -// func(page *qconnect.ListContentsOutput, lastPage bool) bool { +// err := client.ListContentAssociationsPages(params, +// func(page *qconnect.ListContentAssociationsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *QConnect) ListContentsPages(input *ListContentsInput, fn func(*ListContentsOutput, bool) bool) error { - return c.ListContentsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *QConnect) ListContentAssociationsPages(input *ListContentAssociationsInput, fn func(*ListContentAssociationsOutput, bool) bool) error { + return c.ListContentAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListContentsPagesWithContext same as ListContentsPages except +// ListContentAssociationsPagesWithContext same as ListContentAssociationsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *QConnect) ListContentsPagesWithContext(ctx aws.Context, input *ListContentsInput, fn func(*ListContentsOutput, bool) bool, opts ...request.Option) error { +func (c *QConnect) ListContentAssociationsPagesWithContext(ctx aws.Context, input *ListContentAssociationsInput, fn func(*ListContentAssociationsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListContentsInput + var inCpy *ListContentAssociationsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListContentsRequest(inCpy) + req, _ := c.ListContentAssociationsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -2337,7 +2639,7 @@ func (c *QConnect) ListContentsPagesWithContext(ctx aws.Context, input *ListCont } for p.Next() { - if !fn(p.Page().(*ListContentsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListContentAssociationsOutput), !p.HasNextPage()) { break } } @@ -2345,24 +2647,166 @@ func (c *QConnect) ListContentsPagesWithContext(ctx aws.Context, input *ListCont return p.Err() } -const opListImportJobs = "ListImportJobs" +const opListContents = "ListContents" -// ListImportJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListImportJobs operation. The "output" return +// ListContentsRequest generates a "aws/request.Request" representing the +// client's request for the ListContents operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListImportJobs for more information on using the ListImportJobs +// See ListContents for more information on using the ListContents // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListImportJobsRequest method. -// req, resp := client.ListImportJobsRequest(params) +// // Example sending a request using the ListContentsRequest method. +// req, resp := client.ListContentsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContents +func (c *QConnect) ListContentsRequest(input *ListContentsInput) (req *request.Request, output *ListContentsOutput) { + op := &request.Operation{ + Name: opListContents, + HTTPMethod: "GET", + HTTPPath: "/knowledgeBases/{knowledgeBaseId}/contents", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListContentsInput{} + } + + output = &ListContentsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListContents API operation for Amazon Q Connect. +// +// Lists the content. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Q Connect's +// API operation ListContents for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListContents +func (c *QConnect) ListContents(input *ListContentsInput) (*ListContentsOutput, error) { + req, out := c.ListContentsRequest(input) + return out, req.Send() +} + +// ListContentsWithContext is the same as ListContents with the addition of +// the ability to pass a context and additional request options. +// +// See ListContents for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QConnect) ListContentsWithContext(ctx aws.Context, input *ListContentsInput, opts ...request.Option) (*ListContentsOutput, error) { + req, out := c.ListContentsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListContentsPages iterates over the pages of a ListContents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListContents method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListContents operation. +// pageNum := 0 +// err := client.ListContentsPages(params, +// func(page *qconnect.ListContentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *QConnect) ListContentsPages(input *ListContentsInput, fn func(*ListContentsOutput, bool) bool) error { + return c.ListContentsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListContentsPagesWithContext same as ListContentsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *QConnect) ListContentsPagesWithContext(ctx aws.Context, input *ListContentsInput, fn func(*ListContentsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListContentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListContentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListContentsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListImportJobs = "ListImportJobs" + +// ListImportJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListImportJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListImportJobs for more information on using the ListImportJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListImportJobsRequest method. +// req, resp := client.ListImportJobsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled @@ -4485,6 +4929,52 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Content association data for a step-by-step guide (https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html). +type AmazonConnectGuideAssociationData struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides + // are a type of flow. + FlowId *string `locationName:"flowId" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AmazonConnectGuideAssociationData) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AmazonConnectGuideAssociationData) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AmazonConnectGuideAssociationData) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AmazonConnectGuideAssociationData"} + if s.FlowId != nil && len(*s.FlowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FlowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFlowId sets the FlowId field's value. +func (s *AmazonConnectGuideAssociationData) SetFlowId(v string) *AmazonConnectGuideAssociationData { + s.FlowId = &v + return s +} + // Configuration information for Amazon AppIntegrations to automatically ingest // content. type AppIntegrationsConfiguration struct { @@ -5343,25 +5833,88 @@ func (s *ConnectConfiguration) SetInstanceId(v string) *ConnectConfiguration { return s } -// Information about the content. -type ContentData struct { +// The contents of a content association. +type ContentAssociationContents struct { + _ struct{} `type:"structure"` + + // The data of the step-by-step guide association. + AmazonConnectGuideAssociation *AmazonConnectGuideAssociationData `locationName:"amazonConnectGuideAssociation" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContentAssociationContents) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContentAssociationContents) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ContentAssociationContents) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContentAssociationContents"} + if s.AmazonConnectGuideAssociation != nil { + if err := s.AmazonConnectGuideAssociation.Validate(); err != nil { + invalidParams.AddNested("AmazonConnectGuideAssociation", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAmazonConnectGuideAssociation sets the AmazonConnectGuideAssociation field's value. +func (s *ContentAssociationContents) SetAmazonConnectGuideAssociation(v *AmazonConnectGuideAssociationData) *ContentAssociationContents { + s.AmazonConnectGuideAssociation = v + return s +} + +// Information about the content association. +type ContentAssociationData struct { _ struct{} `type:"structure"` + // The content association. + // + // AssociationData is a required field + AssociationData *ContentAssociationContents `locationName:"associationData" type:"structure" required:"true"` + + // The type of association. + // + // AssociationType is a required field + AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"ContentAssociationType"` + // The Amazon Resource Name (ARN) of the content. // // ContentArn is a required field ContentArn *string `locationName:"contentArn" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the content association. + // + // ContentAssociationArn is a required field + ContentAssociationArn *string `locationName:"contentAssociationArn" type:"string" required:"true"` + + // The identifier of the content association. Can be either the ID or the ARN. + // URLs cannot contain the ARN. + // + // ContentAssociationId is a required field + ContentAssociationId *string `locationName:"contentAssociationId" type:"string" required:"true"` + // The identifier of the content. // // ContentId is a required field ContentId *string `locationName:"contentId" type:"string" required:"true"` - // The media type of the content. - // - // ContentType is a required field - ContentType *string `locationName:"contentType" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of the knowledge base. // // KnowledgeBaseArn is a required field @@ -5372,38 +5925,264 @@ type ContentData struct { // KnowledgeBaseId is a required field KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` - // The URI of the content. - LinkOutUri *string `locationName:"linkOutUri" min:"1" type:"string"` - - // A key/value map to store attributes without affecting tagging or recommendations. - // For example, when synchronizing data between an external system and Amazon - // Q in Connect, you can store an external version identifier as metadata to - // utilize for determining drift. - // - // Metadata is a required field - Metadata map[string]*string `locationName:"metadata" type:"map" required:"true"` - - // The name of the content. - // - // Name is a required field - Name *string `locationName:"name" min:"1" type:"string" required:"true"` - - // The identifier of the content revision. - // - // RevisionId is a required field - RevisionId *string `locationName:"revisionId" min:"1" type:"string" required:"true"` - - // The status of the content. - // - // Status is a required field - Status *string `locationName:"status" type:"string" required:"true" enum:"ContentStatus"` - // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` +} - // The title of the content. - // - // Title is a required field +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContentAssociationData) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContentAssociationData) GoString() string { + return s.String() +} + +// SetAssociationData sets the AssociationData field's value. +func (s *ContentAssociationData) SetAssociationData(v *ContentAssociationContents) *ContentAssociationData { + s.AssociationData = v + return s +} + +// SetAssociationType sets the AssociationType field's value. +func (s *ContentAssociationData) SetAssociationType(v string) *ContentAssociationData { + s.AssociationType = &v + return s +} + +// SetContentArn sets the ContentArn field's value. +func (s *ContentAssociationData) SetContentArn(v string) *ContentAssociationData { + s.ContentArn = &v + return s +} + +// SetContentAssociationArn sets the ContentAssociationArn field's value. +func (s *ContentAssociationData) SetContentAssociationArn(v string) *ContentAssociationData { + s.ContentAssociationArn = &v + return s +} + +// SetContentAssociationId sets the ContentAssociationId field's value. +func (s *ContentAssociationData) SetContentAssociationId(v string) *ContentAssociationData { + s.ContentAssociationId = &v + return s +} + +// SetContentId sets the ContentId field's value. +func (s *ContentAssociationData) SetContentId(v string) *ContentAssociationData { + s.ContentId = &v + return s +} + +// SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value. +func (s *ContentAssociationData) SetKnowledgeBaseArn(v string) *ContentAssociationData { + s.KnowledgeBaseArn = &v + return s +} + +// SetKnowledgeBaseId sets the KnowledgeBaseId field's value. +func (s *ContentAssociationData) SetKnowledgeBaseId(v string) *ContentAssociationData { + s.KnowledgeBaseId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ContentAssociationData) SetTags(v map[string]*string) *ContentAssociationData { + s.Tags = v + return s +} + +// Summary information about a content association. +type ContentAssociationSummary struct { + _ struct{} `type:"structure"` + + // The content association. + // + // AssociationData is a required field + AssociationData *ContentAssociationContents `locationName:"associationData" type:"structure" required:"true"` + + // The type of association. + // + // AssociationType is a required field + AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"ContentAssociationType"` + + // The Amazon Resource Name (ARN) of the content. + // + // ContentArn is a required field + ContentArn *string `locationName:"contentArn" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the content association. + // + // ContentAssociationArn is a required field + ContentAssociationArn *string `locationName:"contentAssociationArn" type:"string" required:"true"` + + // The identifier of the content association. Can be either the ID or the ARN. + // URLs cannot contain the ARN. + // + // ContentAssociationId is a required field + ContentAssociationId *string `locationName:"contentAssociationId" type:"string" required:"true"` + + // The identifier of the content. + // + // ContentId is a required field + ContentId *string `locationName:"contentId" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the knowledge base. + // + // KnowledgeBaseArn is a required field + KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string" required:"true"` + + // The identifier of the knowledge base. + // + // KnowledgeBaseId is a required field + KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContentAssociationSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ContentAssociationSummary) GoString() string { + return s.String() +} + +// SetAssociationData sets the AssociationData field's value. +func (s *ContentAssociationSummary) SetAssociationData(v *ContentAssociationContents) *ContentAssociationSummary { + s.AssociationData = v + return s +} + +// SetAssociationType sets the AssociationType field's value. +func (s *ContentAssociationSummary) SetAssociationType(v string) *ContentAssociationSummary { + s.AssociationType = &v + return s +} + +// SetContentArn sets the ContentArn field's value. +func (s *ContentAssociationSummary) SetContentArn(v string) *ContentAssociationSummary { + s.ContentArn = &v + return s +} + +// SetContentAssociationArn sets the ContentAssociationArn field's value. +func (s *ContentAssociationSummary) SetContentAssociationArn(v string) *ContentAssociationSummary { + s.ContentAssociationArn = &v + return s +} + +// SetContentAssociationId sets the ContentAssociationId field's value. +func (s *ContentAssociationSummary) SetContentAssociationId(v string) *ContentAssociationSummary { + s.ContentAssociationId = &v + return s +} + +// SetContentId sets the ContentId field's value. +func (s *ContentAssociationSummary) SetContentId(v string) *ContentAssociationSummary { + s.ContentId = &v + return s +} + +// SetKnowledgeBaseArn sets the KnowledgeBaseArn field's value. +func (s *ContentAssociationSummary) SetKnowledgeBaseArn(v string) *ContentAssociationSummary { + s.KnowledgeBaseArn = &v + return s +} + +// SetKnowledgeBaseId sets the KnowledgeBaseId field's value. +func (s *ContentAssociationSummary) SetKnowledgeBaseId(v string) *ContentAssociationSummary { + s.KnowledgeBaseId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ContentAssociationSummary) SetTags(v map[string]*string) *ContentAssociationSummary { + s.Tags = v + return s +} + +// Information about the content. +type ContentData struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the content. + // + // ContentArn is a required field + ContentArn *string `locationName:"contentArn" type:"string" required:"true"` + + // The identifier of the content. + // + // ContentId is a required field + ContentId *string `locationName:"contentId" type:"string" required:"true"` + + // The media type of the content. + // + // ContentType is a required field + ContentType *string `locationName:"contentType" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the knowledge base. + // + // KnowledgeBaseArn is a required field + KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string" required:"true"` + + // The identifier of the knowledge base. + // + // KnowledgeBaseId is a required field + KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` + + // The URI of the content. + LinkOutUri *string `locationName:"linkOutUri" min:"1" type:"string"` + + // A key/value map to store attributes without affecting tagging or recommendations. + // For example, when synchronizing data between an external system and Amazon + // Q in Connect, you can store an external version identifier as metadata to + // utilize for determining drift. + // + // Metadata is a required field + Metadata map[string]*string `locationName:"metadata" type:"map" required:"true"` + + // The name of the content. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The identifier of the content revision. + // + // RevisionId is a required field + RevisionId *string `locationName:"revisionId" min:"1" type:"string" required:"true"` + + // The status of the content. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ContentStatus"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The title of the content. + // + // Title is a required field Title *string `locationName:"title" min:"1" type:"string" required:"true"` // The URL of the content. @@ -5973,23 +6752,171 @@ type CreateAssistantInput struct { // The configuration information for the customer managed key used for encryption. // - // The customer managed key must have a policy that allows kms:CreateGrant, - // kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the - // IAM identity using the key to invoke Amazon Q in Connect. To use Amazon Q - // in Connect with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, - // and kms:DescribeKey permissions to the connect.amazonaws.com service principal. + // The customer managed key must have a policy that allows kms:CreateGrant, + // kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the + // IAM identity using the key to invoke Amazon Q in Connect. To use Amazon Q + // in Connect with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, + // and kms:DescribeKey permissions to the connect.amazonaws.com service principal. + // + // For more information about setting up a customer managed key for Amazon Q + // in Connect, see Enable Amazon Q in Connect for your instance (https://docs.aws.amazon.com/connect/latest/adminguide/enable-q.html). + ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The type of assistant. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"AssistantType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAssistantInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAssistantInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAssistantInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAssistantInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.ServerSideEncryptionConfiguration != nil { + if err := s.ServerSideEncryptionConfiguration.Validate(); err != nil { + invalidParams.AddNested("ServerSideEncryptionConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateAssistantInput) SetClientToken(v string) *CreateAssistantInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateAssistantInput) SetDescription(v string) *CreateAssistantInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateAssistantInput) SetName(v string) *CreateAssistantInput { + s.Name = &v + return s +} + +// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value. +func (s *CreateAssistantInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *CreateAssistantInput { + s.ServerSideEncryptionConfiguration = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateAssistantInput) SetTags(v map[string]*string) *CreateAssistantInput { + s.Tags = v + return s +} + +// SetType sets the Type field's value. +func (s *CreateAssistantInput) SetType(v string) *CreateAssistantInput { + s.Type = &v + return s +} + +type CreateAssistantOutput struct { + _ struct{} `type:"structure"` + + // Information about the assistant. + Assistant *AssistantData `locationName:"assistant" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAssistantOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAssistantOutput) GoString() string { + return s.String() +} + +// SetAssistant sets the Assistant field's value. +func (s *CreateAssistantOutput) SetAssistant(v *AssistantData) *CreateAssistantOutput { + s.Assistant = v + return s +} + +type CreateContentAssociationInput struct { + _ struct{} `type:"structure"` + + // The identifier of the associated resource. + // + // Association is a required field + Association *ContentAssociationContents `locationName:"association" type:"structure" required:"true"` + + // The type of association. + // + // AssociationType is a required field + AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"ContentAssociationType"` + + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. If not provided, the Amazon Web Services SDK populates this + // field. For more information about idempotency, see Making retries safe with + // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + + // The identifier of the content. + // + // ContentId is a required field + ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` + + // The identifier of the knowledge base. // - // For more information about setting up a customer managed key for Amazon Q - // in Connect, see Enable Amazon Q in Connect for your instance (https://docs.aws.amazon.com/connect/latest/adminguide/enable-q.html). - ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `locationName:"serverSideEncryptionConfiguration" type:"structure"` + // KnowledgeBaseId is a required field + KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` - - // The type of assistant. - // - // Type is a required field - Type *string `locationName:"type" type:"string" required:"true" enum:"AssistantType"` } // String returns the string representation. @@ -5997,7 +6924,7 @@ type CreateAssistantInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateAssistantInput) String() string { +func (s CreateContentAssociationInput) String() string { return awsutil.Prettify(s) } @@ -6006,31 +6933,37 @@ func (s CreateAssistantInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateAssistantInput) GoString() string { +func (s CreateContentAssociationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateAssistantInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateAssistantInput"} +func (s *CreateContentAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateContentAssociationInput"} + if s.Association == nil { + invalidParams.Add(request.NewErrParamRequired("Association")) + } + if s.AssociationType == nil { + invalidParams.Add(request.NewErrParamRequired("AssociationType")) + } if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } - if s.Description != nil && len(*s.Description) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + if s.ContentId == nil { + invalidParams.Add(request.NewErrParamRequired("ContentId")) } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) + if s.ContentId != nil && len(*s.ContentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContentId", 1)) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.KnowledgeBaseId == nil { + invalidParams.Add(request.NewErrParamRequired("KnowledgeBaseId")) } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) + if s.KnowledgeBaseId != nil && len(*s.KnowledgeBaseId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KnowledgeBaseId", 1)) } - if s.ServerSideEncryptionConfiguration != nil { - if err := s.ServerSideEncryptionConfiguration.Validate(); err != nil { - invalidParams.AddNested("ServerSideEncryptionConfiguration", err.(request.ErrInvalidParams)) + if s.Association != nil { + if err := s.Association.Validate(); err != nil { + invalidParams.AddNested("Association", err.(request.ErrInvalidParams)) } } @@ -6040,47 +6973,47 @@ func (s *CreateAssistantInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateAssistantInput) SetClientToken(v string) *CreateAssistantInput { - s.ClientToken = &v +// SetAssociation sets the Association field's value. +func (s *CreateContentAssociationInput) SetAssociation(v *ContentAssociationContents) *CreateContentAssociationInput { + s.Association = v return s } -// SetDescription sets the Description field's value. -func (s *CreateAssistantInput) SetDescription(v string) *CreateAssistantInput { - s.Description = &v +// SetAssociationType sets the AssociationType field's value. +func (s *CreateContentAssociationInput) SetAssociationType(v string) *CreateContentAssociationInput { + s.AssociationType = &v return s } -// SetName sets the Name field's value. -func (s *CreateAssistantInput) SetName(v string) *CreateAssistantInput { - s.Name = &v +// SetClientToken sets the ClientToken field's value. +func (s *CreateContentAssociationInput) SetClientToken(v string) *CreateContentAssociationInput { + s.ClientToken = &v return s } -// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value. -func (s *CreateAssistantInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *CreateAssistantInput { - s.ServerSideEncryptionConfiguration = v +// SetContentId sets the ContentId field's value. +func (s *CreateContentAssociationInput) SetContentId(v string) *CreateContentAssociationInput { + s.ContentId = &v return s } -// SetTags sets the Tags field's value. -func (s *CreateAssistantInput) SetTags(v map[string]*string) *CreateAssistantInput { - s.Tags = v +// SetKnowledgeBaseId sets the KnowledgeBaseId field's value. +func (s *CreateContentAssociationInput) SetKnowledgeBaseId(v string) *CreateContentAssociationInput { + s.KnowledgeBaseId = &v return s } -// SetType sets the Type field's value. -func (s *CreateAssistantInput) SetType(v string) *CreateAssistantInput { - s.Type = &v +// SetTags sets the Tags field's value. +func (s *CreateContentAssociationInput) SetTags(v map[string]*string) *CreateContentAssociationInput { + s.Tags = v return s } -type CreateAssistantOutput struct { +type CreateContentAssociationOutput struct { _ struct{} `type:"structure"` - // Information about the assistant. - Assistant *AssistantData `locationName:"assistant" type:"structure"` + // The association between Amazon Q in Connect content and another resource. + ContentAssociation *ContentAssociationData `locationName:"contentAssociation" type:"structure"` } // String returns the string representation. @@ -6088,7 +7021,7 @@ type CreateAssistantOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateAssistantOutput) String() string { +func (s CreateContentAssociationOutput) String() string { return awsutil.Prettify(s) } @@ -6097,13 +7030,13 @@ func (s CreateAssistantOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateAssistantOutput) GoString() string { +func (s CreateContentAssociationOutput) GoString() string { return s.String() } -// SetAssistant sets the Assistant field's value. -func (s *CreateAssistantOutput) SetAssistant(v *AssistantData) *CreateAssistantOutput { - s.Assistant = v +// SetContentAssociation sets the ContentAssociation field's value. +func (s *CreateContentAssociationOutput) SetContentAssociation(v *ContentAssociationData) *CreateContentAssociationOutput { + s.ContentAssociation = v return s } @@ -7144,6 +8077,112 @@ func (s DeleteAssistantOutput) GoString() string { return s.String() } +type DeleteContentAssociationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the content association. Can be either the ID or the ARN. + // URLs cannot contain the ARN. + // + // ContentAssociationId is a required field + ContentAssociationId *string `location:"uri" locationName:"contentAssociationId" type:"string" required:"true"` + + // The identifier of the content. + // + // ContentId is a required field + ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` + + // The identifier of the knowledge base. + // + // KnowledgeBaseId is a required field + KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteContentAssociationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteContentAssociationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteContentAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteContentAssociationInput"} + if s.ContentAssociationId == nil { + invalidParams.Add(request.NewErrParamRequired("ContentAssociationId")) + } + if s.ContentAssociationId != nil && len(*s.ContentAssociationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContentAssociationId", 1)) + } + if s.ContentId == nil { + invalidParams.Add(request.NewErrParamRequired("ContentId")) + } + if s.ContentId != nil && len(*s.ContentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContentId", 1)) + } + if s.KnowledgeBaseId == nil { + invalidParams.Add(request.NewErrParamRequired("KnowledgeBaseId")) + } + if s.KnowledgeBaseId != nil && len(*s.KnowledgeBaseId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KnowledgeBaseId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContentAssociationId sets the ContentAssociationId field's value. +func (s *DeleteContentAssociationInput) SetContentAssociationId(v string) *DeleteContentAssociationInput { + s.ContentAssociationId = &v + return s +} + +// SetContentId sets the ContentId field's value. +func (s *DeleteContentAssociationInput) SetContentId(v string) *DeleteContentAssociationInput { + s.ContentId = &v + return s +} + +// SetKnowledgeBaseId sets the KnowledgeBaseId field's value. +func (s *DeleteContentAssociationInput) SetKnowledgeBaseId(v string) *DeleteContentAssociationInput { + s.KnowledgeBaseId = &v + return s +} + +type DeleteContentAssociationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteContentAssociationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteContentAssociationOutput) GoString() string { + return s.String() +} + type DeleteContentInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -7928,23 +8967,104 @@ func (s *GetAssistantAssociationInput) Validate() error { return nil } -// SetAssistantAssociationId sets the AssistantAssociationId field's value. -func (s *GetAssistantAssociationInput) SetAssistantAssociationId(v string) *GetAssistantAssociationInput { - s.AssistantAssociationId = &v - return s -} - +// SetAssistantAssociationId sets the AssistantAssociationId field's value. +func (s *GetAssistantAssociationInput) SetAssistantAssociationId(v string) *GetAssistantAssociationInput { + s.AssistantAssociationId = &v + return s +} + +// SetAssistantId sets the AssistantId field's value. +func (s *GetAssistantAssociationInput) SetAssistantId(v string) *GetAssistantAssociationInput { + s.AssistantId = &v + return s +} + +type GetAssistantAssociationOutput struct { + _ struct{} `type:"structure"` + + // The assistant association. + AssistantAssociation *AssistantAssociationData `locationName:"assistantAssociation" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAssistantAssociationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAssistantAssociationOutput) GoString() string { + return s.String() +} + +// SetAssistantAssociation sets the AssistantAssociation field's value. +func (s *GetAssistantAssociationOutput) SetAssistantAssociation(v *AssistantAssociationData) *GetAssistantAssociationOutput { + s.AssistantAssociation = v + return s +} + +type GetAssistantInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the Amazon Q in Connect assistant. Can be either the ID + // or the ARN. URLs cannot contain the ARN. + // + // AssistantId is a required field + AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAssistantInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAssistantInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAssistantInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAssistantInput"} + if s.AssistantId == nil { + invalidParams.Add(request.NewErrParamRequired("AssistantId")) + } + if s.AssistantId != nil && len(*s.AssistantId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssistantId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetAssistantId sets the AssistantId field's value. -func (s *GetAssistantAssociationInput) SetAssistantId(v string) *GetAssistantAssociationInput { +func (s *GetAssistantInput) SetAssistantId(v string) *GetAssistantInput { s.AssistantId = &v return s } -type GetAssistantAssociationOutput struct { +type GetAssistantOutput struct { _ struct{} `type:"structure"` - // The assistant association. - AssistantAssociation *AssistantAssociationData `locationName:"assistantAssociation" type:"structure"` + // Information about the assistant. + Assistant *AssistantData `locationName:"assistant" type:"structure"` } // String returns the string representation. @@ -7952,7 +9072,7 @@ type GetAssistantAssociationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAssistantAssociationOutput) String() string { +func (s GetAssistantOutput) String() string { return awsutil.Prettify(s) } @@ -7961,24 +9081,34 @@ func (s GetAssistantAssociationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAssistantAssociationOutput) GoString() string { +func (s GetAssistantOutput) GoString() string { return s.String() } -// SetAssistantAssociation sets the AssistantAssociation field's value. -func (s *GetAssistantAssociationOutput) SetAssistantAssociation(v *AssistantAssociationData) *GetAssistantAssociationOutput { - s.AssistantAssociation = v +// SetAssistant sets the Assistant field's value. +func (s *GetAssistantOutput) SetAssistant(v *AssistantData) *GetAssistantOutput { + s.Assistant = v return s } -type GetAssistantInput struct { +type GetContentAssociationInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The identifier of the Amazon Q in Connect assistant. Can be either the ID - // or the ARN. URLs cannot contain the ARN. + // The identifier of the content association. Can be either the ID or the ARN. + // URLs cannot contain the ARN. // - // AssistantId is a required field - AssistantId *string `location:"uri" locationName:"assistantId" type:"string" required:"true"` + // ContentAssociationId is a required field + ContentAssociationId *string `location:"uri" locationName:"contentAssociationId" type:"string" required:"true"` + + // The identifier of the content. + // + // ContentId is a required field + ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` + + // The identifier of the knowledge base. + // + // KnowledgeBaseId is a required field + KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` } // String returns the string representation. @@ -7986,7 +9116,7 @@ type GetAssistantInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAssistantInput) String() string { +func (s GetContentAssociationInput) String() string { return awsutil.Prettify(s) } @@ -7995,18 +9125,30 @@ func (s GetAssistantInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAssistantInput) GoString() string { +func (s GetContentAssociationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetAssistantInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetAssistantInput"} - if s.AssistantId == nil { - invalidParams.Add(request.NewErrParamRequired("AssistantId")) +func (s *GetContentAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetContentAssociationInput"} + if s.ContentAssociationId == nil { + invalidParams.Add(request.NewErrParamRequired("ContentAssociationId")) } - if s.AssistantId != nil && len(*s.AssistantId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AssistantId", 1)) + if s.ContentAssociationId != nil && len(*s.ContentAssociationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContentAssociationId", 1)) + } + if s.ContentId == nil { + invalidParams.Add(request.NewErrParamRequired("ContentId")) + } + if s.ContentId != nil && len(*s.ContentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContentId", 1)) + } + if s.KnowledgeBaseId == nil { + invalidParams.Add(request.NewErrParamRequired("KnowledgeBaseId")) + } + if s.KnowledgeBaseId != nil && len(*s.KnowledgeBaseId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KnowledgeBaseId", 1)) } if invalidParams.Len() > 0 { @@ -8015,17 +9157,29 @@ func (s *GetAssistantInput) Validate() error { return nil } -// SetAssistantId sets the AssistantId field's value. -func (s *GetAssistantInput) SetAssistantId(v string) *GetAssistantInput { - s.AssistantId = &v +// SetContentAssociationId sets the ContentAssociationId field's value. +func (s *GetContentAssociationInput) SetContentAssociationId(v string) *GetContentAssociationInput { + s.ContentAssociationId = &v return s } -type GetAssistantOutput struct { +// SetContentId sets the ContentId field's value. +func (s *GetContentAssociationInput) SetContentId(v string) *GetContentAssociationInput { + s.ContentId = &v + return s +} + +// SetKnowledgeBaseId sets the KnowledgeBaseId field's value. +func (s *GetContentAssociationInput) SetKnowledgeBaseId(v string) *GetContentAssociationInput { + s.KnowledgeBaseId = &v + return s +} + +type GetContentAssociationOutput struct { _ struct{} `type:"structure"` - // Information about the assistant. - Assistant *AssistantData `locationName:"assistant" type:"structure"` + // The association between Amazon Q in Connect content and another resource. + ContentAssociation *ContentAssociationData `locationName:"contentAssociation" type:"structure"` } // String returns the string representation. @@ -8033,7 +9187,7 @@ type GetAssistantOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAssistantOutput) String() string { +func (s GetContentAssociationOutput) String() string { return awsutil.Prettify(s) } @@ -8042,13 +9196,13 @@ func (s GetAssistantOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAssistantOutput) GoString() string { +func (s GetContentAssociationOutput) GoString() string { return s.String() } -// SetAssistant sets the Assistant field's value. -func (s *GetAssistantOutput) SetAssistant(v *AssistantData) *GetAssistantOutput { - s.Assistant = v +// SetContentAssociation sets the ContentAssociation field's value. +func (s *GetContentAssociationOutput) SetContentAssociation(v *ContentAssociationData) *GetContentAssociationOutput { + s.ContentAssociation = v return s } @@ -8884,7 +10038,7 @@ type ImportJobData struct { // The configuration information of the external data source. ExternalSourceConfiguration *ExternalSourceConfiguration `locationName:"externalSourceConfiguration" type:"structure"` - // The link to donwload the information of resource data that failed to be imported. + // The link to download the information of resource data that failed to be imported. // // FailedRecordReport is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ImportJobData's @@ -9700,6 +10854,139 @@ func (s *ListAssistantsOutput) SetNextToken(v string) *ListAssistantsOutput { return s } +type ListContentAssociationsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the content. + // + // ContentId is a required field + ContentId *string `location:"uri" locationName:"contentId" type:"string" required:"true"` + + // The identifier of the knowledge base. + // + // KnowledgeBaseId is a required field + KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContentAssociationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContentAssociationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListContentAssociationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListContentAssociationsInput"} + if s.ContentId == nil { + invalidParams.Add(request.NewErrParamRequired("ContentId")) + } + if s.ContentId != nil && len(*s.ContentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContentId", 1)) + } + if s.KnowledgeBaseId == nil { + invalidParams.Add(request.NewErrParamRequired("KnowledgeBaseId")) + } + if s.KnowledgeBaseId != nil && len(*s.KnowledgeBaseId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KnowledgeBaseId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContentId sets the ContentId field's value. +func (s *ListContentAssociationsInput) SetContentId(v string) *ListContentAssociationsInput { + s.ContentId = &v + return s +} + +// SetKnowledgeBaseId sets the KnowledgeBaseId field's value. +func (s *ListContentAssociationsInput) SetKnowledgeBaseId(v string) *ListContentAssociationsInput { + s.KnowledgeBaseId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListContentAssociationsInput) SetMaxResults(v int64) *ListContentAssociationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListContentAssociationsInput) SetNextToken(v string) *ListContentAssociationsInput { + s.NextToken = &v + return s +} + +type ListContentAssociationsOutput struct { + _ struct{} `type:"structure"` + + // Summary information about content associations. + // + // ContentAssociationSummaries is a required field + ContentAssociationSummaries []*ContentAssociationSummary `locationName:"contentAssociationSummaries" type:"list" required:"true"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContentAssociationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContentAssociationsOutput) GoString() string { + return s.String() +} + +// SetContentAssociationSummaries sets the ContentAssociationSummaries field's value. +func (s *ListContentAssociationsOutput) SetContentAssociationSummaries(v []*ContentAssociationSummary) *ListContentAssociationsOutput { + s.ContentAssociationSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListContentAssociationsOutput) SetNextToken(v string) *ListContentAssociationsOutput { + s.NextToken = &v + return s +} + type ListContentsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -14228,6 +15515,70 @@ func (s *TextData) SetTitle(v *DocumentText) *TextData { return s } +// The throttling limit has been exceeded. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + // Amazon Q in Connect throws this exception if you have too many tags in your // tag set. type TooManyTagsException struct { @@ -15157,6 +16508,18 @@ func AssociationType_Values() []string { } } +const ( + // ContentAssociationTypeAmazonConnectGuide is a ContentAssociationType enum value + ContentAssociationTypeAmazonConnectGuide = "AMAZON_CONNECT_GUIDE" +) + +// ContentAssociationType_Values returns all elements of the ContentAssociationType enum +func ContentAssociationType_Values() []string { + return []string{ + ContentAssociationTypeAmazonConnectGuide, + } +} + const ( // ContentStatusCreateInProgress is a ContentStatus enum value ContentStatusCreateInProgress = "CREATE_IN_PROGRESS" diff --git a/service/qconnect/errors.go b/service/qconnect/errors.go index a9f0ac0e531..d588b4ea71c 100644 --- a/service/qconnect/errors.go +++ b/service/qconnect/errors.go @@ -53,6 +53,12 @@ const ( // quota increase. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // The throttling limit has been exceeded. + ErrCodeThrottlingException = "ThrottlingException" + // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // @@ -74,6 +80,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "RequestTimeoutException": newErrorRequestTimeoutException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ThrottlingException": newErrorThrottlingException, "TooManyTagsException": newErrorTooManyTagsException, "ValidationException": newErrorValidationException, } diff --git a/service/qconnect/qconnectiface/interface.go b/service/qconnect/qconnectiface/interface.go index 4863249157e..dd164cdf823 100644 --- a/service/qconnect/qconnectiface/interface.go +++ b/service/qconnect/qconnectiface/interface.go @@ -72,6 +72,10 @@ type QConnectAPI interface { CreateContentWithContext(aws.Context, *qconnect.CreateContentInput, ...request.Option) (*qconnect.CreateContentOutput, error) CreateContentRequest(*qconnect.CreateContentInput) (*request.Request, *qconnect.CreateContentOutput) + CreateContentAssociation(*qconnect.CreateContentAssociationInput) (*qconnect.CreateContentAssociationOutput, error) + CreateContentAssociationWithContext(aws.Context, *qconnect.CreateContentAssociationInput, ...request.Option) (*qconnect.CreateContentAssociationOutput, error) + CreateContentAssociationRequest(*qconnect.CreateContentAssociationInput) (*request.Request, *qconnect.CreateContentAssociationOutput) + CreateKnowledgeBase(*qconnect.CreateKnowledgeBaseInput) (*qconnect.CreateKnowledgeBaseOutput, error) CreateKnowledgeBaseWithContext(aws.Context, *qconnect.CreateKnowledgeBaseInput, ...request.Option) (*qconnect.CreateKnowledgeBaseOutput, error) CreateKnowledgeBaseRequest(*qconnect.CreateKnowledgeBaseInput) (*request.Request, *qconnect.CreateKnowledgeBaseOutput) @@ -96,6 +100,10 @@ type QConnectAPI interface { DeleteContentWithContext(aws.Context, *qconnect.DeleteContentInput, ...request.Option) (*qconnect.DeleteContentOutput, error) DeleteContentRequest(*qconnect.DeleteContentInput) (*request.Request, *qconnect.DeleteContentOutput) + DeleteContentAssociation(*qconnect.DeleteContentAssociationInput) (*qconnect.DeleteContentAssociationOutput, error) + DeleteContentAssociationWithContext(aws.Context, *qconnect.DeleteContentAssociationInput, ...request.Option) (*qconnect.DeleteContentAssociationOutput, error) + DeleteContentAssociationRequest(*qconnect.DeleteContentAssociationInput) (*request.Request, *qconnect.DeleteContentAssociationOutput) + DeleteImportJob(*qconnect.DeleteImportJobInput) (*qconnect.DeleteImportJobOutput, error) DeleteImportJobWithContext(aws.Context, *qconnect.DeleteImportJobInput, ...request.Option) (*qconnect.DeleteImportJobOutput, error) DeleteImportJobRequest(*qconnect.DeleteImportJobInput) (*request.Request, *qconnect.DeleteImportJobOutput) @@ -120,6 +128,10 @@ type QConnectAPI interface { GetContentWithContext(aws.Context, *qconnect.GetContentInput, ...request.Option) (*qconnect.GetContentOutput, error) GetContentRequest(*qconnect.GetContentInput) (*request.Request, *qconnect.GetContentOutput) + GetContentAssociation(*qconnect.GetContentAssociationInput) (*qconnect.GetContentAssociationOutput, error) + GetContentAssociationWithContext(aws.Context, *qconnect.GetContentAssociationInput, ...request.Option) (*qconnect.GetContentAssociationOutput, error) + GetContentAssociationRequest(*qconnect.GetContentAssociationInput) (*request.Request, *qconnect.GetContentAssociationOutput) + GetContentSummary(*qconnect.GetContentSummaryInput) (*qconnect.GetContentSummaryOutput, error) GetContentSummaryWithContext(aws.Context, *qconnect.GetContentSummaryInput, ...request.Option) (*qconnect.GetContentSummaryOutput, error) GetContentSummaryRequest(*qconnect.GetContentSummaryInput) (*request.Request, *qconnect.GetContentSummaryOutput) @@ -158,6 +170,13 @@ type QConnectAPI interface { ListAssistantsPages(*qconnect.ListAssistantsInput, func(*qconnect.ListAssistantsOutput, bool) bool) error ListAssistantsPagesWithContext(aws.Context, *qconnect.ListAssistantsInput, func(*qconnect.ListAssistantsOutput, bool) bool, ...request.Option) error + ListContentAssociations(*qconnect.ListContentAssociationsInput) (*qconnect.ListContentAssociationsOutput, error) + ListContentAssociationsWithContext(aws.Context, *qconnect.ListContentAssociationsInput, ...request.Option) (*qconnect.ListContentAssociationsOutput, error) + ListContentAssociationsRequest(*qconnect.ListContentAssociationsInput) (*request.Request, *qconnect.ListContentAssociationsOutput) + + ListContentAssociationsPages(*qconnect.ListContentAssociationsInput, func(*qconnect.ListContentAssociationsOutput, bool) bool) error + ListContentAssociationsPagesWithContext(aws.Context, *qconnect.ListContentAssociationsInput, func(*qconnect.ListContentAssociationsOutput, bool) bool, ...request.Option) error + ListContents(*qconnect.ListContentsInput) (*qconnect.ListContentsOutput, error) ListContentsWithContext(aws.Context, *qconnect.ListContentsInput, ...request.Option) (*qconnect.ListContentsOutput, error) ListContentsRequest(*qconnect.ListContentsInput) (*request.Request, *qconnect.ListContentsOutput) diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 0dce04d58dd..a3a98c15c30 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -27111,6 +27111,9 @@ type BodySectionConfiguration struct { // The configuration of a page break for a section. PageBreakConfiguration *SectionPageBreakConfiguration `type:"structure"` + // Describes the configurations that are required to declare a section as repeating. + RepeatConfiguration *BodySectionRepeatConfiguration `type:"structure"` + // The unique identifier of a body section. // // SectionId is a required field @@ -27155,6 +27158,11 @@ func (s *BodySectionConfiguration) Validate() error { invalidParams.AddNested("Content", err.(request.ErrInvalidParams)) } } + if s.RepeatConfiguration != nil { + if err := s.RepeatConfiguration.Validate(); err != nil { + invalidParams.AddNested("RepeatConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -27174,6 +27182,12 @@ func (s *BodySectionConfiguration) SetPageBreakConfiguration(v *SectionPageBreak return s } +// SetRepeatConfiguration sets the RepeatConfiguration field's value. +func (s *BodySectionConfiguration) SetRepeatConfiguration(v *BodySectionRepeatConfiguration) *BodySectionConfiguration { + s.RepeatConfiguration = v + return s +} + // SetSectionId sets the SectionId field's value. func (s *BodySectionConfiguration) SetSectionId(v string) *BodySectionConfiguration { s.SectionId = &v @@ -27233,6 +27247,345 @@ func (s *BodySectionContent) SetLayout(v *SectionLayoutConfiguration) *BodySecti return s } +// Describes the Category dataset column and constraints for the dynamic values +// used to repeat the contents of a section. +type BodySectionDynamicCategoryDimensionConfiguration struct { + _ struct{} `type:"structure"` + + // A column of a data set. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // Number of values to use from the column for repetition. + Limit *int64 `min:"1" type:"integer"` + + // Sort criteria on the column values that you use for repetition. + SortByMetrics []*ColumnSort `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionDynamicCategoryDimensionConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionDynamicCategoryDimensionConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BodySectionDynamicCategoryDimensionConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BodySectionDynamicCategoryDimensionConfiguration"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.Limit != nil && *s.Limit < 1 { + invalidParams.Add(request.NewErrParamMinValue("Limit", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.SortByMetrics != nil { + for i, v := range s.SortByMetrics { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortByMetrics", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *BodySectionDynamicCategoryDimensionConfiguration) SetColumn(v *ColumnIdentifier) *BodySectionDynamicCategoryDimensionConfiguration { + s.Column = v + return s +} + +// SetLimit sets the Limit field's value. +func (s *BodySectionDynamicCategoryDimensionConfiguration) SetLimit(v int64) *BodySectionDynamicCategoryDimensionConfiguration { + s.Limit = &v + return s +} + +// SetSortByMetrics sets the SortByMetrics field's value. +func (s *BodySectionDynamicCategoryDimensionConfiguration) SetSortByMetrics(v []*ColumnSort) *BodySectionDynamicCategoryDimensionConfiguration { + s.SortByMetrics = v + return s +} + +// Describes the Numeric dataset column and constraints for the dynamic values +// used to repeat the contents of a section. +type BodySectionDynamicNumericDimensionConfiguration struct { + _ struct{} `type:"structure"` + + // A column of a data set. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // Number of values to use from the column for repetition. + Limit *int64 `min:"1" type:"integer"` + + // Sort criteria on the column values that you use for repetition. + SortByMetrics []*ColumnSort `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionDynamicNumericDimensionConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionDynamicNumericDimensionConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BodySectionDynamicNumericDimensionConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BodySectionDynamicNumericDimensionConfiguration"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.Limit != nil && *s.Limit < 1 { + invalidParams.Add(request.NewErrParamMinValue("Limit", 1)) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.SortByMetrics != nil { + for i, v := range s.SortByMetrics { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SortByMetrics", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *BodySectionDynamicNumericDimensionConfiguration) SetColumn(v *ColumnIdentifier) *BodySectionDynamicNumericDimensionConfiguration { + s.Column = v + return s +} + +// SetLimit sets the Limit field's value. +func (s *BodySectionDynamicNumericDimensionConfiguration) SetLimit(v int64) *BodySectionDynamicNumericDimensionConfiguration { + s.Limit = &v + return s +} + +// SetSortByMetrics sets the SortByMetrics field's value. +func (s *BodySectionDynamicNumericDimensionConfiguration) SetSortByMetrics(v []*ColumnSort) *BodySectionDynamicNumericDimensionConfiguration { + s.SortByMetrics = v + return s +} + +// Describes the configurations that are required to declare a section as repeating. +type BodySectionRepeatConfiguration struct { + _ struct{} `type:"structure"` + + // List of BodySectionRepeatDimensionConfiguration values that describe the + // dataset column and constraints for the column used to repeat the contents + // of a section. + DimensionConfigurations []*BodySectionRepeatDimensionConfiguration `type:"list"` + + // List of visuals to exclude from repetition in repeating sections. The visuals + // will render identically, and ignore the repeating configurations in all repeating + // instances. + NonRepeatingVisuals []*string `type:"list"` + + // Page break configuration to apply for each repeating instance. + PageBreakConfiguration *BodySectionRepeatPageBreakConfiguration `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionRepeatConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionRepeatConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BodySectionRepeatConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BodySectionRepeatConfiguration"} + if s.DimensionConfigurations != nil { + for i, v := range s.DimensionConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DimensionConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDimensionConfigurations sets the DimensionConfigurations field's value. +func (s *BodySectionRepeatConfiguration) SetDimensionConfigurations(v []*BodySectionRepeatDimensionConfiguration) *BodySectionRepeatConfiguration { + s.DimensionConfigurations = v + return s +} + +// SetNonRepeatingVisuals sets the NonRepeatingVisuals field's value. +func (s *BodySectionRepeatConfiguration) SetNonRepeatingVisuals(v []*string) *BodySectionRepeatConfiguration { + s.NonRepeatingVisuals = v + return s +} + +// SetPageBreakConfiguration sets the PageBreakConfiguration field's value. +func (s *BodySectionRepeatConfiguration) SetPageBreakConfiguration(v *BodySectionRepeatPageBreakConfiguration) *BodySectionRepeatConfiguration { + s.PageBreakConfiguration = v + return s +} + +// Describes the dataset column and constraints for the dynamic values used +// to repeat the contents of a section. The dataset column is either Category +// or Numeric column configuration +type BodySectionRepeatDimensionConfiguration struct { + _ struct{} `type:"structure"` + + // Describes the Category dataset column and constraints around the dynamic + // values that will be used in repeating the section contents. + DynamicCategoryDimensionConfiguration *BodySectionDynamicCategoryDimensionConfiguration `type:"structure"` + + // Describes the Numeric dataset column and constraints around the dynamic values + // used to repeat the contents of a section. + DynamicNumericDimensionConfiguration *BodySectionDynamicNumericDimensionConfiguration `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionRepeatDimensionConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionRepeatDimensionConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BodySectionRepeatDimensionConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BodySectionRepeatDimensionConfiguration"} + if s.DynamicCategoryDimensionConfiguration != nil { + if err := s.DynamicCategoryDimensionConfiguration.Validate(); err != nil { + invalidParams.AddNested("DynamicCategoryDimensionConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.DynamicNumericDimensionConfiguration != nil { + if err := s.DynamicNumericDimensionConfiguration.Validate(); err != nil { + invalidParams.AddNested("DynamicNumericDimensionConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDynamicCategoryDimensionConfiguration sets the DynamicCategoryDimensionConfiguration field's value. +func (s *BodySectionRepeatDimensionConfiguration) SetDynamicCategoryDimensionConfiguration(v *BodySectionDynamicCategoryDimensionConfiguration) *BodySectionRepeatDimensionConfiguration { + s.DynamicCategoryDimensionConfiguration = v + return s +} + +// SetDynamicNumericDimensionConfiguration sets the DynamicNumericDimensionConfiguration field's value. +func (s *BodySectionRepeatDimensionConfiguration) SetDynamicNumericDimensionConfiguration(v *BodySectionDynamicNumericDimensionConfiguration) *BodySectionRepeatDimensionConfiguration { + s.DynamicNumericDimensionConfiguration = v + return s +} + +// The page break configuration to apply for each repeating instance. +type BodySectionRepeatPageBreakConfiguration struct { + _ struct{} `type:"structure"` + + // The configuration of a page break after a section. + After *SectionAfterPageBreak `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionRepeatPageBreakConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BodySectionRepeatPageBreakConfiguration) GoString() string { + return s.String() +} + +// SetAfter sets the After field's value. +func (s *BodySectionRepeatPageBreakConfiguration) SetAfter(v *SectionAfterPageBreak) *BodySectionRepeatPageBreakConfiguration { + s.After = v + return s +} + // The bookmarks configuration of an embedded dashboard. type BookmarksConfigurations struct { _ struct{} `type:"structure"` @@ -28930,6 +29283,94 @@ func (s *CategoryFilterConfiguration) SetFilterListConfiguration(v *FilterListCo return s } +// A CategoryInnerFilter filters text values for the NestedFilter. +type CategoryInnerFilter struct { + _ struct{} `type:"structure"` + + // A column of a data set. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // The configuration for a CategoryFilter. + // + // This is a union type structure. For this structure to be valid, only one + // of the attributes can be defined. + // + // Configuration is a required field + Configuration *CategoryFilterConfiguration `type:"structure" required:"true"` + + // The default configuration for all dependent controls of the filter. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CategoryInnerFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CategoryInnerFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CategoryInnerFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CategoryInnerFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.Configuration == nil { + invalidParams.Add(request.NewErrParamRequired("Configuration")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.Configuration != nil { + if err := s.Configuration.Validate(); err != nil { + invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams)) + } + } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *CategoryInnerFilter) SetColumn(v *ColumnIdentifier) *CategoryInnerFilter { + s.Column = v + return s +} + +// SetConfiguration sets the Configuration field's value. +func (s *CategoryInnerFilter) SetConfiguration(v *CategoryFilterConfiguration) *CategoryInnerFilter { + s.Configuration = v + return s +} + +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *CategoryInnerFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *CategoryInnerFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // A structure that represents the cell value synonym. type CellValueSynonym struct { _ struct{} `type:"structure"` @@ -56228,6 +56669,10 @@ type Filter struct { // in the Amazon QuickSight User Guide. CategoryFilter *CategoryFilter `type:"structure"` + // A NestedFilter filters data with a subset of data that is defined by the + // nested inner filter. + NestedFilter *NestedFilter `type:"structure"` + // A NumericEqualityFilter filters numeric values that equal or do not equal // a given numeric value. NumericEqualityFilter *NumericEqualityFilter `type:"structure"` @@ -56277,6 +56722,11 @@ func (s *Filter) Validate() error { invalidParams.AddNested("CategoryFilter", err.(request.ErrInvalidParams)) } } + if s.NestedFilter != nil { + if err := s.NestedFilter.Validate(); err != nil { + invalidParams.AddNested("NestedFilter", err.(request.ErrInvalidParams)) + } + } if s.NumericEqualityFilter != nil { if err := s.NumericEqualityFilter.Validate(); err != nil { invalidParams.AddNested("NumericEqualityFilter", err.(request.ErrInvalidParams)) @@ -56320,6 +56770,12 @@ func (s *Filter) SetCategoryFilter(v *CategoryFilter) *Filter { return s } +// SetNestedFilter sets the NestedFilter field's value. +func (s *Filter) SetNestedFilter(v *NestedFilter) *Filter { + s.NestedFilter = v + return s +} + // SetNumericEqualityFilter sets the NumericEqualityFilter field's value. func (s *Filter) SetNumericEqualityFilter(v *NumericEqualityFilter) *Filter { s.NumericEqualityFilter = v @@ -64362,6 +64818,53 @@ func (s *Ingestion) SetRowInfo(v *RowInfo) *Ingestion { return s } +// The InnerFilter defines the subset of data to be used with the NestedFilter. +type InnerFilter struct { + _ struct{} `type:"structure"` + + // A CategoryInnerFilter filters text values for the NestedFilter. + CategoryInnerFilter *CategoryInnerFilter `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InnerFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InnerFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InnerFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InnerFilter"} + if s.CategoryInnerFilter != nil { + if err := s.CategoryInnerFilter.Validate(); err != nil { + invalidParams.AddNested("CategoryInnerFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCategoryInnerFilter sets the CategoryInnerFilter field's value. +func (s *InnerFilter) SetCategoryInnerFilter(v *CategoryInnerFilter) *InnerFilter { + s.CategoryInnerFilter = v + return s +} + // Metadata for a column that is used as the input of a transform operation. type InputColumn struct { _ struct{} `type:"structure"` @@ -73799,6 +74302,111 @@ func (s *NegativeValueConfiguration) SetDisplayMode(v string) *NegativeValueConf return s } +// A NestedFilter filters data with a subset of data that is defined by the +// nested inner filter. +type NestedFilter struct { + _ struct{} `type:"structure"` + + // The column that the filter is applied to. + // + // Column is a required field + Column *ColumnIdentifier `type:"structure" required:"true"` + + // An identifier that uniquely identifies a filter within a dashboard, analysis, + // or template. + // + // FilterId is a required field + FilterId *string `min:"1" type:"string" required:"true"` + + // A boolean condition to include or exclude the subset that is defined by the + // values of the nested inner filter. + // + // IncludeInnerSet is a required field + IncludeInnerSet *bool `type:"boolean" required:"true"` + + // The InnerFilter defines the subset of data to be used with the NestedFilter. + // + // InnerFilter is a required field + InnerFilter *InnerFilter `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NestedFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NestedFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NestedFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NestedFilter"} + if s.Column == nil { + invalidParams.Add(request.NewErrParamRequired("Column")) + } + if s.FilterId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterId")) + } + if s.FilterId != nil && len(*s.FilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterId", 1)) + } + if s.IncludeInnerSet == nil { + invalidParams.Add(request.NewErrParamRequired("IncludeInnerSet")) + } + if s.InnerFilter == nil { + invalidParams.Add(request.NewErrParamRequired("InnerFilter")) + } + if s.Column != nil { + if err := s.Column.Validate(); err != nil { + invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) + } + } + if s.InnerFilter != nil { + if err := s.InnerFilter.Validate(); err != nil { + invalidParams.AddNested("InnerFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumn sets the Column field's value. +func (s *NestedFilter) SetColumn(v *ColumnIdentifier) *NestedFilter { + s.Column = v + return s +} + +// SetFilterId sets the FilterId field's value. +func (s *NestedFilter) SetFilterId(v string) *NestedFilter { + s.FilterId = &v + return s +} + +// SetIncludeInnerSet sets the IncludeInnerSet field's value. +func (s *NestedFilter) SetIncludeInnerSet(v bool) *NestedFilter { + s.IncludeInnerSet = &v + return s +} + +// SetInnerFilter sets the InnerFilter field's value. +func (s *NestedFilter) SetInnerFilter(v *InnerFilter) *NestedFilter { + s.InnerFilter = v + return s +} + // The structure that contains information about a network interface. type NetworkInterface struct { _ struct{} `type:"structure"` diff --git a/service/rds/api.go b/service/rds/api.go index 0c4f316c51d..d8abc098abe 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -17124,8 +17124,6 @@ func (c *RDS) StartExportTaskRequest(input *StartExportTaskInput) (req *request. // // You can't export snapshot data from Db2 or RDS Custom DB instances. // -// You can't export cluster data from Multi-AZ DB clusters. -// // For more information on exporting DB snapshot data, see Exporting DB snapshot // data to Amazon S3 (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html) // in the Amazon RDS User Guide or Exporting DB cluster snapshot data to Amazon @@ -19482,7 +19480,7 @@ func (s *Certificate) SetValidTill(v time.Time) *Certificate { return s } -// Returns the details of the DB instance’s server certificate. +// The details of the DB instance’s server certificate. // // For more information, see Using SSL/TLS to encrypt a connection to a DB instance // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) @@ -19639,7 +19637,7 @@ type ClusterPendingModifiedValues struct { // The number of days for which automatic DB snapshots are retained. BackupRetentionPeriod *int64 `type:"integer"` - // Returns the details of the DB instance’s server certificate. + // The details of the DB instance’s server certificate. // // For more information, see Using SSL/TLS to encrypt a connection to a DB instance // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) @@ -22118,8 +22116,6 @@ type CreateDBClusterInput struct { // // * Must match the name of an existing DB subnet group. // - // * Must not be default. - // // Example: mydbsubnetgroup DBSubnetGroupName *string `type:"string"` @@ -28192,7 +28188,7 @@ type DBCluster struct { // in the Amazon Aurora User Guide. Capacity *int64 `type:"integer"` - // Returns the details of the DB instance’s server certificate. + // The details of the DB instance’s server certificate. // // For more information, see Using SSL/TLS to encrypt a connection to a DB instance // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) @@ -53426,8 +53422,8 @@ func (s *PerformanceIssueDetails) SetStartTime(v time.Time) *PerformanceIssueDet // // - The current number CPU cores and threads is set to a non-default value. // -// For more information, see Configuring the Processor of the DB Instance Class -// (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) +// For more information, see Configuring the processor for a DB instance class +// in RDS for Oracle (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) // in the Amazon RDS User Guide. type ProcessorFeature struct { _ struct{} `type:"structure"` @@ -53435,7 +53431,7 @@ type ProcessorFeature struct { // The name of the processor feature. Valid names are coreCount and threadsPerCore. Name *string `type:"string"` - // The value of a processor feature name. + // The value of a processor feature. Value *string `type:"string"` } diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index e80715ab734..a423675bb81 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -38429,7 +38429,8 @@ func (s *ClarifyTextConfig) SetLanguage(v string) *ClarifyTextConfig { // Defines the configuration for attaching an additional Amazon Elastic Block // Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance -// group. +// group. To learn more, see SageMaker HyperPod release notes: June 20, 2024 +// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620). type ClusterEbsVolumeConfig struct { _ struct{} `type:"structure"` @@ -38829,7 +38830,8 @@ func (s *ClusterInstanceStatusDetails) SetStatus(v string) *ClusterInstanceStatu } // Defines the configuration for attaching additional storage to the instances -// in the SageMaker HyperPod cluster instance group. +// in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker +// HyperPod release notes: June 20, 2024 (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620). type ClusterInstanceStorageConfig struct { _ struct{} `type:"structure"` @@ -55284,7 +55286,8 @@ type DeleteHubContentReferenceInput struct { // HubContentName is a required field HubContentName *string `type:"string" required:"true"` - // The type of hub content to delete. + // The type of hub content reference to delete. The only supported type of hub + // content reference to delete is ModelReference. // // HubContentType is a required field HubContentType *string `type:"string" required:"true" enum:"HubContentType"` @@ -117417,6 +117420,50 @@ func (s *StudioLifecycleConfigDetails) SetStudioLifecycleConfigName(v string) *S return s } +// Studio settings. If these settings are applied on a user level, they take +// priority over the settings applied on a domain level. +type StudioWebPortalSettings struct { + _ struct{} `type:"structure"` + + // The Applications supported in Studio (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-updated-apps.html) + // that are hidden from the Studio left navigation pane. + HiddenAppTypes []*string `type:"list" enum:"AppType"` + + // The machine learning tools that are hidden from the Studio left navigation + // pane. + HiddenMlTools []*string `type:"list" enum:"MlTools"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StudioWebPortalSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StudioWebPortalSettings) GoString() string { + return s.String() +} + +// SetHiddenAppTypes sets the HiddenAppTypes field's value. +func (s *StudioWebPortalSettings) SetHiddenAppTypes(v []*string) *StudioWebPortalSettings { + s.HiddenAppTypes = v + return s +} + +// SetHiddenMlTools sets the HiddenMlTools field's value. +func (s *StudioWebPortalSettings) SetHiddenMlTools(v []*string) *StudioWebPortalSettings { + s.HiddenMlTools = v + return s +} + // Describes a work team of a vendor that does the labelling job. type SubscribedWorkteam struct { _ struct{} `type:"structure"` @@ -128015,6 +128062,10 @@ type UserSettings struct { // domain. StudioWebPortal *string `type:"string" enum:"StudioWebPortal"` + // Studio settings. If these settings are applied on a user level, they take + // priority over the settings applied on a domain level. + StudioWebPortalSettings *StudioWebPortalSettings `type:"structure"` + // The TensorBoard app settings. TensorBoardAppSettings *TensorBoardAppSettings `type:"structure"` } @@ -128195,6 +128246,12 @@ func (s *UserSettings) SetStudioWebPortal(v string) *UserSettings { return s } +// SetStudioWebPortalSettings sets the StudioWebPortalSettings field's value. +func (s *UserSettings) SetStudioWebPortalSettings(v *StudioWebPortalSettings) *UserSettings { + s.StudioWebPortalSettings = v + return s +} + // SetTensorBoardAppSettings sets the TensorBoardAppSettings field's value. func (s *UserSettings) SetTensorBoardAppSettings(v *TensorBoardAppSettings) *UserSettings { s.TensorBoardAppSettings = v @@ -133762,6 +133819,66 @@ func MetricSetSource_Values() []string { } } +const ( + // MlToolsDataWrangler is a MlTools enum value + MlToolsDataWrangler = "DataWrangler" + + // MlToolsFeatureStore is a MlTools enum value + MlToolsFeatureStore = "FeatureStore" + + // MlToolsEmrClusters is a MlTools enum value + MlToolsEmrClusters = "EmrClusters" + + // MlToolsAutoMl is a MlTools enum value + MlToolsAutoMl = "AutoMl" + + // MlToolsExperiments is a MlTools enum value + MlToolsExperiments = "Experiments" + + // MlToolsTraining is a MlTools enum value + MlToolsTraining = "Training" + + // MlToolsModelEvaluation is a MlTools enum value + MlToolsModelEvaluation = "ModelEvaluation" + + // MlToolsPipelines is a MlTools enum value + MlToolsPipelines = "Pipelines" + + // MlToolsModels is a MlTools enum value + MlToolsModels = "Models" + + // MlToolsJumpStart is a MlTools enum value + MlToolsJumpStart = "JumpStart" + + // MlToolsInferenceRecommender is a MlTools enum value + MlToolsInferenceRecommender = "InferenceRecommender" + + // MlToolsEndpoints is a MlTools enum value + MlToolsEndpoints = "Endpoints" + + // MlToolsProjects is a MlTools enum value + MlToolsProjects = "Projects" +) + +// MlTools_Values returns all elements of the MlTools enum +func MlTools_Values() []string { + return []string{ + MlToolsDataWrangler, + MlToolsFeatureStore, + MlToolsEmrClusters, + MlToolsAutoMl, + MlToolsExperiments, + MlToolsTraining, + MlToolsModelEvaluation, + MlToolsPipelines, + MlToolsModels, + MlToolsJumpStart, + MlToolsInferenceRecommender, + MlToolsEndpoints, + MlToolsProjects, + } +} + const ( // ModelApprovalStatusApproved is a ModelApprovalStatus enum value ModelApprovalStatusApproved = "Approved" diff --git a/service/workspaces/api.go b/service/workspaces/api.go index a3a276a24f3..5ebb2955da7 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -1570,6 +1570,100 @@ func (c *WorkSpaces) CreateWorkspacesWithContext(ctx aws.Context, input *CreateW return out, req.Send() } +const opCreateWorkspacesPool = "CreateWorkspacesPool" + +// CreateWorkspacesPoolRequest generates a "aws/request.Request" representing the +// client's request for the CreateWorkspacesPool operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateWorkspacesPool for more information on using the CreateWorkspacesPool +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateWorkspacesPoolRequest method. +// req, resp := client.CreateWorkspacesPoolRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspacesPool +func (c *WorkSpaces) CreateWorkspacesPoolRequest(input *CreateWorkspacesPoolInput) (req *request.Request, output *CreateWorkspacesPoolOutput) { + op := &request.Operation{ + Name: opCreateWorkspacesPool, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateWorkspacesPoolInput{} + } + + output = &CreateWorkspacesPoolOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateWorkspacesPool API operation for Amazon WorkSpaces. +// +// Creates a pool of WorkSpaces. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation CreateWorkspacesPool for usage and error information. +// +// Returned Error Types: +// +// - ResourceLimitExceededException +// Your resource limits have been exceeded. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceAlreadyExistsException +// The specified resource already exists. +// +// - OperationNotSupportedException +// This operation is not supported. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspacesPool +func (c *WorkSpaces) CreateWorkspacesPool(input *CreateWorkspacesPoolInput) (*CreateWorkspacesPoolOutput, error) { + req, out := c.CreateWorkspacesPoolRequest(input) + return out, req.Send() +} + +// CreateWorkspacesPoolWithContext is the same as CreateWorkspacesPool with the addition of +// the ability to pass a context and additional request options. +// +// See CreateWorkspacesPool for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) CreateWorkspacesPoolWithContext(ctx aws.Context, input *CreateWorkspacesPoolInput, opts ...request.Option) (*CreateWorkspacesPoolOutput, error) { + req, out := c.CreateWorkspacesPoolRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteAccountLinkInvitation = "DeleteAccountLinkInvitation" // DeleteAccountLinkInvitationRequest generates a "aws/request.Request" representing the @@ -4553,6 +4647,177 @@ func (c *WorkSpaces) DescribeWorkspacesConnectionStatusWithContext(ctx aws.Conte return out, req.Send() } +const opDescribeWorkspacesPoolSessions = "DescribeWorkspacesPoolSessions" + +// DescribeWorkspacesPoolSessionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeWorkspacesPoolSessions operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeWorkspacesPoolSessions for more information on using the DescribeWorkspacesPoolSessions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeWorkspacesPoolSessionsRequest method. +// req, resp := client.DescribeWorkspacesPoolSessionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesPoolSessions +func (c *WorkSpaces) DescribeWorkspacesPoolSessionsRequest(input *DescribeWorkspacesPoolSessionsInput) (req *request.Request, output *DescribeWorkspacesPoolSessionsOutput) { + op := &request.Operation{ + Name: opDescribeWorkspacesPoolSessions, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeWorkspacesPoolSessionsInput{} + } + + output = &DescribeWorkspacesPoolSessionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeWorkspacesPoolSessions API operation for Amazon WorkSpaces. +// +// Retrieves a list that describes the streaming sessions for a specified WorkSpaces +// pool. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation DescribeWorkspacesPoolSessions for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesPoolSessions +func (c *WorkSpaces) DescribeWorkspacesPoolSessions(input *DescribeWorkspacesPoolSessionsInput) (*DescribeWorkspacesPoolSessionsOutput, error) { + req, out := c.DescribeWorkspacesPoolSessionsRequest(input) + return out, req.Send() +} + +// DescribeWorkspacesPoolSessionsWithContext is the same as DescribeWorkspacesPoolSessions with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeWorkspacesPoolSessions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) DescribeWorkspacesPoolSessionsWithContext(ctx aws.Context, input *DescribeWorkspacesPoolSessionsInput, opts ...request.Option) (*DescribeWorkspacesPoolSessionsOutput, error) { + req, out := c.DescribeWorkspacesPoolSessionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeWorkspacesPools = "DescribeWorkspacesPools" + +// DescribeWorkspacesPoolsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeWorkspacesPools operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeWorkspacesPools for more information on using the DescribeWorkspacesPools +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeWorkspacesPoolsRequest method. +// req, resp := client.DescribeWorkspacesPoolsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesPools +func (c *WorkSpaces) DescribeWorkspacesPoolsRequest(input *DescribeWorkspacesPoolsInput) (req *request.Request, output *DescribeWorkspacesPoolsOutput) { + op := &request.Operation{ + Name: opDescribeWorkspacesPools, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeWorkspacesPoolsInput{} + } + + output = &DescribeWorkspacesPoolsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeWorkspacesPools API operation for Amazon WorkSpaces. +// +// Describes the specified WorkSpaces pool. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation DescribeWorkspacesPools for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesPools +func (c *WorkSpaces) DescribeWorkspacesPools(input *DescribeWorkspacesPoolsInput) (*DescribeWorkspacesPoolsOutput, error) { + req, out := c.DescribeWorkspacesPoolsRequest(input) + return out, req.Send() +} + +// DescribeWorkspacesPoolsWithContext is the same as DescribeWorkspacesPools with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeWorkspacesPools for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) DescribeWorkspacesPoolsWithContext(ctx aws.Context, input *DescribeWorkspacesPoolsInput, opts ...request.Option) (*DescribeWorkspacesPoolsOutput, error) { + req, out := c.DescribeWorkspacesPoolsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDisassociateConnectionAlias = "DisassociateConnectionAlias" // DisassociateConnectionAliasRequest generates a "aws/request.Request" representing the @@ -4718,6 +4983,9 @@ func (c *WorkSpaces) DisassociateIpGroupsRequest(input *DisassociateIpGroupsInpu // - AccessDeniedException // The user is not authorized to access a resource. // +// - OperationNotSupportedException +// This operation is not supported. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateIpGroups func (c *WorkSpaces) DisassociateIpGroups(input *DisassociateIpGroupsInput) (*DisassociateIpGroupsOutput, error) { req, out := c.DisassociateIpGroupsRequest(input) @@ -5713,6 +5981,9 @@ func (c *WorkSpaces) ModifyClientPropertiesRequest(input *ModifyClientProperties // - AccessDeniedException // The user is not authorized to access a resource. // +// - OperationNotSupportedException +// This operation is not supported. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyClientProperties func (c *WorkSpaces) ModifyClientProperties(input *ModifyClientPropertiesInput) (*ModifyClientPropertiesOutput, error) { req, out := c.ModifyClientPropertiesRequest(input) @@ -5892,6 +6163,9 @@ func (c *WorkSpaces) ModifySelfservicePermissionsRequest(input *ModifySelfservic // - ResourceNotFoundException // The resource could not be found. // +// - OperationNotSupportedException +// This operation is not supported. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySelfservicePermissions func (c *WorkSpaces) ModifySelfservicePermissions(input *ModifySelfservicePermissionsInput) (*ModifySelfservicePermissionsOutput, error) { req, out := c.ModifySelfservicePermissionsRequest(input) @@ -5914,116 +6188,205 @@ func (c *WorkSpaces) ModifySelfservicePermissionsWithContext(ctx aws.Context, in return out, req.Send() } -const opModifyWorkspaceAccessProperties = "ModifyWorkspaceAccessProperties" +const opModifyStreamingProperties = "ModifyStreamingProperties" -// ModifyWorkspaceAccessPropertiesRequest generates a "aws/request.Request" representing the -// client's request for the ModifyWorkspaceAccessProperties operation. The "output" return +// ModifyStreamingPropertiesRequest generates a "aws/request.Request" representing the +// client's request for the ModifyStreamingProperties operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ModifyWorkspaceAccessProperties for more information on using the ModifyWorkspaceAccessProperties +// See ModifyStreamingProperties for more information on using the ModifyStreamingProperties // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ModifyWorkspaceAccessPropertiesRequest method. -// req, resp := client.ModifyWorkspaceAccessPropertiesRequest(params) +// // Example sending a request using the ModifyStreamingPropertiesRequest method. +// req, resp := client.ModifyStreamingPropertiesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties -func (c *WorkSpaces) ModifyWorkspaceAccessPropertiesRequest(input *ModifyWorkspaceAccessPropertiesInput) (req *request.Request, output *ModifyWorkspaceAccessPropertiesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyStreamingProperties +func (c *WorkSpaces) ModifyStreamingPropertiesRequest(input *ModifyStreamingPropertiesInput) (req *request.Request, output *ModifyStreamingPropertiesOutput) { op := &request.Operation{ - Name: opModifyWorkspaceAccessProperties, + Name: opModifyStreamingProperties, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ModifyWorkspaceAccessPropertiesInput{} + input = &ModifyStreamingPropertiesInput{} } - output = &ModifyWorkspaceAccessPropertiesOutput{} + output = &ModifyStreamingPropertiesOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// ModifyWorkspaceAccessProperties API operation for Amazon WorkSpaces. +// ModifyStreamingProperties API operation for Amazon WorkSpaces. // -// Specifies which devices and operating systems users can use to access their -// WorkSpaces. For more information, see Control Device Access (https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access). +// Modifies the specified streaming properties. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon WorkSpaces's -// API operation ModifyWorkspaceAccessProperties for usage and error information. +// API operation ModifyStreamingProperties for usage and error information. // // Returned Error Types: // +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// // - ResourceNotFoundException // The resource could not be found. // -// - AccessDeniedException -// The user is not authorized to access a resource. +// - OperationNotSupportedException +// This operation is not supported. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties -func (c *WorkSpaces) ModifyWorkspaceAccessProperties(input *ModifyWorkspaceAccessPropertiesInput) (*ModifyWorkspaceAccessPropertiesOutput, error) { - req, out := c.ModifyWorkspaceAccessPropertiesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyStreamingProperties +func (c *WorkSpaces) ModifyStreamingProperties(input *ModifyStreamingPropertiesInput) (*ModifyStreamingPropertiesOutput, error) { + req, out := c.ModifyStreamingPropertiesRequest(input) return out, req.Send() } -// ModifyWorkspaceAccessPropertiesWithContext is the same as ModifyWorkspaceAccessProperties with the addition of +// ModifyStreamingPropertiesWithContext is the same as ModifyStreamingProperties with the addition of // the ability to pass a context and additional request options. // -// See ModifyWorkspaceAccessProperties for details on how to use this API operation. +// See ModifyStreamingProperties for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *WorkSpaces) ModifyWorkspaceAccessPropertiesWithContext(ctx aws.Context, input *ModifyWorkspaceAccessPropertiesInput, opts ...request.Option) (*ModifyWorkspaceAccessPropertiesOutput, error) { - req, out := c.ModifyWorkspaceAccessPropertiesRequest(input) +func (c *WorkSpaces) ModifyStreamingPropertiesWithContext(ctx aws.Context, input *ModifyStreamingPropertiesInput, opts ...request.Option) (*ModifyStreamingPropertiesOutput, error) { + req, out := c.ModifyStreamingPropertiesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opModifyWorkspaceCreationProperties = "ModifyWorkspaceCreationProperties" +const opModifyWorkspaceAccessProperties = "ModifyWorkspaceAccessProperties" -// ModifyWorkspaceCreationPropertiesRequest generates a "aws/request.Request" representing the -// client's request for the ModifyWorkspaceCreationProperties operation. The "output" return +// ModifyWorkspaceAccessPropertiesRequest generates a "aws/request.Request" representing the +// client's request for the ModifyWorkspaceAccessProperties operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ModifyWorkspaceCreationProperties for more information on using the ModifyWorkspaceCreationProperties +// See ModifyWorkspaceAccessProperties for more information on using the ModifyWorkspaceAccessProperties // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ModifyWorkspaceCreationPropertiesRequest method. -// req, resp := client.ModifyWorkspaceCreationPropertiesRequest(params) +// // Example sending a request using the ModifyWorkspaceAccessPropertiesRequest method. +// req, resp := client.ModifyWorkspaceAccessPropertiesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceCreationProperties -func (c *WorkSpaces) ModifyWorkspaceCreationPropertiesRequest(input *ModifyWorkspaceCreationPropertiesInput) (req *request.Request, output *ModifyWorkspaceCreationPropertiesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties +func (c *WorkSpaces) ModifyWorkspaceAccessPropertiesRequest(input *ModifyWorkspaceAccessPropertiesInput) (req *request.Request, output *ModifyWorkspaceAccessPropertiesOutput) { + op := &request.Operation{ + Name: opModifyWorkspaceAccessProperties, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyWorkspaceAccessPropertiesInput{} + } + + output = &ModifyWorkspaceAccessPropertiesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// ModifyWorkspaceAccessProperties API operation for Amazon WorkSpaces. +// +// Specifies which devices and operating systems users can use to access their +// WorkSpaces. For more information, see Control Device Access (https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation ModifyWorkspaceAccessProperties for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties +func (c *WorkSpaces) ModifyWorkspaceAccessProperties(input *ModifyWorkspaceAccessPropertiesInput) (*ModifyWorkspaceAccessPropertiesOutput, error) { + req, out := c.ModifyWorkspaceAccessPropertiesRequest(input) + return out, req.Send() +} + +// ModifyWorkspaceAccessPropertiesWithContext is the same as ModifyWorkspaceAccessProperties with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyWorkspaceAccessProperties for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) ModifyWorkspaceAccessPropertiesWithContext(ctx aws.Context, input *ModifyWorkspaceAccessPropertiesInput, opts ...request.Option) (*ModifyWorkspaceAccessPropertiesOutput, error) { + req, out := c.ModifyWorkspaceAccessPropertiesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyWorkspaceCreationProperties = "ModifyWorkspaceCreationProperties" + +// ModifyWorkspaceCreationPropertiesRequest generates a "aws/request.Request" representing the +// client's request for the ModifyWorkspaceCreationProperties operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyWorkspaceCreationProperties for more information on using the ModifyWorkspaceCreationProperties +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyWorkspaceCreationPropertiesRequest method. +// req, resp := client.ModifyWorkspaceCreationPropertiesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceCreationProperties +func (c *WorkSpaces) ModifyWorkspaceCreationPropertiesRequest(input *ModifyWorkspaceCreationPropertiesInput) (req *request.Request, output *ModifyWorkspaceCreationPropertiesOutput) { op := &request.Operation{ Name: opModifyWorkspaceCreationProperties, HTTPMethod: "POST", @@ -6498,7 +6861,6 @@ func (c *WorkSpaces) RegisterWorkspaceDirectoryRequest(input *RegisterWorkspaceD output = &RegisterWorkspaceDirectoryOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } @@ -6549,6 +6911,9 @@ func (c *WorkSpaces) RegisterWorkspaceDirectoryRequest(input *RegisterWorkspaceD // - OperationNotSupportedException // This operation is not supported. // +// - ResourceAlreadyExistsException +// The specified resource already exists. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RegisterWorkspaceDirectory func (c *WorkSpaces) RegisterWorkspaceDirectory(input *RegisterWorkspaceDirectoryInput) (*RegisterWorkspaceDirectoryOutput, error) { req, out := c.RegisterWorkspaceDirectoryRequest(input) @@ -6926,6 +7291,108 @@ func (c *WorkSpaces) StartWorkspacesWithContext(ctx aws.Context, input *StartWor return out, req.Send() } +const opStartWorkspacesPool = "StartWorkspacesPool" + +// StartWorkspacesPoolRequest generates a "aws/request.Request" representing the +// client's request for the StartWorkspacesPool operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartWorkspacesPool for more information on using the StartWorkspacesPool +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartWorkspacesPoolRequest method. +// req, resp := client.StartWorkspacesPoolRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesPool +func (c *WorkSpaces) StartWorkspacesPoolRequest(input *StartWorkspacesPoolInput) (req *request.Request, output *StartWorkspacesPoolOutput) { + op := &request.Operation{ + Name: opStartWorkspacesPool, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartWorkspacesPoolInput{} + } + + output = &StartWorkspacesPoolOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// StartWorkspacesPool API operation for Amazon WorkSpaces. +// +// Starts the specified WorkSpaces pool. +// +// You cannot start a WorkSpace pool unless it has a running mode of AutoStop +// and a state of STOPPED. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation StartWorkspacesPool for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. +// +// - ResourceLimitExceededException +// Your resource limits have been exceeded. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - OperationNotSupportedException +// This operation is not supported. +// +// - OperationInProgressException +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesPool +func (c *WorkSpaces) StartWorkspacesPool(input *StartWorkspacesPoolInput) (*StartWorkspacesPoolOutput, error) { + req, out := c.StartWorkspacesPoolRequest(input) + return out, req.Send() +} + +// StartWorkspacesPoolWithContext is the same as StartWorkspacesPool with the addition of +// the ability to pass a context and additional request options. +// +// See StartWorkspacesPool for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) StartWorkspacesPoolWithContext(ctx aws.Context, input *StartWorkspacesPoolInput, opts ...request.Option) (*StartWorkspacesPoolOutput, error) { + req, out := c.StartWorkspacesPoolRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStopWorkspaces = "StopWorkspaces" // StopWorkspacesRequest generates a "aws/request.Request" representing the @@ -7002,6 +7469,102 @@ func (c *WorkSpaces) StopWorkspacesWithContext(ctx aws.Context, input *StopWorks return out, req.Send() } +const opStopWorkspacesPool = "StopWorkspacesPool" + +// StopWorkspacesPoolRequest generates a "aws/request.Request" representing the +// client's request for the StopWorkspacesPool operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopWorkspacesPool for more information on using the StopWorkspacesPool +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StopWorkspacesPoolRequest method. +// req, resp := client.StopWorkspacesPoolRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesPool +func (c *WorkSpaces) StopWorkspacesPoolRequest(input *StopWorkspacesPoolInput) (req *request.Request, output *StopWorkspacesPoolOutput) { + op := &request.Operation{ + Name: opStopWorkspacesPool, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StopWorkspacesPoolInput{} + } + + output = &StopWorkspacesPoolOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// StopWorkspacesPool API operation for Amazon WorkSpaces. +// +// Stops the specifiedWorkSpaces pool. +// +// You cannot stop a WorkSpace pool unless it has a running mode of AutoStop +// and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation StopWorkspacesPool for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - OperationInProgressException +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesPool +func (c *WorkSpaces) StopWorkspacesPool(input *StopWorkspacesPoolInput) (*StopWorkspacesPoolOutput, error) { + req, out := c.StopWorkspacesPoolRequest(input) + return out, req.Send() +} + +// StopWorkspacesPoolWithContext is the same as StopWorkspacesPool with the addition of +// the ability to pass a context and additional request options. +// +// See StopWorkspacesPool for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) StopWorkspacesPoolWithContext(ctx aws.Context, input *StopWorkspacesPoolInput, opts ...request.Option) (*StopWorkspacesPoolOutput, error) { + req, out := c.StopWorkspacesPoolRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opTerminateWorkspaces = "TerminateWorkspaces" // TerminateWorkspacesRequest generates a "aws/request.Request" representing the @@ -7100,52 +7663,238 @@ func (c *WorkSpaces) TerminateWorkspacesWithContext(ctx aws.Context, input *Term return out, req.Send() } -const opUpdateConnectClientAddIn = "UpdateConnectClientAddIn" +const opTerminateWorkspacesPool = "TerminateWorkspacesPool" -// UpdateConnectClientAddInRequest generates a "aws/request.Request" representing the -// client's request for the UpdateConnectClientAddIn operation. The "output" return +// TerminateWorkspacesPoolRequest generates a "aws/request.Request" representing the +// client's request for the TerminateWorkspacesPool operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateConnectClientAddIn for more information on using the UpdateConnectClientAddIn +// See TerminateWorkspacesPool for more information on using the TerminateWorkspacesPool // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateConnectClientAddInRequest method. -// req, resp := client.UpdateConnectClientAddInRequest(params) +// // Example sending a request using the TerminateWorkspacesPoolRequest method. +// req, resp := client.TerminateWorkspacesPoolRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectClientAddIn -func (c *WorkSpaces) UpdateConnectClientAddInRequest(input *UpdateConnectClientAddInInput) (req *request.Request, output *UpdateConnectClientAddInOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesPool +func (c *WorkSpaces) TerminateWorkspacesPoolRequest(input *TerminateWorkspacesPoolInput) (req *request.Request, output *TerminateWorkspacesPoolOutput) { op := &request.Operation{ - Name: opUpdateConnectClientAddIn, + Name: opTerminateWorkspacesPool, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UpdateConnectClientAddInInput{} + input = &TerminateWorkspacesPoolInput{} } - output = &UpdateConnectClientAddInOutput{} + output = &TerminateWorkspacesPoolOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateConnectClientAddIn API operation for Amazon WorkSpaces. +// TerminateWorkspacesPool API operation for Amazon WorkSpaces. // -// Updates a Amazon Connect client add-in. Use this action to update the name -// and endpoint URL of a Amazon Connect client add-in. +// Terminates the specified WorkSpaces pool. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation TerminateWorkspacesPool for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - OperationInProgressException +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesPool +func (c *WorkSpaces) TerminateWorkspacesPool(input *TerminateWorkspacesPoolInput) (*TerminateWorkspacesPoolOutput, error) { + req, out := c.TerminateWorkspacesPoolRequest(input) + return out, req.Send() +} + +// TerminateWorkspacesPoolWithContext is the same as TerminateWorkspacesPool with the addition of +// the ability to pass a context and additional request options. +// +// See TerminateWorkspacesPool for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) TerminateWorkspacesPoolWithContext(ctx aws.Context, input *TerminateWorkspacesPoolInput, opts ...request.Option) (*TerminateWorkspacesPoolOutput, error) { + req, out := c.TerminateWorkspacesPoolRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTerminateWorkspacesPoolSession = "TerminateWorkspacesPoolSession" + +// TerminateWorkspacesPoolSessionRequest generates a "aws/request.Request" representing the +// client's request for the TerminateWorkspacesPoolSession operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TerminateWorkspacesPoolSession for more information on using the TerminateWorkspacesPoolSession +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TerminateWorkspacesPoolSessionRequest method. +// req, resp := client.TerminateWorkspacesPoolSessionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesPoolSession +func (c *WorkSpaces) TerminateWorkspacesPoolSessionRequest(input *TerminateWorkspacesPoolSessionInput) (req *request.Request, output *TerminateWorkspacesPoolSessionOutput) { + op := &request.Operation{ + Name: opTerminateWorkspacesPoolSession, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &TerminateWorkspacesPoolSessionInput{} + } + + output = &TerminateWorkspacesPoolSessionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TerminateWorkspacesPoolSession API operation for Amazon WorkSpaces. +// +// Terminates the WorkSpaces pool session. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation TerminateWorkspacesPoolSession for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - OperationNotSupportedException +// This operation is not supported. +// +// - OperationInProgressException +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesPoolSession +func (c *WorkSpaces) TerminateWorkspacesPoolSession(input *TerminateWorkspacesPoolSessionInput) (*TerminateWorkspacesPoolSessionOutput, error) { + req, out := c.TerminateWorkspacesPoolSessionRequest(input) + return out, req.Send() +} + +// TerminateWorkspacesPoolSessionWithContext is the same as TerminateWorkspacesPoolSession with the addition of +// the ability to pass a context and additional request options. +// +// See TerminateWorkspacesPoolSession for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) TerminateWorkspacesPoolSessionWithContext(ctx aws.Context, input *TerminateWorkspacesPoolSessionInput, opts ...request.Option) (*TerminateWorkspacesPoolSessionOutput, error) { + req, out := c.TerminateWorkspacesPoolSessionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConnectClientAddIn = "UpdateConnectClientAddIn" + +// UpdateConnectClientAddInRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConnectClientAddIn operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateConnectClientAddIn for more information on using the UpdateConnectClientAddIn +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateConnectClientAddInRequest method. +// req, resp := client.UpdateConnectClientAddInRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectClientAddIn +func (c *WorkSpaces) UpdateConnectClientAddInRequest(input *UpdateConnectClientAddInInput) (req *request.Request, output *UpdateConnectClientAddInOutput) { + op := &request.Operation{ + Name: opUpdateConnectClientAddIn, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateConnectClientAddInInput{} + } + + output = &UpdateConnectClientAddInOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateConnectClientAddIn API operation for Amazon WorkSpaces. +// +// Updates a Amazon Connect client add-in. Use this action to update the name +// and endpoint URL of a Amazon Connect client add-in. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7605,6 +8354,104 @@ func (c *WorkSpaces) UpdateWorkspaceImagePermissionWithContext(ctx aws.Context, return out, req.Send() } +const opUpdateWorkspacesPool = "UpdateWorkspacesPool" + +// UpdateWorkspacesPoolRequest generates a "aws/request.Request" representing the +// client's request for the UpdateWorkspacesPool operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateWorkspacesPool for more information on using the UpdateWorkspacesPool +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateWorkspacesPoolRequest method. +// req, resp := client.UpdateWorkspacesPoolRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspacesPool +func (c *WorkSpaces) UpdateWorkspacesPoolRequest(input *UpdateWorkspacesPoolInput) (req *request.Request, output *UpdateWorkspacesPoolOutput) { + op := &request.Operation{ + Name: opUpdateWorkspacesPool, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateWorkspacesPoolInput{} + } + + output = &UpdateWorkspacesPoolOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateWorkspacesPool API operation for Amazon WorkSpaces. +// +// Updates the specified WorkSpaces pool. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation UpdateWorkspacesPool for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - ResourceLimitExceededException +// Your resource limits have been exceeded. +// +// - OperationNotSupportedException +// This operation is not supported. +// +// - OperationInProgressException +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspacesPool +func (c *WorkSpaces) UpdateWorkspacesPool(input *UpdateWorkspacesPoolInput) (*UpdateWorkspacesPoolOutput, error) { + req, out := c.UpdateWorkspacesPoolRequest(input) + return out, req.Send() +} + +// UpdateWorkspacesPoolWithContext is the same as UpdateWorkspacesPool with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateWorkspacesPool for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) UpdateWorkspacesPoolWithContext(ctx aws.Context, input *UpdateWorkspacesPoolInput, opts ...request.Option) (*UpdateWorkspacesPoolOutput, error) { + req, out := c.UpdateWorkspacesPoolRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + type AcceptAccountLinkInvitationInput struct { _ struct{} `type:"structure"` @@ -7895,12 +8742,19 @@ func (s *AccountModification) SetStartTime(v time.Time) *AccountModification { return s } -// The specified application is not supported. -type ApplicationNotSupportedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Information about the Active Directory config. +type ActiveDirectoryConfig struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // The name of the domain. + // + // DomainName is a required field + DomainName *string `type:"string" required:"true"` + + // Indicates the secret ARN on the service account. + // + // ServiceAccountSecretArn is a required field + ServiceAccountSecretArn *string `type:"string" required:"true"` } // String returns the string representation. @@ -7908,7 +8762,7 @@ type ApplicationNotSupportedException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ApplicationNotSupportedException) String() string { +func (s ActiveDirectoryConfig) String() string { return awsutil.Prettify(s) } @@ -7917,13 +8771,67 @@ func (s ApplicationNotSupportedException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ApplicationNotSupportedException) GoString() string { +func (s ActiveDirectoryConfig) GoString() string { return s.String() } -func newErrorApplicationNotSupportedException(v protocol.ResponseMetadata) error { - return &ApplicationNotSupportedException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ActiveDirectoryConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ActiveDirectoryConfig"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.ServiceAccountSecretArn == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceAccountSecretArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *ActiveDirectoryConfig) SetDomainName(v string) *ActiveDirectoryConfig { + s.DomainName = &v + return s +} + +// SetServiceAccountSecretArn sets the ServiceAccountSecretArn field's value. +func (s *ActiveDirectoryConfig) SetServiceAccountSecretArn(v string) *ActiveDirectoryConfig { + s.ServiceAccountSecretArn = &v + return s +} + +// The specified application is not supported. +type ApplicationNotSupportedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationNotSupportedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationNotSupportedException) GoString() string { + return s.String() +} + +func newErrorApplicationNotSupportedException(v protocol.ResponseMetadata) error { + return &ApplicationNotSupportedException{ + RespMetadata: v, } } @@ -8045,6 +8953,123 @@ func (s *ApplicationResourceAssociation) SetStateReason(v *AssociationStateReaso return s } +// The persistent application settings for users of a WorkSpaces pool. +type ApplicationSettingsRequest struct { + _ struct{} `type:"structure"` + + // The path prefix for the S3 bucket where users’ persistent application settings + // are stored. You can allow the same persistent application settings to be + // used across multiple pools by specifying the same settings group for each + // pool. + SettingsGroup *string `type:"string"` + + // Enables or disables persistent application settings for users during their + // pool sessions. + // + // Status is a required field + Status *string `type:"string" required:"true" enum:"ApplicationSettingsStatusEnum"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationSettingsRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationSettingsRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ApplicationSettingsRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ApplicationSettingsRequest"} + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSettingsGroup sets the SettingsGroup field's value. +func (s *ApplicationSettingsRequest) SetSettingsGroup(v string) *ApplicationSettingsRequest { + s.SettingsGroup = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ApplicationSettingsRequest) SetStatus(v string) *ApplicationSettingsRequest { + s.Status = &v + return s +} + +// Describes the persistent application settings for users of a WorkSpaces pool. +type ApplicationSettingsResponse struct { + _ struct{} `type:"structure"` + + // The S3 bucket where users’ persistent application settings are stored. + // When persistent application settings are enabled for the first time for an + // account in an Amazon Web Services Region, an S3 bucket is created. The bucket + // is unique to the Amazon Web Services account and the Region. + S3BucketName *string `min:"3" type:"string"` + + // The path prefix for the S3 bucket where users’ persistent application settings + // are stored. + SettingsGroup *string `type:"string"` + + // Specifies whether persistent application settings are enabled for users during + // their pool sessions. + // + // Status is a required field + Status *string `type:"string" required:"true" enum:"ApplicationSettingsStatusEnum"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationSettingsResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationSettingsResponse) GoString() string { + return s.String() +} + +// SetS3BucketName sets the S3BucketName field's value. +func (s *ApplicationSettingsResponse) SetS3BucketName(v string) *ApplicationSettingsResponse { + s.S3BucketName = &v + return s +} + +// SetSettingsGroup sets the SettingsGroup field's value. +func (s *ApplicationSettingsResponse) SetSettingsGroup(v string) *ApplicationSettingsResponse { + s.SettingsGroup = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ApplicationSettingsResponse) SetStatus(v string) *ApplicationSettingsResponse { + s.Status = &v + return s +} + type AssociateConnectionAliasInput struct { _ struct{} `type:"structure"` @@ -8531,6 +9556,125 @@ func (s *BundleResourceAssociation) SetStateReason(v *AssociationStateReason) *B return s } +// Describes the user capacity for a WorkSpaces pool. +type Capacity struct { + _ struct{} `type:"structure"` + + // The desired number of user sessions for a multi-session pool. This is not + // allowed for single-session pools. + // + // DesiredUserSessions is a required field + DesiredUserSessions *int64 `type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Capacity) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Capacity) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Capacity) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Capacity"} + if s.DesiredUserSessions == nil { + invalidParams.Add(request.NewErrParamRequired("DesiredUserSessions")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDesiredUserSessions sets the DesiredUserSessions field's value. +func (s *Capacity) SetDesiredUserSessions(v int64) *Capacity { + s.DesiredUserSessions = &v + return s +} + +// Describes the capacity status for a WorkSpaces pool +type CapacityStatus struct { + _ struct{} `type:"structure"` + + // The number of user sessions currently being used for pool sessions. This + // only applies to multi-session pools. + // + // ActiveUserSessions is a required field + ActiveUserSessions *int64 `type:"integer" required:"true"` + + // The total number of session slots that are available for WorkSpaces pools. + // + // ActualUserSessions is a required field + ActualUserSessions *int64 `type:"integer" required:"true"` + + // The number of user sessions currently being used for pool sessions. This + // only applies to multi-session pools. + // + // AvailableUserSessions is a required field + AvailableUserSessions *int64 `type:"integer" required:"true"` + + // The total number of sessions slots that are either running or pending. This + // represents the total number of concurrent streaming sessions your pool can + // support in a steady state. + // + // DesiredUserSessions is a required field + DesiredUserSessions *int64 `type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CapacityStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CapacityStatus) GoString() string { + return s.String() +} + +// SetActiveUserSessions sets the ActiveUserSessions field's value. +func (s *CapacityStatus) SetActiveUserSessions(v int64) *CapacityStatus { + s.ActiveUserSessions = &v + return s +} + +// SetActualUserSessions sets the ActualUserSessions field's value. +func (s *CapacityStatus) SetActualUserSessions(v int64) *CapacityStatus { + s.ActualUserSessions = &v + return s +} + +// SetAvailableUserSessions sets the AvailableUserSessions field's value. +func (s *CapacityStatus) SetAvailableUserSessions(v int64) *CapacityStatus { + s.AvailableUserSessions = &v + return s +} + +// SetDesiredUserSessions sets the DesiredUserSessions field's value. +func (s *CapacityStatus) SetDesiredUserSessions(v int64) *CapacityStatus { + s.DesiredUserSessions = &v + return s +} + // Describes the properties of the certificate-based authentication you want // to use with your WorkSpaces. type CertificateBasedAuthProperties struct { @@ -10480,17 +11624,42 @@ func (s *CreateWorkspacesOutput) SetPendingRequests(v []*Workspace) *CreateWorks return s } -// Describes the data replication settings. -type DataReplicationSettings struct { +type CreateWorkspacesPoolInput struct { _ struct{} `type:"structure"` - // Indicates whether data replication is enabled, and if enabled, the type of - // data replication. - DataReplication *string `type:"string" enum:"DataReplication"` + // Indicates the application settings of the WorkSpaces pool. + ApplicationSettings *ApplicationSettingsRequest `type:"structure"` - // The date and time at which the last successful snapshot was taken of the - // primary WorkSpace used for replicating data. - RecoverySnapshotTime *time.Time `type:"timestamp"` + // The identifier of the bundle for the WorkSpaces pool. + // + // BundleId is a required field + BundleId *string `type:"string" required:"true"` + + // The user capacity of the WorkSpaces pool. + // + // Capacity is a required field + Capacity *Capacity `type:"structure" required:"true"` + + // The WorkSpaces pool description. + // + // Description is a required field + Description *string `min:"1" type:"string" required:"true"` + + // The identifier of the directory for the WorkSpaces pool. + // + // DirectoryId is a required field + DirectoryId *string `min:"10" type:"string" required:"true"` + + // The name of the WorkSpaces pool. + // + // PoolName is a required field + PoolName *string `type:"string" required:"true"` + + // The tags for the WorkSpaces pool. + Tags []*Tag `type:"list"` + + // Indicates the timeout settings of the WorkSpaces pool. + TimeoutSettings *TimeoutSettings `type:"structure"` } // String returns the string representation. @@ -10498,7 +11667,7 @@ type DataReplicationSettings struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationSettings) String() string { +func (s CreateWorkspacesPoolInput) String() string { return awsutil.Prettify(s) } @@ -10507,17 +11676,183 @@ func (s DataReplicationSettings) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationSettings) GoString() string { +func (s CreateWorkspacesPoolInput) GoString() string { return s.String() } -// SetDataReplication sets the DataReplication field's value. -func (s *DataReplicationSettings) SetDataReplication(v string) *DataReplicationSettings { - s.DataReplication = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateWorkspacesPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateWorkspacesPoolInput"} + if s.BundleId == nil { + invalidParams.Add(request.NewErrParamRequired("BundleId")) + } + if s.Capacity == nil { + invalidParams.Add(request.NewErrParamRequired("Capacity")) + } + if s.Description == nil { + invalidParams.Add(request.NewErrParamRequired("Description")) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("DirectoryId")) + } + if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) + } + if s.PoolName == nil { + invalidParams.Add(request.NewErrParamRequired("PoolName")) + } + if s.ApplicationSettings != nil { + if err := s.ApplicationSettings.Validate(); err != nil { + invalidParams.AddNested("ApplicationSettings", err.(request.ErrInvalidParams)) + } + } + if s.Capacity != nil { + if err := s.Capacity.Validate(); err != nil { + invalidParams.AddNested("Capacity", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + if s.TimeoutSettings != nil { + if err := s.TimeoutSettings.Validate(); err != nil { + invalidParams.AddNested("TimeoutSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationSettings sets the ApplicationSettings field's value. +func (s *CreateWorkspacesPoolInput) SetApplicationSettings(v *ApplicationSettingsRequest) *CreateWorkspacesPoolInput { + s.ApplicationSettings = v return s } -// SetRecoverySnapshotTime sets the RecoverySnapshotTime field's value. +// SetBundleId sets the BundleId field's value. +func (s *CreateWorkspacesPoolInput) SetBundleId(v string) *CreateWorkspacesPoolInput { + s.BundleId = &v + return s +} + +// SetCapacity sets the Capacity field's value. +func (s *CreateWorkspacesPoolInput) SetCapacity(v *Capacity) *CreateWorkspacesPoolInput { + s.Capacity = v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateWorkspacesPoolInput) SetDescription(v string) *CreateWorkspacesPoolInput { + s.Description = &v + return s +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *CreateWorkspacesPoolInput) SetDirectoryId(v string) *CreateWorkspacesPoolInput { + s.DirectoryId = &v + return s +} + +// SetPoolName sets the PoolName field's value. +func (s *CreateWorkspacesPoolInput) SetPoolName(v string) *CreateWorkspacesPoolInput { + s.PoolName = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateWorkspacesPoolInput) SetTags(v []*Tag) *CreateWorkspacesPoolInput { + s.Tags = v + return s +} + +// SetTimeoutSettings sets the TimeoutSettings field's value. +func (s *CreateWorkspacesPoolInput) SetTimeoutSettings(v *TimeoutSettings) *CreateWorkspacesPoolInput { + s.TimeoutSettings = v + return s +} + +type CreateWorkspacesPoolOutput struct { + _ struct{} `type:"structure"` + + // Indicates the WorkSpaces pool to create. + WorkspacesPool *WorkspacesPool `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateWorkspacesPoolOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateWorkspacesPoolOutput) GoString() string { + return s.String() +} + +// SetWorkspacesPool sets the WorkspacesPool field's value. +func (s *CreateWorkspacesPoolOutput) SetWorkspacesPool(v *WorkspacesPool) *CreateWorkspacesPoolOutput { + s.WorkspacesPool = v + return s +} + +// Describes the data replication settings. +type DataReplicationSettings struct { + _ struct{} `type:"structure"` + + // Indicates whether data replication is enabled, and if enabled, the type of + // data replication. + DataReplication *string `type:"string" enum:"DataReplication"` + + // The date and time at which the last successful snapshot was taken of the + // primary WorkSpace used for replicating data. + RecoverySnapshotTime *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationSettings) GoString() string { + return s.String() +} + +// SetDataReplication sets the DataReplication field's value. +func (s *DataReplicationSettings) SetDataReplication(v string) *DataReplicationSettings { + s.DataReplication = &v + return s +} + +// SetRecoverySnapshotTime sets the RecoverySnapshotTime field's value. func (s *DataReplicationSettings) SetRecoverySnapshotTime(v time.Time) *DataReplicationSettings { s.RecoverySnapshotTime = &v return s @@ -10760,6 +12095,9 @@ type DefaultWorkspaceCreationProperties struct { // Specifies whether the directory is enabled for Amazon WorkDocs. EnableWorkDocs *bool `type:"boolean"` + // Indicates the IAM role ARN of the instance. + InstanceIamRoleArn *string `type:"string"` + // Specifies whether WorkSpace users are local administrators on their WorkSpaces. UserEnabledAsLocalAdministrator *bool `type:"boolean"` } @@ -10812,6 +12150,12 @@ func (s *DefaultWorkspaceCreationProperties) SetEnableWorkDocs(v bool) *DefaultW return s } +// SetInstanceIamRoleArn sets the InstanceIamRoleArn field's value. +func (s *DefaultWorkspaceCreationProperties) SetInstanceIamRoleArn(v string) *DefaultWorkspaceCreationProperties { + s.InstanceIamRoleArn = &v + return s +} + // SetUserEnabledAsLocalAdministrator sets the UserEnabledAsLocalAdministrator field's value. func (s *DefaultWorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator(v bool) *DefaultWorkspaceCreationProperties { s.UserEnabledAsLocalAdministrator = &v @@ -13180,6 +14524,9 @@ type DescribeWorkspaceDirectoriesInput struct { // If you received a NextToken from a previous call that was paginated, provide // this token to receive the next set of results. NextToken *string `min:"1" type:"string"` + + // The names of the WorkSpace directories. + WorkspaceDirectoryNames []*string `min:"1" type:"list"` } // String returns the string representation. @@ -13212,6 +14559,9 @@ func (s *DescribeWorkspaceDirectoriesInput) Validate() error { if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } + if s.WorkspaceDirectoryNames != nil && len(s.WorkspaceDirectoryNames) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkspaceDirectoryNames", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -13237,6 +14587,12 @@ func (s *DescribeWorkspaceDirectoriesInput) SetNextToken(v string) *DescribeWork return s } +// SetWorkspaceDirectoryNames sets the WorkspaceDirectoryNames field's value. +func (s *DescribeWorkspaceDirectoriesInput) SetWorkspaceDirectoryNames(v []*string) *DescribeWorkspaceDirectoriesInput { + s.WorkspaceDirectoryNames = v + return s +} + type DescribeWorkspaceDirectoriesOutput struct { _ struct{} `type:"structure"` @@ -13868,13 +15224,23 @@ func (s *DescribeWorkspacesOutput) SetWorkspaces(v []*Workspace) *DescribeWorksp return s } -type DisassociateConnectionAliasInput struct { +type DescribeWorkspacesPoolSessionsInput struct { _ struct{} `type:"structure"` - // The identifier of the connection alias to disassociate. + // The maximum number of items to return. + Limit *int64 `min:"1" type:"integer"` + + // If you received a NextToken from a previous call that was paginated, provide + // this token to receive the next set of results. + NextToken *string `min:"1" type:"string"` + + // The identifier of the WorkSpaces pool. // - // AliasId is a required field - AliasId *string `min:"13" type:"string" required:"true"` + // PoolId is a required field + PoolId *string `type:"string" required:"true"` + + // The identifier of the user. + UserId *string `min:"2" type:"string"` } // String returns the string representation. @@ -13882,7 +15248,7 @@ type DisassociateConnectionAliasInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateConnectionAliasInput) String() string { +func (s DescribeWorkspacesPoolSessionsInput) String() string { return awsutil.Prettify(s) } @@ -13891,18 +15257,24 @@ func (s DisassociateConnectionAliasInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateConnectionAliasInput) GoString() string { +func (s DescribeWorkspacesPoolSessionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DisassociateConnectionAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisassociateConnectionAliasInput"} - if s.AliasId == nil { - invalidParams.Add(request.NewErrParamRequired("AliasId")) +func (s *DescribeWorkspacesPoolSessionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeWorkspacesPoolSessionsInput"} + if s.Limit != nil && *s.Limit < 1 { + invalidParams.Add(request.NewErrParamMinValue("Limit", 1)) } - if s.AliasId != nil && len(*s.AliasId) < 13 { - invalidParams.Add(request.NewErrParamMinLen("AliasId", 13)) + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.PoolId == nil { + invalidParams.Add(request.NewErrParamRequired("PoolId")) + } + if s.UserId != nil && len(*s.UserId) < 2 { + invalidParams.Add(request.NewErrParamMinLen("UserId", 2)) } if invalidParams.Len() > 0 { @@ -13911,14 +15283,39 @@ func (s *DisassociateConnectionAliasInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *DisassociateConnectionAliasInput) SetAliasId(v string) *DisassociateConnectionAliasInput { - s.AliasId = &v +// SetLimit sets the Limit field's value. +func (s *DescribeWorkspacesPoolSessionsInput) SetLimit(v int64) *DescribeWorkspacesPoolSessionsInput { + s.Limit = &v return s } -type DisassociateConnectionAliasOutput struct { +// SetNextToken sets the NextToken field's value. +func (s *DescribeWorkspacesPoolSessionsInput) SetNextToken(v string) *DescribeWorkspacesPoolSessionsInput { + s.NextToken = &v + return s +} + +// SetPoolId sets the PoolId field's value. +func (s *DescribeWorkspacesPoolSessionsInput) SetPoolId(v string) *DescribeWorkspacesPoolSessionsInput { + s.PoolId = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *DescribeWorkspacesPoolSessionsInput) SetUserId(v string) *DescribeWorkspacesPoolSessionsInput { + s.UserId = &v + return s +} + +type DescribeWorkspacesPoolSessionsOutput struct { _ struct{} `type:"structure"` + + // If you received a NextToken from a previous call that was paginated, provide + // this token to receive the next set of results. + NextToken *string `min:"1" type:"string"` + + // Describes the WorkSpaces pool sessions. + Sessions []*WorkspacesPoolSession `type:"list"` } // String returns the string representation. @@ -13926,7 +15323,7 @@ type DisassociateConnectionAliasOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateConnectionAliasOutput) String() string { +func (s DescribeWorkspacesPoolSessionsOutput) String() string { return awsutil.Prettify(s) } @@ -13935,22 +15332,40 @@ func (s DisassociateConnectionAliasOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateConnectionAliasOutput) GoString() string { +func (s DescribeWorkspacesPoolSessionsOutput) GoString() string { return s.String() } -type DisassociateIpGroupsInput struct { +// SetNextToken sets the NextToken field's value. +func (s *DescribeWorkspacesPoolSessionsOutput) SetNextToken(v string) *DescribeWorkspacesPoolSessionsOutput { + s.NextToken = &v + return s +} + +// SetSessions sets the Sessions field's value. +func (s *DescribeWorkspacesPoolSessionsOutput) SetSessions(v []*WorkspacesPoolSession) *DescribeWorkspacesPoolSessionsOutput { + s.Sessions = v + return s +} + +// Describes the filter conditions for the WorkSpaces pool to return. +type DescribeWorkspacesPoolsFilter struct { _ struct{} `type:"structure"` - // The identifier of the directory. + // The name of the pool to filter. // - // DirectoryId is a required field - DirectoryId *string `min:"10" type:"string" required:"true"` + // Name is a required field + Name *string `type:"string" required:"true" enum:"DescribeWorkspacesPoolsFilterName"` - // The identifiers of one or more IP access control groups. + // The operator values for filtering WorkSpaces pools. // - // GroupIds is a required field - GroupIds []*string `type:"list" required:"true"` + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"DescribeWorkspacesPoolsFilterOperator"` + + // The values for filtering WorkSpaces pools. + // + // Values is a required field + Values []*string `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -13958,7 +15373,7 @@ type DisassociateIpGroupsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateIpGroupsInput) String() string { +func (s DescribeWorkspacesPoolsFilter) String() string { return awsutil.Prettify(s) } @@ -13967,21 +15382,24 @@ func (s DisassociateIpGroupsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateIpGroupsInput) GoString() string { +func (s DescribeWorkspacesPoolsFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DisassociateIpGroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisassociateIpGroupsInput"} - if s.DirectoryId == nil { - invalidParams.Add(request.NewErrParamRequired("DirectoryId")) +func (s *DescribeWorkspacesPoolsFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeWorkspacesPoolsFilter"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) } - if s.GroupIds == nil { - invalidParams.Add(request.NewErrParamRequired("GroupIds")) + if s.Values == nil { + invalidParams.Add(request.NewErrParamRequired("Values")) + } + if s.Values != nil && len(s.Values) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Values", 1)) } if invalidParams.Len() > 0 { @@ -13990,52 +15408,39 @@ func (s *DisassociateIpGroupsInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DisassociateIpGroupsInput) SetDirectoryId(v string) *DisassociateIpGroupsInput { - s.DirectoryId = &v +// SetName sets the Name field's value. +func (s *DescribeWorkspacesPoolsFilter) SetName(v string) *DescribeWorkspacesPoolsFilter { + s.Name = &v return s } -// SetGroupIds sets the GroupIds field's value. -func (s *DisassociateIpGroupsInput) SetGroupIds(v []*string) *DisassociateIpGroupsInput { - s.GroupIds = v +// SetOperator sets the Operator field's value. +func (s *DescribeWorkspacesPoolsFilter) SetOperator(v string) *DescribeWorkspacesPoolsFilter { + s.Operator = &v return s } -type DisassociateIpGroupsOutput struct { - _ struct{} `type:"structure"` +// SetValues sets the Values field's value. +func (s *DescribeWorkspacesPoolsFilter) SetValues(v []*string) *DescribeWorkspacesPoolsFilter { + s.Values = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisassociateIpGroupsOutput) String() string { - return awsutil.Prettify(s) -} +type DescribeWorkspacesPoolsInput struct { + _ struct{} `type:"structure"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisassociateIpGroupsOutput) GoString() string { - return s.String() -} + // The filter conditions for the WorkSpaces pool to return. + Filters []*DescribeWorkspacesPoolsFilter `min:"1" type:"list"` -type DisassociateWorkspaceApplicationInput struct { - _ struct{} `type:"structure"` + // The maximum number of items to return. + Limit *int64 `min:"1" type:"integer"` - // The identifier of the application. - // - // ApplicationId is a required field - ApplicationId *string `type:"string" required:"true"` + // If you received a NextToken from a previous call that was paginated, provide + // this token to receive the next set of results. + NextToken *string `min:"1" type:"string"` - // The identifier of the WorkSpace. - // - // WorkspaceId is a required field - WorkspaceId *string `type:"string" required:"true"` + // The identifier of the WorkSpaces pool. + PoolIds []*string `min:"1" type:"list"` } // String returns the string representation. @@ -14043,7 +15448,7 @@ type DisassociateWorkspaceApplicationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateWorkspaceApplicationInput) String() string { +func (s DescribeWorkspacesPoolsInput) String() string { return awsutil.Prettify(s) } @@ -14052,18 +15457,34 @@ func (s DisassociateWorkspaceApplicationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateWorkspaceApplicationInput) GoString() string { +func (s DescribeWorkspacesPoolsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DisassociateWorkspaceApplicationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisassociateWorkspaceApplicationInput"} - if s.ApplicationId == nil { - invalidParams.Add(request.NewErrParamRequired("ApplicationId")) +func (s *DescribeWorkspacesPoolsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeWorkspacesPoolsInput"} + if s.Filters != nil && len(s.Filters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) } - if s.WorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) + if s.Limit != nil && *s.Limit < 1 { + invalidParams.Add(request.NewErrParamMinValue("Limit", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.PoolIds != nil && len(s.PoolIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PoolIds", 1)) + } + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -14072,23 +15493,39 @@ func (s *DisassociateWorkspaceApplicationInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DisassociateWorkspaceApplicationInput) SetApplicationId(v string) *DisassociateWorkspaceApplicationInput { - s.ApplicationId = &v +// SetFilters sets the Filters field's value. +func (s *DescribeWorkspacesPoolsInput) SetFilters(v []*DescribeWorkspacesPoolsFilter) *DescribeWorkspacesPoolsInput { + s.Filters = v return s } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *DisassociateWorkspaceApplicationInput) SetWorkspaceId(v string) *DisassociateWorkspaceApplicationInput { - s.WorkspaceId = &v +// SetLimit sets the Limit field's value. +func (s *DescribeWorkspacesPoolsInput) SetLimit(v int64) *DescribeWorkspacesPoolsInput { + s.Limit = &v return s } -type DisassociateWorkspaceApplicationOutput struct { - _ struct{} `type:"structure"` - - // Information about the targeted association. - Association *WorkspaceResourceAssociation `type:"structure"` +// SetNextToken sets the NextToken field's value. +func (s *DescribeWorkspacesPoolsInput) SetNextToken(v string) *DescribeWorkspacesPoolsInput { + s.NextToken = &v + return s +} + +// SetPoolIds sets the PoolIds field's value. +func (s *DescribeWorkspacesPoolsInput) SetPoolIds(v []*string) *DescribeWorkspacesPoolsInput { + s.PoolIds = v + return s +} + +type DescribeWorkspacesPoolsOutput struct { + _ struct{} `type:"structure"` + + // If you received a NextToken from a previous call that was paginated, provide + // this token to receive the next set of results. + NextToken *string `min:"1" type:"string"` + + // Information about the WorkSpaces pools. + WorkspacesPools []*WorkspacesPool `type:"list"` } // String returns the string representation. @@ -14096,7 +15533,7 @@ type DisassociateWorkspaceApplicationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateWorkspaceApplicationOutput) String() string { +func (s DescribeWorkspacesPoolsOutput) String() string { return awsutil.Prettify(s) } @@ -14105,26 +15542,29 @@ func (s DisassociateWorkspaceApplicationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateWorkspaceApplicationOutput) GoString() string { +func (s DescribeWorkspacesPoolsOutput) GoString() string { return s.String() } -// SetAssociation sets the Association field's value. -func (s *DisassociateWorkspaceApplicationOutput) SetAssociation(v *WorkspaceResourceAssociation) *DisassociateWorkspaceApplicationOutput { - s.Association = v +// SetNextToken sets the NextToken field's value. +func (s *DescribeWorkspacesPoolsOutput) SetNextToken(v string) *DescribeWorkspacesPoolsOutput { + s.NextToken = &v return s } -// Describes in-depth details about the error. These details include the possible -// causes of the error and troubleshooting information. -type ErrorDetails struct { - _ struct{} `type:"structure"` +// SetWorkspacesPools sets the WorkspacesPools field's value. +func (s *DescribeWorkspacesPoolsOutput) SetWorkspacesPools(v []*WorkspacesPool) *DescribeWorkspacesPoolsOutput { + s.WorkspacesPools = v + return s +} - // Indicates the error code returned. - ErrorCode *string `type:"string" enum:"WorkspaceImageErrorDetailCode"` +type DisassociateConnectionAliasInput struct { + _ struct{} `type:"structure"` - // The text of the error message related the error code. - ErrorMessage *string `type:"string"` + // The identifier of the connection alias to disassociate. + // + // AliasId is a required field + AliasId *string `min:"13" type:"string" required:"true"` } // String returns the string representation. @@ -14132,7 +15572,7 @@ type ErrorDetails struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ErrorDetails) String() string { +func (s DisassociateConnectionAliasInput) String() string { return awsutil.Prettify(s) } @@ -14141,35 +15581,34 @@ func (s ErrorDetails) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ErrorDetails) GoString() string { +func (s DisassociateConnectionAliasInput) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *ErrorDetails) SetErrorCode(v string) *ErrorDetails { - s.ErrorCode = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateConnectionAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateConnectionAliasInput"} + if s.AliasId == nil { + invalidParams.Add(request.NewErrParamRequired("AliasId")) + } + if s.AliasId != nil && len(*s.AliasId) < 13 { + invalidParams.Add(request.NewErrParamMinLen("AliasId", 13)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *ErrorDetails) SetErrorMessage(v string) *ErrorDetails { - s.ErrorMessage = &v +// SetAliasId sets the AliasId field's value. +func (s *DisassociateConnectionAliasInput) SetAliasId(v string) *DisassociateConnectionAliasInput { + s.AliasId = &v return s } -// Describes the standby WorkSpace that could not be created. -type FailedCreateStandbyWorkspacesRequest struct { +type DisassociateConnectionAliasOutput struct { _ struct{} `type:"structure"` - - // The error code that is returned if the standby WorkSpace could not be created. - ErrorCode *string `type:"string"` - - // The text of the error message that is returned if the standby WorkSpace could - // not be created. - ErrorMessage *string `type:"string"` - - // Information about the standby WorkSpace that could not be created. - StandbyWorkspaceRequest *StandbyWorkspace `type:"structure"` } // String returns the string representation. @@ -14177,7 +15616,7 @@ type FailedCreateStandbyWorkspacesRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailedCreateStandbyWorkspacesRequest) String() string { +func (s DisassociateConnectionAliasOutput) String() string { return awsutil.Prettify(s) } @@ -14186,41 +15625,22 @@ func (s FailedCreateStandbyWorkspacesRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailedCreateStandbyWorkspacesRequest) GoString() string { +func (s DisassociateConnectionAliasOutput) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *FailedCreateStandbyWorkspacesRequest) SetErrorCode(v string) *FailedCreateStandbyWorkspacesRequest { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *FailedCreateStandbyWorkspacesRequest) SetErrorMessage(v string) *FailedCreateStandbyWorkspacesRequest { - s.ErrorMessage = &v - return s -} - -// SetStandbyWorkspaceRequest sets the StandbyWorkspaceRequest field's value. -func (s *FailedCreateStandbyWorkspacesRequest) SetStandbyWorkspaceRequest(v *StandbyWorkspace) *FailedCreateStandbyWorkspacesRequest { - s.StandbyWorkspaceRequest = v - return s -} - -// Describes a WorkSpace that cannot be created. -type FailedCreateWorkspaceRequest struct { +type DisassociateIpGroupsInput struct { _ struct{} `type:"structure"` - // The error code that is returned if the WorkSpace cannot be created. - ErrorCode *string `type:"string"` - - // The text of the error message that is returned if the WorkSpace cannot be - // created. - ErrorMessage *string `type:"string"` + // The identifier of the directory. + // + // DirectoryId is a required field + DirectoryId *string `min:"10" type:"string" required:"true"` - // Information about the WorkSpace. - WorkspaceRequest *WorkspaceRequest `type:"structure"` + // The identifiers of one or more IP access control groups. + // + // GroupIds is a required field + GroupIds []*string `type:"list" required:"true"` } // String returns the string representation. @@ -14228,7 +15648,7 @@ type FailedCreateWorkspaceRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailedCreateWorkspaceRequest) String() string { +func (s DisassociateIpGroupsInput) String() string { return awsutil.Prettify(s) } @@ -14237,43 +15657,43 @@ func (s FailedCreateWorkspaceRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailedCreateWorkspaceRequest) GoString() string { +func (s DisassociateIpGroupsInput) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *FailedCreateWorkspaceRequest) SetErrorCode(v string) *FailedCreateWorkspaceRequest { - s.ErrorCode = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateIpGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateIpGroupsInput"} + if s.DirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("DirectoryId")) + } + if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) + } + if s.GroupIds == nil { + invalidParams.Add(request.NewErrParamRequired("GroupIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *FailedCreateWorkspaceRequest) SetErrorMessage(v string) *FailedCreateWorkspaceRequest { - s.ErrorMessage = &v +// SetDirectoryId sets the DirectoryId field's value. +func (s *DisassociateIpGroupsInput) SetDirectoryId(v string) *DisassociateIpGroupsInput { + s.DirectoryId = &v return s } -// SetWorkspaceRequest sets the WorkspaceRequest field's value. -func (s *FailedCreateWorkspaceRequest) SetWorkspaceRequest(v *WorkspaceRequest) *FailedCreateWorkspaceRequest { - s.WorkspaceRequest = v +// SetGroupIds sets the GroupIds field's value. +func (s *DisassociateIpGroupsInput) SetGroupIds(v []*string) *DisassociateIpGroupsInput { + s.GroupIds = v return s } -// Describes a WorkSpace that could not be rebooted. (RebootWorkspaces), rebuilt -// (RebuildWorkspaces), restored (RestoreWorkspace), terminated (TerminateWorkspaces), -// started (StartWorkspaces), or stopped (StopWorkspaces). -type FailedWorkspaceChangeRequest struct { +type DisassociateIpGroupsOutput struct { _ struct{} `type:"structure"` - - // The error code that is returned if the WorkSpace cannot be rebooted. - ErrorCode *string `type:"string"` - - // The text of the error message that is returned if the WorkSpace cannot be - // rebooted. - ErrorMessage *string `type:"string"` - - // The identifier of the WorkSpace. - WorkspaceId *string `type:"string"` } // String returns the string representation. @@ -14281,7 +15701,7 @@ type FailedWorkspaceChangeRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailedWorkspaceChangeRequest) String() string { +func (s DisassociateIpGroupsOutput) String() string { return awsutil.Prettify(s) } @@ -14290,36 +15710,22 @@ func (s FailedWorkspaceChangeRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FailedWorkspaceChangeRequest) GoString() string { +func (s DisassociateIpGroupsOutput) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *FailedWorkspaceChangeRequest) SetErrorCode(v string) *FailedWorkspaceChangeRequest { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *FailedWorkspaceChangeRequest) SetErrorMessage(v string) *FailedWorkspaceChangeRequest { - s.ErrorMessage = &v - return s -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *FailedWorkspaceChangeRequest) SetWorkspaceId(v string) *FailedWorkspaceChangeRequest { - s.WorkspaceId = &v - return s -} - -type GetAccountLinkInput struct { +type DisassociateWorkspaceApplicationInput struct { _ struct{} `type:"structure"` - // The identifier of the account to link. - LinkId *string `type:"string"` + // The identifier of the application. + // + // ApplicationId is a required field + ApplicationId *string `type:"string" required:"true"` - // The identifier of the account link - LinkedAccountId *string `type:"string"` + // The identifier of the WorkSpace. + // + // WorkspaceId is a required field + WorkspaceId *string `type:"string" required:"true"` } // String returns the string representation. @@ -14327,7 +15733,7 @@ type GetAccountLinkInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAccountLinkInput) String() string { +func (s DisassociateWorkspaceApplicationInput) String() string { return awsutil.Prettify(s) } @@ -14336,27 +15742,43 @@ func (s GetAccountLinkInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAccountLinkInput) GoString() string { +func (s DisassociateWorkspaceApplicationInput) GoString() string { return s.String() } -// SetLinkId sets the LinkId field's value. -func (s *GetAccountLinkInput) SetLinkId(v string) *GetAccountLinkInput { - s.LinkId = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateWorkspaceApplicationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateWorkspaceApplicationInput"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) + } + if s.WorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *DisassociateWorkspaceApplicationInput) SetApplicationId(v string) *DisassociateWorkspaceApplicationInput { + s.ApplicationId = &v return s } -// SetLinkedAccountId sets the LinkedAccountId field's value. -func (s *GetAccountLinkInput) SetLinkedAccountId(v string) *GetAccountLinkInput { - s.LinkedAccountId = &v +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *DisassociateWorkspaceApplicationInput) SetWorkspaceId(v string) *DisassociateWorkspaceApplicationInput { + s.WorkspaceId = &v return s } -type GetAccountLinkOutput struct { +type DisassociateWorkspaceApplicationOutput struct { _ struct{} `type:"structure"` - // The account link of the account link to retrieve. - AccountLink *AccountLink `type:"structure"` + // Information about the targeted association. + Association *WorkspaceResourceAssociation `type:"structure"` } // String returns the string representation. @@ -14364,7 +15786,7 @@ type GetAccountLinkOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAccountLinkOutput) String() string { +func (s DisassociateWorkspaceApplicationOutput) String() string { return awsutil.Prettify(s) } @@ -14373,25 +15795,26 @@ func (s GetAccountLinkOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetAccountLinkOutput) GoString() string { +func (s DisassociateWorkspaceApplicationOutput) GoString() string { return s.String() } -// SetAccountLink sets the AccountLink field's value. -func (s *GetAccountLinkOutput) SetAccountLink(v *AccountLink) *GetAccountLinkOutput { - s.AccountLink = v - return s -} +// SetAssociation sets the Association field's value. +func (s *DisassociateWorkspaceApplicationOutput) SetAssociation(v *WorkspaceResourceAssociation) *DisassociateWorkspaceApplicationOutput { + s.Association = v + return s +} -// Describes the Amazon Web Services accounts that have been granted permission -// to use a shared image. For more information about sharing images, see Share -// or Unshare a Custom WorkSpaces Image (https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html). -type ImagePermission struct { +// Describes in-depth details about the error. These details include the possible +// causes of the error and troubleshooting information. +type ErrorDetails struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Web Services account that an image has been - // shared with. - SharedAccountId *string `type:"string"` + // Indicates the error code returned. + ErrorCode *string `type:"string" enum:"WorkspaceImageErrorDetailCode"` + + // The text of the error message related the error code. + ErrorMessage *string `type:"string"` } // String returns the string representation. @@ -14399,7 +15822,7 @@ type ImagePermission struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImagePermission) String() string { +func (s ErrorDetails) String() string { return awsutil.Prettify(s) } @@ -14408,40 +15831,35 @@ func (s ImagePermission) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImagePermission) GoString() string { +func (s ErrorDetails) GoString() string { return s.String() } -// SetSharedAccountId sets the SharedAccountId field's value. -func (s *ImagePermission) SetSharedAccountId(v string) *ImagePermission { - s.SharedAccountId = &v +// SetErrorCode sets the ErrorCode field's value. +func (s *ErrorDetails) SetErrorCode(v string) *ErrorDetails { + s.ErrorCode = &v return s } -// Describes the association between an application and an image resource. -type ImageResourceAssociation struct { - _ struct{} `type:"structure"` - - // The identifier of the associated resource. - AssociatedResourceId *string `min:"1" type:"string"` - - // The resource type of the associated resources. - AssociatedResourceType *string `type:"string" enum:"ImageAssociatedResourceType"` - - // The time the association is created. - Created *time.Time `type:"timestamp"` +// SetErrorMessage sets the ErrorMessage field's value. +func (s *ErrorDetails) SetErrorMessage(v string) *ErrorDetails { + s.ErrorMessage = &v + return s +} - // The identifier of the image. - ImageId *string `type:"string"` +// Describes the standby WorkSpace that could not be created. +type FailedCreateStandbyWorkspacesRequest struct { + _ struct{} `type:"structure"` - // The time the association status was last updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // The error code that is returned if the standby WorkSpace could not be created. + ErrorCode *string `type:"string"` - // The status of the image resource association. - State *string `type:"string" enum:"AssociationState"` + // The text of the error message that is returned if the standby WorkSpace could + // not be created. + ErrorMessage *string `type:"string"` - // The reason the association deployment failed. - StateReason *AssociationStateReason `type:"structure"` + // Information about the standby WorkSpace that could not be created. + StandbyWorkspaceRequest *StandbyWorkspace `type:"structure"` } // String returns the string representation. @@ -14449,7 +15867,7 @@ type ImageResourceAssociation struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImageResourceAssociation) String() string { +func (s FailedCreateStandbyWorkspacesRequest) String() string { return awsutil.Prettify(s) } @@ -14458,78 +15876,94 @@ func (s ImageResourceAssociation) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImageResourceAssociation) GoString() string { +func (s FailedCreateStandbyWorkspacesRequest) GoString() string { return s.String() } -// SetAssociatedResourceId sets the AssociatedResourceId field's value. -func (s *ImageResourceAssociation) SetAssociatedResourceId(v string) *ImageResourceAssociation { - s.AssociatedResourceId = &v +// SetErrorCode sets the ErrorCode field's value. +func (s *FailedCreateStandbyWorkspacesRequest) SetErrorCode(v string) *FailedCreateStandbyWorkspacesRequest { + s.ErrorCode = &v return s } -// SetAssociatedResourceType sets the AssociatedResourceType field's value. -func (s *ImageResourceAssociation) SetAssociatedResourceType(v string) *ImageResourceAssociation { - s.AssociatedResourceType = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *FailedCreateStandbyWorkspacesRequest) SetErrorMessage(v string) *FailedCreateStandbyWorkspacesRequest { + s.ErrorMessage = &v return s } -// SetCreated sets the Created field's value. -func (s *ImageResourceAssociation) SetCreated(v time.Time) *ImageResourceAssociation { - s.Created = &v +// SetStandbyWorkspaceRequest sets the StandbyWorkspaceRequest field's value. +func (s *FailedCreateStandbyWorkspacesRequest) SetStandbyWorkspaceRequest(v *StandbyWorkspace) *FailedCreateStandbyWorkspacesRequest { + s.StandbyWorkspaceRequest = v return s } -// SetImageId sets the ImageId field's value. -func (s *ImageResourceAssociation) SetImageId(v string) *ImageResourceAssociation { - s.ImageId = &v - return s +// Describes a WorkSpace that cannot be created. +type FailedCreateWorkspaceRequest struct { + _ struct{} `type:"structure"` + + // The error code that is returned if the WorkSpace cannot be created. + ErrorCode *string `type:"string"` + + // The text of the error message that is returned if the WorkSpace cannot be + // created. + ErrorMessage *string `type:"string"` + + // Information about the WorkSpace. + WorkspaceRequest *WorkspaceRequest `type:"structure"` } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *ImageResourceAssociation) SetLastUpdatedTime(v time.Time) *ImageResourceAssociation { - s.LastUpdatedTime = &v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FailedCreateWorkspaceRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FailedCreateWorkspaceRequest) GoString() string { + return s.String() +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *FailedCreateWorkspaceRequest) SetErrorCode(v string) *FailedCreateWorkspaceRequest { + s.ErrorCode = &v return s } -// SetState sets the State field's value. -func (s *ImageResourceAssociation) SetState(v string) *ImageResourceAssociation { - s.State = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *FailedCreateWorkspaceRequest) SetErrorMessage(v string) *FailedCreateWorkspaceRequest { + s.ErrorMessage = &v return s } -// SetStateReason sets the StateReason field's value. -func (s *ImageResourceAssociation) SetStateReason(v *AssociationStateReason) *ImageResourceAssociation { - s.StateReason = v +// SetWorkspaceRequest sets the WorkspaceRequest field's value. +func (s *FailedCreateWorkspaceRequest) SetWorkspaceRequest(v *WorkspaceRequest) *FailedCreateWorkspaceRequest { + s.WorkspaceRequest = v return s } -type ImportClientBrandingInput struct { +// Describes a WorkSpace that could not be rebooted. (RebootWorkspaces), rebuilt +// (RebuildWorkspaces), restored (RestoreWorkspace), terminated (TerminateWorkspaces), +// started (StartWorkspaces), or stopped (StopWorkspaces). +type FailedWorkspaceChangeRequest struct { _ struct{} `type:"structure"` - // The branding information to import for Android devices. - DeviceTypeAndroid *DefaultImportClientBrandingAttributes `type:"structure"` - - // The branding information to import for iOS devices. - DeviceTypeIos *IosImportClientBrandingAttributes `type:"structure"` - - // The branding information to import for Linux devices. - DeviceTypeLinux *DefaultImportClientBrandingAttributes `type:"structure"` - - // The branding information to import for macOS devices. - DeviceTypeOsx *DefaultImportClientBrandingAttributes `type:"structure"` - - // The branding information to import for web access. - DeviceTypeWeb *DefaultImportClientBrandingAttributes `type:"structure"` + // The error code that is returned if the WorkSpace cannot be rebooted. + ErrorCode *string `type:"string"` - // The branding information to import for Windows devices. - DeviceTypeWindows *DefaultImportClientBrandingAttributes `type:"structure"` + // The text of the error message that is returned if the WorkSpace cannot be + // rebooted. + ErrorMessage *string `type:"string"` - // The directory identifier of the WorkSpace for which you want to import client - // branding. - // - // ResourceId is a required field - ResourceId *string `min:"10" type:"string" required:"true"` + // The identifier of the WorkSpace. + WorkspaceId *string `type:"string"` } // String returns the string representation. @@ -14537,7 +15971,7 @@ type ImportClientBrandingInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportClientBrandingInput) String() string { +func (s FailedWorkspaceChangeRequest) String() string { return awsutil.Prettify(s) } @@ -14546,118 +15980,36 @@ func (s ImportClientBrandingInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportClientBrandingInput) GoString() string { +func (s FailedWorkspaceChangeRequest) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ImportClientBrandingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ImportClientBrandingInput"} - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) - } - if s.ResourceId != nil && len(*s.ResourceId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) - } - if s.DeviceTypeAndroid != nil { - if err := s.DeviceTypeAndroid.Validate(); err != nil { - invalidParams.AddNested("DeviceTypeAndroid", err.(request.ErrInvalidParams)) - } - } - if s.DeviceTypeIos != nil { - if err := s.DeviceTypeIos.Validate(); err != nil { - invalidParams.AddNested("DeviceTypeIos", err.(request.ErrInvalidParams)) - } - } - if s.DeviceTypeLinux != nil { - if err := s.DeviceTypeLinux.Validate(); err != nil { - invalidParams.AddNested("DeviceTypeLinux", err.(request.ErrInvalidParams)) - } - } - if s.DeviceTypeOsx != nil { - if err := s.DeviceTypeOsx.Validate(); err != nil { - invalidParams.AddNested("DeviceTypeOsx", err.(request.ErrInvalidParams)) - } - } - if s.DeviceTypeWeb != nil { - if err := s.DeviceTypeWeb.Validate(); err != nil { - invalidParams.AddNested("DeviceTypeWeb", err.(request.ErrInvalidParams)) - } - } - if s.DeviceTypeWindows != nil { - if err := s.DeviceTypeWindows.Validate(); err != nil { - invalidParams.AddNested("DeviceTypeWindows", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDeviceTypeAndroid sets the DeviceTypeAndroid field's value. -func (s *ImportClientBrandingInput) SetDeviceTypeAndroid(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { - s.DeviceTypeAndroid = v +// SetErrorCode sets the ErrorCode field's value. +func (s *FailedWorkspaceChangeRequest) SetErrorCode(v string) *FailedWorkspaceChangeRequest { + s.ErrorCode = &v return s } -// SetDeviceTypeIos sets the DeviceTypeIos field's value. -func (s *ImportClientBrandingInput) SetDeviceTypeIos(v *IosImportClientBrandingAttributes) *ImportClientBrandingInput { - s.DeviceTypeIos = v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *FailedWorkspaceChangeRequest) SetErrorMessage(v string) *FailedWorkspaceChangeRequest { + s.ErrorMessage = &v return s } -// SetDeviceTypeLinux sets the DeviceTypeLinux field's value. -func (s *ImportClientBrandingInput) SetDeviceTypeLinux(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { - s.DeviceTypeLinux = v +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *FailedWorkspaceChangeRequest) SetWorkspaceId(v string) *FailedWorkspaceChangeRequest { + s.WorkspaceId = &v return s } -// SetDeviceTypeOsx sets the DeviceTypeOsx field's value. -func (s *ImportClientBrandingInput) SetDeviceTypeOsx(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { - s.DeviceTypeOsx = v - return s -} +type GetAccountLinkInput struct { + _ struct{} `type:"structure"` -// SetDeviceTypeWeb sets the DeviceTypeWeb field's value. -func (s *ImportClientBrandingInput) SetDeviceTypeWeb(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { - s.DeviceTypeWeb = v - return s -} + // The identifier of the account to link. + LinkId *string `type:"string"` -// SetDeviceTypeWindows sets the DeviceTypeWindows field's value. -func (s *ImportClientBrandingInput) SetDeviceTypeWindows(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { - s.DeviceTypeWindows = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ImportClientBrandingInput) SetResourceId(v string) *ImportClientBrandingInput { - s.ResourceId = &v - return s -} - -type ImportClientBrandingOutput struct { - _ struct{} `type:"structure"` - - // The branding information configured for Android devices. - DeviceTypeAndroid *DefaultClientBrandingAttributes `type:"structure"` - - // The branding information configured for iOS devices. - DeviceTypeIos *IosClientBrandingAttributes `type:"structure"` - - // The branding information configured for Linux devices. - DeviceTypeLinux *DefaultClientBrandingAttributes `type:"structure"` - - // The branding information configured for macOS devices. - DeviceTypeOsx *DefaultClientBrandingAttributes `type:"structure"` - - // The branding information configured for web access. - DeviceTypeWeb *DefaultClientBrandingAttributes `type:"structure"` - - // The branding information configured for Windows devices. - DeviceTypeWindows *DefaultClientBrandingAttributes `type:"structure"` + // The identifier of the account link + LinkedAccountId *string `type:"string"` } // String returns the string representation. @@ -14665,7 +16017,7 @@ type ImportClientBrandingOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportClientBrandingOutput) String() string { +func (s GetAccountLinkInput) String() string { return awsutil.Prettify(s) } @@ -14674,93 +16026,27 @@ func (s ImportClientBrandingOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportClientBrandingOutput) GoString() string { +func (s GetAccountLinkInput) GoString() string { return s.String() } -// SetDeviceTypeAndroid sets the DeviceTypeAndroid field's value. -func (s *ImportClientBrandingOutput) SetDeviceTypeAndroid(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { - s.DeviceTypeAndroid = v - return s -} - -// SetDeviceTypeIos sets the DeviceTypeIos field's value. -func (s *ImportClientBrandingOutput) SetDeviceTypeIos(v *IosClientBrandingAttributes) *ImportClientBrandingOutput { - s.DeviceTypeIos = v - return s -} - -// SetDeviceTypeLinux sets the DeviceTypeLinux field's value. -func (s *ImportClientBrandingOutput) SetDeviceTypeLinux(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { - s.DeviceTypeLinux = v - return s -} - -// SetDeviceTypeOsx sets the DeviceTypeOsx field's value. -func (s *ImportClientBrandingOutput) SetDeviceTypeOsx(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { - s.DeviceTypeOsx = v - return s -} - -// SetDeviceTypeWeb sets the DeviceTypeWeb field's value. -func (s *ImportClientBrandingOutput) SetDeviceTypeWeb(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { - s.DeviceTypeWeb = v +// SetLinkId sets the LinkId field's value. +func (s *GetAccountLinkInput) SetLinkId(v string) *GetAccountLinkInput { + s.LinkId = &v return s } -// SetDeviceTypeWindows sets the DeviceTypeWindows field's value. -func (s *ImportClientBrandingOutput) SetDeviceTypeWindows(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { - s.DeviceTypeWindows = v +// SetLinkedAccountId sets the LinkedAccountId field's value. +func (s *GetAccountLinkInput) SetLinkedAccountId(v string) *GetAccountLinkInput { + s.LinkedAccountId = &v return s } -type ImportWorkspaceImageInput struct { +type GetAccountLinkOutput struct { _ struct{} `type:"structure"` - // If specified, the version of Microsoft Office to subscribe to. Valid only - // for Windows 10 and 11 BYOL images. For more information about subscribing - // to Office for BYOL images, see Bring Your Own Windows Desktop Licenses (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). - // - // * Although this parameter is an array, only one item is allowed at this - // time. - // - // * Windows 11 only supports Microsoft_Office_2019. - Applications []*string `min:"1" type:"list" enum:"Application"` - - // The identifier of the EC2 image. - // - // Ec2ImageId is a required field - Ec2ImageId *string `type:"string" required:"true"` - - // The description of the WorkSpace image. - // - // ImageDescription is a required field - ImageDescription *string `min:"1" type:"string" required:"true"` - - // The name of the WorkSpace image. - // - // ImageName is a required field - ImageName *string `min:"1" type:"string" required:"true"` - - // The ingestion process to be used when importing the image, depending on which - // protocol you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces - // Streaming Protocol (WSP), or bring your own protocol (BYOP). To use WSP, - // specify a value that ends in _WSP. To use PCoIP, specify a value that does - // not end in _WSP. To use BYOP, specify a value that ends in _BYOP. - // - // For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), - // specify BYOL_REGULAR, BYOL_REGULAR_WSP, or BYOL_REGULAR_BYOP, depending on - // the protocol. - // - // The BYOL_REGULAR_BYOP and BYOL_GRAPHICS_G4DN_BYOP values are only supported - // by Amazon WorkSpaces Core. Contact your account team to be allow-listed to - // use these values. For more information, see Amazon WorkSpaces Core (http://aws.amazon.com/workspaces/core/). - // - // IngestionProcess is a required field - IngestionProcess *string `type:"string" required:"true" enum:"WorkspaceImageIngestionProcess"` - - // The tags. Each WorkSpaces resource can have a maximum of 50 tags. - Tags []*Tag `type:"list"` + // The account link of the account link to retrieve. + AccountLink *AccountLink `type:"structure"` } // String returns the string representation. @@ -14768,7 +16054,7 @@ type ImportWorkspaceImageInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportWorkspaceImageInput) String() string { +func (s GetAccountLinkOutput) String() string { return awsutil.Prettify(s) } @@ -14777,92 +16063,25 @@ func (s ImportWorkspaceImageInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportWorkspaceImageInput) GoString() string { +func (s GetAccountLinkOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ImportWorkspaceImageInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ImportWorkspaceImageInput"} - if s.Applications != nil && len(s.Applications) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Applications", 1)) - } - if s.Ec2ImageId == nil { - invalidParams.Add(request.NewErrParamRequired("Ec2ImageId")) - } - if s.ImageDescription == nil { - invalidParams.Add(request.NewErrParamRequired("ImageDescription")) - } - if s.ImageDescription != nil && len(*s.ImageDescription) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ImageDescription", 1)) - } - if s.ImageName == nil { - invalidParams.Add(request.NewErrParamRequired("ImageName")) - } - if s.ImageName != nil && len(*s.ImageName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) - } - if s.IngestionProcess == nil { - invalidParams.Add(request.NewErrParamRequired("IngestionProcess")) - } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetApplications sets the Applications field's value. -func (s *ImportWorkspaceImageInput) SetApplications(v []*string) *ImportWorkspaceImageInput { - s.Applications = v - return s -} - -// SetEc2ImageId sets the Ec2ImageId field's value. -func (s *ImportWorkspaceImageInput) SetEc2ImageId(v string) *ImportWorkspaceImageInput { - s.Ec2ImageId = &v - return s -} - -// SetImageDescription sets the ImageDescription field's value. -func (s *ImportWorkspaceImageInput) SetImageDescription(v string) *ImportWorkspaceImageInput { - s.ImageDescription = &v - return s -} - -// SetImageName sets the ImageName field's value. -func (s *ImportWorkspaceImageInput) SetImageName(v string) *ImportWorkspaceImageInput { - s.ImageName = &v - return s -} - -// SetIngestionProcess sets the IngestionProcess field's value. -func (s *ImportWorkspaceImageInput) SetIngestionProcess(v string) *ImportWorkspaceImageInput { - s.IngestionProcess = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ImportWorkspaceImageInput) SetTags(v []*Tag) *ImportWorkspaceImageInput { - s.Tags = v +// SetAccountLink sets the AccountLink field's value. +func (s *GetAccountLinkOutput) SetAccountLink(v *AccountLink) *GetAccountLinkOutput { + s.AccountLink = v return s } -type ImportWorkspaceImageOutput struct { +// Describes the Amazon Web Services accounts that have been granted permission +// to use a shared image. For more information about sharing images, see Share +// or Unshare a Custom WorkSpaces Image (https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html). +type ImagePermission struct { _ struct{} `type:"structure"` - // The identifier of the WorkSpace image. - ImageId *string `type:"string"` + // The identifier of the Amazon Web Services account that an image has been + // shared with. + SharedAccountId *string `type:"string"` } // String returns the string representation. @@ -14870,7 +16089,7 @@ type ImportWorkspaceImageOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportWorkspaceImageOutput) String() string { +func (s ImagePermission) String() string { return awsutil.Prettify(s) } @@ -14879,22 +16098,40 @@ func (s ImportWorkspaceImageOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ImportWorkspaceImageOutput) GoString() string { +func (s ImagePermission) GoString() string { return s.String() } -// SetImageId sets the ImageId field's value. -func (s *ImportWorkspaceImageOutput) SetImageId(v string) *ImportWorkspaceImageOutput { - s.ImageId = &v +// SetSharedAccountId sets the SharedAccountId field's value. +func (s *ImagePermission) SetSharedAccountId(v string) *ImagePermission { + s.SharedAccountId = &v return s } -// The specified application is not compatible with the resource. -type IncompatibleApplicationsException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Describes the association between an application and an image resource. +type ImageResourceAssociation struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // The identifier of the associated resource. + AssociatedResourceId *string `min:"1" type:"string"` + + // The resource type of the associated resources. + AssociatedResourceType *string `type:"string" enum:"ImageAssociatedResourceType"` + + // The time the association is created. + Created *time.Time `type:"timestamp"` + + // The identifier of the image. + ImageId *string `type:"string"` + + // The time the association status was last updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // The status of the image resource association. + State *string `type:"string" enum:"AssociationState"` + + // The reason the association deployment failed. + StateReason *AssociationStateReason `type:"structure"` } // String returns the string representation. @@ -14902,7 +16139,7 @@ type IncompatibleApplicationsException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IncompatibleApplicationsException) String() string { +func (s ImageResourceAssociation) String() string { return awsutil.Prettify(s) } @@ -14911,54 +16148,1360 @@ func (s IncompatibleApplicationsException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IncompatibleApplicationsException) GoString() string { +func (s ImageResourceAssociation) GoString() string { return s.String() } -func newErrorIncompatibleApplicationsException(v protocol.ResponseMetadata) error { - return &IncompatibleApplicationsException{ +// SetAssociatedResourceId sets the AssociatedResourceId field's value. +func (s *ImageResourceAssociation) SetAssociatedResourceId(v string) *ImageResourceAssociation { + s.AssociatedResourceId = &v + return s +} + +// SetAssociatedResourceType sets the AssociatedResourceType field's value. +func (s *ImageResourceAssociation) SetAssociatedResourceType(v string) *ImageResourceAssociation { + s.AssociatedResourceType = &v + return s +} + +// SetCreated sets the Created field's value. +func (s *ImageResourceAssociation) SetCreated(v time.Time) *ImageResourceAssociation { + s.Created = &v + return s +} + +// SetImageId sets the ImageId field's value. +func (s *ImageResourceAssociation) SetImageId(v string) *ImageResourceAssociation { + s.ImageId = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *ImageResourceAssociation) SetLastUpdatedTime(v time.Time) *ImageResourceAssociation { + s.LastUpdatedTime = &v + return s +} + +// SetState sets the State field's value. +func (s *ImageResourceAssociation) SetState(v string) *ImageResourceAssociation { + s.State = &v + return s +} + +// SetStateReason sets the StateReason field's value. +func (s *ImageResourceAssociation) SetStateReason(v *AssociationStateReason) *ImageResourceAssociation { + s.StateReason = v + return s +} + +type ImportClientBrandingInput struct { + _ struct{} `type:"structure"` + + // The branding information to import for Android devices. + DeviceTypeAndroid *DefaultImportClientBrandingAttributes `type:"structure"` + + // The branding information to import for iOS devices. + DeviceTypeIos *IosImportClientBrandingAttributes `type:"structure"` + + // The branding information to import for Linux devices. + DeviceTypeLinux *DefaultImportClientBrandingAttributes `type:"structure"` + + // The branding information to import for macOS devices. + DeviceTypeOsx *DefaultImportClientBrandingAttributes `type:"structure"` + + // The branding information to import for web access. + DeviceTypeWeb *DefaultImportClientBrandingAttributes `type:"structure"` + + // The branding information to import for Windows devices. + DeviceTypeWindows *DefaultImportClientBrandingAttributes `type:"structure"` + + // The directory identifier of the WorkSpace for which you want to import client + // branding. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportClientBrandingInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportClientBrandingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ImportClientBrandingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ImportClientBrandingInput"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + if s.DeviceTypeAndroid != nil { + if err := s.DeviceTypeAndroid.Validate(); err != nil { + invalidParams.AddNested("DeviceTypeAndroid", err.(request.ErrInvalidParams)) + } + } + if s.DeviceTypeIos != nil { + if err := s.DeviceTypeIos.Validate(); err != nil { + invalidParams.AddNested("DeviceTypeIos", err.(request.ErrInvalidParams)) + } + } + if s.DeviceTypeLinux != nil { + if err := s.DeviceTypeLinux.Validate(); err != nil { + invalidParams.AddNested("DeviceTypeLinux", err.(request.ErrInvalidParams)) + } + } + if s.DeviceTypeOsx != nil { + if err := s.DeviceTypeOsx.Validate(); err != nil { + invalidParams.AddNested("DeviceTypeOsx", err.(request.ErrInvalidParams)) + } + } + if s.DeviceTypeWeb != nil { + if err := s.DeviceTypeWeb.Validate(); err != nil { + invalidParams.AddNested("DeviceTypeWeb", err.(request.ErrInvalidParams)) + } + } + if s.DeviceTypeWindows != nil { + if err := s.DeviceTypeWindows.Validate(); err != nil { + invalidParams.AddNested("DeviceTypeWindows", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeviceTypeAndroid sets the DeviceTypeAndroid field's value. +func (s *ImportClientBrandingInput) SetDeviceTypeAndroid(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { + s.DeviceTypeAndroid = v + return s +} + +// SetDeviceTypeIos sets the DeviceTypeIos field's value. +func (s *ImportClientBrandingInput) SetDeviceTypeIos(v *IosImportClientBrandingAttributes) *ImportClientBrandingInput { + s.DeviceTypeIos = v + return s +} + +// SetDeviceTypeLinux sets the DeviceTypeLinux field's value. +func (s *ImportClientBrandingInput) SetDeviceTypeLinux(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { + s.DeviceTypeLinux = v + return s +} + +// SetDeviceTypeOsx sets the DeviceTypeOsx field's value. +func (s *ImportClientBrandingInput) SetDeviceTypeOsx(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { + s.DeviceTypeOsx = v + return s +} + +// SetDeviceTypeWeb sets the DeviceTypeWeb field's value. +func (s *ImportClientBrandingInput) SetDeviceTypeWeb(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { + s.DeviceTypeWeb = v + return s +} + +// SetDeviceTypeWindows sets the DeviceTypeWindows field's value. +func (s *ImportClientBrandingInput) SetDeviceTypeWindows(v *DefaultImportClientBrandingAttributes) *ImportClientBrandingInput { + s.DeviceTypeWindows = v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *ImportClientBrandingInput) SetResourceId(v string) *ImportClientBrandingInput { + s.ResourceId = &v + return s +} + +type ImportClientBrandingOutput struct { + _ struct{} `type:"structure"` + + // The branding information configured for Android devices. + DeviceTypeAndroid *DefaultClientBrandingAttributes `type:"structure"` + + // The branding information configured for iOS devices. + DeviceTypeIos *IosClientBrandingAttributes `type:"structure"` + + // The branding information configured for Linux devices. + DeviceTypeLinux *DefaultClientBrandingAttributes `type:"structure"` + + // The branding information configured for macOS devices. + DeviceTypeOsx *DefaultClientBrandingAttributes `type:"structure"` + + // The branding information configured for web access. + DeviceTypeWeb *DefaultClientBrandingAttributes `type:"structure"` + + // The branding information configured for Windows devices. + DeviceTypeWindows *DefaultClientBrandingAttributes `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportClientBrandingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportClientBrandingOutput) GoString() string { + return s.String() +} + +// SetDeviceTypeAndroid sets the DeviceTypeAndroid field's value. +func (s *ImportClientBrandingOutput) SetDeviceTypeAndroid(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { + s.DeviceTypeAndroid = v + return s +} + +// SetDeviceTypeIos sets the DeviceTypeIos field's value. +func (s *ImportClientBrandingOutput) SetDeviceTypeIos(v *IosClientBrandingAttributes) *ImportClientBrandingOutput { + s.DeviceTypeIos = v + return s +} + +// SetDeviceTypeLinux sets the DeviceTypeLinux field's value. +func (s *ImportClientBrandingOutput) SetDeviceTypeLinux(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { + s.DeviceTypeLinux = v + return s +} + +// SetDeviceTypeOsx sets the DeviceTypeOsx field's value. +func (s *ImportClientBrandingOutput) SetDeviceTypeOsx(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { + s.DeviceTypeOsx = v + return s +} + +// SetDeviceTypeWeb sets the DeviceTypeWeb field's value. +func (s *ImportClientBrandingOutput) SetDeviceTypeWeb(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { + s.DeviceTypeWeb = v + return s +} + +// SetDeviceTypeWindows sets the DeviceTypeWindows field's value. +func (s *ImportClientBrandingOutput) SetDeviceTypeWindows(v *DefaultClientBrandingAttributes) *ImportClientBrandingOutput { + s.DeviceTypeWindows = v + return s +} + +type ImportWorkspaceImageInput struct { + _ struct{} `type:"structure"` + + // If specified, the version of Microsoft Office to subscribe to. Valid only + // for Windows 10 and 11 BYOL images. For more information about subscribing + // to Office for BYOL images, see Bring Your Own Windows Desktop Licenses (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). + // + // * Although this parameter is an array, only one item is allowed at this + // time. + // + // * Windows 11 only supports Microsoft_Office_2019. + Applications []*string `min:"1" type:"list" enum:"Application"` + + // The identifier of the EC2 image. + // + // Ec2ImageId is a required field + Ec2ImageId *string `type:"string" required:"true"` + + // The description of the WorkSpace image. + // + // ImageDescription is a required field + ImageDescription *string `min:"1" type:"string" required:"true"` + + // The name of the WorkSpace image. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The ingestion process to be used when importing the image, depending on which + // protocol you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces + // Streaming Protocol (WSP), or bring your own protocol (BYOP). To use WSP, + // specify a value that ends in _WSP. To use PCoIP, specify a value that does + // not end in _WSP. To use BYOP, specify a value that ends in _BYOP. + // + // For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), + // specify BYOL_REGULAR, BYOL_REGULAR_WSP, or BYOL_REGULAR_BYOP, depending on + // the protocol. + // + // The BYOL_REGULAR_BYOP and BYOL_GRAPHICS_G4DN_BYOP values are only supported + // by Amazon WorkSpaces Core. Contact your account team to be allow-listed to + // use these values. For more information, see Amazon WorkSpaces Core (http://aws.amazon.com/workspaces/core/). + // + // IngestionProcess is a required field + IngestionProcess *string `type:"string" required:"true" enum:"WorkspaceImageIngestionProcess"` + + // The tags. Each WorkSpaces resource can have a maximum of 50 tags. + Tags []*Tag `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportWorkspaceImageInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportWorkspaceImageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ImportWorkspaceImageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ImportWorkspaceImageInput"} + if s.Applications != nil && len(s.Applications) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Applications", 1)) + } + if s.Ec2ImageId == nil { + invalidParams.Add(request.NewErrParamRequired("Ec2ImageId")) + } + if s.ImageDescription == nil { + invalidParams.Add(request.NewErrParamRequired("ImageDescription")) + } + if s.ImageDescription != nil && len(*s.ImageDescription) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageDescription", 1)) + } + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + if s.IngestionProcess == nil { + invalidParams.Add(request.NewErrParamRequired("IngestionProcess")) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplications sets the Applications field's value. +func (s *ImportWorkspaceImageInput) SetApplications(v []*string) *ImportWorkspaceImageInput { + s.Applications = v + return s +} + +// SetEc2ImageId sets the Ec2ImageId field's value. +func (s *ImportWorkspaceImageInput) SetEc2ImageId(v string) *ImportWorkspaceImageInput { + s.Ec2ImageId = &v + return s +} + +// SetImageDescription sets the ImageDescription field's value. +func (s *ImportWorkspaceImageInput) SetImageDescription(v string) *ImportWorkspaceImageInput { + s.ImageDescription = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *ImportWorkspaceImageInput) SetImageName(v string) *ImportWorkspaceImageInput { + s.ImageName = &v + return s +} + +// SetIngestionProcess sets the IngestionProcess field's value. +func (s *ImportWorkspaceImageInput) SetIngestionProcess(v string) *ImportWorkspaceImageInput { + s.IngestionProcess = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ImportWorkspaceImageInput) SetTags(v []*Tag) *ImportWorkspaceImageInput { + s.Tags = v + return s +} + +type ImportWorkspaceImageOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the WorkSpace image. + ImageId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportWorkspaceImageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportWorkspaceImageOutput) GoString() string { + return s.String() +} + +// SetImageId sets the ImageId field's value. +func (s *ImportWorkspaceImageOutput) SetImageId(v string) *ImportWorkspaceImageOutput { + s.ImageId = &v + return s +} + +// The specified application is not compatible with the resource. +type IncompatibleApplicationsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IncompatibleApplicationsException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IncompatibleApplicationsException) GoString() string { + return s.String() +} + +func newErrorIncompatibleApplicationsException(v protocol.ResponseMetadata) error { + return &IncompatibleApplicationsException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *IncompatibleApplicationsException) Code() string { + return "IncompatibleApplicationsException" +} + +// Message returns the exception's message. +func (s *IncompatibleApplicationsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *IncompatibleApplicationsException) OrigErr() error { + return nil +} + +func (s *IncompatibleApplicationsException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *IncompatibleApplicationsException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *IncompatibleApplicationsException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Unexpected server error occured. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +// One or more parameter values are not valid. +type InvalidParameterValuesException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The exception error message. + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidParameterValuesException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidParameterValuesException) GoString() string { + return s.String() +} + +func newErrorInvalidParameterValuesException(v protocol.ResponseMetadata) error { + return &InvalidParameterValuesException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidParameterValuesException) Code() string { + return "InvalidParameterValuesException" +} + +// Message returns the exception's message. +func (s *InvalidParameterValuesException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidParameterValuesException) OrigErr() error { + return nil +} + +func (s *InvalidParameterValuesException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidParameterValuesException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidParameterValuesException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The state of the resource is not valid for this operation. +type InvalidResourceStateException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidResourceStateException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidResourceStateException) GoString() string { + return s.String() +} + +func newErrorInvalidResourceStateException(v protocol.ResponseMetadata) error { + return &InvalidResourceStateException{ RespMetadata: v, } } -// Code returns the exception type name. -func (s *IncompatibleApplicationsException) Code() string { - return "IncompatibleApplicationsException" +// Code returns the exception type name. +func (s *InvalidResourceStateException) Code() string { + return "InvalidResourceStateException" +} + +// Message returns the exception's message. +func (s *InvalidResourceStateException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidResourceStateException) OrigErr() error { + return nil +} + +func (s *InvalidResourceStateException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidResourceStateException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidResourceStateException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The client branding attributes for iOS device types. These attributes are +// displayed on the iOS client login screen only. +// +// Client branding attributes are public facing. Ensure you do not include sensitive +// information. +type IosClientBrandingAttributes struct { + _ struct{} `type:"structure"` + + // The forgotten password link. This is the web address that users can go to + // if they forget the password for their WorkSpace. + ForgotPasswordLink *string `min:"1" type:"string"` + + // The login message. Specified as a key value pair, in which the key is a locale + // and the value is the localized message for that locale. The only key supported + // is en_US. The HTML tags supported include the following: a, b, blockquote, + // br, cite, code, dd, dl, dt, div, em, i, li, ol, p, pre, q, small, span, strike, + // strong, sub, sup, u, ul. + LoginMessage map[string]*string `type:"map"` + + // The @2x version of the logo. This is the higher resolution display that offers + // a scale factor of 2.0 (or @2x). The only image format accepted is a binary + // data object that is converted from a .png file. + // + // For more information about iOS image size and resolution, see Image Size + // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) + // in the Apple Human Interface Guidelines. + Logo2xUrl *string `min:"1" type:"string"` + + // The @3x version of the logo. This is the higher resolution display that offers + // a scale factor of 3.0 (or @3x).The only image format accepted is a binary + // data object that is converted from a .png file. + // + // For more information about iOS image size and resolution, see Image Size + // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) + // in the Apple Human Interface Guidelines. + Logo3xUrl *string `min:"1" type:"string"` + + // The logo. This is the standard-resolution display that has a 1:1 pixel density + // (or @1x), where one pixel is equal to one point. The only image format accepted + // is a binary data object that is converted from a .png file. + LogoUrl *string `min:"1" type:"string"` + + // The support email. The company's customer support email address. + // + // * In each platform type, the SupportEmail and SupportLink parameters are + // mutually exclusive. You can specify one parameter for each platform type, + // but not both. + // + // * The default email is workspaces-feedback@amazon.com. + SupportEmail *string `min:"6" type:"string"` + + // The support link. The link for the company's customer support page for their + // WorkSpace. + // + // * In each platform type, the SupportEmail and SupportLink parameters are + // mutually exclusive. You can specify one parameter for each platform type, + // but not both. + // + // * The default support link is workspaces-feedback@amazon.com. + SupportLink *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IosClientBrandingAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IosClientBrandingAttributes) GoString() string { + return s.String() +} + +// SetForgotPasswordLink sets the ForgotPasswordLink field's value. +func (s *IosClientBrandingAttributes) SetForgotPasswordLink(v string) *IosClientBrandingAttributes { + s.ForgotPasswordLink = &v + return s +} + +// SetLoginMessage sets the LoginMessage field's value. +func (s *IosClientBrandingAttributes) SetLoginMessage(v map[string]*string) *IosClientBrandingAttributes { + s.LoginMessage = v + return s +} + +// SetLogo2xUrl sets the Logo2xUrl field's value. +func (s *IosClientBrandingAttributes) SetLogo2xUrl(v string) *IosClientBrandingAttributes { + s.Logo2xUrl = &v + return s +} + +// SetLogo3xUrl sets the Logo3xUrl field's value. +func (s *IosClientBrandingAttributes) SetLogo3xUrl(v string) *IosClientBrandingAttributes { + s.Logo3xUrl = &v + return s +} + +// SetLogoUrl sets the LogoUrl field's value. +func (s *IosClientBrandingAttributes) SetLogoUrl(v string) *IosClientBrandingAttributes { + s.LogoUrl = &v + return s +} + +// SetSupportEmail sets the SupportEmail field's value. +func (s *IosClientBrandingAttributes) SetSupportEmail(v string) *IosClientBrandingAttributes { + s.SupportEmail = &v + return s +} + +// SetSupportLink sets the SupportLink field's value. +func (s *IosClientBrandingAttributes) SetSupportLink(v string) *IosClientBrandingAttributes { + s.SupportLink = &v + return s +} + +// The client branding attributes to import for iOS device types. These attributes +// are displayed on the iOS client login screen. +// +// Client branding attributes are public facing. Ensure you do not include sensitive +// information. +type IosImportClientBrandingAttributes struct { + _ struct{} `type:"structure"` + + // The forgotten password link. This is the web address that users can go to + // if they forget the password for their WorkSpace. + ForgotPasswordLink *string `min:"1" type:"string"` + + // The login message. Specified as a key value pair, in which the key is a locale + // and the value is the localized message for that locale. The only key supported + // is en_US. The HTML tags supported include the following: a, b, blockquote, + // br, cite, code, dd, dl, dt, div, em, i, li, ol, p, pre, q, small, span, strike, + // strong, sub, sup, u, ul. + LoginMessage map[string]*string `type:"map"` + + // The logo. This is the standard-resolution display that has a 1:1 pixel density + // (or @1x), where one pixel is equal to one point. The only image format accepted + // is a binary data object that is converted from a .png file. + // Logo is automatically base64 encoded/decoded by the SDK. + Logo []byte `min:"1" type:"blob"` + + // The @2x version of the logo. This is the higher resolution display that offers + // a scale factor of 2.0 (or @2x). The only image format accepted is a binary + // data object that is converted from a .png file. + // + // For more information about iOS image size and resolution, see Image Size + // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) + // in the Apple Human Interface Guidelines. + // Logo2x is automatically base64 encoded/decoded by the SDK. + Logo2x []byte `min:"1" type:"blob"` + + // The @3x version of the logo. This is the higher resolution display that offers + // a scale factor of 3.0 (or @3x). The only image format accepted is a binary + // data object that is converted from a .png file. + // + // For more information about iOS image size and resolution, see Image Size + // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) + // in the Apple Human Interface Guidelines. + // Logo3x is automatically base64 encoded/decoded by the SDK. + Logo3x []byte `min:"1" type:"blob"` + + // The support email. The company's customer support email address. + // + // * In each platform type, the SupportEmail and SupportLink parameters are + // mutually exclusive. You can specify one parameter for each platform type, + // but not both. + // + // * The default email is workspaces-feedback@amazon.com. + SupportEmail *string `min:"6" type:"string"` + + // The support link. The link for the company's customer support page for their + // WorkSpace. + // + // * In each platform type, the SupportEmail and SupportLink parameters are + // mutually exclusive. You can specify one parameter for each platform type, + // but not both. + // + // * The default support link is workspaces-feedback@amazon.com. + SupportLink *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IosImportClientBrandingAttributes) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IosImportClientBrandingAttributes) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IosImportClientBrandingAttributes) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IosImportClientBrandingAttributes"} + if s.ForgotPasswordLink != nil && len(*s.ForgotPasswordLink) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ForgotPasswordLink", 1)) + } + if s.Logo != nil && len(s.Logo) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Logo", 1)) + } + if s.Logo2x != nil && len(s.Logo2x) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Logo2x", 1)) + } + if s.Logo3x != nil && len(s.Logo3x) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Logo3x", 1)) + } + if s.SupportEmail != nil && len(*s.SupportEmail) < 6 { + invalidParams.Add(request.NewErrParamMinLen("SupportEmail", 6)) + } + if s.SupportLink != nil && len(*s.SupportLink) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SupportLink", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetForgotPasswordLink sets the ForgotPasswordLink field's value. +func (s *IosImportClientBrandingAttributes) SetForgotPasswordLink(v string) *IosImportClientBrandingAttributes { + s.ForgotPasswordLink = &v + return s +} + +// SetLoginMessage sets the LoginMessage field's value. +func (s *IosImportClientBrandingAttributes) SetLoginMessage(v map[string]*string) *IosImportClientBrandingAttributes { + s.LoginMessage = v + return s +} + +// SetLogo sets the Logo field's value. +func (s *IosImportClientBrandingAttributes) SetLogo(v []byte) *IosImportClientBrandingAttributes { + s.Logo = v + return s +} + +// SetLogo2x sets the Logo2x field's value. +func (s *IosImportClientBrandingAttributes) SetLogo2x(v []byte) *IosImportClientBrandingAttributes { + s.Logo2x = v + return s +} + +// SetLogo3x sets the Logo3x field's value. +func (s *IosImportClientBrandingAttributes) SetLogo3x(v []byte) *IosImportClientBrandingAttributes { + s.Logo3x = v + return s +} + +// SetSupportEmail sets the SupportEmail field's value. +func (s *IosImportClientBrandingAttributes) SetSupportEmail(v string) *IosImportClientBrandingAttributes { + s.SupportEmail = &v + return s +} + +// SetSupportLink sets the SupportLink field's value. +func (s *IosImportClientBrandingAttributes) SetSupportLink(v string) *IosImportClientBrandingAttributes { + s.SupportLink = &v + return s +} + +// Describes an IP access control group. +type IpGroup struct { + _ struct{} `type:"structure"` + + // The description of the group. + GroupDesc *string `locationName:"groupDesc" type:"string"` + + // The identifier of the group. + GroupId *string `locationName:"groupId" type:"string"` + + // The name of the group. + GroupName *string `locationName:"groupName" type:"string"` + + // The rules. + UserRules []*IpRuleItem `locationName:"userRules" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IpGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IpGroup) GoString() string { + return s.String() +} + +// SetGroupDesc sets the GroupDesc field's value. +func (s *IpGroup) SetGroupDesc(v string) *IpGroup { + s.GroupDesc = &v + return s +} + +// SetGroupId sets the GroupId field's value. +func (s *IpGroup) SetGroupId(v string) *IpGroup { + s.GroupId = &v + return s +} + +// SetGroupName sets the GroupName field's value. +func (s *IpGroup) SetGroupName(v string) *IpGroup { + s.GroupName = &v + return s +} + +// SetUserRules sets the UserRules field's value. +func (s *IpGroup) SetUserRules(v []*IpRuleItem) *IpGroup { + s.UserRules = v + return s +} + +// Describes a rule for an IP access control group. +type IpRuleItem struct { + _ struct{} `type:"structure"` + + // The IP address range, in CIDR notation. + IpRule *string `locationName:"ipRule" type:"string"` + + // The description. + RuleDesc *string `locationName:"ruleDesc" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IpRuleItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IpRuleItem) GoString() string { + return s.String() +} + +// SetIpRule sets the IpRule field's value. +func (s *IpRuleItem) SetIpRule(v string) *IpRuleItem { + s.IpRule = &v + return s +} + +// SetRuleDesc sets the RuleDesc field's value. +func (s *IpRuleItem) SetRuleDesc(v string) *IpRuleItem { + s.RuleDesc = &v + return s +} + +type ListAccountLinksInput struct { + _ struct{} `type:"structure"` + + // Filters the account based on their link status. + LinkStatusFilter []*string `type:"list" enum:"AccountLinkStatusEnum"` + + // The maximum number of accounts to return. + MaxResults *int64 `min:"1" type:"integer"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAccountLinksInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAccountLinksInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAccountLinksInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAccountLinksInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLinkStatusFilter sets the LinkStatusFilter field's value. +func (s *ListAccountLinksInput) SetLinkStatusFilter(v []*string) *ListAccountLinksInput { + s.LinkStatusFilter = v + return s } -// Message returns the exception's message. -func (s *IncompatibleApplicationsException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetMaxResults sets the MaxResults field's value. +func (s *ListAccountLinksInput) SetMaxResults(v int64) *ListAccountLinksInput { + s.MaxResults = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *IncompatibleApplicationsException) OrigErr() error { +// SetNextToken sets the NextToken field's value. +func (s *ListAccountLinksInput) SetNextToken(v string) *ListAccountLinksInput { + s.NextToken = &v + return s +} + +type ListAccountLinksOutput struct { + _ struct{} `type:"structure"` + + // Information about the account links. + AccountLinks []*AccountLink `type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAccountLinksOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAccountLinksOutput) GoString() string { + return s.String() +} + +// SetAccountLinks sets the AccountLinks field's value. +func (s *ListAccountLinksOutput) SetAccountLinks(v []*AccountLink) *ListAccountLinksOutput { + s.AccountLinks = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAccountLinksOutput) SetNextToken(v string) *ListAccountLinksOutput { + s.NextToken = &v + return s +} + +type ListAvailableManagementCidrRangesInput struct { + _ struct{} `type:"structure"` + + // The IP address range to search. Specify an IP address range that is compatible + // with your network and in CIDR notation (that is, specify the range as an + // IPv4 CIDR block). + // + // ManagementCidrRangeConstraint is a required field + ManagementCidrRangeConstraint *string `type:"string" required:"true"` + + // The maximum number of items to return. + MaxResults *int64 `min:"1" type:"integer"` + + // If you received a NextToken from a previous call that was paginated, provide + // this token to receive the next set of results. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAvailableManagementCidrRangesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAvailableManagementCidrRangesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAvailableManagementCidrRangesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAvailableManagementCidrRangesInput"} + if s.ManagementCidrRangeConstraint == nil { + invalidParams.Add(request.NewErrParamRequired("ManagementCidrRangeConstraint")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *IncompatibleApplicationsException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetManagementCidrRangeConstraint sets the ManagementCidrRangeConstraint field's value. +func (s *ListAvailableManagementCidrRangesInput) SetManagementCidrRangeConstraint(v string) *ListAvailableManagementCidrRangesInput { + s.ManagementCidrRangeConstraint = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *IncompatibleApplicationsException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetMaxResults sets the MaxResults field's value. +func (s *ListAvailableManagementCidrRangesInput) SetMaxResults(v int64) *ListAvailableManagementCidrRangesInput { + s.MaxResults = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *IncompatibleApplicationsException) RequestID() string { - return s.RespMetadata.RequestID +// SetNextToken sets the NextToken field's value. +func (s *ListAvailableManagementCidrRangesInput) SetNextToken(v string) *ListAvailableManagementCidrRangesInput { + s.NextToken = &v + return s +} + +type ListAvailableManagementCidrRangesOutput struct { + _ struct{} `type:"structure"` + + // The list of available IP address ranges, specified as IPv4 CIDR blocks. + ManagementCidrRanges []*string `type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAvailableManagementCidrRangesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAvailableManagementCidrRangesOutput) GoString() string { + return s.String() +} + +// SetManagementCidrRanges sets the ManagementCidrRanges field's value. +func (s *ListAvailableManagementCidrRangesOutput) SetManagementCidrRanges(v []*string) *ListAvailableManagementCidrRangesOutput { + s.ManagementCidrRanges = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAvailableManagementCidrRangesOutput) SetNextToken(v string) *ListAvailableManagementCidrRangesOutput { + s.NextToken = &v + return s +} + +type MigrateWorkspaceInput struct { + _ struct{} `type:"structure"` + + // The identifier of the target bundle type to migrate the WorkSpace to. + // + // BundleId is a required field + BundleId *string `type:"string" required:"true"` + + // The identifier of the WorkSpace to migrate from. + // + // SourceWorkspaceId is a required field + SourceWorkspaceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MigrateWorkspaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MigrateWorkspaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MigrateWorkspaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MigrateWorkspaceInput"} + if s.BundleId == nil { + invalidParams.Add(request.NewErrParamRequired("BundleId")) + } + if s.SourceWorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceWorkspaceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBundleId sets the BundleId field's value. +func (s *MigrateWorkspaceInput) SetBundleId(v string) *MigrateWorkspaceInput { + s.BundleId = &v + return s +} + +// SetSourceWorkspaceId sets the SourceWorkspaceId field's value. +func (s *MigrateWorkspaceInput) SetSourceWorkspaceId(v string) *MigrateWorkspaceInput { + s.SourceWorkspaceId = &v + return s } -// Unexpected server error occured. -type InternalServerException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type MigrateWorkspaceOutput struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // The original identifier of the WorkSpace that is being migrated. + SourceWorkspaceId *string `type:"string"` + + // The new identifier of the WorkSpace that is being migrated. If the migration + // does not succeed, the target WorkSpace ID will not be used, and the WorkSpace + // will still have the original WorkSpace ID. + TargetWorkspaceId *string `type:"string"` } // String returns the string representation. @@ -14966,7 +17509,7 @@ type InternalServerException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerException) String() string { +func (s MigrateWorkspaceOutput) String() string { return awsutil.Prettify(s) } @@ -14975,55 +17518,76 @@ func (s InternalServerException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerException) GoString() string { +func (s MigrateWorkspaceOutput) GoString() string { return s.String() } -func newErrorInternalServerException(v protocol.ResponseMetadata) error { - return &InternalServerException{ - RespMetadata: v, - } +// SetSourceWorkspaceId sets the SourceWorkspaceId field's value. +func (s *MigrateWorkspaceOutput) SetSourceWorkspaceId(v string) *MigrateWorkspaceOutput { + s.SourceWorkspaceId = &v + return s } -// Code returns the exception type name. -func (s *InternalServerException) Code() string { - return "InternalServerException" +// SetTargetWorkspaceId sets the TargetWorkspaceId field's value. +func (s *MigrateWorkspaceOutput) SetTargetWorkspaceId(v string) *MigrateWorkspaceOutput { + s.TargetWorkspaceId = &v + return s } -// Message returns the exception's message. -func (s *InternalServerException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// Describes a WorkSpace modification. +type ModificationState struct { + _ struct{} `type:"structure"` + + // The resource. + Resource *string `type:"string" enum:"ModificationResourceEnum"` + + // The modification state. + State *string `type:"string" enum:"ModificationStateEnum"` } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalServerException) OrigErr() error { - return nil +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModificationState) String() string { + return awsutil.Prettify(s) } -func (s *InternalServerException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModificationState) GoString() string { + return s.String() } -// Status code returns the HTTP status code for the request's response error. -func (s *InternalServerException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetResource sets the Resource field's value. +func (s *ModificationState) SetResource(v string) *ModificationState { + s.Resource = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InternalServerException) RequestID() string { - return s.RespMetadata.RequestID +// SetState sets the State field's value. +func (s *ModificationState) SetState(v string) *ModificationState { + s.State = &v + return s } -// One or more parameter values are not valid. -type InvalidParameterValuesException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type ModifyAccountInput struct { + _ struct{} `type:"structure"` - // The exception error message. - Message_ *string `locationName:"message" type:"string"` + // The IP address range, specified as an IPv4 CIDR block, for the management + // network interface. Specify an IP address range that is compatible with your + // network and in CIDR notation (that is, specify the range as an IPv4 CIDR + // block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It + // must also be specified as available by the ListAvailableManagementCidrRanges + // operation. + DedicatedTenancyManagementCidrRange *string `type:"string"` + + // The status of BYOL. + DedicatedTenancySupport *string `type:"string" enum:"DedicatedTenancySupportEnum"` } // String returns the string representation. @@ -15031,7 +17595,7 @@ type InvalidParameterValuesException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InvalidParameterValuesException) String() string { +func (s ModifyAccountInput) String() string { return awsutil.Prettify(s) } @@ -15040,54 +17604,57 @@ func (s InvalidParameterValuesException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InvalidParameterValuesException) GoString() string { +func (s ModifyAccountInput) GoString() string { return s.String() } -func newErrorInvalidParameterValuesException(v protocol.ResponseMetadata) error { - return &InvalidParameterValuesException{ - RespMetadata: v, - } +// SetDedicatedTenancyManagementCidrRange sets the DedicatedTenancyManagementCidrRange field's value. +func (s *ModifyAccountInput) SetDedicatedTenancyManagementCidrRange(v string) *ModifyAccountInput { + s.DedicatedTenancyManagementCidrRange = &v + return s } -// Code returns the exception type name. -func (s *InvalidParameterValuesException) Code() string { - return "InvalidParameterValuesException" +// SetDedicatedTenancySupport sets the DedicatedTenancySupport field's value. +func (s *ModifyAccountInput) SetDedicatedTenancySupport(v string) *ModifyAccountInput { + s.DedicatedTenancySupport = &v + return s } -// Message returns the exception's message. -func (s *InvalidParameterValuesException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +type ModifyAccountOutput struct { + _ struct{} `type:"structure"` } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidParameterValuesException) OrigErr() error { - return nil +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyAccountOutput) String() string { + return awsutil.Prettify(s) } -func (s *InvalidParameterValuesException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyAccountOutput) GoString() string { + return s.String() } -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidParameterValuesException) StatusCode() int { - return s.RespMetadata.StatusCode -} +type ModifyCertificateBasedAuthPropertiesInput struct { + _ struct{} `type:"structure"` -// RequestID returns the service's response RequestID for request. -func (s *InvalidParameterValuesException) RequestID() string { - return s.RespMetadata.RequestID -} + // The properties of the certificate-based authentication. + CertificateBasedAuthProperties *CertificateBasedAuthProperties `type:"structure"` -// The state of the resource is not valid for this operation. -type InvalidResourceStateException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The properties of the certificate-based authentication you want to delete. + PropertiesToDelete []*string `type:"list" enum:"DeletableCertificateBasedAuthProperty"` - Message_ *string `locationName:"message" type:"string"` + // The resource identifiers, in the form of directory IDs. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` } // String returns the string representation. @@ -15095,7 +17662,7 @@ type InvalidResourceStateException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InvalidResourceStateException) String() string { +func (s ModifyCertificateBasedAuthPropertiesInput) String() string { return awsutil.Prettify(s) } @@ -15104,108 +17671,83 @@ func (s InvalidResourceStateException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InvalidResourceStateException) GoString() string { +func (s ModifyCertificateBasedAuthPropertiesInput) GoString() string { return s.String() } -func newErrorInvalidResourceStateException(v protocol.ResponseMetadata) error { - return &InvalidResourceStateException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyCertificateBasedAuthPropertiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyCertificateBasedAuthPropertiesInput"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) } -} - -// Code returns the exception type name. -func (s *InvalidResourceStateException) Code() string { - return "InvalidResourceStateException" -} - -// Message returns the exception's message. -func (s *InvalidResourceStateException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + if s.CertificateBasedAuthProperties != nil { + if err := s.CertificateBasedAuthProperties.Validate(); err != nil { + invalidParams.AddNested("CertificateBasedAuthProperties", err.(request.ErrInvalidParams)) + } } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidResourceStateException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *InvalidResourceStateException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetCertificateBasedAuthProperties sets the CertificateBasedAuthProperties field's value. +func (s *ModifyCertificateBasedAuthPropertiesInput) SetCertificateBasedAuthProperties(v *CertificateBasedAuthProperties) *ModifyCertificateBasedAuthPropertiesInput { + s.CertificateBasedAuthProperties = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidResourceStateException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetPropertiesToDelete sets the PropertiesToDelete field's value. +func (s *ModifyCertificateBasedAuthPropertiesInput) SetPropertiesToDelete(v []*string) *ModifyCertificateBasedAuthPropertiesInput { + s.PropertiesToDelete = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InvalidResourceStateException) RequestID() string { - return s.RespMetadata.RequestID +// SetResourceId sets the ResourceId field's value. +func (s *ModifyCertificateBasedAuthPropertiesInput) SetResourceId(v string) *ModifyCertificateBasedAuthPropertiesInput { + s.ResourceId = &v + return s } -// The client branding attributes for iOS device types. These attributes are -// displayed on the iOS client login screen only. -// -// Client branding attributes are public facing. Ensure you do not include sensitive -// information. -type IosClientBrandingAttributes struct { +type ModifyCertificateBasedAuthPropertiesOutput struct { _ struct{} `type:"structure"` +} - // The forgotten password link. This is the web address that users can go to - // if they forget the password for their WorkSpace. - ForgotPasswordLink *string `min:"1" type:"string"` - - // The login message. Specified as a key value pair, in which the key is a locale - // and the value is the localized message for that locale. The only key supported - // is en_US. The HTML tags supported include the following: a, b, blockquote, - // br, cite, code, dd, dl, dt, div, em, i, li, ol, p, pre, q, small, span, strike, - // strong, sub, sup, u, ul. - LoginMessage map[string]*string `type:"map"` - - // The @2x version of the logo. This is the higher resolution display that offers - // a scale factor of 2.0 (or @2x). The only image format accepted is a binary - // data object that is converted from a .png file. - // - // For more information about iOS image size and resolution, see Image Size - // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) - // in the Apple Human Interface Guidelines. - Logo2xUrl *string `min:"1" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyCertificateBasedAuthPropertiesOutput) String() string { + return awsutil.Prettify(s) +} - // The @3x version of the logo. This is the higher resolution display that offers - // a scale factor of 3.0 (or @3x).The only image format accepted is a binary - // data object that is converted from a .png file. - // - // For more information about iOS image size and resolution, see Image Size - // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) - // in the Apple Human Interface Guidelines. - Logo3xUrl *string `min:"1" type:"string"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyCertificateBasedAuthPropertiesOutput) GoString() string { + return s.String() +} - // The logo. This is the standard-resolution display that has a 1:1 pixel density - // (or @1x), where one pixel is equal to one point. The only image format accepted - // is a binary data object that is converted from a .png file. - LogoUrl *string `min:"1" type:"string"` +type ModifyClientPropertiesInput struct { + _ struct{} `type:"structure"` - // The support email. The company's customer support email address. - // - // * In each platform type, the SupportEmail and SupportLink parameters are - // mutually exclusive. You can specify one parameter for each platform type, - // but not both. + // Information about the Amazon WorkSpaces client. // - // * The default email is workspaces-feedback@amazon.com. - SupportEmail *string `min:"6" type:"string"` + // ClientProperties is a required field + ClientProperties *ClientProperties `type:"structure" required:"true"` - // The support link. The link for the company's customer support page for their - // WorkSpace. - // - // * In each platform type, the SupportEmail and SupportLink parameters are - // mutually exclusive. You can specify one parameter for each platform type, - // but not both. + // The resource identifiers, in the form of directory IDs. // - // * The default support link is workspaces-feedback@amazon.com. - SupportLink *string `min:"1" type:"string"` + // ResourceId is a required field + ResourceId *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -15213,7 +17755,7 @@ type IosClientBrandingAttributes struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IosClientBrandingAttributes) String() string { +func (s ModifyClientPropertiesInput) String() string { return awsutil.Prettify(s) } @@ -15222,115 +17764,83 @@ func (s IosClientBrandingAttributes) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IosClientBrandingAttributes) GoString() string { +func (s ModifyClientPropertiesInput) GoString() string { return s.String() } -// SetForgotPasswordLink sets the ForgotPasswordLink field's value. -func (s *IosClientBrandingAttributes) SetForgotPasswordLink(v string) *IosClientBrandingAttributes { - s.ForgotPasswordLink = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyClientPropertiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyClientPropertiesInput"} + if s.ClientProperties == nil { + invalidParams.Add(request.NewErrParamRequired("ClientProperties")) + } + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 1)) + } -// SetLoginMessage sets the LoginMessage field's value. -func (s *IosClientBrandingAttributes) SetLoginMessage(v map[string]*string) *IosClientBrandingAttributes { - s.LoginMessage = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetLogo2xUrl sets the Logo2xUrl field's value. -func (s *IosClientBrandingAttributes) SetLogo2xUrl(v string) *IosClientBrandingAttributes { - s.Logo2xUrl = &v +// SetClientProperties sets the ClientProperties field's value. +func (s *ModifyClientPropertiesInput) SetClientProperties(v *ClientProperties) *ModifyClientPropertiesInput { + s.ClientProperties = v return s } -// SetLogo3xUrl sets the Logo3xUrl field's value. -func (s *IosClientBrandingAttributes) SetLogo3xUrl(v string) *IosClientBrandingAttributes { - s.Logo3xUrl = &v +// SetResourceId sets the ResourceId field's value. +func (s *ModifyClientPropertiesInput) SetResourceId(v string) *ModifyClientPropertiesInput { + s.ResourceId = &v return s } -// SetLogoUrl sets the LogoUrl field's value. -func (s *IosClientBrandingAttributes) SetLogoUrl(v string) *IosClientBrandingAttributes { - s.LogoUrl = &v - return s +type ModifyClientPropertiesOutput struct { + _ struct{} `type:"structure"` } -// SetSupportEmail sets the SupportEmail field's value. -func (s *IosClientBrandingAttributes) SetSupportEmail(v string) *IosClientBrandingAttributes { - s.SupportEmail = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyClientPropertiesOutput) String() string { + return awsutil.Prettify(s) } -// SetSupportLink sets the SupportLink field's value. -func (s *IosClientBrandingAttributes) SetSupportLink(v string) *IosClientBrandingAttributes { - s.SupportLink = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyClientPropertiesOutput) GoString() string { + return s.String() } -// The client branding attributes to import for iOS device types. These attributes -// are displayed on the iOS client login screen. -// -// Client branding attributes are public facing. Ensure you do not include sensitive -// information. -type IosImportClientBrandingAttributes struct { +type ModifySamlPropertiesInput struct { _ struct{} `type:"structure"` - // The forgotten password link. This is the web address that users can go to - // if they forget the password for their WorkSpace. - ForgotPasswordLink *string `min:"1" type:"string"` - - // The login message. Specified as a key value pair, in which the key is a locale - // and the value is the localized message for that locale. The only key supported - // is en_US. The HTML tags supported include the following: a, b, blockquote, - // br, cite, code, dd, dl, dt, div, em, i, li, ol, p, pre, q, small, span, strike, - // strong, sub, sup, u, ul. - LoginMessage map[string]*string `type:"map"` - - // The logo. This is the standard-resolution display that has a 1:1 pixel density - // (or @1x), where one pixel is equal to one point. The only image format accepted - // is a binary data object that is converted from a .png file. - // Logo is automatically base64 encoded/decoded by the SDK. - Logo []byte `min:"1" type:"blob"` - - // The @2x version of the logo. This is the higher resolution display that offers - // a scale factor of 2.0 (or @2x). The only image format accepted is a binary - // data object that is converted from a .png file. - // - // For more information about iOS image size and resolution, see Image Size - // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) - // in the Apple Human Interface Guidelines. - // Logo2x is automatically base64 encoded/decoded by the SDK. - Logo2x []byte `min:"1" type:"blob"` - - // The @3x version of the logo. This is the higher resolution display that offers - // a scale factor of 3.0 (or @3x). The only image format accepted is a binary - // data object that is converted from a .png file. + // The SAML properties to delete as part of your request. // - // For more information about iOS image size and resolution, see Image Size - // and Resolution (https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/) - // in the Apple Human Interface Guidelines. - // Logo3x is automatically base64 encoded/decoded by the SDK. - Logo3x []byte `min:"1" type:"blob"` - - // The support email. The company's customer support email address. + // Specify one of the following options: // - // * In each platform type, the SupportEmail and SupportLink parameters are - // mutually exclusive. You can specify one parameter for each platform type, - // but not both. + // * SAML_PROPERTIES_USER_ACCESS_URL to delete the user access URL. // - // * The default email is workspaces-feedback@amazon.com. - SupportEmail *string `min:"6" type:"string"` + // * SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME to delete the relay state + // parameter name. + PropertiesToDelete []*string `type:"list" enum:"DeletableSamlProperty"` - // The support link. The link for the company's customer support page for their - // WorkSpace. - // - // * In each platform type, the SupportEmail and SupportLink parameters are - // mutually exclusive. You can specify one parameter for each platform type, - // but not both. + // The directory identifier for which you want to configure SAML properties. // - // * The default support link is workspaces-feedback@amazon.com. - SupportLink *string `min:"1" type:"string"` + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` + + // The properties for configuring SAML 2.0 authentication. + SamlProperties *SamlProperties `type:"structure"` } // String returns the string representation. @@ -15338,7 +17848,7 @@ type IosImportClientBrandingAttributes struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IosImportClientBrandingAttributes) String() string { +func (s ModifySamlPropertiesInput) String() string { return awsutil.Prettify(s) } @@ -15347,30 +17857,23 @@ func (s IosImportClientBrandingAttributes) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IosImportClientBrandingAttributes) GoString() string { +func (s ModifySamlPropertiesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *IosImportClientBrandingAttributes) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "IosImportClientBrandingAttributes"} - if s.ForgotPasswordLink != nil && len(*s.ForgotPasswordLink) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ForgotPasswordLink", 1)) - } - if s.Logo != nil && len(s.Logo) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Logo", 1)) - } - if s.Logo2x != nil && len(s.Logo2x) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Logo2x", 1)) - } - if s.Logo3x != nil && len(s.Logo3x) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Logo3x", 1)) +func (s *ModifySamlPropertiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifySamlPropertiesInput"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) } - if s.SupportEmail != nil && len(*s.SupportEmail) < 6 { - invalidParams.Add(request.NewErrParamMinLen("SupportEmail", 6)) + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) } - if s.SupportLink != nil && len(*s.SupportLink) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SupportLink", 1)) + if s.SamlProperties != nil { + if err := s.SamlProperties.Validate(); err != nil { + invalidParams.AddNested("SamlProperties", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -15379,63 +17882,58 @@ func (s *IosImportClientBrandingAttributes) Validate() error { return nil } -// SetForgotPasswordLink sets the ForgotPasswordLink field's value. -func (s *IosImportClientBrandingAttributes) SetForgotPasswordLink(v string) *IosImportClientBrandingAttributes { - s.ForgotPasswordLink = &v - return s -} - -// SetLoginMessage sets the LoginMessage field's value. -func (s *IosImportClientBrandingAttributes) SetLoginMessage(v map[string]*string) *IosImportClientBrandingAttributes { - s.LoginMessage = v +// SetPropertiesToDelete sets the PropertiesToDelete field's value. +func (s *ModifySamlPropertiesInput) SetPropertiesToDelete(v []*string) *ModifySamlPropertiesInput { + s.PropertiesToDelete = v return s } -// SetLogo sets the Logo field's value. -func (s *IosImportClientBrandingAttributes) SetLogo(v []byte) *IosImportClientBrandingAttributes { - s.Logo = v +// SetResourceId sets the ResourceId field's value. +func (s *ModifySamlPropertiesInput) SetResourceId(v string) *ModifySamlPropertiesInput { + s.ResourceId = &v return s } -// SetLogo2x sets the Logo2x field's value. -func (s *IosImportClientBrandingAttributes) SetLogo2x(v []byte) *IosImportClientBrandingAttributes { - s.Logo2x = v +// SetSamlProperties sets the SamlProperties field's value. +func (s *ModifySamlPropertiesInput) SetSamlProperties(v *SamlProperties) *ModifySamlPropertiesInput { + s.SamlProperties = v return s } -// SetLogo3x sets the Logo3x field's value. -func (s *IosImportClientBrandingAttributes) SetLogo3x(v []byte) *IosImportClientBrandingAttributes { - s.Logo3x = v - return s +type ModifySamlPropertiesOutput struct { + _ struct{} `type:"structure"` } -// SetSupportEmail sets the SupportEmail field's value. -func (s *IosImportClientBrandingAttributes) SetSupportEmail(v string) *IosImportClientBrandingAttributes { - s.SupportEmail = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifySamlPropertiesOutput) String() string { + return awsutil.Prettify(s) } -// SetSupportLink sets the SupportLink field's value. -func (s *IosImportClientBrandingAttributes) SetSupportLink(v string) *IosImportClientBrandingAttributes { - s.SupportLink = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifySamlPropertiesOutput) GoString() string { + return s.String() } -// Describes an IP access control group. -type IpGroup struct { +type ModifySelfservicePermissionsInput struct { _ struct{} `type:"structure"` - // The description of the group. - GroupDesc *string `locationName:"groupDesc" type:"string"` - - // The identifier of the group. - GroupId *string `locationName:"groupId" type:"string"` - - // The name of the group. - GroupName *string `locationName:"groupName" type:"string"` + // The identifier of the directory. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` - // The rules. - UserRules []*IpRuleItem `locationName:"userRules" type:"list"` + // The permissions to enable or disable self-service capabilities. + // + // SelfservicePermissions is a required field + SelfservicePermissions *SelfservicePermissions `type:"structure" required:"true"` } // String returns the string representation. @@ -15443,7 +17941,7 @@ type IpGroup struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IpGroup) String() string { +func (s ModifySelfservicePermissionsInput) String() string { return awsutil.Prettify(s) } @@ -15452,43 +17950,43 @@ func (s IpGroup) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IpGroup) GoString() string { +func (s ModifySelfservicePermissionsInput) GoString() string { return s.String() } -// SetGroupDesc sets the GroupDesc field's value. -func (s *IpGroup) SetGroupDesc(v string) *IpGroup { - s.GroupDesc = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifySelfservicePermissionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifySelfservicePermissionsInput"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + if s.SelfservicePermissions == nil { + invalidParams.Add(request.NewErrParamRequired("SelfservicePermissions")) + } -// SetGroupId sets the GroupId field's value. -func (s *IpGroup) SetGroupId(v string) *IpGroup { - s.GroupId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetGroupName sets the GroupName field's value. -func (s *IpGroup) SetGroupName(v string) *IpGroup { - s.GroupName = &v +// SetResourceId sets the ResourceId field's value. +func (s *ModifySelfservicePermissionsInput) SetResourceId(v string) *ModifySelfservicePermissionsInput { + s.ResourceId = &v return s } -// SetUserRules sets the UserRules field's value. -func (s *IpGroup) SetUserRules(v []*IpRuleItem) *IpGroup { - s.UserRules = v +// SetSelfservicePermissions sets the SelfservicePermissions field's value. +func (s *ModifySelfservicePermissionsInput) SetSelfservicePermissions(v *SelfservicePermissions) *ModifySelfservicePermissionsInput { + s.SelfservicePermissions = v return s } -// Describes a rule for an IP access control group. -type IpRuleItem struct { +type ModifySelfservicePermissionsOutput struct { _ struct{} `type:"structure"` - - // The IP address range, in CIDR notation. - IpRule *string `locationName:"ipRule" type:"string"` - - // The description. - RuleDesc *string `locationName:"ruleDesc" type:"string"` } // String returns the string representation. @@ -15496,7 +17994,7 @@ type IpRuleItem struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IpRuleItem) String() string { +func (s ModifySelfservicePermissionsOutput) String() string { return awsutil.Prettify(s) } @@ -15505,34 +18003,20 @@ func (s IpRuleItem) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IpRuleItem) GoString() string { +func (s ModifySelfservicePermissionsOutput) GoString() string { return s.String() } -// SetIpRule sets the IpRule field's value. -func (s *IpRuleItem) SetIpRule(v string) *IpRuleItem { - s.IpRule = &v - return s -} - -// SetRuleDesc sets the RuleDesc field's value. -func (s *IpRuleItem) SetRuleDesc(v string) *IpRuleItem { - s.RuleDesc = &v - return s -} - -type ListAccountLinksInput struct { +type ModifyStreamingPropertiesInput struct { _ struct{} `type:"structure"` - // Filters the account based on their link status. - LinkStatusFilter []*string `type:"list" enum:"AccountLinkStatusEnum"` - - // The maximum number of accounts to return. - MaxResults *int64 `min:"1" type:"integer"` + // The identifier of the resource. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` - // The token to use to retrieve the next page of results. This value is null - // when there are no more results to return. - NextToken *string `min:"1" type:"string"` + // The streaming properties to configure. + StreamingProperties *StreamingProperties `type:"structure"` } // String returns the string representation. @@ -15540,7 +18024,7 @@ type ListAccountLinksInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAccountLinksInput) String() string { +func (s ModifyStreamingPropertiesInput) String() string { return awsutil.Prettify(s) } @@ -15549,18 +18033,23 @@ func (s ListAccountLinksInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAccountLinksInput) GoString() string { +func (s ModifyStreamingPropertiesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListAccountLinksInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAccountLinksInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *ModifyStreamingPropertiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyStreamingPropertiesInput"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + if s.StreamingProperties != nil { + if err := s.StreamingProperties.Validate(); err != nil { + invalidParams.AddNested("StreamingProperties", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -15569,33 +18058,20 @@ func (s *ListAccountLinksInput) Validate() error { return nil } -// SetLinkStatusFilter sets the LinkStatusFilter field's value. -func (s *ListAccountLinksInput) SetLinkStatusFilter(v []*string) *ListAccountLinksInput { - s.LinkStatusFilter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAccountLinksInput) SetMaxResults(v int64) *ListAccountLinksInput { - s.MaxResults = &v +// SetResourceId sets the ResourceId field's value. +func (s *ModifyStreamingPropertiesInput) SetResourceId(v string) *ModifyStreamingPropertiesInput { + s.ResourceId = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListAccountLinksInput) SetNextToken(v string) *ListAccountLinksInput { - s.NextToken = &v +// SetStreamingProperties sets the StreamingProperties field's value. +func (s *ModifyStreamingPropertiesInput) SetStreamingProperties(v *StreamingProperties) *ModifyStreamingPropertiesInput { + s.StreamingProperties = v return s } -type ListAccountLinksOutput struct { +type ModifyStreamingPropertiesOutput struct { _ struct{} `type:"structure"` - - // Information about the account links. - AccountLinks []*AccountLink `type:"list"` - - // The token to use to retrieve the next page of results. This value is null - // when there are no more results to return. - NextToken *string `min:"1" type:"string"` } // String returns the string representation. @@ -15603,7 +18079,7 @@ type ListAccountLinksOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAccountLinksOutput) String() string { +func (s ModifyStreamingPropertiesOutput) String() string { return awsutil.Prettify(s) } @@ -15612,38 +18088,22 @@ func (s ListAccountLinksOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAccountLinksOutput) GoString() string { +func (s ModifyStreamingPropertiesOutput) GoString() string { return s.String() } -// SetAccountLinks sets the AccountLinks field's value. -func (s *ListAccountLinksOutput) SetAccountLinks(v []*AccountLink) *ListAccountLinksOutput { - s.AccountLinks = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAccountLinksOutput) SetNextToken(v string) *ListAccountLinksOutput { - s.NextToken = &v - return s -} - -type ListAvailableManagementCidrRangesInput struct { +type ModifyWorkspaceAccessPropertiesInput struct { _ struct{} `type:"structure"` - // The IP address range to search. Specify an IP address range that is compatible - // with your network and in CIDR notation (that is, specify the range as an - // IPv4 CIDR block). + // The identifier of the directory. // - // ManagementCidrRangeConstraint is a required field - ManagementCidrRangeConstraint *string `type:"string" required:"true"` - - // The maximum number of items to return. - MaxResults *int64 `min:"1" type:"integer"` + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` - // If you received a NextToken from a previous call that was paginated, provide - // this token to receive the next set of results. - NextToken *string `min:"1" type:"string"` + // The device types and operating systems to enable or disable for access. + // + // WorkspaceAccessProperties is a required field + WorkspaceAccessProperties *WorkspaceAccessProperties `type:"structure" required:"true"` } // String returns the string representation. @@ -15651,7 +18111,7 @@ type ListAvailableManagementCidrRangesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAvailableManagementCidrRangesInput) String() string { +func (s ModifyWorkspaceAccessPropertiesInput) String() string { return awsutil.Prettify(s) } @@ -15660,21 +18120,21 @@ func (s ListAvailableManagementCidrRangesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAvailableManagementCidrRangesInput) GoString() string { +func (s ModifyWorkspaceAccessPropertiesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListAvailableManagementCidrRangesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAvailableManagementCidrRangesInput"} - if s.ManagementCidrRangeConstraint == nil { - invalidParams.Add(request.NewErrParamRequired("ManagementCidrRangeConstraint")) +func (s *ModifyWorkspaceAccessPropertiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspaceAccessPropertiesInput"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + if s.WorkspaceAccessProperties == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceAccessProperties")) } if invalidParams.Len() > 0 { @@ -15683,33 +18143,20 @@ func (s *ListAvailableManagementCidrRangesInput) Validate() error { return nil } -// SetManagementCidrRangeConstraint sets the ManagementCidrRangeConstraint field's value. -func (s *ListAvailableManagementCidrRangesInput) SetManagementCidrRangeConstraint(v string) *ListAvailableManagementCidrRangesInput { - s.ManagementCidrRangeConstraint = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAvailableManagementCidrRangesInput) SetMaxResults(v int64) *ListAvailableManagementCidrRangesInput { - s.MaxResults = &v +// SetResourceId sets the ResourceId field's value. +func (s *ModifyWorkspaceAccessPropertiesInput) SetResourceId(v string) *ModifyWorkspaceAccessPropertiesInput { + s.ResourceId = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListAvailableManagementCidrRangesInput) SetNextToken(v string) *ListAvailableManagementCidrRangesInput { - s.NextToken = &v +// SetWorkspaceAccessProperties sets the WorkspaceAccessProperties field's value. +func (s *ModifyWorkspaceAccessPropertiesInput) SetWorkspaceAccessProperties(v *WorkspaceAccessProperties) *ModifyWorkspaceAccessPropertiesInput { + s.WorkspaceAccessProperties = v return s } -type ListAvailableManagementCidrRangesOutput struct { +type ModifyWorkspaceAccessPropertiesOutput struct { _ struct{} `type:"structure"` - - // The list of available IP address ranges, specified as IPv4 CIDR blocks. - ManagementCidrRanges []*string `type:"list"` - - // The token to use to retrieve the next page of results. This value is null - // when there are no more results to return. - NextToken *string `min:"1" type:"string"` } // String returns the string representation. @@ -15717,7 +18164,7 @@ type ListAvailableManagementCidrRangesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAvailableManagementCidrRangesOutput) String() string { +func (s ModifyWorkspaceAccessPropertiesOutput) String() string { return awsutil.Prettify(s) } @@ -15726,34 +18173,22 @@ func (s ListAvailableManagementCidrRangesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAvailableManagementCidrRangesOutput) GoString() string { +func (s ModifyWorkspaceAccessPropertiesOutput) GoString() string { return s.String() } -// SetManagementCidrRanges sets the ManagementCidrRanges field's value. -func (s *ListAvailableManagementCidrRangesOutput) SetManagementCidrRanges(v []*string) *ListAvailableManagementCidrRangesOutput { - s.ManagementCidrRanges = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAvailableManagementCidrRangesOutput) SetNextToken(v string) *ListAvailableManagementCidrRangesOutput { - s.NextToken = &v - return s -} - -type MigrateWorkspaceInput struct { +type ModifyWorkspaceCreationPropertiesInput struct { _ struct{} `type:"structure"` - // The identifier of the target bundle type to migrate the WorkSpace to. + // The identifier of the directory. // - // BundleId is a required field - BundleId *string `type:"string" required:"true"` + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` - // The identifier of the WorkSpace to migrate from. + // The default properties for creating WorkSpaces. // - // SourceWorkspaceId is a required field - SourceWorkspaceId *string `type:"string" required:"true"` + // WorkspaceCreationProperties is a required field + WorkspaceCreationProperties *WorkspaceCreationProperties `type:"structure" required:"true"` } // String returns the string representation. @@ -15761,7 +18196,7 @@ type MigrateWorkspaceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MigrateWorkspaceInput) String() string { +func (s ModifyWorkspaceCreationPropertiesInput) String() string { return awsutil.Prettify(s) } @@ -15770,18 +18205,26 @@ func (s MigrateWorkspaceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MigrateWorkspaceInput) GoString() string { +func (s ModifyWorkspaceCreationPropertiesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *MigrateWorkspaceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MigrateWorkspaceInput"} - if s.BundleId == nil { - invalidParams.Add(request.NewErrParamRequired("BundleId")) +func (s *ModifyWorkspaceCreationPropertiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspaceCreationPropertiesInput"} + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) } - if s.SourceWorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("SourceWorkspaceId")) + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + if s.WorkspaceCreationProperties == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceCreationProperties")) + } + if s.WorkspaceCreationProperties != nil { + if err := s.WorkspaceCreationProperties.Validate(); err != nil { + invalidParams.AddNested("WorkspaceCreationProperties", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -15790,28 +18233,20 @@ func (s *MigrateWorkspaceInput) Validate() error { return nil } -// SetBundleId sets the BundleId field's value. -func (s *MigrateWorkspaceInput) SetBundleId(v string) *MigrateWorkspaceInput { - s.BundleId = &v +// SetResourceId sets the ResourceId field's value. +func (s *ModifyWorkspaceCreationPropertiesInput) SetResourceId(v string) *ModifyWorkspaceCreationPropertiesInput { + s.ResourceId = &v return s } -// SetSourceWorkspaceId sets the SourceWorkspaceId field's value. -func (s *MigrateWorkspaceInput) SetSourceWorkspaceId(v string) *MigrateWorkspaceInput { - s.SourceWorkspaceId = &v +// SetWorkspaceCreationProperties sets the WorkspaceCreationProperties field's value. +func (s *ModifyWorkspaceCreationPropertiesInput) SetWorkspaceCreationProperties(v *WorkspaceCreationProperties) *ModifyWorkspaceCreationPropertiesInput { + s.WorkspaceCreationProperties = v return s } -type MigrateWorkspaceOutput struct { +type ModifyWorkspaceCreationPropertiesOutput struct { _ struct{} `type:"structure"` - - // The original identifier of the WorkSpace that is being migrated. - SourceWorkspaceId *string `type:"string"` - - // The new identifier of the WorkSpace that is being migrated. If the migration - // does not succeed, the target WorkSpace ID will not be used, and the WorkSpace - // will still have the original WorkSpace ID. - TargetWorkspaceId *string `type:"string"` } // String returns the string representation. @@ -15819,7 +18254,7 @@ type MigrateWorkspaceOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MigrateWorkspaceOutput) String() string { +func (s ModifyWorkspaceCreationPropertiesOutput) String() string { return awsutil.Prettify(s) } @@ -15828,31 +18263,23 @@ func (s MigrateWorkspaceOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MigrateWorkspaceOutput) GoString() string { +func (s ModifyWorkspaceCreationPropertiesOutput) GoString() string { return s.String() } -// SetSourceWorkspaceId sets the SourceWorkspaceId field's value. -func (s *MigrateWorkspaceOutput) SetSourceWorkspaceId(v string) *MigrateWorkspaceOutput { - s.SourceWorkspaceId = &v - return s -} - -// SetTargetWorkspaceId sets the TargetWorkspaceId field's value. -func (s *MigrateWorkspaceOutput) SetTargetWorkspaceId(v string) *MigrateWorkspaceOutput { - s.TargetWorkspaceId = &v - return s -} - -// Describes a WorkSpace modification. -type ModificationState struct { +type ModifyWorkspacePropertiesInput struct { _ struct{} `type:"structure"` - // The resource. - Resource *string `type:"string" enum:"ModificationResourceEnum"` + // Indicates the data replication status. + DataReplication *string `type:"string" enum:"DataReplication"` - // The modification state. - State *string `type:"string" enum:"ModificationStateEnum"` + // The identifier of the WorkSpace. + // + // WorkspaceId is a required field + WorkspaceId *string `type:"string" required:"true"` + + // The properties of the WorkSpace. + WorkspaceProperties *WorkspaceProperties `type:"structure"` } // String returns the string representation. @@ -15860,7 +18287,7 @@ type ModificationState struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModificationState) String() string { +func (s ModifyWorkspacePropertiesInput) String() string { return awsutil.Prettify(s) } @@ -15869,68 +18296,42 @@ func (s ModificationState) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModificationState) GoString() string { +func (s ModifyWorkspacePropertiesInput) GoString() string { return s.String() } -// SetResource sets the Resource field's value. -func (s *ModificationState) SetResource(v string) *ModificationState { - s.Resource = &v - return s -} - -// SetState sets the State field's value. -func (s *ModificationState) SetState(v string) *ModificationState { - s.State = &v - return s -} - -type ModifyAccountInput struct { - _ struct{} `type:"structure"` - - // The IP address range, specified as an IPv4 CIDR block, for the management - // network interface. Specify an IP address range that is compatible with your - // network and in CIDR notation (that is, specify the range as an IPv4 CIDR - // block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It - // must also be specified as available by the ListAvailableManagementCidrRanges - // operation. - DedicatedTenancyManagementCidrRange *string `type:"string"` - - // The status of BYOL. - DedicatedTenancySupport *string `type:"string" enum:"DedicatedTenancySupportEnum"` -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyWorkspacePropertiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspacePropertiesInput"} + if s.WorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) + } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyAccountInput) String() string { - return awsutil.Prettify(s) + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyAccountInput) GoString() string { - return s.String() +// SetDataReplication sets the DataReplication field's value. +func (s *ModifyWorkspacePropertiesInput) SetDataReplication(v string) *ModifyWorkspacePropertiesInput { + s.DataReplication = &v + return s } -// SetDedicatedTenancyManagementCidrRange sets the DedicatedTenancyManagementCidrRange field's value. -func (s *ModifyAccountInput) SetDedicatedTenancyManagementCidrRange(v string) *ModifyAccountInput { - s.DedicatedTenancyManagementCidrRange = &v +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *ModifyWorkspacePropertiesInput) SetWorkspaceId(v string) *ModifyWorkspacePropertiesInput { + s.WorkspaceId = &v return s } -// SetDedicatedTenancySupport sets the DedicatedTenancySupport field's value. -func (s *ModifyAccountInput) SetDedicatedTenancySupport(v string) *ModifyAccountInput { - s.DedicatedTenancySupport = &v +// SetWorkspaceProperties sets the WorkspaceProperties field's value. +func (s *ModifyWorkspacePropertiesInput) SetWorkspaceProperties(v *WorkspaceProperties) *ModifyWorkspacePropertiesInput { + s.WorkspaceProperties = v return s } -type ModifyAccountOutput struct { +type ModifyWorkspacePropertiesOutput struct { _ struct{} `type:"structure"` } @@ -15939,7 +18340,7 @@ type ModifyAccountOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyAccountOutput) String() string { +func (s ModifyWorkspacePropertiesOutput) String() string { return awsutil.Prettify(s) } @@ -15948,23 +18349,22 @@ func (s ModifyAccountOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyAccountOutput) GoString() string { +func (s ModifyWorkspacePropertiesOutput) GoString() string { return s.String() } -type ModifyCertificateBasedAuthPropertiesInput struct { +type ModifyWorkspaceStateInput struct { _ struct{} `type:"structure"` - // The properties of the certificate-based authentication. - CertificateBasedAuthProperties *CertificateBasedAuthProperties `type:"structure"` - - // The properties of the certificate-based authentication you want to delete. - PropertiesToDelete []*string `type:"list" enum:"DeletableCertificateBasedAuthProperty"` + // The identifier of the WorkSpace. + // + // WorkspaceId is a required field + WorkspaceId *string `type:"string" required:"true"` - // The resource identifiers, in the form of directory IDs. + // The WorkSpace state. // - // ResourceId is a required field - ResourceId *string `min:"10" type:"string" required:"true"` + // WorkspaceState is a required field + WorkspaceState *string `type:"string" required:"true" enum:"TargetWorkspaceState"` } // String returns the string representation. @@ -15972,7 +18372,7 @@ type ModifyCertificateBasedAuthPropertiesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyCertificateBasedAuthPropertiesInput) String() string { +func (s ModifyWorkspaceStateInput) String() string { return awsutil.Prettify(s) } @@ -15981,23 +18381,18 @@ func (s ModifyCertificateBasedAuthPropertiesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyCertificateBasedAuthPropertiesInput) GoString() string { +func (s ModifyWorkspaceStateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyCertificateBasedAuthPropertiesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyCertificateBasedAuthPropertiesInput"} - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) - } - if s.ResourceId != nil && len(*s.ResourceId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) +func (s *ModifyWorkspaceStateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspaceStateInput"} + if s.WorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) } - if s.CertificateBasedAuthProperties != nil { - if err := s.CertificateBasedAuthProperties.Validate(); err != nil { - invalidParams.AddNested("CertificateBasedAuthProperties", err.(request.ErrInvalidParams)) - } + if s.WorkspaceState == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceState")) } if invalidParams.Len() > 0 { @@ -16006,25 +18401,19 @@ func (s *ModifyCertificateBasedAuthPropertiesInput) Validate() error { return nil } -// SetCertificateBasedAuthProperties sets the CertificateBasedAuthProperties field's value. -func (s *ModifyCertificateBasedAuthPropertiesInput) SetCertificateBasedAuthProperties(v *CertificateBasedAuthProperties) *ModifyCertificateBasedAuthPropertiesInput { - s.CertificateBasedAuthProperties = v - return s -} - -// SetPropertiesToDelete sets the PropertiesToDelete field's value. -func (s *ModifyCertificateBasedAuthPropertiesInput) SetPropertiesToDelete(v []*string) *ModifyCertificateBasedAuthPropertiesInput { - s.PropertiesToDelete = v +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *ModifyWorkspaceStateInput) SetWorkspaceId(v string) *ModifyWorkspaceStateInput { + s.WorkspaceId = &v return s } -// SetResourceId sets the ResourceId field's value. -func (s *ModifyCertificateBasedAuthPropertiesInput) SetResourceId(v string) *ModifyCertificateBasedAuthPropertiesInput { - s.ResourceId = &v +// SetWorkspaceState sets the WorkspaceState field's value. +func (s *ModifyWorkspaceStateInput) SetWorkspaceState(v string) *ModifyWorkspaceStateInput { + s.WorkspaceState = &v return s } -type ModifyCertificateBasedAuthPropertiesOutput struct { +type ModifyWorkspaceStateOutput struct { _ struct{} `type:"structure"` } @@ -16033,7 +18422,7 @@ type ModifyCertificateBasedAuthPropertiesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyCertificateBasedAuthPropertiesOutput) String() string { +func (s ModifyWorkspaceStateOutput) String() string { return awsutil.Prettify(s) } @@ -16042,22 +18431,22 @@ func (s ModifyCertificateBasedAuthPropertiesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyCertificateBasedAuthPropertiesOutput) GoString() string { +func (s ModifyWorkspaceStateOutput) GoString() string { return s.String() } -type ModifyClientPropertiesInput struct { +// Describes the network details of a WorkSpaces pool. +type NetworkAccessConfiguration struct { _ struct{} `type:"structure"` - // Information about the Amazon WorkSpaces client. - // - // ClientProperties is a required field - ClientProperties *ClientProperties `type:"structure" required:"true"` + // The resource identifier of the elastic network interface that is attached + // to instances in your VPC. All network interfaces have the eni-xxxxxxxx resource + // identifier. + EniId *string `min:"1" type:"string"` - // The resource identifiers, in the form of directory IDs. - // - // ResourceId is a required field - ResourceId *string `min:"1" type:"string" required:"true"` + // The private IP address of the elastic network interface that is attached + // to instances in your VPC. + EniPrivateIpAddress *string `min:"1" type:"string"` } // String returns the string representation. @@ -16065,7 +18454,7 @@ type ModifyClientPropertiesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyClientPropertiesInput) String() string { +func (s NetworkAccessConfiguration) String() string { return awsutil.Prettify(s) } @@ -16074,43 +18463,28 @@ func (s ModifyClientPropertiesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyClientPropertiesInput) GoString() string { +func (s NetworkAccessConfiguration) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyClientPropertiesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyClientPropertiesInput"} - if s.ClientProperties == nil { - invalidParams.Add(request.NewErrParamRequired("ClientProperties")) - } - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) - } - if s.ResourceId != nil && len(*s.ResourceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientProperties sets the ClientProperties field's value. -func (s *ModifyClientPropertiesInput) SetClientProperties(v *ClientProperties) *ModifyClientPropertiesInput { - s.ClientProperties = v +// SetEniId sets the EniId field's value. +func (s *NetworkAccessConfiguration) SetEniId(v string) *NetworkAccessConfiguration { + s.EniId = &v return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ModifyClientPropertiesInput) SetResourceId(v string) *ModifyClientPropertiesInput { - s.ResourceId = &v +} + +// SetEniPrivateIpAddress sets the EniPrivateIpAddress field's value. +func (s *NetworkAccessConfiguration) SetEniPrivateIpAddress(v string) *NetworkAccessConfiguration { + s.EniPrivateIpAddress = &v return s } -type ModifyClientPropertiesOutput struct { +// The operating system that the image is running. +type OperatingSystem struct { _ struct{} `type:"structure"` + + // The operating system. + Type *string `type:"string" enum:"OperatingSystemType"` } // String returns the string representation. @@ -16118,7 +18492,7 @@ type ModifyClientPropertiesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyClientPropertiesOutput) String() string { +func (s OperatingSystem) String() string { return awsutil.Prettify(s) } @@ -16127,30 +18501,22 @@ func (s ModifyClientPropertiesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyClientPropertiesOutput) GoString() string { +func (s OperatingSystem) GoString() string { return s.String() } -type ModifySamlPropertiesInput struct { - _ struct{} `type:"structure"` - - // The SAML properties to delete as part of your request. - // - // Specify one of the following options: - // - // * SAML_PROPERTIES_USER_ACCESS_URL to delete the user access URL. - // - // * SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME to delete the relay state - // parameter name. - PropertiesToDelete []*string `type:"list" enum:"DeletableSamlProperty"` +// SetType sets the Type field's value. +func (s *OperatingSystem) SetType(v string) *OperatingSystem { + s.Type = &v + return s +} - // The directory identifier for which you want to configure SAML properties. - // - // ResourceId is a required field - ResourceId *string `min:"10" type:"string" required:"true"` +// The operating system of the WorkSpace is not compatible with the application. +type OperatingSystemNotCompatibleException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The properties for configuring SAML 2.0 authentication. - SamlProperties *SamlProperties `type:"structure"` + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -16158,7 +18524,7 @@ type ModifySamlPropertiesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifySamlPropertiesInput) String() string { +func (s OperatingSystemNotCompatibleException) String() string { return awsutil.Prettify(s) } @@ -16167,51 +18533,55 @@ func (s ModifySamlPropertiesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifySamlPropertiesInput) GoString() string { +func (s OperatingSystemNotCompatibleException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ModifySamlPropertiesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifySamlPropertiesInput"} - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) - } - if s.ResourceId != nil && len(*s.ResourceId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) - } - if s.SamlProperties != nil { - if err := s.SamlProperties.Validate(); err != nil { - invalidParams.AddNested("SamlProperties", err.(request.ErrInvalidParams)) - } +func newErrorOperatingSystemNotCompatibleException(v protocol.ResponseMetadata) error { + return &OperatingSystemNotCompatibleException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *OperatingSystemNotCompatibleException) Code() string { + return "OperatingSystemNotCompatibleException" +} + +// Message returns the exception's message. +func (s *OperatingSystemNotCompatibleException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *OperatingSystemNotCompatibleException) OrigErr() error { return nil } -// SetPropertiesToDelete sets the PropertiesToDelete field's value. -func (s *ModifySamlPropertiesInput) SetPropertiesToDelete(v []*string) *ModifySamlPropertiesInput { - s.PropertiesToDelete = v - return s +func (s *OperatingSystemNotCompatibleException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetResourceId sets the ResourceId field's value. -func (s *ModifySamlPropertiesInput) SetResourceId(v string) *ModifySamlPropertiesInput { - s.ResourceId = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *OperatingSystemNotCompatibleException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetSamlProperties sets the SamlProperties field's value. -func (s *ModifySamlPropertiesInput) SetSamlProperties(v *SamlProperties) *ModifySamlPropertiesInput { - s.SamlProperties = v - return s +// RequestID returns the service's response RequestID for request. +func (s *OperatingSystemNotCompatibleException) RequestID() string { + return s.RespMetadata.RequestID } -type ModifySamlPropertiesOutput struct { - _ struct{} `type:"structure"` +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. +type OperationInProgressException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -16219,7 +18589,7 @@ type ModifySamlPropertiesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifySamlPropertiesOutput) String() string { +func (s OperationInProgressException) String() string { return awsutil.Prettify(s) } @@ -16228,22 +18598,58 @@ func (s ModifySamlPropertiesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifySamlPropertiesOutput) GoString() string { +func (s OperationInProgressException) GoString() string { return s.String() } -type ModifySelfservicePermissionsInput struct { - _ struct{} `type:"structure"` +func newErrorOperationInProgressException(v protocol.ResponseMetadata) error { + return &OperationInProgressException{ + RespMetadata: v, + } +} - // The identifier of the directory. - // - // ResourceId is a required field - ResourceId *string `min:"10" type:"string" required:"true"` +// Code returns the exception type name. +func (s *OperationInProgressException) Code() string { + return "OperationInProgressException" +} - // The permissions to enable or disable self-service capabilities. - // - // SelfservicePermissions is a required field - SelfservicePermissions *SelfservicePermissions `type:"structure" required:"true"` +// Message returns the exception's message. +func (s *OperationInProgressException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *OperationInProgressException) OrigErr() error { + return nil +} + +func (s *OperationInProgressException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *OperationInProgressException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *OperationInProgressException) RequestID() string { + return s.RespMetadata.RequestID +} + +// This operation is not supported. +type OperationNotSupportedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The exception error message. + Message_ *string `locationName:"message" type:"string"` + + // The exception error reason. + Reason *string `locationName:"reason" type:"string"` } // String returns the string representation. @@ -16251,7 +18657,7 @@ type ModifySelfservicePermissionsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifySelfservicePermissionsInput) String() string { +func (s OperationNotSupportedException) String() string { return awsutil.Prettify(s) } @@ -16260,75 +18666,68 @@ func (s ModifySelfservicePermissionsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifySelfservicePermissionsInput) GoString() string { +func (s OperationNotSupportedException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ModifySelfservicePermissionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifySelfservicePermissionsInput"} - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) - } - if s.ResourceId != nil && len(*s.ResourceId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) - } - if s.SelfservicePermissions == nil { - invalidParams.Add(request.NewErrParamRequired("SelfservicePermissions")) +func newErrorOperationNotSupportedException(v protocol.ResponseMetadata) error { + return &OperationNotSupportedException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// Code returns the exception type name. +func (s *OperationNotSupportedException) Code() string { + return "OperationNotSupportedException" } -// SetResourceId sets the ResourceId field's value. -func (s *ModifySelfservicePermissionsInput) SetResourceId(v string) *ModifySelfservicePermissionsInput { - s.ResourceId = &v - return s +// Message returns the exception's message. +func (s *OperationNotSupportedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetSelfservicePermissions sets the SelfservicePermissions field's value. -func (s *ModifySelfservicePermissionsInput) SetSelfservicePermissions(v *SelfservicePermissions) *ModifySelfservicePermissionsInput { - s.SelfservicePermissions = v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *OperationNotSupportedException) OrigErr() error { + return nil } -type ModifySelfservicePermissionsOutput struct { - _ struct{} `type:"structure"` +func (s *OperationNotSupportedException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifySelfservicePermissionsOutput) String() string { - return awsutil.Prettify(s) +// Status code returns the HTTP status code for the request's response error. +func (s *OperationNotSupportedException) StatusCode() int { + return s.RespMetadata.StatusCode } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifySelfservicePermissionsOutput) GoString() string { - return s.String() +// RequestID returns the service's response RequestID for request. +func (s *OperationNotSupportedException) RequestID() string { + return s.RespMetadata.RequestID } -type ModifyWorkspaceAccessPropertiesInput struct { +// Information about the standby WorkSpace. +type PendingCreateStandbyWorkspacesRequest struct { _ struct{} `type:"structure"` - // The identifier of the directory. - // - // ResourceId is a required field - ResourceId *string `min:"10" type:"string" required:"true"` + // The identifier of the directory for the standby WorkSpace. + DirectoryId *string `min:"10" type:"string"` - // The device types and operating systems to enable or disable for access. + // The operational state of the standby WorkSpace. + State *string `type:"string" enum:"WorkspaceState"` + + // Describes the standby WorkSpace that was created. // - // WorkspaceAccessProperties is a required field - WorkspaceAccessProperties *WorkspaceAccessProperties `type:"structure" required:"true"` + // Because this operation is asynchronous, the identifier returned is not immediately + // available for use with other operations. For example, if you call DescribeWorkspaces + // (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html) + // before the WorkSpace is created, the information returned can be incomplete. + UserName *string `min:"1" type:"string"` + + // The identifier of the standby WorkSpace. + WorkspaceId *string `type:"string"` } // String returns the string representation. @@ -16336,7 +18735,7 @@ type ModifyWorkspaceAccessPropertiesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspaceAccessPropertiesInput) String() string { +func (s PendingCreateStandbyWorkspacesRequest) String() string { return awsutil.Prettify(s) } @@ -16345,75 +18744,42 @@ func (s ModifyWorkspaceAccessPropertiesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspaceAccessPropertiesInput) GoString() string { +func (s PendingCreateStandbyWorkspacesRequest) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyWorkspaceAccessPropertiesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspaceAccessPropertiesInput"} - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) - } - if s.ResourceId != nil && len(*s.ResourceId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) - } - if s.WorkspaceAccessProperties == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceAccessProperties")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetResourceId sets the ResourceId field's value. -func (s *ModifyWorkspaceAccessPropertiesInput) SetResourceId(v string) *ModifyWorkspaceAccessPropertiesInput { - s.ResourceId = &v +// SetDirectoryId sets the DirectoryId field's value. +func (s *PendingCreateStandbyWorkspacesRequest) SetDirectoryId(v string) *PendingCreateStandbyWorkspacesRequest { + s.DirectoryId = &v return s } -// SetWorkspaceAccessProperties sets the WorkspaceAccessProperties field's value. -func (s *ModifyWorkspaceAccessPropertiesInput) SetWorkspaceAccessProperties(v *WorkspaceAccessProperties) *ModifyWorkspaceAccessPropertiesInput { - s.WorkspaceAccessProperties = v +// SetState sets the State field's value. +func (s *PendingCreateStandbyWorkspacesRequest) SetState(v string) *PendingCreateStandbyWorkspacesRequest { + s.State = &v return s } -type ModifyWorkspaceAccessPropertiesOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyWorkspaceAccessPropertiesOutput) String() string { - return awsutil.Prettify(s) +// SetUserName sets the UserName field's value. +func (s *PendingCreateStandbyWorkspacesRequest) SetUserName(v string) *PendingCreateStandbyWorkspacesRequest { + s.UserName = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyWorkspaceAccessPropertiesOutput) GoString() string { - return s.String() +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *PendingCreateStandbyWorkspacesRequest) SetWorkspaceId(v string) *PendingCreateStandbyWorkspacesRequest { + s.WorkspaceId = &v + return s } -type ModifyWorkspaceCreationPropertiesInput struct { +// Describes the information used to reboot a WorkSpace. +type RebootRequest struct { _ struct{} `type:"structure"` - // The identifier of the directory. - // - // ResourceId is a required field - ResourceId *string `min:"10" type:"string" required:"true"` - - // The default properties for creating WorkSpaces. + // The identifier of the WorkSpace. // - // WorkspaceCreationProperties is a required field - WorkspaceCreationProperties *WorkspaceCreationProperties `type:"structure" required:"true"` + // WorkspaceId is a required field + WorkspaceId *string `type:"string" required:"true"` } // String returns the string representation. @@ -16421,7 +18787,7 @@ type ModifyWorkspaceCreationPropertiesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspaceCreationPropertiesInput) String() string { +func (s RebootRequest) String() string { return awsutil.Prettify(s) } @@ -16430,26 +18796,15 @@ func (s ModifyWorkspaceCreationPropertiesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspaceCreationPropertiesInput) GoString() string { +func (s RebootRequest) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyWorkspaceCreationPropertiesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspaceCreationPropertiesInput"} - if s.ResourceId == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceId")) - } - if s.ResourceId != nil && len(*s.ResourceId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) - } - if s.WorkspaceCreationProperties == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceCreationProperties")) - } - if s.WorkspaceCreationProperties != nil { - if err := s.WorkspaceCreationProperties.Validate(); err != nil { - invalidParams.AddNested("WorkspaceCreationProperties", err.(request.ErrInvalidParams)) - } +func (s *RebootRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RebootRequest"} + if s.WorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) } if invalidParams.Len() > 0 { @@ -16458,53 +18813,19 @@ func (s *ModifyWorkspaceCreationPropertiesInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *ModifyWorkspaceCreationPropertiesInput) SetResourceId(v string) *ModifyWorkspaceCreationPropertiesInput { - s.ResourceId = &v - return s -} - -// SetWorkspaceCreationProperties sets the WorkspaceCreationProperties field's value. -func (s *ModifyWorkspaceCreationPropertiesInput) SetWorkspaceCreationProperties(v *WorkspaceCreationProperties) *ModifyWorkspaceCreationPropertiesInput { - s.WorkspaceCreationProperties = v +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *RebootRequest) SetWorkspaceId(v string) *RebootRequest { + s.WorkspaceId = &v return s } -type ModifyWorkspaceCreationPropertiesOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyWorkspaceCreationPropertiesOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyWorkspaceCreationPropertiesOutput) GoString() string { - return s.String() -} - -type ModifyWorkspacePropertiesInput struct { +type RebootWorkspacesInput struct { _ struct{} `type:"structure"` - // Indicates the data replication status. - DataReplication *string `type:"string" enum:"DataReplication"` - - // The identifier of the WorkSpace. + // The WorkSpaces to reboot. You can specify up to 25 WorkSpaces. // - // WorkspaceId is a required field - WorkspaceId *string `type:"string" required:"true"` - - // The properties of the WorkSpace. - WorkspaceProperties *WorkspaceProperties `type:"structure"` + // RebootWorkspaceRequests is a required field + RebootWorkspaceRequests []*RebootRequest `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -16512,7 +18833,7 @@ type ModifyWorkspacePropertiesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspacePropertiesInput) String() string { +func (s RebootWorkspacesInput) String() string { return awsutil.Prettify(s) } @@ -16521,15 +18842,28 @@ func (s ModifyWorkspacePropertiesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspacePropertiesInput) GoString() string { +func (s RebootWorkspacesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyWorkspacePropertiesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspacePropertiesInput"} - if s.WorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) +func (s *RebootWorkspacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RebootWorkspacesInput"} + if s.RebootWorkspaceRequests == nil { + invalidParams.Add(request.NewErrParamRequired("RebootWorkspaceRequests")) + } + if s.RebootWorkspaceRequests != nil && len(s.RebootWorkspaceRequests) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RebootWorkspaceRequests", 1)) + } + if s.RebootWorkspaceRequests != nil { + for i, v := range s.RebootWorkspaceRequests { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RebootWorkspaceRequests", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -16538,26 +18872,17 @@ func (s *ModifyWorkspacePropertiesInput) Validate() error { return nil } -// SetDataReplication sets the DataReplication field's value. -func (s *ModifyWorkspacePropertiesInput) SetDataReplication(v string) *ModifyWorkspacePropertiesInput { - s.DataReplication = &v - return s -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *ModifyWorkspacePropertiesInput) SetWorkspaceId(v string) *ModifyWorkspacePropertiesInput { - s.WorkspaceId = &v - return s -} - -// SetWorkspaceProperties sets the WorkspaceProperties field's value. -func (s *ModifyWorkspacePropertiesInput) SetWorkspaceProperties(v *WorkspaceProperties) *ModifyWorkspacePropertiesInput { - s.WorkspaceProperties = v +// SetRebootWorkspaceRequests sets the RebootWorkspaceRequests field's value. +func (s *RebootWorkspacesInput) SetRebootWorkspaceRequests(v []*RebootRequest) *RebootWorkspacesInput { + s.RebootWorkspaceRequests = v return s } -type ModifyWorkspacePropertiesOutput struct { +type RebootWorkspacesOutput struct { _ struct{} `type:"structure"` + + // Information about the WorkSpaces that could not be rebooted. + FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` } // String returns the string representation. @@ -16565,7 +18890,7 @@ type ModifyWorkspacePropertiesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspacePropertiesOutput) String() string { +func (s RebootWorkspacesOutput) String() string { return awsutil.Prettify(s) } @@ -16574,22 +18899,24 @@ func (s ModifyWorkspacePropertiesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspacePropertiesOutput) GoString() string { +func (s RebootWorkspacesOutput) GoString() string { return s.String() } -type ModifyWorkspaceStateInput struct { +// SetFailedRequests sets the FailedRequests field's value. +func (s *RebootWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *RebootWorkspacesOutput { + s.FailedRequests = v + return s +} + +// Describes the information used to rebuild a WorkSpace. +type RebuildRequest struct { _ struct{} `type:"structure"` // The identifier of the WorkSpace. // // WorkspaceId is a required field WorkspaceId *string `type:"string" required:"true"` - - // The WorkSpace state. - // - // WorkspaceState is a required field - WorkspaceState *string `type:"string" required:"true" enum:"TargetWorkspaceState"` } // String returns the string representation. @@ -16597,7 +18924,7 @@ type ModifyWorkspaceStateInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspaceStateInput) String() string { +func (s RebuildRequest) String() string { return awsutil.Prettify(s) } @@ -16606,19 +18933,16 @@ func (s ModifyWorkspaceStateInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ModifyWorkspaceStateInput) GoString() string { +func (s RebuildRequest) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ModifyWorkspaceStateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ModifyWorkspaceStateInput"} +func (s *RebuildRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RebuildRequest"} if s.WorkspaceId == nil { invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) } - if s.WorkspaceState == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceState")) - } if invalidParams.Len() > 0 { return invalidParams @@ -16627,45 +18951,18 @@ func (s *ModifyWorkspaceStateInput) Validate() error { } // SetWorkspaceId sets the WorkspaceId field's value. -func (s *ModifyWorkspaceStateInput) SetWorkspaceId(v string) *ModifyWorkspaceStateInput { - s.WorkspaceId = &v - return s -} - -// SetWorkspaceState sets the WorkspaceState field's value. -func (s *ModifyWorkspaceStateInput) SetWorkspaceState(v string) *ModifyWorkspaceStateInput { - s.WorkspaceState = &v - return s -} - -type ModifyWorkspaceStateOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyWorkspaceStateOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ModifyWorkspaceStateOutput) GoString() string { - return s.String() +func (s *RebuildRequest) SetWorkspaceId(v string) *RebuildRequest { + s.WorkspaceId = &v + return s } -// The operating system that the image is running. -type OperatingSystem struct { +type RebuildWorkspacesInput struct { _ struct{} `type:"structure"` - // The operating system. - Type *string `type:"string" enum:"OperatingSystemType"` + // The WorkSpace to rebuild. You can specify a single WorkSpace. + // + // RebuildWorkspaceRequests is a required field + RebuildWorkspaceRequests []*RebuildRequest `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -16673,7 +18970,7 @@ type OperatingSystem struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OperatingSystem) String() string { +func (s RebuildWorkspacesInput) String() string { return awsutil.Prettify(s) } @@ -16682,22 +18979,47 @@ func (s OperatingSystem) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OperatingSystem) GoString() string { +func (s RebuildWorkspacesInput) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *OperatingSystem) SetType(v string) *OperatingSystem { - s.Type = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *RebuildWorkspacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RebuildWorkspacesInput"} + if s.RebuildWorkspaceRequests == nil { + invalidParams.Add(request.NewErrParamRequired("RebuildWorkspaceRequests")) + } + if s.RebuildWorkspaceRequests != nil && len(s.RebuildWorkspaceRequests) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RebuildWorkspaceRequests", 1)) + } + if s.RebuildWorkspaceRequests != nil { + for i, v := range s.RebuildWorkspaceRequests { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RebuildWorkspaceRequests", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRebuildWorkspaceRequests sets the RebuildWorkspaceRequests field's value. +func (s *RebuildWorkspacesInput) SetRebuildWorkspaceRequests(v []*RebuildRequest) *RebuildWorkspacesInput { + s.RebuildWorkspaceRequests = v return s } -// The operating system of the WorkSpace is not compatible with the application. -type OperatingSystemNotCompatibleException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type RebuildWorkspacesOutput struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // Information about the WorkSpace that could not be rebuilt. + FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` } // String returns the string representation. @@ -16705,7 +19027,7 @@ type OperatingSystemNotCompatibleException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OperatingSystemNotCompatibleException) String() string { +func (s RebuildWorkspacesOutput) String() string { return awsutil.Prettify(s) } @@ -16714,55 +19036,67 @@ func (s OperatingSystemNotCompatibleException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OperatingSystemNotCompatibleException) GoString() string { +func (s RebuildWorkspacesOutput) GoString() string { return s.String() } -func newErrorOperatingSystemNotCompatibleException(v protocol.ResponseMetadata) error { - return &OperatingSystemNotCompatibleException{ - RespMetadata: v, - } +// SetFailedRequests sets the FailedRequests field's value. +func (s *RebuildWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *RebuildWorkspacesOutput { + s.FailedRequests = v + return s } -// Code returns the exception type name. -func (s *OperatingSystemNotCompatibleException) Code() string { - return "OperatingSystemNotCompatibleException" -} +type RegisterWorkspaceDirectoryInput struct { + _ struct{} `type:"structure"` -// Message returns the exception's message. -func (s *OperatingSystemNotCompatibleException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} + // The active directory config of the directory. + ActiveDirectoryConfig *ActiveDirectoryConfig `type:"structure"` -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *OperatingSystemNotCompatibleException) OrigErr() error { - return nil -} + // The identifier of the directory. You cannot register a directory if it does + // not have a status of Active. If the directory does not have a status of Active, + // you will receive an InvalidResourceStateException error. If you have already + // registered the maximum number of directories that you can register with Amazon + // WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister + // directories that you are not using for WorkSpaces, and try again. + DirectoryId *string `min:"10" type:"string"` -func (s *OperatingSystemNotCompatibleException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} + // Indicates whether self-service capabilities are enabled or disabled. + EnableSelfService *bool `type:"boolean"` -// Status code returns the HTTP status code for the request's response error. -func (s *OperatingSystemNotCompatibleException) StatusCode() int { - return s.RespMetadata.StatusCode -} + // Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled + // this parameter and WorkDocs is not available in the Region, you will receive + // an OperationNotSupportedException error. Set EnableWorkDocs to disabled, + // and try again. + EnableWorkDocs *bool `type:"boolean"` -// RequestID returns the service's response RequestID for request. -func (s *OperatingSystemNotCompatibleException) RequestID() string { - return s.RespMetadata.RequestID -} + // The identifiers of the subnets for your virtual private cloud (VPC). Make + // sure that the subnets are in supported Availability Zones. The subnets must + // also be in separate Availability Zones. If these conditions are not met, + // you will receive an OperationNotSupportedException error. + SubnetIds []*string `type:"list"` -// The properties of this WorkSpace are currently being modified. Try again -// in a moment. -type OperationInProgressException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The tags associated with the directory. + Tags []*Tag `type:"list"` - Message_ *string `locationName:"message" type:"string"` + // Indicates whether your WorkSpace directory is dedicated or shared. To use + // Bring Your Own License (BYOL) images, this value must be set to DEDICATED + // and your Amazon Web Services account must be enabled for BYOL. If your account + // has not been enabled for BYOL, you will receive an InvalidParameterValuesException + // error. For more information about BYOL images, see Bring Your Own Windows + // Desktop Images (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). + Tenancy *string `type:"string" enum:"Tenancy"` + + // The type of identity management the user is using. + UserIdentityType *string `type:"string" enum:"UserIdentityType"` + + // Description of the directory to register. + WorkspaceDirectoryDescription *string `type:"string"` + + // The name of the directory to register. + WorkspaceDirectoryName *string `type:"string"` + + // Indicates whether the directory's WorkSpace type is personal or pools. + WorkspaceType *string `type:"string" enum:"WorkspaceType"` } // String returns the string representation. @@ -16770,7 +19104,7 @@ type OperationInProgressException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OperationInProgressException) String() string { +func (s RegisterWorkspaceDirectoryInput) String() string { return awsutil.Prettify(s) } @@ -16779,136 +19113,112 @@ func (s OperationInProgressException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s OperationInProgressException) GoString() string { +func (s RegisterWorkspaceDirectoryInput) GoString() string { return s.String() } -func newErrorOperationInProgressException(v protocol.ResponseMetadata) error { - return &OperationInProgressException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *RegisterWorkspaceDirectoryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RegisterWorkspaceDirectoryInput"} + if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) } -} - -// Code returns the exception type name. -func (s *OperationInProgressException) Code() string { - return "OperationInProgressException" -} - -// Message returns the exception's message. -func (s *OperationInProgressException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.ActiveDirectoryConfig != nil { + if err := s.ActiveDirectoryConfig.Validate(); err != nil { + invalidParams.AddNested("ActiveDirectoryConfig", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *OperationInProgressException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *OperationInProgressException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *OperationInProgressException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *OperationInProgressException) RequestID() string { - return s.RespMetadata.RequestID +// SetActiveDirectoryConfig sets the ActiveDirectoryConfig field's value. +func (s *RegisterWorkspaceDirectoryInput) SetActiveDirectoryConfig(v *ActiveDirectoryConfig) *RegisterWorkspaceDirectoryInput { + s.ActiveDirectoryConfig = v + return s } -// This operation is not supported. -type OperationNotSupportedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - // The exception error message. - Message_ *string `locationName:"message" type:"string"` - - // The exception error reason. - Reason *string `locationName:"reason" type:"string"` +// SetDirectoryId sets the DirectoryId field's value. +func (s *RegisterWorkspaceDirectoryInput) SetDirectoryId(v string) *RegisterWorkspaceDirectoryInput { + s.DirectoryId = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s OperationNotSupportedException) String() string { - return awsutil.Prettify(s) +// SetEnableSelfService sets the EnableSelfService field's value. +func (s *RegisterWorkspaceDirectoryInput) SetEnableSelfService(v bool) *RegisterWorkspaceDirectoryInput { + s.EnableSelfService = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s OperationNotSupportedException) GoString() string { - return s.String() +// SetEnableWorkDocs sets the EnableWorkDocs field's value. +func (s *RegisterWorkspaceDirectoryInput) SetEnableWorkDocs(v bool) *RegisterWorkspaceDirectoryInput { + s.EnableWorkDocs = &v + return s } -func newErrorOperationNotSupportedException(v protocol.ResponseMetadata) error { - return &OperationNotSupportedException{ - RespMetadata: v, - } +// SetSubnetIds sets the SubnetIds field's value. +func (s *RegisterWorkspaceDirectoryInput) SetSubnetIds(v []*string) *RegisterWorkspaceDirectoryInput { + s.SubnetIds = v + return s } -// Code returns the exception type name. -func (s *OperationNotSupportedException) Code() string { - return "OperationNotSupportedException" +// SetTags sets the Tags field's value. +func (s *RegisterWorkspaceDirectoryInput) SetTags(v []*Tag) *RegisterWorkspaceDirectoryInput { + s.Tags = v + return s } -// Message returns the exception's message. -func (s *OperationNotSupportedException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetTenancy sets the Tenancy field's value. +func (s *RegisterWorkspaceDirectoryInput) SetTenancy(v string) *RegisterWorkspaceDirectoryInput { + s.Tenancy = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *OperationNotSupportedException) OrigErr() error { - return nil +// SetUserIdentityType sets the UserIdentityType field's value. +func (s *RegisterWorkspaceDirectoryInput) SetUserIdentityType(v string) *RegisterWorkspaceDirectoryInput { + s.UserIdentityType = &v + return s } - -func (s *OperationNotSupportedException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) + +// SetWorkspaceDirectoryDescription sets the WorkspaceDirectoryDescription field's value. +func (s *RegisterWorkspaceDirectoryInput) SetWorkspaceDirectoryDescription(v string) *RegisterWorkspaceDirectoryInput { + s.WorkspaceDirectoryDescription = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *OperationNotSupportedException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetWorkspaceDirectoryName sets the WorkspaceDirectoryName field's value. +func (s *RegisterWorkspaceDirectoryInput) SetWorkspaceDirectoryName(v string) *RegisterWorkspaceDirectoryInput { + s.WorkspaceDirectoryName = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *OperationNotSupportedException) RequestID() string { - return s.RespMetadata.RequestID +// SetWorkspaceType sets the WorkspaceType field's value. +func (s *RegisterWorkspaceDirectoryInput) SetWorkspaceType(v string) *RegisterWorkspaceDirectoryInput { + s.WorkspaceType = &v + return s } -// Information about the standby WorkSpace. -type PendingCreateStandbyWorkspacesRequest struct { +type RegisterWorkspaceDirectoryOutput struct { _ struct{} `type:"structure"` - // The identifier of the directory for the standby WorkSpace. + // The identifier of the directory. DirectoryId *string `min:"10" type:"string"` - // The operational state of the standby WorkSpace. - State *string `type:"string" enum:"WorkspaceState"` - - // Describes the standby WorkSpace that was created. - // - // Because this operation is asynchronous, the identifier returned is not immediately - // available for use with other operations. For example, if you call DescribeWorkspaces - // (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html) - // before the WorkSpace is created, the information returned can be incomplete. - UserName *string `min:"1" type:"string"` - - // The identifier of the standby WorkSpace. - WorkspaceId *string `type:"string"` + // The registration status of the WorkSpace directory. + State *string `type:"string" enum:"WorkspaceDirectoryState"` } // String returns the string representation. @@ -16916,7 +19226,7 @@ type PendingCreateStandbyWorkspacesRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PendingCreateStandbyWorkspacesRequest) String() string { +func (s RegisterWorkspaceDirectoryOutput) String() string { return awsutil.Prettify(s) } @@ -16925,42 +19235,32 @@ func (s PendingCreateStandbyWorkspacesRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s PendingCreateStandbyWorkspacesRequest) GoString() string { +func (s RegisterWorkspaceDirectoryOutput) GoString() string { return s.String() } // SetDirectoryId sets the DirectoryId field's value. -func (s *PendingCreateStandbyWorkspacesRequest) SetDirectoryId(v string) *PendingCreateStandbyWorkspacesRequest { +func (s *RegisterWorkspaceDirectoryOutput) SetDirectoryId(v string) *RegisterWorkspaceDirectoryOutput { s.DirectoryId = &v return s } // SetState sets the State field's value. -func (s *PendingCreateStandbyWorkspacesRequest) SetState(v string) *PendingCreateStandbyWorkspacesRequest { +func (s *RegisterWorkspaceDirectoryOutput) SetState(v string) *RegisterWorkspaceDirectoryOutput { s.State = &v return s } -// SetUserName sets the UserName field's value. -func (s *PendingCreateStandbyWorkspacesRequest) SetUserName(v string) *PendingCreateStandbyWorkspacesRequest { - s.UserName = &v - return s -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *PendingCreateStandbyWorkspacesRequest) SetWorkspaceId(v string) *PendingCreateStandbyWorkspacesRequest { - s.WorkspaceId = &v - return s -} - -// Describes the information used to reboot a WorkSpace. -type RebootRequest struct { +type RejectAccountLinkInvitationInput struct { _ struct{} `type:"structure"` - // The identifier of the WorkSpace. + // The client token of the account link invitation to reject. + ClientToken *string `type:"string"` + + // The identifier of the account link // - // WorkspaceId is a required field - WorkspaceId *string `type:"string" required:"true"` + // LinkId is a required field + LinkId *string `type:"string" required:"true"` } // String returns the string representation. @@ -16968,7 +19268,7 @@ type RebootRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootRequest) String() string { +func (s RejectAccountLinkInvitationInput) String() string { return awsutil.Prettify(s) } @@ -16977,15 +19277,15 @@ func (s RebootRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootRequest) GoString() string { +func (s RejectAccountLinkInvitationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RebootRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RebootRequest"} - if s.WorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) +func (s *RejectAccountLinkInvitationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectAccountLinkInvitationInput"} + if s.LinkId == nil { + invalidParams.Add(request.NewErrParamRequired("LinkId")) } if invalidParams.Len() > 0 { @@ -16994,19 +19294,23 @@ func (s *RebootRequest) Validate() error { return nil } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *RebootRequest) SetWorkspaceId(v string) *RebootRequest { - s.WorkspaceId = &v +// SetClientToken sets the ClientToken field's value. +func (s *RejectAccountLinkInvitationInput) SetClientToken(v string) *RejectAccountLinkInvitationInput { + s.ClientToken = &v return s } -type RebootWorkspacesInput struct { +// SetLinkId sets the LinkId field's value. +func (s *RejectAccountLinkInvitationInput) SetLinkId(v string) *RejectAccountLinkInvitationInput { + s.LinkId = &v + return s +} + +type RejectAccountLinkInvitationOutput struct { _ struct{} `type:"structure"` - // The WorkSpaces to reboot. You can specify up to 25 WorkSpaces. - // - // RebootWorkspaceRequests is a required field - RebootWorkspaceRequests []*RebootRequest `min:"1" type:"list" required:"true"` + // Information about the account link. + AccountLink *AccountLink `type:"structure"` } // String returns the string representation. @@ -17014,7 +19318,7 @@ type RebootWorkspacesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootWorkspacesInput) String() string { +func (s RejectAccountLinkInvitationOutput) String() string { return awsutil.Prettify(s) } @@ -17023,47 +19327,82 @@ func (s RebootWorkspacesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootWorkspacesInput) GoString() string { +func (s RejectAccountLinkInvitationOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RebootWorkspacesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RebootWorkspacesInput"} - if s.RebootWorkspaceRequests == nil { - invalidParams.Add(request.NewErrParamRequired("RebootWorkspaceRequests")) - } - if s.RebootWorkspaceRequests != nil && len(s.RebootWorkspaceRequests) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RebootWorkspaceRequests", 1)) - } - if s.RebootWorkspaceRequests != nil { - for i, v := range s.RebootWorkspaceRequests { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RebootWorkspaceRequests", i), err.(request.ErrInvalidParams)) - } - } - } +// SetAccountLink sets the AccountLink field's value. +func (s *RejectAccountLinkInvitationOutput) SetAccountLink(v *AccountLink) *RejectAccountLinkInvitationOutput { + s.AccountLink = v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// Describes the related WorkSpace. The related WorkSpace could be a standby +// WorkSpace or primary WorkSpace related to the specified WorkSpace. +type RelatedWorkspaceProperties struct { + _ struct{} `type:"structure"` + + // The Region of the related WorkSpace. + Region *string `min:"1" type:"string"` + + // Indicates the state of the WorkSpace. + State *string `type:"string" enum:"WorkspaceState"` + + // Indicates the type of WorkSpace. + Type *string `type:"string" enum:"StandbyWorkspaceRelationshipType"` + + // The identifier of the related WorkSpace. + WorkspaceId *string `type:"string"` } -// SetRebootWorkspaceRequests sets the RebootWorkspaceRequests field's value. -func (s *RebootWorkspacesInput) SetRebootWorkspaceRequests(v []*RebootRequest) *RebootWorkspacesInput { - s.RebootWorkspaceRequests = v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RelatedWorkspaceProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RelatedWorkspaceProperties) GoString() string { + return s.String() +} + +// SetRegion sets the Region field's value. +func (s *RelatedWorkspaceProperties) SetRegion(v string) *RelatedWorkspaceProperties { + s.Region = &v return s } -type RebootWorkspacesOutput struct { - _ struct{} `type:"structure"` +// SetState sets the State field's value. +func (s *RelatedWorkspaceProperties) SetState(v string) *RelatedWorkspaceProperties { + s.State = &v + return s +} - // Information about the WorkSpaces that could not be rebooted. - FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` +// SetType sets the Type field's value. +func (s *RelatedWorkspaceProperties) SetType(v string) *RelatedWorkspaceProperties { + s.Type = &v + return s +} + +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *RelatedWorkspaceProperties) SetWorkspaceId(v string) *RelatedWorkspaceProperties { + s.WorkspaceId = &v + return s +} + +// The specified resource already exists. +type ResourceAlreadyExistsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -17071,7 +19410,7 @@ type RebootWorkspacesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootWorkspacesOutput) String() string { +func (s ResourceAlreadyExistsException) String() string { return awsutil.Prettify(s) } @@ -17080,24 +19419,54 @@ func (s RebootWorkspacesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebootWorkspacesOutput) GoString() string { +func (s ResourceAlreadyExistsException) GoString() string { return s.String() } -// SetFailedRequests sets the FailedRequests field's value. -func (s *RebootWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *RebootWorkspacesOutput { - s.FailedRequests = v - return s +func newErrorResourceAlreadyExistsException(v protocol.ResponseMetadata) error { + return &ResourceAlreadyExistsException{ + RespMetadata: v, + } } -// Describes the information used to rebuild a WorkSpace. -type RebuildRequest struct { - _ struct{} `type:"structure"` +// Code returns the exception type name. +func (s *ResourceAlreadyExistsException) Code() string { + return "ResourceAlreadyExistsException" +} - // The identifier of the WorkSpace. - // - // WorkspaceId is a required field - WorkspaceId *string `type:"string" required:"true"` +// Message returns the exception's message. +func (s *ResourceAlreadyExistsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceAlreadyExistsException) OrigErr() error { + return nil +} + +func (s *ResourceAlreadyExistsException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceAlreadyExistsException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceAlreadyExistsException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The resource is associated with a directory. +type ResourceAssociatedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -17105,7 +19474,7 @@ type RebuildRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebuildRequest) String() string { +func (s ResourceAssociatedException) String() string { return awsutil.Prettify(s) } @@ -17114,36 +19483,54 @@ func (s RebuildRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebuildRequest) GoString() string { +func (s ResourceAssociatedException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RebuildRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RebuildRequest"} - if s.WorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) - } +func newErrorResourceAssociatedException(v protocol.ResponseMetadata) error { + return &ResourceAssociatedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceAssociatedException) Code() string { + return "ResourceAssociatedException" +} - if invalidParams.Len() > 0 { - return invalidParams +// Message returns the exception's message. +func (s *ResourceAssociatedException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceAssociatedException) OrigErr() error { return nil } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *RebuildRequest) SetWorkspaceId(v string) *RebuildRequest { - s.WorkspaceId = &v - return s +func (s *ResourceAssociatedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -type RebuildWorkspacesInput struct { - _ struct{} `type:"structure"` +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceAssociatedException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // The WorkSpace to rebuild. You can specify a single WorkSpace. - // - // RebuildWorkspaceRequests is a required field - RebuildWorkspaceRequests []*RebuildRequest `min:"1" type:"list" required:"true"` +// RequestID returns the service's response RequestID for request. +func (s *ResourceAssociatedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The resource could not be created. +type ResourceCreationFailedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -17151,7 +19538,7 @@ type RebuildWorkspacesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebuildWorkspacesInput) String() string { +func (s ResourceCreationFailedException) String() string { return awsutil.Prettify(s) } @@ -17160,47 +19547,57 @@ func (s RebuildWorkspacesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebuildWorkspacesInput) GoString() string { +func (s ResourceCreationFailedException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RebuildWorkspacesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RebuildWorkspacesInput"} - if s.RebuildWorkspaceRequests == nil { - invalidParams.Add(request.NewErrParamRequired("RebuildWorkspaceRequests")) - } - if s.RebuildWorkspaceRequests != nil && len(s.RebuildWorkspaceRequests) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RebuildWorkspaceRequests", 1)) - } - if s.RebuildWorkspaceRequests != nil { - for i, v := range s.RebuildWorkspaceRequests { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RebuildWorkspaceRequests", i), err.(request.ErrInvalidParams)) - } - } +func newErrorResourceCreationFailedException(v protocol.ResponseMetadata) error { + return &ResourceCreationFailedException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *ResourceCreationFailedException) Code() string { + return "ResourceCreationFailedException" +} + +// Message returns the exception's message. +func (s *ResourceCreationFailedException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceCreationFailedException) OrigErr() error { return nil } -// SetRebuildWorkspaceRequests sets the RebuildWorkspaceRequests field's value. -func (s *RebuildWorkspacesInput) SetRebuildWorkspaceRequests(v []*RebuildRequest) *RebuildWorkspacesInput { - s.RebuildWorkspaceRequests = v - return s +func (s *ResourceCreationFailedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -type RebuildWorkspacesOutput struct { - _ struct{} `type:"structure"` +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceCreationFailedException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // Information about the WorkSpace that could not be rebuilt. - FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` +// RequestID returns the service's response RequestID for request. +func (s *ResourceCreationFailedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The specified resource is currently in use. +type ResourceInUseException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The ID of the resource that is in use. + ResourceId *string `min:"1" type:"string"` } // String returns the string representation. @@ -17208,7 +19605,7 @@ type RebuildWorkspacesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebuildWorkspacesOutput) String() string { +func (s ResourceInUseException) String() string { return awsutil.Prettify(s) } @@ -17217,56 +19614,55 @@ func (s RebuildWorkspacesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RebuildWorkspacesOutput) GoString() string { +func (s ResourceInUseException) GoString() string { return s.String() } -// SetFailedRequests sets the FailedRequests field's value. -func (s *RebuildWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *RebuildWorkspacesOutput { - s.FailedRequests = v - return s +func newErrorResourceInUseException(v protocol.ResponseMetadata) error { + return &ResourceInUseException{ + RespMetadata: v, + } } -type RegisterWorkspaceDirectoryInput struct { - _ struct{} `type:"structure"` +// Code returns the exception type name. +func (s *ResourceInUseException) Code() string { + return "ResourceInUseException" +} - // The identifier of the directory. You cannot register a directory if it does - // not have a status of Active. If the directory does not have a status of Active, - // you will receive an InvalidResourceStateException error. If you have already - // registered the maximum number of directories that you can register with Amazon - // WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister - // directories that you are not using for WorkSpaces, and try again. - // - // DirectoryId is a required field - DirectoryId *string `min:"10" type:"string" required:"true"` +// Message returns the exception's message. +func (s *ResourceInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - // Indicates whether self-service capabilities are enabled or disabled. - EnableSelfService *bool `type:"boolean"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceInUseException) OrigErr() error { + return nil +} - // Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled - // this parameter and WorkDocs is not available in the Region, you will receive - // an OperationNotSupportedException error. Set EnableWorkDocs to disabled, - // and try again. - // - // EnableWorkDocs is a required field - EnableWorkDocs *bool `type:"boolean" required:"true"` +func (s *ResourceInUseException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} - // The identifiers of the subnets for your virtual private cloud (VPC). Make - // sure that the subnets are in supported Availability Zones. The subnets must - // also be in separate Availability Zones. If these conditions are not met, - // you will receive an OperationNotSupportedException error. - SubnetIds []*string `type:"list"` +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceInUseException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // The tags associated with the directory. - Tags []*Tag `type:"list"` +// RequestID returns the service's response RequestID for request. +func (s *ResourceInUseException) RequestID() string { + return s.RespMetadata.RequestID +} - // Indicates whether your WorkSpace directory is dedicated or shared. To use - // Bring Your Own License (BYOL) images, this value must be set to DEDICATED - // and your Amazon Web Services account must be enabled for BYOL. If your account - // has not been enabled for BYOL, you will receive an InvalidParameterValuesException - // error. For more information about BYOL images, see Bring Your Own Windows - // Desktop Images (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). - Tenancy *string `type:"string" enum:"Tenancy"` +// Your resource limits have been exceeded. +type ResourceLimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The exception error message. + Message_ *string `locationName:"message" type:"string"` } // String returns the string representation. @@ -17274,7 +19670,7 @@ type RegisterWorkspaceDirectoryInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RegisterWorkspaceDirectoryInput) String() string { +func (s ResourceLimitExceededException) String() string { return awsutil.Prettify(s) } @@ -17283,77 +19679,58 @@ func (s RegisterWorkspaceDirectoryInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RegisterWorkspaceDirectoryInput) GoString() string { +func (s ResourceLimitExceededException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RegisterWorkspaceDirectoryInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RegisterWorkspaceDirectoryInput"} - if s.DirectoryId == nil { - invalidParams.Add(request.NewErrParamRequired("DirectoryId")) - } - if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) - } - if s.EnableWorkDocs == nil { - invalidParams.Add(request.NewErrParamRequired("EnableWorkDocs")) - } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams +func newErrorResourceLimitExceededException(v protocol.ResponseMetadata) error { + return &ResourceLimitExceededException{ + RespMetadata: v, } - return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *RegisterWorkspaceDirectoryInput) SetDirectoryId(v string) *RegisterWorkspaceDirectoryInput { - s.DirectoryId = &v - return s +// Code returns the exception type name. +func (s *ResourceLimitExceededException) Code() string { + return "ResourceLimitExceededException" } -// SetEnableSelfService sets the EnableSelfService field's value. -func (s *RegisterWorkspaceDirectoryInput) SetEnableSelfService(v bool) *RegisterWorkspaceDirectoryInput { - s.EnableSelfService = &v - return s +// Message returns the exception's message. +func (s *ResourceLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetEnableWorkDocs sets the EnableWorkDocs field's value. -func (s *RegisterWorkspaceDirectoryInput) SetEnableWorkDocs(v bool) *RegisterWorkspaceDirectoryInput { - s.EnableWorkDocs = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceLimitExceededException) OrigErr() error { + return nil } -// SetSubnetIds sets the SubnetIds field's value. -func (s *RegisterWorkspaceDirectoryInput) SetSubnetIds(v []*string) *RegisterWorkspaceDirectoryInput { - s.SubnetIds = v - return s +func (s *ResourceLimitExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetTags sets the Tags field's value. -func (s *RegisterWorkspaceDirectoryInput) SetTags(v []*Tag) *RegisterWorkspaceDirectoryInput { - s.Tags = v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceLimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetTenancy sets the Tenancy field's value. -func (s *RegisterWorkspaceDirectoryInput) SetTenancy(v string) *RegisterWorkspaceDirectoryInput { - s.Tenancy = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *ResourceLimitExceededException) RequestID() string { + return s.RespMetadata.RequestID } -type RegisterWorkspaceDirectoryOutput struct { - _ struct{} `type:"structure"` +// The resource could not be found. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The resource could not be found. + Message_ *string `locationName:"message" type:"string"` + + // The ID of the resource that could not be found. + ResourceId *string `min:"1" type:"string"` } // String returns the string representation. @@ -17361,7 +19738,7 @@ type RegisterWorkspaceDirectoryOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RegisterWorkspaceDirectoryOutput) String() string { +func (s ResourceNotFoundException) String() string { return awsutil.Prettify(s) } @@ -17370,20 +19747,58 @@ func (s RegisterWorkspaceDirectoryOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RegisterWorkspaceDirectoryOutput) GoString() string { +func (s ResourceNotFoundException) GoString() string { return s.String() } -type RejectAccountLinkInvitationInput struct { - _ struct{} `type:"structure"` +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} - // The client token of the account link invitation to reject. - ClientToken *string `type:"string"` +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} - // The identifier of the account link - // - // LinkId is a required field - LinkId *string `type:"string" required:"true"` +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The specified resource is not available. +type ResourceUnavailableException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The exception error message. + Message_ *string `locationName:"message" type:"string"` + + // The identifier of the resource that is not available. + ResourceId *string `min:"1" type:"string"` } // String returns the string representation. @@ -17391,7 +19806,7 @@ type RejectAccountLinkInvitationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RejectAccountLinkInvitationInput) String() string { +func (s ResourceUnavailableException) String() string { return awsutil.Prettify(s) } @@ -17400,40 +19815,55 @@ func (s RejectAccountLinkInvitationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RejectAccountLinkInvitationInput) GoString() string { +func (s ResourceUnavailableException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RejectAccountLinkInvitationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RejectAccountLinkInvitationInput"} - if s.LinkId == nil { - invalidParams.Add(request.NewErrParamRequired("LinkId")) +func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error { + return &ResourceUnavailableException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *ResourceUnavailableException) Code() string { + return "ResourceUnavailableException" +} + +// Message returns the exception's message. +func (s *ResourceUnavailableException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceUnavailableException) OrigErr() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *RejectAccountLinkInvitationInput) SetClientToken(v string) *RejectAccountLinkInvitationInput { - s.ClientToken = &v - return s +func (s *ResourceUnavailableException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetLinkId sets the LinkId field's value. -func (s *RejectAccountLinkInvitationInput) SetLinkId(v string) *RejectAccountLinkInvitationInput { - s.LinkId = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceUnavailableException) StatusCode() int { + return s.RespMetadata.StatusCode } -type RejectAccountLinkInvitationOutput struct { +// RequestID returns the service's response RequestID for request. +func (s *ResourceUnavailableException) RequestID() string { + return s.RespMetadata.RequestID +} + +type RestoreWorkspaceInput struct { _ struct{} `type:"structure"` - // Information about the account link. - AccountLink *AccountLink `type:"structure"` + // The identifier of the WorkSpace. + // + // WorkspaceId is a required field + WorkspaceId *string `type:"string" required:"true"` } // String returns the string representation. @@ -17441,7 +19871,7 @@ type RejectAccountLinkInvitationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RejectAccountLinkInvitationOutput) String() string { +func (s RestoreWorkspaceInput) String() string { return awsutil.Prettify(s) } @@ -17450,32 +19880,31 @@ func (s RejectAccountLinkInvitationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RejectAccountLinkInvitationOutput) GoString() string { +func (s RestoreWorkspaceInput) GoString() string { return s.String() } -// SetAccountLink sets the AccountLink field's value. -func (s *RejectAccountLinkInvitationOutput) SetAccountLink(v *AccountLink) *RejectAccountLinkInvitationOutput { - s.AccountLink = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *RestoreWorkspaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RestoreWorkspaceInput"} + if s.WorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *RestoreWorkspaceInput) SetWorkspaceId(v string) *RestoreWorkspaceInput { + s.WorkspaceId = &v return s } -// Describes the related WorkSpace. The related WorkSpace could be a standby -// WorkSpace or primary WorkSpace related to the specified WorkSpace. -type RelatedWorkspaceProperties struct { +type RestoreWorkspaceOutput struct { _ struct{} `type:"structure"` - - // The Region of the related WorkSpace. - Region *string `min:"1" type:"string"` - - // Indicates the state of the WorkSpace. - State *string `type:"string" enum:"WorkspaceState"` - - // Indicates the type of WorkSpace. - Type *string `type:"string" enum:"StandbyWorkspaceRelationshipType"` - - // The identifier of the related WorkSpace. - WorkspaceId *string `type:"string"` } // String returns the string representation. @@ -17483,7 +19912,7 @@ type RelatedWorkspaceProperties struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RelatedWorkspaceProperties) String() string { +func (s RestoreWorkspaceOutput) String() string { return awsutil.Prettify(s) } @@ -17492,40 +19921,22 @@ func (s RelatedWorkspaceProperties) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RelatedWorkspaceProperties) GoString() string { +func (s RestoreWorkspaceOutput) GoString() string { return s.String() } -// SetRegion sets the Region field's value. -func (s *RelatedWorkspaceProperties) SetRegion(v string) *RelatedWorkspaceProperties { - s.Region = &v - return s -} - -// SetState sets the State field's value. -func (s *RelatedWorkspaceProperties) SetState(v string) *RelatedWorkspaceProperties { - s.State = &v - return s -} - -// SetType sets the Type field's value. -func (s *RelatedWorkspaceProperties) SetType(v string) *RelatedWorkspaceProperties { - s.Type = &v - return s -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *RelatedWorkspaceProperties) SetWorkspaceId(v string) *RelatedWorkspaceProperties { - s.WorkspaceId = &v - return s -} +type RevokeIpRulesInput struct { + _ struct{} `type:"structure"` -// The specified resource already exists. -type ResourceAlreadyExistsException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The identifier of the group. + // + // GroupId is a required field + GroupId *string `type:"string" required:"true"` - Message_ *string `locationName:"message" type:"string"` + // The rules to remove from the group. + // + // UserRules is a required field + UserRules []*string `type:"list" required:"true"` } // String returns the string representation. @@ -17533,7 +19944,7 @@ type ResourceAlreadyExistsException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceAlreadyExistsException) String() string { +func (s RevokeIpRulesInput) String() string { return awsutil.Prettify(s) } @@ -17542,54 +19953,66 @@ func (s ResourceAlreadyExistsException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceAlreadyExistsException) GoString() string { +func (s RevokeIpRulesInput) GoString() string { return s.String() } -func newErrorResourceAlreadyExistsException(v protocol.ResponseMetadata) error { - return &ResourceAlreadyExistsException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *RevokeIpRulesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RevokeIpRulesInput"} + if s.GroupId == nil { + invalidParams.Add(request.NewErrParamRequired("GroupId")) + } + if s.UserRules == nil { + invalidParams.Add(request.NewErrParamRequired("UserRules")) } -} -// Code returns the exception type name. -func (s *ResourceAlreadyExistsException) Code() string { - return "ResourceAlreadyExistsException" + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// Message returns the exception's message. -func (s *ResourceAlreadyExistsException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetGroupId sets the GroupId field's value. +func (s *RevokeIpRulesInput) SetGroupId(v string) *RevokeIpRulesInput { + s.GroupId = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceAlreadyExistsException) OrigErr() error { - return nil +// SetUserRules sets the UserRules field's value. +func (s *RevokeIpRulesInput) SetUserRules(v []*string) *RevokeIpRulesInput { + s.UserRules = v + return s } -func (s *ResourceAlreadyExistsException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +type RevokeIpRulesOutput struct { + _ struct{} `type:"structure"` } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceAlreadyExistsException) StatusCode() int { - return s.RespMetadata.StatusCode +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RevokeIpRulesOutput) String() string { + return awsutil.Prettify(s) } -// RequestID returns the service's response RequestID for request. -func (s *ResourceAlreadyExistsException) RequestID() string { - return s.RespMetadata.RequestID +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RevokeIpRulesOutput) GoString() string { + return s.String() } -// The resource is associated with a directory. -type ResourceAssociatedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Describes the root volume for a WorkSpace bundle. +type RootStorage struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // The size of the root volume. + Capacity *string `min:"1" type:"string"` } // String returns the string representation. @@ -17597,7 +20020,7 @@ type ResourceAssociatedException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceAssociatedException) String() string { +func (s RootStorage) String() string { return awsutil.Prettify(s) } @@ -17606,54 +20029,66 @@ func (s ResourceAssociatedException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceAssociatedException) GoString() string { +func (s RootStorage) GoString() string { return s.String() } -func newErrorResourceAssociatedException(v protocol.ResponseMetadata) error { - return &ResourceAssociatedException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *RootStorage) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RootStorage"} + if s.Capacity != nil && len(*s.Capacity) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Capacity", 1)) } -} - -// Code returns the exception type name. -func (s *ResourceAssociatedException) Code() string { - return "ResourceAssociatedException" -} -// Message returns the exception's message. -func (s *ResourceAssociatedException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if invalidParams.Len() > 0 { + return invalidParams } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceAssociatedException) OrigErr() error { return nil } -func (s *ResourceAssociatedException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetCapacity sets the Capacity field's value. +func (s *RootStorage) SetCapacity(v string) *RootStorage { + s.Capacity = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceAssociatedException) StatusCode() int { - return s.RespMetadata.StatusCode -} +// Describes the enablement status, user access URL, and relay state parameter +// name that are used for configuring federation with an SAML 2.0 identity provider. +type SamlProperties struct { + _ struct{} `type:"structure"` -// RequestID returns the service's response RequestID for request. -func (s *ResourceAssociatedException) RequestID() string { - return s.RespMetadata.RequestID -} + // The relay state parameter name supported by the SAML 2.0 identity provider + // (IdP). When the end user is redirected to the user access URL from the WorkSpaces + // client application, this relay state parameter name is appended as a query + // parameter to the URL along with the relay state endpoint to return the user + // to the client application session. + // + // To use SAML 2.0 authentication with WorkSpaces, the IdP must support IdP-initiated + // deep linking for the relay state URL. Consult your IdP documentation for + // more information. + RelayStateParameterName *string `min:"1" type:"string"` -// The resource could not be created. -type ResourceCreationFailedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // Indicates the status of SAML 2.0 authentication. These statuses include the + // following. + // + // * If the setting is DISABLED, end users will be directed to login with + // their directory credentials. + // + // * If the setting is ENABLED, end users will be directed to login via the + // user access URL. Users attempting to connect to WorkSpaces from a client + // application that does not support SAML 2.0 authentication will not be + // able to connect. + // + // * If the setting is ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK, end users will + // be directed to login via the user access URL on supported client applications, + // but will not prevent clients that do not support SAML 2.0 authentication + // from connecting as if SAML 2.0 authentication was disabled. + Status *string `type:"string" enum:"SamlStatusEnum"` - Message_ *string `locationName:"message" type:"string"` + // The SAML 2.0 identity provider (IdP) user access URL is the URL a user would + // navigate to in their web browser in order to federate from the IdP and directly + // access the application, without any SAML 2.0 service provider (SP) bindings. + UserAccessUrl *string `min:"8" type:"string"` } // String returns the string representation. @@ -17661,7 +20096,7 @@ type ResourceCreationFailedException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceCreationFailedException) String() string { +func (s SamlProperties) String() string { return awsutil.Prettify(s) } @@ -17670,57 +20105,66 @@ func (s ResourceCreationFailedException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceCreationFailedException) GoString() string { +func (s SamlProperties) GoString() string { return s.String() } -func newErrorResourceCreationFailedException(v protocol.ResponseMetadata) error { - return &ResourceCreationFailedException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *SamlProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SamlProperties"} + if s.RelayStateParameterName != nil && len(*s.RelayStateParameterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RelayStateParameterName", 1)) } -} - -// Code returns the exception type name. -func (s *ResourceCreationFailedException) Code() string { - return "ResourceCreationFailedException" -} - -// Message returns the exception's message. -func (s *ResourceCreationFailedException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.UserAccessUrl != nil && len(*s.UserAccessUrl) < 8 { + invalidParams.Add(request.NewErrParamMinLen("UserAccessUrl", 8)) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceCreationFailedException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *ResourceCreationFailedException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetRelayStateParameterName sets the RelayStateParameterName field's value. +func (s *SamlProperties) SetRelayStateParameterName(v string) *SamlProperties { + s.RelayStateParameterName = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceCreationFailedException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetStatus sets the Status field's value. +func (s *SamlProperties) SetStatus(v string) *SamlProperties { + s.Status = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ResourceCreationFailedException) RequestID() string { - return s.RespMetadata.RequestID +// SetUserAccessUrl sets the UserAccessUrl field's value. +func (s *SamlProperties) SetUserAccessUrl(v string) *SamlProperties { + s.UserAccessUrl = &v + return s } -// The specified resource is currently in use. -type ResourceInUseException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Describes the self-service permissions for a directory. For more information, +// see Enable Self-Service WorkSpace Management Capabilities for Your Users +// (https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html). +type SelfservicePermissions struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // Specifies whether users can change the compute type (bundle) for their WorkSpace. + ChangeComputeType *string `type:"string" enum:"ReconnectEnum"` - // The ID of the resource that is in use. - ResourceId *string `min:"1" type:"string"` + // Specifies whether users can increase the volume size of the drives on their + // WorkSpace. + IncreaseVolumeSize *string `type:"string" enum:"ReconnectEnum"` + + // Specifies whether users can rebuild the operating system of a WorkSpace to + // its original state. + RebuildWorkspace *string `type:"string" enum:"ReconnectEnum"` + + // Specifies whether users can restart their WorkSpace. + RestartWorkspace *string `type:"string" enum:"ReconnectEnum"` + + // Specifies whether users can switch the running mode of their WorkSpace. + SwitchRunningMode *string `type:"string" enum:"ReconnectEnum"` } // String returns the string representation. @@ -17728,7 +20172,7 @@ type ResourceInUseException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceInUseException) String() string { +func (s SelfservicePermissions) String() string { return awsutil.Prettify(s) } @@ -17737,55 +20181,46 @@ func (s ResourceInUseException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceInUseException) GoString() string { +func (s SelfservicePermissions) GoString() string { return s.String() } -func newErrorResourceInUseException(v protocol.ResponseMetadata) error { - return &ResourceInUseException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceInUseException) Code() string { - return "ResourceInUseException" -} - -// Message returns the exception's message. -func (s *ResourceInUseException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetChangeComputeType sets the ChangeComputeType field's value. +func (s *SelfservicePermissions) SetChangeComputeType(v string) *SelfservicePermissions { + s.ChangeComputeType = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceInUseException) OrigErr() error { - return nil +// SetIncreaseVolumeSize sets the IncreaseVolumeSize field's value. +func (s *SelfservicePermissions) SetIncreaseVolumeSize(v string) *SelfservicePermissions { + s.IncreaseVolumeSize = &v + return s } -func (s *ResourceInUseException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetRebuildWorkspace sets the RebuildWorkspace field's value. +func (s *SelfservicePermissions) SetRebuildWorkspace(v string) *SelfservicePermissions { + s.RebuildWorkspace = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceInUseException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetRestartWorkspace sets the RestartWorkspace field's value. +func (s *SelfservicePermissions) SetRestartWorkspace(v string) *SelfservicePermissions { + s.RestartWorkspace = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ResourceInUseException) RequestID() string { - return s.RespMetadata.RequestID +// SetSwitchRunningMode sets the SwitchRunningMode field's value. +func (s *SelfservicePermissions) SetSwitchRunningMode(v string) *SelfservicePermissions { + s.SwitchRunningMode = &v + return s } -// Your resource limits have been exceeded. -type ResourceLimitExceededException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Describes a snapshot. +type Snapshot struct { + _ struct{} `type:"structure"` - // The exception error message. - Message_ *string `locationName:"message" type:"string"` + // The time when the snapshot was created. + SnapshotTime *time.Time `type:"timestamp"` } // String returns the string representation. @@ -17793,7 +20228,7 @@ type ResourceLimitExceededException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceLimitExceededException) String() string { +func (s Snapshot) String() string { return awsutil.Prettify(s) } @@ -17802,58 +20237,39 @@ func (s ResourceLimitExceededException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceLimitExceededException) GoString() string { +func (s Snapshot) GoString() string { return s.String() } -func newErrorResourceLimitExceededException(v protocol.ResponseMetadata) error { - return &ResourceLimitExceededException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceLimitExceededException) Code() string { - return "ResourceLimitExceededException" -} - -// Message returns the exception's message. -func (s *ResourceLimitExceededException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceLimitExceededException) OrigErr() error { - return nil +// SetSnapshotTime sets the SnapshotTime field's value. +func (s *Snapshot) SetSnapshotTime(v time.Time) *Snapshot { + s.SnapshotTime = &v + return s } -func (s *ResourceLimitExceededException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} +// Describes a standby WorkSpace. +type StandbyWorkspace struct { + _ struct{} `type:"structure"` -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceLimitExceededException) StatusCode() int { - return s.RespMetadata.StatusCode -} + // Indicates whether data replication is enabled, and if enabled, the type of + // data replication. + DataReplication *string `type:"string" enum:"DataReplication"` -// RequestID returns the service's response RequestID for request. -func (s *ResourceLimitExceededException) RequestID() string { - return s.RespMetadata.RequestID -} + // The identifier of the directory for the standby WorkSpace. + // + // DirectoryId is a required field + DirectoryId *string `min:"10" type:"string" required:"true"` -// The resource could not be found. -type ResourceNotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The identifier of the standby WorkSpace. + // + // PrimaryWorkspaceId is a required field + PrimaryWorkspaceId *string `type:"string" required:"true"` - // The resource could not be found. - Message_ *string `locationName:"message" type:"string"` + // The tags associated with the standby WorkSpace. + Tags []*Tag `type:"list"` - // The ID of the resource that could not be found. - ResourceId *string `min:"1" type:"string"` + // The volume encryption key of the standby WorkSpace. + VolumeEncryptionKey *string `type:"string"` } // String returns the string representation. @@ -17861,7 +20277,7 @@ type ResourceNotFoundException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceNotFoundException) String() string { +func (s StandbyWorkspace) String() string { return awsutil.Prettify(s) } @@ -17870,58 +20286,83 @@ func (s ResourceNotFoundException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceNotFoundException) GoString() string { +func (s StandbyWorkspace) GoString() string { return s.String() } -func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { - return &ResourceNotFoundException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *StandbyWorkspace) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StandbyWorkspace"} + if s.DirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("DirectoryId")) + } + if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) + } + if s.PrimaryWorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("PrimaryWorkspaceId")) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } } -} -// Code returns the exception type name. -func (s *ResourceNotFoundException) Code() string { - return "ResourceNotFoundException" + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// Message returns the exception's message. -func (s *ResourceNotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetDataReplication sets the DataReplication field's value. +func (s *StandbyWorkspace) SetDataReplication(v string) *StandbyWorkspace { + s.DataReplication = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceNotFoundException) OrigErr() error { - return nil +// SetDirectoryId sets the DirectoryId field's value. +func (s *StandbyWorkspace) SetDirectoryId(v string) *StandbyWorkspace { + s.DirectoryId = &v + return s } -func (s *ResourceNotFoundException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetPrimaryWorkspaceId sets the PrimaryWorkspaceId field's value. +func (s *StandbyWorkspace) SetPrimaryWorkspaceId(v string) *StandbyWorkspace { + s.PrimaryWorkspaceId = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceNotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetTags sets the Tags field's value. +func (s *StandbyWorkspace) SetTags(v []*Tag) *StandbyWorkspace { + s.Tags = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ResourceNotFoundException) RequestID() string { - return s.RespMetadata.RequestID +// SetVolumeEncryptionKey sets the VolumeEncryptionKey field's value. +func (s *StandbyWorkspace) SetVolumeEncryptionKey(v string) *StandbyWorkspace { + s.VolumeEncryptionKey = &v + return s } -// The specified resource is not available. -type ResourceUnavailableException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Describes the properties of the related standby WorkSpaces. +type StandbyWorkspacesProperties struct { + _ struct{} `type:"structure"` - // The exception error message. - Message_ *string `locationName:"message" type:"string"` + // Indicates whether data replication is enabled, and if enabled, the type of + // data replication. + DataReplication *string `type:"string" enum:"DataReplication"` - // The identifier of the resource that is not available. - ResourceId *string `min:"1" type:"string"` + // The date and time at which the last successful snapshot was taken of the + // primary WorkSpace used for replicating data. + RecoverySnapshotTime *time.Time `type:"timestamp"` + + // The identifier of the standby WorkSpace + StandbyWorkspaceId *string `type:"string"` } // String returns the string representation. @@ -17929,7 +20370,7 @@ type ResourceUnavailableException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceUnavailableException) String() string { +func (s StandbyWorkspacesProperties) String() string { return awsutil.Prettify(s) } @@ -17938,55 +20379,67 @@ func (s ResourceUnavailableException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ResourceUnavailableException) GoString() string { +func (s StandbyWorkspacesProperties) GoString() string { return s.String() } -func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error { - return &ResourceUnavailableException{ - RespMetadata: v, - } +// SetDataReplication sets the DataReplication field's value. +func (s *StandbyWorkspacesProperties) SetDataReplication(v string) *StandbyWorkspacesProperties { + s.DataReplication = &v + return s } -// Code returns the exception type name. -func (s *ResourceUnavailableException) Code() string { - return "ResourceUnavailableException" +// SetRecoverySnapshotTime sets the RecoverySnapshotTime field's value. +func (s *StandbyWorkspacesProperties) SetRecoverySnapshotTime(v time.Time) *StandbyWorkspacesProperties { + s.RecoverySnapshotTime = &v + return s } -// Message returns the exception's message. -func (s *ResourceUnavailableException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetStandbyWorkspaceId sets the StandbyWorkspaceId field's value. +func (s *StandbyWorkspacesProperties) SetStandbyWorkspaceId(v string) *StandbyWorkspacesProperties { + s.StandbyWorkspaceId = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceUnavailableException) OrigErr() error { - return nil +// Information used to start a WorkSpace. +type StartRequest struct { + _ struct{} `type:"structure"` + + // The identifier of the WorkSpace. + WorkspaceId *string `type:"string"` } -func (s *ResourceUnavailableException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartRequest) String() string { + return awsutil.Prettify(s) } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceUnavailableException) StatusCode() int { - return s.RespMetadata.StatusCode +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartRequest) GoString() string { + return s.String() } -// RequestID returns the service's response RequestID for request. -func (s *ResourceUnavailableException) RequestID() string { - return s.RespMetadata.RequestID +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *StartRequest) SetWorkspaceId(v string) *StartRequest { + s.WorkspaceId = &v + return s } -type RestoreWorkspaceInput struct { +type StartWorkspacesInput struct { _ struct{} `type:"structure"` - // The identifier of the WorkSpace. + // The WorkSpaces to start. You can specify up to 25 WorkSpaces. // - // WorkspaceId is a required field - WorkspaceId *string `type:"string" required:"true"` + // StartWorkspaceRequests is a required field + StartWorkspaceRequests []*StartRequest `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -17994,7 +20447,7 @@ type RestoreWorkspaceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RestoreWorkspaceInput) String() string { +func (s StartWorkspacesInput) String() string { return awsutil.Prettify(s) } @@ -18003,15 +20456,18 @@ func (s RestoreWorkspaceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RestoreWorkspaceInput) GoString() string { +func (s StartWorkspacesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RestoreWorkspaceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RestoreWorkspaceInput"} - if s.WorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) +func (s *StartWorkspacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartWorkspacesInput"} + if s.StartWorkspaceRequests == nil { + invalidParams.Add(request.NewErrParamRequired("StartWorkspaceRequests")) + } + if s.StartWorkspaceRequests != nil && len(s.StartWorkspaceRequests) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StartWorkspaceRequests", 1)) } if invalidParams.Len() > 0 { @@ -18020,14 +20476,17 @@ func (s *RestoreWorkspaceInput) Validate() error { return nil } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *RestoreWorkspaceInput) SetWorkspaceId(v string) *RestoreWorkspaceInput { - s.WorkspaceId = &v +// SetStartWorkspaceRequests sets the StartWorkspaceRequests field's value. +func (s *StartWorkspacesInput) SetStartWorkspaceRequests(v []*StartRequest) *StartWorkspacesInput { + s.StartWorkspaceRequests = v return s } -type RestoreWorkspaceOutput struct { +type StartWorkspacesOutput struct { _ struct{} `type:"structure"` + + // Information about the WorkSpaces that could not be started. + FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` } // String returns the string representation. @@ -18035,7 +20494,7 @@ type RestoreWorkspaceOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RestoreWorkspaceOutput) String() string { +func (s StartWorkspacesOutput) String() string { return awsutil.Prettify(s) } @@ -18044,22 +20503,23 @@ func (s RestoreWorkspaceOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RestoreWorkspaceOutput) GoString() string { +func (s StartWorkspacesOutput) GoString() string { return s.String() } -type RevokeIpRulesInput struct { - _ struct{} `type:"structure"` +// SetFailedRequests sets the FailedRequests field's value. +func (s *StartWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *StartWorkspacesOutput { + s.FailedRequests = v + return s +} - // The identifier of the group. - // - // GroupId is a required field - GroupId *string `type:"string" required:"true"` +type StartWorkspacesPoolInput struct { + _ struct{} `type:"structure"` - // The rules to remove from the group. + // The identifier of the WorkSpaces pool. // - // UserRules is a required field - UserRules []*string `type:"list" required:"true"` + // PoolId is a required field + PoolId *string `type:"string" required:"true"` } // String returns the string representation. @@ -18067,7 +20527,7 @@ type RevokeIpRulesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RevokeIpRulesInput) String() string { +func (s StartWorkspacesPoolInput) String() string { return awsutil.Prettify(s) } @@ -18076,18 +20536,15 @@ func (s RevokeIpRulesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RevokeIpRulesInput) GoString() string { +func (s StartWorkspacesPoolInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RevokeIpRulesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RevokeIpRulesInput"} - if s.GroupId == nil { - invalidParams.Add(request.NewErrParamRequired("GroupId")) - } - if s.UserRules == nil { - invalidParams.Add(request.NewErrParamRequired("UserRules")) +func (s *StartWorkspacesPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartWorkspacesPoolInput"} + if s.PoolId == nil { + invalidParams.Add(request.NewErrParamRequired("PoolId")) } if invalidParams.Len() > 0 { @@ -18096,19 +20553,13 @@ func (s *RevokeIpRulesInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *RevokeIpRulesInput) SetGroupId(v string) *RevokeIpRulesInput { - s.GroupId = &v - return s -} - -// SetUserRules sets the UserRules field's value. -func (s *RevokeIpRulesInput) SetUserRules(v []*string) *RevokeIpRulesInput { - s.UserRules = v +// SetPoolId sets the PoolId field's value. +func (s *StartWorkspacesPoolInput) SetPoolId(v string) *StartWorkspacesPoolInput { + s.PoolId = &v return s } -type RevokeIpRulesOutput struct { +type StartWorkspacesPoolOutput struct { _ struct{} `type:"structure"` } @@ -18117,7 +20568,7 @@ type RevokeIpRulesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RevokeIpRulesOutput) String() string { +func (s StartWorkspacesPoolOutput) String() string { return awsutil.Prettify(s) } @@ -18126,16 +20577,16 @@ func (s RevokeIpRulesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RevokeIpRulesOutput) GoString() string { +func (s StartWorkspacesPoolOutput) GoString() string { return s.String() } -// Describes the root volume for a WorkSpace bundle. -type RootStorage struct { +// Describes the information used to stop a WorkSpace. +type StopRequest struct { _ struct{} `type:"structure"` - // The size of the root volume. - Capacity *string `min:"1" type:"string"` + // The identifier of the WorkSpace. + WorkspaceId *string `type:"string"` } // String returns the string representation. @@ -18143,7 +20594,7 @@ type RootStorage struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RootStorage) String() string { +func (s StopRequest) String() string { return awsutil.Prettify(s) } @@ -18152,66 +20603,23 @@ func (s RootStorage) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s RootStorage) GoString() string { +func (s StopRequest) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RootStorage) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RootStorage"} - if s.Capacity != nil && len(*s.Capacity) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Capacity", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetCapacity sets the Capacity field's value. -func (s *RootStorage) SetCapacity(v string) *RootStorage { - s.Capacity = &v +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *StopRequest) SetWorkspaceId(v string) *StopRequest { + s.WorkspaceId = &v return s } -// Describes the enablement status, user access URL, and relay state parameter -// name that are used for configuring federation with an SAML 2.0 identity provider. -type SamlProperties struct { +type StopWorkspacesInput struct { _ struct{} `type:"structure"` - // The relay state parameter name supported by the SAML 2.0 identity provider - // (IdP). When the end user is redirected to the user access URL from the WorkSpaces - // client application, this relay state parameter name is appended as a query - // parameter to the URL along with the relay state endpoint to return the user - // to the client application session. - // - // To use SAML 2.0 authentication with WorkSpaces, the IdP must support IdP-initiated - // deep linking for the relay state URL. Consult your IdP documentation for - // more information. - RelayStateParameterName *string `min:"1" type:"string"` - - // Indicates the status of SAML 2.0 authentication. These statuses include the - // following. - // - // * If the setting is DISABLED, end users will be directed to login with - // their directory credentials. - // - // * If the setting is ENABLED, end users will be directed to login via the - // user access URL. Users attempting to connect to WorkSpaces from a client - // application that does not support SAML 2.0 authentication will not be - // able to connect. + // The WorkSpaces to stop. You can specify up to 25 WorkSpaces. // - // * If the setting is ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK, end users will - // be directed to login via the user access URL on supported client applications, - // but will not prevent clients that do not support SAML 2.0 authentication - // from connecting as if SAML 2.0 authentication was disabled. - Status *string `type:"string" enum:"SamlStatusEnum"` - - // The SAML 2.0 identity provider (IdP) user access URL is the URL a user would - // navigate to in their web browser in order to federate from the IdP and directly - // access the application, without any SAML 2.0 service provider (SP) bindings. - UserAccessUrl *string `min:"8" type:"string"` + // StopWorkspaceRequests is a required field + StopWorkspaceRequests []*StopRequest `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -18219,7 +20627,7 @@ type SamlProperties struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SamlProperties) String() string { +func (s StopWorkspacesInput) String() string { return awsutil.Prettify(s) } @@ -18228,18 +20636,18 @@ func (s SamlProperties) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SamlProperties) GoString() string { +func (s StopWorkspacesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SamlProperties) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SamlProperties"} - if s.RelayStateParameterName != nil && len(*s.RelayStateParameterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RelayStateParameterName", 1)) +func (s *StopWorkspacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopWorkspacesInput"} + if s.StopWorkspaceRequests == nil { + invalidParams.Add(request.NewErrParamRequired("StopWorkspaceRequests")) } - if s.UserAccessUrl != nil && len(*s.UserAccessUrl) < 8 { - invalidParams.Add(request.NewErrParamMinLen("UserAccessUrl", 8)) + if s.StopWorkspaceRequests != nil && len(s.StopWorkspaceRequests) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StopWorkspaceRequests", 1)) } if invalidParams.Len() > 0 { @@ -18248,46 +20656,50 @@ func (s *SamlProperties) Validate() error { return nil } -// SetRelayStateParameterName sets the RelayStateParameterName field's value. -func (s *SamlProperties) SetRelayStateParameterName(v string) *SamlProperties { - s.RelayStateParameterName = &v +// SetStopWorkspaceRequests sets the StopWorkspaceRequests field's value. +func (s *StopWorkspacesInput) SetStopWorkspaceRequests(v []*StopRequest) *StopWorkspacesInput { + s.StopWorkspaceRequests = v return s } -// SetStatus sets the Status field's value. -func (s *SamlProperties) SetStatus(v string) *SamlProperties { - s.Status = &v - return s -} +type StopWorkspacesOutput struct { + _ struct{} `type:"structure"` -// SetUserAccessUrl sets the UserAccessUrl field's value. -func (s *SamlProperties) SetUserAccessUrl(v string) *SamlProperties { - s.UserAccessUrl = &v - return s + // Information about the WorkSpaces that could not be stopped. + FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` } -// Describes the self-service permissions for a directory. For more information, -// see Enable Self-Service WorkSpace Management Capabilities for Your Users -// (https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html). -type SelfservicePermissions struct { - _ struct{} `type:"structure"` - - // Specifies whether users can change the compute type (bundle) for their WorkSpace. - ChangeComputeType *string `type:"string" enum:"ReconnectEnum"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StopWorkspacesOutput) String() string { + return awsutil.Prettify(s) +} - // Specifies whether users can increase the volume size of the drives on their - // WorkSpace. - IncreaseVolumeSize *string `type:"string" enum:"ReconnectEnum"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StopWorkspacesOutput) GoString() string { + return s.String() +} - // Specifies whether users can rebuild the operating system of a WorkSpace to - // its original state. - RebuildWorkspace *string `type:"string" enum:"ReconnectEnum"` +// SetFailedRequests sets the FailedRequests field's value. +func (s *StopWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *StopWorkspacesOutput { + s.FailedRequests = v + return s +} - // Specifies whether users can restart their WorkSpace. - RestartWorkspace *string `type:"string" enum:"ReconnectEnum"` +type StopWorkspacesPoolInput struct { + _ struct{} `type:"structure"` - // Specifies whether users can switch the running mode of their WorkSpace. - SwitchRunningMode *string `type:"string" enum:"ReconnectEnum"` + // The identifier of the WorkSpaces pool. + // + // PoolId is a required field + PoolId *string `type:"string" required:"true"` } // String returns the string representation. @@ -18295,7 +20707,7 @@ type SelfservicePermissions struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SelfservicePermissions) String() string { +func (s StopWorkspacesPoolInput) String() string { return awsutil.Prettify(s) } @@ -18304,46 +20716,64 @@ func (s SelfservicePermissions) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s SelfservicePermissions) GoString() string { +func (s StopWorkspacesPoolInput) GoString() string { return s.String() } -// SetChangeComputeType sets the ChangeComputeType field's value. -func (s *SelfservicePermissions) SetChangeComputeType(v string) *SelfservicePermissions { - s.ChangeComputeType = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopWorkspacesPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopWorkspacesPoolInput"} + if s.PoolId == nil { + invalidParams.Add(request.NewErrParamRequired("PoolId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetIncreaseVolumeSize sets the IncreaseVolumeSize field's value. -func (s *SelfservicePermissions) SetIncreaseVolumeSize(v string) *SelfservicePermissions { - s.IncreaseVolumeSize = &v +// SetPoolId sets the PoolId field's value. +func (s *StopWorkspacesPoolInput) SetPoolId(v string) *StopWorkspacesPoolInput { + s.PoolId = &v return s } -// SetRebuildWorkspace sets the RebuildWorkspace field's value. -func (s *SelfservicePermissions) SetRebuildWorkspace(v string) *SelfservicePermissions { - s.RebuildWorkspace = &v - return s +type StopWorkspacesPoolOutput struct { + _ struct{} `type:"structure"` } -// SetRestartWorkspace sets the RestartWorkspace field's value. -func (s *SelfservicePermissions) SetRestartWorkspace(v string) *SelfservicePermissions { - s.RestartWorkspace = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StopWorkspacesPoolOutput) String() string { + return awsutil.Prettify(s) } -// SetSwitchRunningMode sets the SwitchRunningMode field's value. -func (s *SelfservicePermissions) SetSwitchRunningMode(v string) *SelfservicePermissions { - s.SwitchRunningMode = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StopWorkspacesPoolOutput) GoString() string { + return s.String() } -// Describes a snapshot. -type Snapshot struct { +// Describes the storage connector. +type StorageConnector struct { _ struct{} `type:"structure"` - // The time when the snapshot was created. - SnapshotTime *time.Time `type:"timestamp"` + // The type of connector used to save user files. + // + // ConnectorType is a required field + ConnectorType *string `type:"string" required:"true" enum:"StorageConnectorTypeEnum"` + + // Indicates if the storage connetor is enabled or disabled. + // + // Status is a required field + Status *string `type:"string" required:"true" enum:"StorageConnectorStatusEnum"` } // String returns the string representation. @@ -18351,7 +20781,7 @@ type Snapshot struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Snapshot) String() string { +func (s StorageConnector) String() string { return awsutil.Prettify(s) } @@ -18360,39 +20790,50 @@ func (s Snapshot) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Snapshot) GoString() string { +func (s StorageConnector) GoString() string { return s.String() } -// SetSnapshotTime sets the SnapshotTime field's value. -func (s *Snapshot) SetSnapshotTime(v time.Time) *Snapshot { - s.SnapshotTime = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *StorageConnector) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StorageConnector"} + if s.ConnectorType == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectorType")) + } + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectorType sets the ConnectorType field's value. +func (s *StorageConnector) SetConnectorType(v string) *StorageConnector { + s.ConnectorType = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *StorageConnector) SetStatus(v string) *StorageConnector { + s.Status = &v return s } -// Describes a standby WorkSpace. -type StandbyWorkspace struct { +// Describes the streaming properties. +type StreamingProperties struct { _ struct{} `type:"structure"` - // Indicates whether data replication is enabled, and if enabled, the type of - // data replication. - DataReplication *string `type:"string" enum:"DataReplication"` - - // The identifier of the directory for the standby WorkSpace. - // - // DirectoryId is a required field - DirectoryId *string `min:"10" type:"string" required:"true"` - - // The identifier of the standby WorkSpace. - // - // PrimaryWorkspaceId is a required field - PrimaryWorkspaceId *string `type:"string" required:"true"` + // Indicates the storage connector used + StorageConnectors []*StorageConnector `min:"1" type:"list"` - // The tags associated with the standby WorkSpace. - Tags []*Tag `type:"list"` + // Indicates the type of preferred protocol for the streaming experience. + StreamingExperiencePreferredProtocol *string `type:"string" enum:"StreamingExperiencePreferredProtocolEnum"` - // The volume encryption key of the standby WorkSpace. - VolumeEncryptionKey *string `type:"string"` + // Indicates the permission settings asscoiated with the user. + UserSettings []*UserSetting `min:"1" type:"list"` } // String returns the string representation. @@ -18400,7 +20841,7 @@ type StandbyWorkspace struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StandbyWorkspace) String() string { +func (s StreamingProperties) String() string { return awsutil.Prettify(s) } @@ -18409,29 +20850,36 @@ func (s StandbyWorkspace) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StandbyWorkspace) GoString() string { +func (s StreamingProperties) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StandbyWorkspace) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StandbyWorkspace"} - if s.DirectoryId == nil { - invalidParams.Add(request.NewErrParamRequired("DirectoryId")) +func (s *StreamingProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StreamingProperties"} + if s.StorageConnectors != nil && len(s.StorageConnectors) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StorageConnectors", 1)) } - if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { - invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) + if s.UserSettings != nil && len(s.UserSettings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserSettings", 1)) } - if s.PrimaryWorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("PrimaryWorkspaceId")) + if s.StorageConnectors != nil { + for i, v := range s.StorageConnectors { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StorageConnectors", i), err.(request.ErrInvalidParams)) + } + } } - if s.Tags != nil { - for i, v := range s.Tags { + if s.UserSettings != nil { + for i, v := range s.UserSettings { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserSettings", i), err.(request.ErrInvalidParams)) } } } @@ -18442,50 +20890,35 @@ func (s *StandbyWorkspace) Validate() error { return nil } -// SetDataReplication sets the DataReplication field's value. -func (s *StandbyWorkspace) SetDataReplication(v string) *StandbyWorkspace { - s.DataReplication = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *StandbyWorkspace) SetDirectoryId(v string) *StandbyWorkspace { - s.DirectoryId = &v - return s -} - -// SetPrimaryWorkspaceId sets the PrimaryWorkspaceId field's value. -func (s *StandbyWorkspace) SetPrimaryWorkspaceId(v string) *StandbyWorkspace { - s.PrimaryWorkspaceId = &v +// SetStorageConnectors sets the StorageConnectors field's value. +func (s *StreamingProperties) SetStorageConnectors(v []*StorageConnector) *StreamingProperties { + s.StorageConnectors = v return s } -// SetTags sets the Tags field's value. -func (s *StandbyWorkspace) SetTags(v []*Tag) *StandbyWorkspace { - s.Tags = v +// SetStreamingExperiencePreferredProtocol sets the StreamingExperiencePreferredProtocol field's value. +func (s *StreamingProperties) SetStreamingExperiencePreferredProtocol(v string) *StreamingProperties { + s.StreamingExperiencePreferredProtocol = &v return s } -// SetVolumeEncryptionKey sets the VolumeEncryptionKey field's value. -func (s *StandbyWorkspace) SetVolumeEncryptionKey(v string) *StandbyWorkspace { - s.VolumeEncryptionKey = &v +// SetUserSettings sets the UserSettings field's value. +func (s *StreamingProperties) SetUserSettings(v []*UserSetting) *StreamingProperties { + s.UserSettings = v return s } -// Describes the properties of the related standby WorkSpaces. -type StandbyWorkspacesProperties struct { +// Describes a tag. +type Tag struct { _ struct{} `type:"structure"` - // Indicates whether data replication is enabled, and if enabled, the type of - // data replication. - DataReplication *string `type:"string" enum:"DataReplication"` - - // The date and time at which the last successful snapshot was taken of the - // primary WorkSpace used for replicating data. - RecoverySnapshotTime *time.Time `type:"timestamp"` + // The key of the tag. + // + // Key is a required field + Key *string `min:"1" type:"string" required:"true"` - // The identifier of the standby WorkSpace - StandbyWorkspaceId *string `type:"string"` + // The value of the tag. + Value *string `type:"string"` } // String returns the string representation. @@ -18493,7 +20926,7 @@ type StandbyWorkspacesProperties struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StandbyWorkspacesProperties) String() string { +func (s Tag) String() string { return awsutil.Prettify(s) } @@ -18502,34 +20935,46 @@ func (s StandbyWorkspacesProperties) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StandbyWorkspacesProperties) GoString() string { +func (s Tag) GoString() string { return s.String() } -// SetDataReplication sets the DataReplication field's value. -func (s *StandbyWorkspacesProperties) SetDataReplication(v string) *StandbyWorkspacesProperties { - s.DataReplication = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *Tag) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Tag"} + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.Key != nil && len(*s.Key) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRecoverySnapshotTime sets the RecoverySnapshotTime field's value. -func (s *StandbyWorkspacesProperties) SetRecoverySnapshotTime(v time.Time) *StandbyWorkspacesProperties { - s.RecoverySnapshotTime = &v +// SetKey sets the Key field's value. +func (s *Tag) SetKey(v string) *Tag { + s.Key = &v return s } -// SetStandbyWorkspaceId sets the StandbyWorkspaceId field's value. -func (s *StandbyWorkspacesProperties) SetStandbyWorkspaceId(v string) *StandbyWorkspacesProperties { - s.StandbyWorkspaceId = &v +// SetValue sets the Value field's value. +func (s *Tag) SetValue(v string) *Tag { + s.Value = &v return s } -// Information used to start a WorkSpace. -type StartRequest struct { +// Describes the information used to terminate a WorkSpace. +type TerminateRequest struct { _ struct{} `type:"structure"` // The identifier of the WorkSpace. - WorkspaceId *string `type:"string"` + // + // WorkspaceId is a required field + WorkspaceId *string `type:"string" required:"true"` } // String returns the string representation. @@ -18537,7 +20982,7 @@ type StartRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartRequest) String() string { +func (s TerminateRequest) String() string { return awsutil.Prettify(s) } @@ -18546,23 +20991,36 @@ func (s StartRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartRequest) GoString() string { +func (s TerminateRequest) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *TerminateRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TerminateRequest"} + if s.WorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetWorkspaceId sets the WorkspaceId field's value. -func (s *StartRequest) SetWorkspaceId(v string) *StartRequest { +func (s *TerminateRequest) SetWorkspaceId(v string) *TerminateRequest { s.WorkspaceId = &v return s } -type StartWorkspacesInput struct { +type TerminateWorkspacesInput struct { _ struct{} `type:"structure"` - // The WorkSpaces to start. You can specify up to 25 WorkSpaces. + // The WorkSpaces to terminate. You can specify up to 25 WorkSpaces. // - // StartWorkspaceRequests is a required field - StartWorkspaceRequests []*StartRequest `min:"1" type:"list" required:"true"` + // TerminateWorkspaceRequests is a required field + TerminateWorkspaceRequests []*TerminateRequest `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -18570,7 +21028,7 @@ type StartWorkspacesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartWorkspacesInput) String() string { +func (s TerminateWorkspacesInput) String() string { return awsutil.Prettify(s) } @@ -18579,18 +21037,28 @@ func (s StartWorkspacesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartWorkspacesInput) GoString() string { +func (s TerminateWorkspacesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartWorkspacesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartWorkspacesInput"} - if s.StartWorkspaceRequests == nil { - invalidParams.Add(request.NewErrParamRequired("StartWorkspaceRequests")) +func (s *TerminateWorkspacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TerminateWorkspacesInput"} + if s.TerminateWorkspaceRequests == nil { + invalidParams.Add(request.NewErrParamRequired("TerminateWorkspaceRequests")) } - if s.StartWorkspaceRequests != nil && len(s.StartWorkspaceRequests) < 1 { - invalidParams.Add(request.NewErrParamMinLen("StartWorkspaceRequests", 1)) + if s.TerminateWorkspaceRequests != nil && len(s.TerminateWorkspaceRequests) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TerminateWorkspaceRequests", 1)) + } + if s.TerminateWorkspaceRequests != nil { + for i, v := range s.TerminateWorkspaceRequests { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TerminateWorkspaceRequests", i), err.(request.ErrInvalidParams)) + } + } } if invalidParams.Len() > 0 { @@ -18599,16 +21067,16 @@ func (s *StartWorkspacesInput) Validate() error { return nil } -// SetStartWorkspaceRequests sets the StartWorkspaceRequests field's value. -func (s *StartWorkspacesInput) SetStartWorkspaceRequests(v []*StartRequest) *StartWorkspacesInput { - s.StartWorkspaceRequests = v +// SetTerminateWorkspaceRequests sets the TerminateWorkspaceRequests field's value. +func (s *TerminateWorkspacesInput) SetTerminateWorkspaceRequests(v []*TerminateRequest) *TerminateWorkspacesInput { + s.TerminateWorkspaceRequests = v return s } -type StartWorkspacesOutput struct { +type TerminateWorkspacesOutput struct { _ struct{} `type:"structure"` - // Information about the WorkSpaces that could not be started. + // Information about the WorkSpaces that could not be terminated. FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` } @@ -18617,7 +21085,7 @@ type StartWorkspacesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartWorkspacesOutput) String() string { +func (s TerminateWorkspacesOutput) String() string { return awsutil.Prettify(s) } @@ -18626,55 +21094,23 @@ func (s StartWorkspacesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StartWorkspacesOutput) GoString() string { +func (s TerminateWorkspacesOutput) GoString() string { return s.String() } // SetFailedRequests sets the FailedRequests field's value. -func (s *StartWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *StartWorkspacesOutput { +func (s *TerminateWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *TerminateWorkspacesOutput { s.FailedRequests = v return s } -// Describes the information used to stop a WorkSpace. -type StopRequest struct { - _ struct{} `type:"structure"` - - // The identifier of the WorkSpace. - WorkspaceId *string `type:"string"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StopRequest) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StopRequest) GoString() string { - return s.String() -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *StopRequest) SetWorkspaceId(v string) *StopRequest { - s.WorkspaceId = &v - return s -} - -type StopWorkspacesInput struct { +type TerminateWorkspacesPoolInput struct { _ struct{} `type:"structure"` - // The WorkSpaces to stop. You can specify up to 25 WorkSpaces. + // The identifier of the WorkSpaces pool. // - // StopWorkspaceRequests is a required field - StopWorkspaceRequests []*StopRequest `min:"1" type:"list" required:"true"` + // PoolId is a required field + PoolId *string `type:"string" required:"true"` } // String returns the string representation. @@ -18682,7 +21118,7 @@ type StopWorkspacesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopWorkspacesInput) String() string { +func (s TerminateWorkspacesPoolInput) String() string { return awsutil.Prettify(s) } @@ -18691,18 +21127,15 @@ func (s StopWorkspacesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopWorkspacesInput) GoString() string { +func (s TerminateWorkspacesPoolInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StopWorkspacesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StopWorkspacesInput"} - if s.StopWorkspaceRequests == nil { - invalidParams.Add(request.NewErrParamRequired("StopWorkspaceRequests")) - } - if s.StopWorkspaceRequests != nil && len(s.StopWorkspaceRequests) < 1 { - invalidParams.Add(request.NewErrParamMinLen("StopWorkspaceRequests", 1)) +func (s *TerminateWorkspacesPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TerminateWorkspacesPoolInput"} + if s.PoolId == nil { + invalidParams.Add(request.NewErrParamRequired("PoolId")) } if invalidParams.Len() > 0 { @@ -18711,17 +21144,14 @@ func (s *StopWorkspacesInput) Validate() error { return nil } -// SetStopWorkspaceRequests sets the StopWorkspaceRequests field's value. -func (s *StopWorkspacesInput) SetStopWorkspaceRequests(v []*StopRequest) *StopWorkspacesInput { - s.StopWorkspaceRequests = v +// SetPoolId sets the PoolId field's value. +func (s *TerminateWorkspacesPoolInput) SetPoolId(v string) *TerminateWorkspacesPoolInput { + s.PoolId = &v return s } -type StopWorkspacesOutput struct { +type TerminateWorkspacesPoolOutput struct { _ struct{} `type:"structure"` - - // Information about the WorkSpaces that could not be stopped. - FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` } // String returns the string representation. @@ -18729,7 +21159,7 @@ type StopWorkspacesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s StopWorkspacesOutput) String() string { +func (s TerminateWorkspacesPoolOutput) String() string { return awsutil.Prettify(s) } @@ -18737,28 +21167,18 @@ func (s StopWorkspacesOutput) String() string { // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s StopWorkspacesOutput) GoString() string { - return s.String() -} - -// SetFailedRequests sets the FailedRequests field's value. -func (s *StopWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *StopWorkspacesOutput { - s.FailedRequests = v - return s +// value will be replaced with "sensitive". +func (s TerminateWorkspacesPoolOutput) GoString() string { + return s.String() } -// Describes a tag. -type Tag struct { +type TerminateWorkspacesPoolSessionInput struct { _ struct{} `type:"structure"` - // The key of the tag. + // The identifier of the WorkSpaces pool session. // - // Key is a required field - Key *string `min:"1" type:"string" required:"true"` - - // The value of the tag. - Value *string `type:"string"` + // SessionId is a required field + SessionId *string `min:"36" type:"string" required:"true"` } // String returns the string representation. @@ -18766,7 +21186,7 @@ type Tag struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Tag) String() string { +func (s TerminateWorkspacesPoolSessionInput) String() string { return awsutil.Prettify(s) } @@ -18775,18 +21195,18 @@ func (s Tag) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Tag) GoString() string { +func (s TerminateWorkspacesPoolSessionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Tag) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Tag"} - if s.Key == nil { - invalidParams.Add(request.NewErrParamRequired("Key")) +func (s *TerminateWorkspacesPoolSessionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TerminateWorkspacesPoolSessionInput"} + if s.SessionId == nil { + invalidParams.Add(request.NewErrParamRequired("SessionId")) } - if s.Key != nil && len(*s.Key) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + if s.SessionId != nil && len(*s.SessionId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("SessionId", 36)) } if invalidParams.Len() > 0 { @@ -18795,26 +21215,14 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v +// SetSessionId sets the SessionId field's value. +func (s *TerminateWorkspacesPoolSessionInput) SetSessionId(v string) *TerminateWorkspacesPoolSessionInput { + s.SessionId = &v return s } -// Describes the information used to terminate a WorkSpace. -type TerminateRequest struct { +type TerminateWorkspacesPoolSessionOutput struct { _ struct{} `type:"structure"` - - // The identifier of the WorkSpace. - // - // WorkspaceId is a required field - WorkspaceId *string `type:"string" required:"true"` } // String returns the string representation. @@ -18822,7 +21230,7 @@ type TerminateRequest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TerminateRequest) String() string { +func (s TerminateWorkspacesPoolSessionOutput) String() string { return awsutil.Prettify(s) } @@ -18831,36 +21239,30 @@ func (s TerminateRequest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TerminateRequest) GoString() string { +func (s TerminateWorkspacesPoolSessionOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *TerminateRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TerminateRequest"} - if s.WorkspaceId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} +// Describes the timeout settings for a WorkSpaces pool. +type TimeoutSettings struct { + _ struct{} `type:"structure"` -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *TerminateRequest) SetWorkspaceId(v string) *TerminateRequest { - s.WorkspaceId = &v - return s -} + // Specifies the amount of time, in seconds, that a streaming session remains + // active after users disconnect. If users try to reconnect to the streaming + // session after a disconnection or network interruption within the time set, + // they are connected to their previous session. Otherwise, they are connected + // to a new session with a new streaming instance. + DisconnectTimeoutInSeconds *int64 `min:"60" type:"integer"` -type TerminateWorkspacesInput struct { - _ struct{} `type:"structure"` + // The amount of time in seconds a connection will stay active while idle. + IdleDisconnectTimeoutInSeconds *int64 `type:"integer"` - // The WorkSpaces to terminate. You can specify up to 25 WorkSpaces. - // - // TerminateWorkspaceRequests is a required field - TerminateWorkspaceRequests []*TerminateRequest `min:"1" type:"list" required:"true"` + // Specifies the maximum amount of time, in seconds, that a streaming session + // can remain active. If users are still connected to a streaming instance five + // minutes before this limit is reached, they are prompted to save any open + // documents before being disconnected. After this time elapses, the instance + // is terminated and replaced by a new instance. + MaxUserDurationInSeconds *int64 `min:"600" type:"integer"` } // String returns the string representation. @@ -18868,7 +21270,7 @@ type TerminateWorkspacesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TerminateWorkspacesInput) String() string { +func (s TimeoutSettings) String() string { return awsutil.Prettify(s) } @@ -18877,28 +21279,18 @@ func (s TerminateWorkspacesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s TerminateWorkspacesInput) GoString() string { +func (s TimeoutSettings) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TerminateWorkspacesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TerminateWorkspacesInput"} - if s.TerminateWorkspaceRequests == nil { - invalidParams.Add(request.NewErrParamRequired("TerminateWorkspaceRequests")) - } - if s.TerminateWorkspaceRequests != nil && len(s.TerminateWorkspaceRequests) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TerminateWorkspaceRequests", 1)) +func (s *TimeoutSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimeoutSettings"} + if s.DisconnectTimeoutInSeconds != nil && *s.DisconnectTimeoutInSeconds < 60 { + invalidParams.Add(request.NewErrParamMinValue("DisconnectTimeoutInSeconds", 60)) } - if s.TerminateWorkspaceRequests != nil { - for i, v := range s.TerminateWorkspaceRequests { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TerminateWorkspaceRequests", i), err.(request.ErrInvalidParams)) - } - } + if s.MaxUserDurationInSeconds != nil && *s.MaxUserDurationInSeconds < 600 { + invalidParams.Add(request.NewErrParamMinValue("MaxUserDurationInSeconds", 600)) } if invalidParams.Len() > 0 { @@ -18907,40 +21299,21 @@ func (s *TerminateWorkspacesInput) Validate() error { return nil } -// SetTerminateWorkspaceRequests sets the TerminateWorkspaceRequests field's value. -func (s *TerminateWorkspacesInput) SetTerminateWorkspaceRequests(v []*TerminateRequest) *TerminateWorkspacesInput { - s.TerminateWorkspaceRequests = v +// SetDisconnectTimeoutInSeconds sets the DisconnectTimeoutInSeconds field's value. +func (s *TimeoutSettings) SetDisconnectTimeoutInSeconds(v int64) *TimeoutSettings { + s.DisconnectTimeoutInSeconds = &v return s } -type TerminateWorkspacesOutput struct { - _ struct{} `type:"structure"` - - // Information about the WorkSpaces that could not be terminated. - FailedRequests []*FailedWorkspaceChangeRequest `type:"list"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s TerminateWorkspacesOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s TerminateWorkspacesOutput) GoString() string { - return s.String() +// SetIdleDisconnectTimeoutInSeconds sets the IdleDisconnectTimeoutInSeconds field's value. +func (s *TimeoutSettings) SetIdleDisconnectTimeoutInSeconds(v int64) *TimeoutSettings { + s.IdleDisconnectTimeoutInSeconds = &v + return s } -// SetFailedRequests sets the FailedRequests field's value. -func (s *TerminateWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *TerminateWorkspacesOutput { - s.FailedRequests = v +// SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value. +func (s *TimeoutSettings) SetMaxUserDurationInSeconds(v int64) *TimeoutSettings { + s.MaxUserDurationInSeconds = &v return s } @@ -19572,6 +21945,228 @@ func (s UpdateWorkspaceImagePermissionOutput) GoString() string { return s.String() } +type UpdateWorkspacesPoolInput struct { + _ struct{} `type:"structure"` + + // The persistent application settings for users in the pool. + ApplicationSettings *ApplicationSettingsRequest `type:"structure"` + + // The identifier of the bundle. + BundleId *string `type:"string"` + + // The desired capacity for the WorkSpaces pool. + Capacity *Capacity `type:"structure"` + + // Describes the specified WorkSpaces pool to update. + Description *string `min:"1" type:"string"` + + // The identifier of the directory. + DirectoryId *string `min:"10" type:"string"` + + // The identifier of the specified WorkSpaces pool to update. + // + // PoolId is a required field + PoolId *string `type:"string" required:"true"` + + // Indicates the timeout settings of the specified WorkSpaces pool. + TimeoutSettings *TimeoutSettings `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkspacesPoolInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkspacesPoolInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateWorkspacesPoolInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateWorkspacesPoolInput"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DirectoryId != nil && len(*s.DirectoryId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 10)) + } + if s.PoolId == nil { + invalidParams.Add(request.NewErrParamRequired("PoolId")) + } + if s.ApplicationSettings != nil { + if err := s.ApplicationSettings.Validate(); err != nil { + invalidParams.AddNested("ApplicationSettings", err.(request.ErrInvalidParams)) + } + } + if s.Capacity != nil { + if err := s.Capacity.Validate(); err != nil { + invalidParams.AddNested("Capacity", err.(request.ErrInvalidParams)) + } + } + if s.TimeoutSettings != nil { + if err := s.TimeoutSettings.Validate(); err != nil { + invalidParams.AddNested("TimeoutSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationSettings sets the ApplicationSettings field's value. +func (s *UpdateWorkspacesPoolInput) SetApplicationSettings(v *ApplicationSettingsRequest) *UpdateWorkspacesPoolInput { + s.ApplicationSettings = v + return s +} + +// SetBundleId sets the BundleId field's value. +func (s *UpdateWorkspacesPoolInput) SetBundleId(v string) *UpdateWorkspacesPoolInput { + s.BundleId = &v + return s +} + +// SetCapacity sets the Capacity field's value. +func (s *UpdateWorkspacesPoolInput) SetCapacity(v *Capacity) *UpdateWorkspacesPoolInput { + s.Capacity = v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateWorkspacesPoolInput) SetDescription(v string) *UpdateWorkspacesPoolInput { + s.Description = &v + return s +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *UpdateWorkspacesPoolInput) SetDirectoryId(v string) *UpdateWorkspacesPoolInput { + s.DirectoryId = &v + return s +} + +// SetPoolId sets the PoolId field's value. +func (s *UpdateWorkspacesPoolInput) SetPoolId(v string) *UpdateWorkspacesPoolInput { + s.PoolId = &v + return s +} + +// SetTimeoutSettings sets the TimeoutSettings field's value. +func (s *UpdateWorkspacesPoolInput) SetTimeoutSettings(v *TimeoutSettings) *UpdateWorkspacesPoolInput { + s.TimeoutSettings = v + return s +} + +type UpdateWorkspacesPoolOutput struct { + _ struct{} `type:"structure"` + + // Describes the specified WorkSpaces pool. + WorkspacesPool *WorkspacesPool `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkspacesPoolOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateWorkspacesPoolOutput) GoString() string { + return s.String() +} + +// SetWorkspacesPool sets the WorkspacesPool field's value. +func (s *UpdateWorkspacesPoolOutput) SetWorkspacesPool(v *WorkspacesPool) *UpdateWorkspacesPoolOutput { + s.WorkspacesPool = v + return s +} + +// Information about the user's permission settings. +type UserSetting struct { + _ struct{} `type:"structure"` + + // Indicates the type of action. + // + // Action is a required field + Action *string `type:"string" required:"true" enum:"UserSettingActionEnum"` + + // Indicates the maximum character length for the specified user setting. + MaximumLength *int64 `type:"integer"` + + // Indicates if the setting is enabled or disabled. + // + // Permission is a required field + Permission *string `type:"string" required:"true" enum:"UserSettingPermissionEnum"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSetting) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UserSetting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UserSetting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UserSetting"} + if s.Action == nil { + invalidParams.Add(request.NewErrParamRequired("Action")) + } + if s.Permission == nil { + invalidParams.Add(request.NewErrParamRequired("Permission")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAction sets the Action field's value. +func (s *UserSetting) SetAction(v string) *UserSetting { + s.Action = &v + return s +} + +// SetMaximumLength sets the MaximumLength field's value. +func (s *UserSetting) SetMaximumLength(v int64) *UserSetting { + s.MaximumLength = &v + return s +} + +// SetPermission sets the Permission field's value. +func (s *UserSetting) SetPermission(v string) *UserSetting { + s.Permission = &v + return s +} + // Describes the user volume for a WorkSpace bundle. type UserStorage struct { _ struct{} `type:"structure"` @@ -20395,6 +22990,9 @@ type WorkspaceCreationProperties struct { // will have WorkDocs enabled. EnableWorkDocs *bool `type:"boolean"` + // Indicates the IAM role ARN of the instance. + InstanceIamRoleArn *string `type:"string"` + // Indicates whether users are local administrators of their WorkSpaces. UserEnabledAsLocalAdministrator *bool `type:"boolean"` } @@ -20460,6 +23058,12 @@ func (s *WorkspaceCreationProperties) SetEnableWorkDocs(v bool) *WorkspaceCreati return s } +// SetInstanceIamRoleArn sets the InstanceIamRoleArn field's value. +func (s *WorkspaceCreationProperties) SetInstanceIamRoleArn(v string) *WorkspaceCreationProperties { + s.InstanceIamRoleArn = &v + return s +} + // SetUserEnabledAsLocalAdministrator sets the UserEnabledAsLocalAdministrator field's value. func (s *WorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator(v bool) *WorkspaceCreationProperties { s.UserEnabledAsLocalAdministrator = &v @@ -20470,6 +23074,9 @@ func (s *WorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator(v bool) type WorkspaceDirectory struct { _ struct{} `type:"structure"` + // Information about the Active Directory config. + ActiveDirectoryConfig *ActiveDirectoryConfig `type:"structure"` + // The directory alias. Alias *string `type:"string"` @@ -20493,6 +23100,9 @@ type WorkspaceDirectory struct { // The IP addresses of the DNS servers for the directory. DnsIpAddresses []*string `type:"list"` + // The error message returned. + ErrorMessage *string `type:"string"` + // The identifier of the IAM role. This is the role that allows Amazon WorkSpaces // to make calls to other services, such as Amazon EC2, on your behalf. IamRoleId *string `type:"string"` @@ -20520,6 +23130,9 @@ type WorkspaceDirectory struct { // deregistered. State *string `type:"string" enum:"WorkspaceDirectoryState"` + // The streaming properties to configure. + StreamingProperties *StreamingProperties `type:"structure"` + // The identifiers of the subnets used with the directory. SubnetIds []*string `type:"list"` @@ -20528,14 +23141,26 @@ type WorkspaceDirectory struct { // see Bring Your Own Windows Desktop Images (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). Tenancy *string `type:"string" enum:"Tenancy"` + // Indicates the identity type of the specifired user. + UserIdentityType *string `type:"string" enum:"UserIdentityType"` + // The devices and operating systems that users can use to access WorkSpaces. WorkspaceAccessProperties *WorkspaceAccessProperties `type:"structure"` // The default creation properties for all WorkSpaces in the directory. WorkspaceCreationProperties *DefaultWorkspaceCreationProperties `type:"structure"` + // The description of the WorkSpace directory + WorkspaceDirectoryDescription *string `type:"string"` + + // The name fo the WorkSpace directory. + WorkspaceDirectoryName *string `type:"string"` + // The identifier of the security group that is assigned to new WorkSpaces. WorkspaceSecurityGroupId *string `min:"11" type:"string"` + + // Indicates whether the directory's WorkSpace type is personal or pools. + WorkspaceType *string `type:"string" enum:"WorkspaceType"` } // String returns the string representation. @@ -20556,6 +23181,12 @@ func (s WorkspaceDirectory) GoString() string { return s.String() } +// SetActiveDirectoryConfig sets the ActiveDirectoryConfig field's value. +func (s *WorkspaceDirectory) SetActiveDirectoryConfig(v *ActiveDirectoryConfig) *WorkspaceDirectory { + s.ActiveDirectoryConfig = v + return s +} + // SetAlias sets the Alias field's value. func (s *WorkspaceDirectory) SetAlias(v string) *WorkspaceDirectory { s.Alias = &v @@ -20598,6 +23229,12 @@ func (s *WorkspaceDirectory) SetDnsIpAddresses(v []*string) *WorkspaceDirectory return s } +// SetErrorMessage sets the ErrorMessage field's value. +func (s *WorkspaceDirectory) SetErrorMessage(v string) *WorkspaceDirectory { + s.ErrorMessage = &v + return s +} + // SetIamRoleId sets the IamRoleId field's value. func (s *WorkspaceDirectory) SetIamRoleId(v string) *WorkspaceDirectory { s.IamRoleId = &v @@ -20634,6 +23271,12 @@ func (s *WorkspaceDirectory) SetState(v string) *WorkspaceDirectory { return s } +// SetStreamingProperties sets the StreamingProperties field's value. +func (s *WorkspaceDirectory) SetStreamingProperties(v *StreamingProperties) *WorkspaceDirectory { + s.StreamingProperties = v + return s +} + // SetSubnetIds sets the SubnetIds field's value. func (s *WorkspaceDirectory) SetSubnetIds(v []*string) *WorkspaceDirectory { s.SubnetIds = v @@ -20646,6 +23289,12 @@ func (s *WorkspaceDirectory) SetTenancy(v string) *WorkspaceDirectory { return s } +// SetUserIdentityType sets the UserIdentityType field's value. +func (s *WorkspaceDirectory) SetUserIdentityType(v string) *WorkspaceDirectory { + s.UserIdentityType = &v + return s +} + // SetWorkspaceAccessProperties sets the WorkspaceAccessProperties field's value. func (s *WorkspaceDirectory) SetWorkspaceAccessProperties(v *WorkspaceAccessProperties) *WorkspaceDirectory { s.WorkspaceAccessProperties = v @@ -20658,12 +23307,30 @@ func (s *WorkspaceDirectory) SetWorkspaceCreationProperties(v *DefaultWorkspaceC return s } +// SetWorkspaceDirectoryDescription sets the WorkspaceDirectoryDescription field's value. +func (s *WorkspaceDirectory) SetWorkspaceDirectoryDescription(v string) *WorkspaceDirectory { + s.WorkspaceDirectoryDescription = &v + return s +} + +// SetWorkspaceDirectoryName sets the WorkspaceDirectoryName field's value. +func (s *WorkspaceDirectory) SetWorkspaceDirectoryName(v string) *WorkspaceDirectory { + s.WorkspaceDirectoryName = &v + return s +} + // SetWorkspaceSecurityGroupId sets the WorkspaceSecurityGroupId field's value. func (s *WorkspaceDirectory) SetWorkspaceSecurityGroupId(v string) *WorkspaceDirectory { s.WorkspaceSecurityGroupId = &v return s } +// SetWorkspaceType sets the WorkspaceType field's value. +func (s *WorkspaceDirectory) SetWorkspaceType(v string) *WorkspaceDirectory { + s.WorkspaceType = &v + return s +} + // Describes a WorkSpace image. type WorkspaceImage struct { _ struct{} `type:"structure"` @@ -21074,8 +23741,296 @@ type WorkspaceResourceAssociation struct { // The reason the association deployment failed. StateReason *AssociationStateReason `type:"structure"` - // The identifier of the WorkSpace. - WorkspaceId *string `type:"string"` + // The identifier of the WorkSpace. + WorkspaceId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkspaceResourceAssociation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkspaceResourceAssociation) GoString() string { + return s.String() +} + +// SetAssociatedResourceId sets the AssociatedResourceId field's value. +func (s *WorkspaceResourceAssociation) SetAssociatedResourceId(v string) *WorkspaceResourceAssociation { + s.AssociatedResourceId = &v + return s +} + +// SetAssociatedResourceType sets the AssociatedResourceType field's value. +func (s *WorkspaceResourceAssociation) SetAssociatedResourceType(v string) *WorkspaceResourceAssociation { + s.AssociatedResourceType = &v + return s +} + +// SetCreated sets the Created field's value. +func (s *WorkspaceResourceAssociation) SetCreated(v time.Time) *WorkspaceResourceAssociation { + s.Created = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *WorkspaceResourceAssociation) SetLastUpdatedTime(v time.Time) *WorkspaceResourceAssociation { + s.LastUpdatedTime = &v + return s +} + +// SetState sets the State field's value. +func (s *WorkspaceResourceAssociation) SetState(v string) *WorkspaceResourceAssociation { + s.State = &v + return s +} + +// SetStateReason sets the StateReason field's value. +func (s *WorkspaceResourceAssociation) SetStateReason(v *AssociationStateReason) *WorkspaceResourceAssociation { + s.StateReason = v + return s +} + +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *WorkspaceResourceAssociation) SetWorkspaceId(v string) *WorkspaceResourceAssociation { + s.WorkspaceId = &v + return s +} + +// The workspaces_DefaultRole role could not be found. If this is the first +// time you are registering a directory, you will need to create the workspaces_DefaultRole +// role before you can register a directory. For more information, see Creating +// the workspaces_DefaultRole Role (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role). +type WorkspacesDefaultRoleNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkspacesDefaultRoleNotFoundException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkspacesDefaultRoleNotFoundException) GoString() string { + return s.String() +} + +func newErrorWorkspacesDefaultRoleNotFoundException(v protocol.ResponseMetadata) error { + return &WorkspacesDefaultRoleNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *WorkspacesDefaultRoleNotFoundException) Code() string { + return "WorkspacesDefaultRoleNotFoundException" +} + +// Message returns the exception's message. +func (s *WorkspacesDefaultRoleNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *WorkspacesDefaultRoleNotFoundException) OrigErr() error { + return nil +} + +func (s *WorkspacesDefaultRoleNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *WorkspacesDefaultRoleNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *WorkspacesDefaultRoleNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Describes a WorkSpaces pool. +type WorkspacesPool struct { + _ struct{} `type:"structure"` + + // The persistent application settings for users of the pool. + ApplicationSettings *ApplicationSettingsResponse `type:"structure"` + + // The identifier of the bundle used by the pool. + // + // BundleId is a required field + BundleId *string `type:"string" required:"true"` + + // The capacity status for the pool + // + // CapacityStatus is a required field + CapacityStatus *CapacityStatus `type:"structure" required:"true"` + + // The time the pool was created. + // + // CreatedAt is a required field + CreatedAt *time.Time `type:"timestamp" required:"true"` + + // The description of the pool. + Description *string `min:"1" type:"string"` + + // The identifier of the directory used by the pool. + // + // DirectoryId is a required field + DirectoryId *string `min:"10" type:"string" required:"true"` + + // The pool errors. + Errors []*WorkspacesPoolError `type:"list"` + + // The Amazon Resource Name (ARN) for the WorkSpaces pool. + // + // PoolArn is a required field + PoolArn *string `type:"string" required:"true"` + + // The identifier of a WorkSpaces pool. + // + // PoolId is a required field + PoolId *string `type:"string" required:"true"` + + // The name of the pool, + // + // PoolName is a required field + PoolName *string `type:"string" required:"true"` + + // The current state of the pool. + // + // State is a required field + State *string `type:"string" required:"true" enum:"WorkspacesPoolState"` + + // The amount of time that a pool session remains active after users disconnect. + // If they try to reconnect to the pool session after a disconnection or network + // interruption within this time interval, they are connected to their previous + // session. Otherwise, they are connected to a new session with a new pool instance. + TimeoutSettings *TimeoutSettings `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkspacesPool) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s WorkspacesPool) GoString() string { + return s.String() +} + +// SetApplicationSettings sets the ApplicationSettings field's value. +func (s *WorkspacesPool) SetApplicationSettings(v *ApplicationSettingsResponse) *WorkspacesPool { + s.ApplicationSettings = v + return s +} + +// SetBundleId sets the BundleId field's value. +func (s *WorkspacesPool) SetBundleId(v string) *WorkspacesPool { + s.BundleId = &v + return s +} + +// SetCapacityStatus sets the CapacityStatus field's value. +func (s *WorkspacesPool) SetCapacityStatus(v *CapacityStatus) *WorkspacesPool { + s.CapacityStatus = v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *WorkspacesPool) SetCreatedAt(v time.Time) *WorkspacesPool { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *WorkspacesPool) SetDescription(v string) *WorkspacesPool { + s.Description = &v + return s +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *WorkspacesPool) SetDirectoryId(v string) *WorkspacesPool { + s.DirectoryId = &v + return s +} + +// SetErrors sets the Errors field's value. +func (s *WorkspacesPool) SetErrors(v []*WorkspacesPoolError) *WorkspacesPool { + s.Errors = v + return s +} + +// SetPoolArn sets the PoolArn field's value. +func (s *WorkspacesPool) SetPoolArn(v string) *WorkspacesPool { + s.PoolArn = &v + return s +} + +// SetPoolId sets the PoolId field's value. +func (s *WorkspacesPool) SetPoolId(v string) *WorkspacesPool { + s.PoolId = &v + return s +} + +// SetPoolName sets the PoolName field's value. +func (s *WorkspacesPool) SetPoolName(v string) *WorkspacesPool { + s.PoolName = &v + return s +} + +// SetState sets the State field's value. +func (s *WorkspacesPool) SetState(v string) *WorkspacesPool { + s.State = &v + return s +} + +// SetTimeoutSettings sets the TimeoutSettings field's value. +func (s *WorkspacesPool) SetTimeoutSettings(v *TimeoutSettings) *WorkspacesPool { + s.TimeoutSettings = v + return s +} + +// Describes a WorkSpaces pool error. +type WorkspacesPoolError struct { + _ struct{} `type:"structure"` + + // The error code. + ErrorCode *string `type:"string" enum:"WorkspacesPoolErrorCode"` + + // The error message. + ErrorMessage *string `type:"string"` } // String returns the string representation. @@ -21083,7 +24038,7 @@ type WorkspaceResourceAssociation struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s WorkspaceResourceAssociation) String() string { +func (s WorkspacesPoolError) String() string { return awsutil.Prettify(s) } @@ -21092,61 +24047,59 @@ func (s WorkspaceResourceAssociation) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s WorkspaceResourceAssociation) GoString() string { +func (s WorkspacesPoolError) GoString() string { return s.String() } -// SetAssociatedResourceId sets the AssociatedResourceId field's value. -func (s *WorkspaceResourceAssociation) SetAssociatedResourceId(v string) *WorkspaceResourceAssociation { - s.AssociatedResourceId = &v +// SetErrorCode sets the ErrorCode field's value. +func (s *WorkspacesPoolError) SetErrorCode(v string) *WorkspacesPoolError { + s.ErrorCode = &v return s } -// SetAssociatedResourceType sets the AssociatedResourceType field's value. -func (s *WorkspaceResourceAssociation) SetAssociatedResourceType(v string) *WorkspaceResourceAssociation { - s.AssociatedResourceType = &v +// SetErrorMessage sets the ErrorMessage field's value. +func (s *WorkspacesPoolError) SetErrorMessage(v string) *WorkspacesPoolError { + s.ErrorMessage = &v return s } -// SetCreated sets the Created field's value. -func (s *WorkspaceResourceAssociation) SetCreated(v time.Time) *WorkspaceResourceAssociation { - s.Created = &v - return s -} +// Describes a WorkSpaces pool session. +type WorkspacesPoolSession struct { + _ struct{} `type:"structure"` -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *WorkspaceResourceAssociation) SetLastUpdatedTime(v time.Time) *WorkspaceResourceAssociation { - s.LastUpdatedTime = &v - return s -} + // The authentication method. The user is authenticated using a WorkSpaces pool + // URL (API) or SAML 2.0 federation (SAML). + AuthenticationType *string `type:"string" enum:"AuthenticationType"` -// SetState sets the State field's value. -func (s *WorkspaceResourceAssociation) SetState(v string) *WorkspaceResourceAssociation { - s.State = &v - return s -} + // Specifies whether a user is connected to the pool session. + ConnectionState *string `type:"string" enum:"SessionConnectionState"` -// SetStateReason sets the StateReason field's value. -func (s *WorkspaceResourceAssociation) SetStateReason(v *AssociationStateReason) *WorkspaceResourceAssociation { - s.StateReason = v - return s -} + // The time that the pool session ended. + ExpirationTime *time.Time `type:"timestamp"` -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *WorkspaceResourceAssociation) SetWorkspaceId(v string) *WorkspaceResourceAssociation { - s.WorkspaceId = &v - return s -} + // The identifier for the instance hosting the session. + InstanceId *string `type:"string"` -// The workspaces_DefaultRole role could not be found. If this is the first -// time you are registering a directory, you will need to create the workspaces_DefaultRole -// role before you can register a directory. For more information, see Creating -// the workspaces_DefaultRole Role (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role). -type WorkspacesDefaultRoleNotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // Describes the network details of the pool. + NetworkAccessConfiguration *NetworkAccessConfiguration `type:"structure"` - Message_ *string `locationName:"message" type:"string"` + // The identifier of the pool. + // + // PoolId is a required field + PoolId *string `type:"string" required:"true"` + + // The identifier of the session. + // + // SessionId is a required field + SessionId *string `min:"36" type:"string" required:"true"` + + // The time that the pool sission started. + StartTime *time.Time `type:"timestamp"` + + // The identifier of the user. + // + // UserId is a required field + UserId *string `min:"2" type:"string" required:"true"` } // String returns the string representation. @@ -21154,7 +24107,7 @@ type WorkspacesDefaultRoleNotFoundException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s WorkspacesDefaultRoleNotFoundException) String() string { +func (s WorkspacesPoolSession) String() string { return awsutil.Prettify(s) } @@ -21163,46 +24116,62 @@ func (s WorkspacesDefaultRoleNotFoundException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s WorkspacesDefaultRoleNotFoundException) GoString() string { +func (s WorkspacesPoolSession) GoString() string { return s.String() } -func newErrorWorkspacesDefaultRoleNotFoundException(v protocol.ResponseMetadata) error { - return &WorkspacesDefaultRoleNotFoundException{ - RespMetadata: v, - } +// SetAuthenticationType sets the AuthenticationType field's value. +func (s *WorkspacesPoolSession) SetAuthenticationType(v string) *WorkspacesPoolSession { + s.AuthenticationType = &v + return s } -// Code returns the exception type name. -func (s *WorkspacesDefaultRoleNotFoundException) Code() string { - return "WorkspacesDefaultRoleNotFoundException" +// SetConnectionState sets the ConnectionState field's value. +func (s *WorkspacesPoolSession) SetConnectionState(v string) *WorkspacesPoolSession { + s.ConnectionState = &v + return s } -// Message returns the exception's message. -func (s *WorkspacesDefaultRoleNotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetExpirationTime sets the ExpirationTime field's value. +func (s *WorkspacesPoolSession) SetExpirationTime(v time.Time) *WorkspacesPoolSession { + s.ExpirationTime = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *WorkspacesDefaultRoleNotFoundException) OrigErr() error { - return nil +// SetInstanceId sets the InstanceId field's value. +func (s *WorkspacesPoolSession) SetInstanceId(v string) *WorkspacesPoolSession { + s.InstanceId = &v + return s } -func (s *WorkspacesDefaultRoleNotFoundException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetNetworkAccessConfiguration sets the NetworkAccessConfiguration field's value. +func (s *WorkspacesPoolSession) SetNetworkAccessConfiguration(v *NetworkAccessConfiguration) *WorkspacesPoolSession { + s.NetworkAccessConfiguration = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *WorkspacesDefaultRoleNotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetPoolId sets the PoolId field's value. +func (s *WorkspacesPoolSession) SetPoolId(v string) *WorkspacesPoolSession { + s.PoolId = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *WorkspacesDefaultRoleNotFoundException) RequestID() string { - return s.RespMetadata.RequestID +// SetSessionId sets the SessionId field's value. +func (s *WorkspacesPoolSession) SetSessionId(v string) *WorkspacesPoolSession { + s.SessionId = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *WorkspacesPoolSession) SetStartTime(v time.Time) *WorkspacesPoolSession { + s.StartTime = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *WorkspacesPoolSession) SetUserId(v string) *WorkspacesPoolSession { + s.UserId = &v + return s } const ( @@ -21285,6 +24254,22 @@ func ApplicationAssociatedResourceType_Values() []string { } } +const ( + // ApplicationSettingsStatusEnumDisabled is a ApplicationSettingsStatusEnum enum value + ApplicationSettingsStatusEnumDisabled = "DISABLED" + + // ApplicationSettingsStatusEnumEnabled is a ApplicationSettingsStatusEnum enum value + ApplicationSettingsStatusEnumEnabled = "ENABLED" +) + +// ApplicationSettingsStatusEnum_Values returns all elements of the ApplicationSettingsStatusEnum enum +func ApplicationSettingsStatusEnum_Values() []string { + return []string{ + ApplicationSettingsStatusEnumDisabled, + ApplicationSettingsStatusEnumEnabled, + } +} + const ( // AssociationErrorCodeValidationErrorInsufficientDiskSpace is a AssociationErrorCode enum value AssociationErrorCodeValidationErrorInsufficientDiskSpace = "ValidationError.InsufficientDiskSpace" @@ -21385,6 +24370,18 @@ func AssociationStatus_Values() []string { } } +const ( + // AuthenticationTypeSaml is a AuthenticationType enum value + AuthenticationTypeSaml = "SAML" +) + +// AuthenticationType_Values returns all elements of the AuthenticationType enum +func AuthenticationType_Values() []string { + return []string{ + AuthenticationTypeSaml, + } +} + const ( // BundleAssociatedResourceTypeApplication is a BundleAssociatedResourceType enum value BundleAssociatedResourceTypeApplication = "APPLICATION" @@ -21653,6 +24650,42 @@ func DeletableSamlProperty_Values() []string { } } +const ( + // DescribeWorkspacesPoolsFilterNamePoolName is a DescribeWorkspacesPoolsFilterName enum value + DescribeWorkspacesPoolsFilterNamePoolName = "PoolName" +) + +// DescribeWorkspacesPoolsFilterName_Values returns all elements of the DescribeWorkspacesPoolsFilterName enum +func DescribeWorkspacesPoolsFilterName_Values() []string { + return []string{ + DescribeWorkspacesPoolsFilterNamePoolName, + } +} + +const ( + // DescribeWorkspacesPoolsFilterOperatorEquals is a DescribeWorkspacesPoolsFilterOperator enum value + DescribeWorkspacesPoolsFilterOperatorEquals = "EQUALS" + + // DescribeWorkspacesPoolsFilterOperatorNotequals is a DescribeWorkspacesPoolsFilterOperator enum value + DescribeWorkspacesPoolsFilterOperatorNotequals = "NOTEQUALS" + + // DescribeWorkspacesPoolsFilterOperatorContains is a DescribeWorkspacesPoolsFilterOperator enum value + DescribeWorkspacesPoolsFilterOperatorContains = "CONTAINS" + + // DescribeWorkspacesPoolsFilterOperatorNotcontains is a DescribeWorkspacesPoolsFilterOperator enum value + DescribeWorkspacesPoolsFilterOperatorNotcontains = "NOTCONTAINS" +) + +// DescribeWorkspacesPoolsFilterOperator_Values returns all elements of the DescribeWorkspacesPoolsFilterOperator enum +func DescribeWorkspacesPoolsFilterOperator_Values() []string { + return []string{ + DescribeWorkspacesPoolsFilterOperatorEquals, + DescribeWorkspacesPoolsFilterOperatorNotequals, + DescribeWorkspacesPoolsFilterOperatorContains, + DescribeWorkspacesPoolsFilterOperatorNotcontains, + } +} + const ( // ImageAssociatedResourceTypeApplication is a ImageAssociatedResourceType enum value ImageAssociatedResourceTypeApplication = "APPLICATION" @@ -21873,6 +24906,22 @@ func SamlStatusEnum_Values() []string { } } +const ( + // SessionConnectionStateConnected is a SessionConnectionState enum value + SessionConnectionStateConnected = "CONNECTED" + + // SessionConnectionStateNotConnected is a SessionConnectionState enum value + SessionConnectionStateNotConnected = "NOT_CONNECTED" +) + +// SessionConnectionState_Values returns all elements of the SessionConnectionState enum +func SessionConnectionState_Values() []string { + return []string{ + SessionConnectionStateConnected, + SessionConnectionStateNotConnected, + } +} + const ( // StandbyWorkspaceRelationshipTypePrimary is a StandbyWorkspaceRelationshipType enum value StandbyWorkspaceRelationshipTypePrimary = "PRIMARY" @@ -21889,6 +24938,50 @@ func StandbyWorkspaceRelationshipType_Values() []string { } } +const ( + // StorageConnectorStatusEnumEnabled is a StorageConnectorStatusEnum enum value + StorageConnectorStatusEnumEnabled = "ENABLED" + + // StorageConnectorStatusEnumDisabled is a StorageConnectorStatusEnum enum value + StorageConnectorStatusEnumDisabled = "DISABLED" +) + +// StorageConnectorStatusEnum_Values returns all elements of the StorageConnectorStatusEnum enum +func StorageConnectorStatusEnum_Values() []string { + return []string{ + StorageConnectorStatusEnumEnabled, + StorageConnectorStatusEnumDisabled, + } +} + +const ( + // StorageConnectorTypeEnumHomeFolder is a StorageConnectorTypeEnum enum value + StorageConnectorTypeEnumHomeFolder = "HOME_FOLDER" +) + +// StorageConnectorTypeEnum_Values returns all elements of the StorageConnectorTypeEnum enum +func StorageConnectorTypeEnum_Values() []string { + return []string{ + StorageConnectorTypeEnumHomeFolder, + } +} + +const ( + // StreamingExperiencePreferredProtocolEnumTcp is a StreamingExperiencePreferredProtocolEnum enum value + StreamingExperiencePreferredProtocolEnumTcp = "TCP" + + // StreamingExperiencePreferredProtocolEnumUdp is a StreamingExperiencePreferredProtocolEnum enum value + StreamingExperiencePreferredProtocolEnumUdp = "UDP" +) + +// StreamingExperiencePreferredProtocolEnum_Values returns all elements of the StreamingExperiencePreferredProtocolEnum enum +func StreamingExperiencePreferredProtocolEnum_Values() []string { + return []string{ + StreamingExperiencePreferredProtocolEnumTcp, + StreamingExperiencePreferredProtocolEnumUdp, + } +} + const ( // TargetWorkspaceStateAvailable is a TargetWorkspaceState enum value TargetWorkspaceStateAvailable = "AVAILABLE" @@ -21921,6 +25014,62 @@ func Tenancy_Values() []string { } } +const ( + // UserIdentityTypeCustomerManaged is a UserIdentityType enum value + UserIdentityTypeCustomerManaged = "CUSTOMER_MANAGED" + + // UserIdentityTypeAwsDirectoryService is a UserIdentityType enum value + UserIdentityTypeAwsDirectoryService = "AWS_DIRECTORY_SERVICE" +) + +// UserIdentityType_Values returns all elements of the UserIdentityType enum +func UserIdentityType_Values() []string { + return []string{ + UserIdentityTypeCustomerManaged, + UserIdentityTypeAwsDirectoryService, + } +} + +const ( + // UserSettingActionEnumClipboardCopyFromLocalDevice is a UserSettingActionEnum enum value + UserSettingActionEnumClipboardCopyFromLocalDevice = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" + + // UserSettingActionEnumClipboardCopyToLocalDevice is a UserSettingActionEnum enum value + UserSettingActionEnumClipboardCopyToLocalDevice = "CLIPBOARD_COPY_TO_LOCAL_DEVICE" + + // UserSettingActionEnumPrintingToLocalDevice is a UserSettingActionEnum enum value + UserSettingActionEnumPrintingToLocalDevice = "PRINTING_TO_LOCAL_DEVICE" + + // UserSettingActionEnumSmartCard is a UserSettingActionEnum enum value + UserSettingActionEnumSmartCard = "SMART_CARD" +) + +// UserSettingActionEnum_Values returns all elements of the UserSettingActionEnum enum +func UserSettingActionEnum_Values() []string { + return []string{ + UserSettingActionEnumClipboardCopyFromLocalDevice, + UserSettingActionEnumClipboardCopyToLocalDevice, + UserSettingActionEnumPrintingToLocalDevice, + UserSettingActionEnumSmartCard, + } +} + +const ( + // UserSettingPermissionEnumEnabled is a UserSettingPermissionEnum enum value + UserSettingPermissionEnumEnabled = "ENABLED" + + // UserSettingPermissionEnumDisabled is a UserSettingPermissionEnum enum value + UserSettingPermissionEnumDisabled = "DISABLED" +) + +// UserSettingPermissionEnum_Values returns all elements of the UserSettingPermissionEnum enum +func UserSettingPermissionEnum_Values() []string { + return []string{ + UserSettingPermissionEnumEnabled, + UserSettingPermissionEnumDisabled, + } +} + const ( // WorkSpaceApplicationLicenseTypeLicensed is a WorkSpaceApplicationLicenseType enum value WorkSpaceApplicationLicenseTypeLicensed = "LICENSED" @@ -22027,6 +25176,9 @@ const ( // WorkspaceDirectoryTypeAdConnector is a WorkspaceDirectoryType enum value WorkspaceDirectoryTypeAdConnector = "AD_CONNECTOR" + + // WorkspaceDirectoryTypeCustomerManaged is a WorkspaceDirectoryType enum value + WorkspaceDirectoryTypeCustomerManaged = "CUSTOMER_MANAGED" ) // WorkspaceDirectoryType_Values returns all elements of the WorkspaceDirectoryType enum @@ -22034,6 +25186,7 @@ func WorkspaceDirectoryType_Values() []string { return []string{ WorkspaceDirectoryTypeSimpleAd, WorkspaceDirectoryTypeAdConnector, + WorkspaceDirectoryTypeCustomerManaged, } } @@ -22296,3 +25449,223 @@ func WorkspaceState_Values() []string { WorkspaceStateError, } } + +const ( + // WorkspaceTypePersonal is a WorkspaceType enum value + WorkspaceTypePersonal = "PERSONAL" + + // WorkspaceTypePools is a WorkspaceType enum value + WorkspaceTypePools = "POOLS" +) + +// WorkspaceType_Values returns all elements of the WorkspaceType enum +func WorkspaceType_Values() []string { + return []string{ + WorkspaceTypePersonal, + WorkspaceTypePools, + } +} + +const ( + // WorkspacesPoolErrorCodeIamServiceRoleIsMissing is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeIamServiceRoleIsMissing = "IAM_SERVICE_ROLE_IS_MISSING" + + // WorkspacesPoolErrorCodeIamServiceRoleMissingEniDescribeAction is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeIamServiceRoleMissingEniDescribeAction = "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" + + // WorkspacesPoolErrorCodeIamServiceRoleMissingEniCreateAction is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeIamServiceRoleMissingEniCreateAction = "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" + + // WorkspacesPoolErrorCodeIamServiceRoleMissingEniDeleteAction is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeIamServiceRoleMissingEniDeleteAction = "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" + + // WorkspacesPoolErrorCodeNetworkInterfaceLimitExceeded is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeNetworkInterfaceLimitExceeded = "NETWORK_INTERFACE_LIMIT_EXCEEDED" + + // WorkspacesPoolErrorCodeInternalServiceError is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeInternalServiceError = "INTERNAL_SERVICE_ERROR" + + // WorkspacesPoolErrorCodeMachineRoleIsMissing is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeMachineRoleIsMissing = "MACHINE_ROLE_IS_MISSING" + + // WorkspacesPoolErrorCodeStsDisabledInRegion is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeStsDisabledInRegion = "STS_DISABLED_IN_REGION" + + // WorkspacesPoolErrorCodeSubnetHasInsufficientIpAddresses is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeSubnetHasInsufficientIpAddresses = "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" + + // WorkspacesPoolErrorCodeIamServiceRoleMissingDescribeSubnetAction is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeIamServiceRoleMissingDescribeSubnetAction = "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" + + // WorkspacesPoolErrorCodeSubnetNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeSubnetNotFound = "SUBNET_NOT_FOUND" + + // WorkspacesPoolErrorCodeImageNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeImageNotFound = "IMAGE_NOT_FOUND" + + // WorkspacesPoolErrorCodeInvalidSubnetConfiguration is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeInvalidSubnetConfiguration = "INVALID_SUBNET_CONFIGURATION" + + // WorkspacesPoolErrorCodeSecurityGroupsNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeSecurityGroupsNotFound = "SECURITY_GROUPS_NOT_FOUND" + + // WorkspacesPoolErrorCodeIgwNotAttached is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeIgwNotAttached = "IGW_NOT_ATTACHED" + + // WorkspacesPoolErrorCodeIamServiceRoleMissingDescribeSecurityGroupsAction is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeIamServiceRoleMissingDescribeSecurityGroupsAction = "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" + + // WorkspacesPoolErrorCodeWorkspacesPoolStopped is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeWorkspacesPoolStopped = "WORKSPACES_POOL_STOPPED" + + // WorkspacesPoolErrorCodeWorkspacesPoolInstanceProvisioningFailure is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeWorkspacesPoolInstanceProvisioningFailure = "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE" + + // WorkspacesPoolErrorCodeDomainJoinErrorFileNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorFileNotFound = "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" + + // WorkspacesPoolErrorCodeDomainJoinErrorAccessDenied is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorAccessDenied = "DOMAIN_JOIN_ERROR_ACCESS_DENIED" + + // WorkspacesPoolErrorCodeDomainJoinErrorLogonFailure is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorLogonFailure = "DOMAIN_JOIN_ERROR_LOGON_FAILURE" + + // WorkspacesPoolErrorCodeDomainJoinErrorInvalidParameter is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorInvalidParameter = "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" + + // WorkspacesPoolErrorCodeDomainJoinErrorMoreData is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorMoreData = "DOMAIN_JOIN_ERROR_MORE_DATA" + + // WorkspacesPoolErrorCodeDomainJoinErrorNoSuchDomain is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorNoSuchDomain = "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" + + // WorkspacesPoolErrorCodeDomainJoinErrorNotSupported is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorNotSupported = "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" + + // WorkspacesPoolErrorCodeDomainJoinNerrInvalidWorkgroupName is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinNerrInvalidWorkgroupName = "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" + + // WorkspacesPoolErrorCodeDomainJoinNerrWorkstationNotStarted is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinNerrWorkstationNotStarted = "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" + + // WorkspacesPoolErrorCodeDomainJoinErrorDsMachineAccountQuotaExceeded is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorDsMachineAccountQuotaExceeded = "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" + + // WorkspacesPoolErrorCodeDomainJoinNerrPasswordExpired is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinNerrPasswordExpired = "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" + + // WorkspacesPoolErrorCodeDomainJoinInternalServiceError is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinInternalServiceError = "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" + + // WorkspacesPoolErrorCodeDomainJoinErrorSecretActionPermissionIsMissing is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorSecretActionPermissionIsMissing = "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING" + + // WorkspacesPoolErrorCodeDomainJoinErrorSecretDecryptionFailure is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorSecretDecryptionFailure = "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE" + + // WorkspacesPoolErrorCodeDomainJoinErrorSecretStateInvalid is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorSecretStateInvalid = "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID" + + // WorkspacesPoolErrorCodeDomainJoinErrorSecretNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorSecretNotFound = "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND" + + // WorkspacesPoolErrorCodeDomainJoinErrorSecretValueKeyNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorSecretValueKeyNotFound = "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND" + + // WorkspacesPoolErrorCodeDomainJoinErrorSecretInvalid is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDomainJoinErrorSecretInvalid = "DOMAIN_JOIN_ERROR_SECRET_INVALID" + + // WorkspacesPoolErrorCodeBundleNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeBundleNotFound = "BUNDLE_NOT_FOUND" + + // WorkspacesPoolErrorCodeDirectoryNotFound is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDirectoryNotFound = "DIRECTORY_NOT_FOUND" + + // WorkspacesPoolErrorCodeInsufficientPermissionsError is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeInsufficientPermissionsError = "INSUFFICIENT_PERMISSIONS_ERROR" + + // WorkspacesPoolErrorCodeDefaultOuIsMissing is a WorkspacesPoolErrorCode enum value + WorkspacesPoolErrorCodeDefaultOuIsMissing = "DEFAULT_OU_IS_MISSING" +) + +// WorkspacesPoolErrorCode_Values returns all elements of the WorkspacesPoolErrorCode enum +func WorkspacesPoolErrorCode_Values() []string { + return []string{ + WorkspacesPoolErrorCodeIamServiceRoleIsMissing, + WorkspacesPoolErrorCodeIamServiceRoleMissingEniDescribeAction, + WorkspacesPoolErrorCodeIamServiceRoleMissingEniCreateAction, + WorkspacesPoolErrorCodeIamServiceRoleMissingEniDeleteAction, + WorkspacesPoolErrorCodeNetworkInterfaceLimitExceeded, + WorkspacesPoolErrorCodeInternalServiceError, + WorkspacesPoolErrorCodeMachineRoleIsMissing, + WorkspacesPoolErrorCodeStsDisabledInRegion, + WorkspacesPoolErrorCodeSubnetHasInsufficientIpAddresses, + WorkspacesPoolErrorCodeIamServiceRoleMissingDescribeSubnetAction, + WorkspacesPoolErrorCodeSubnetNotFound, + WorkspacesPoolErrorCodeImageNotFound, + WorkspacesPoolErrorCodeInvalidSubnetConfiguration, + WorkspacesPoolErrorCodeSecurityGroupsNotFound, + WorkspacesPoolErrorCodeIgwNotAttached, + WorkspacesPoolErrorCodeIamServiceRoleMissingDescribeSecurityGroupsAction, + WorkspacesPoolErrorCodeWorkspacesPoolStopped, + WorkspacesPoolErrorCodeWorkspacesPoolInstanceProvisioningFailure, + WorkspacesPoolErrorCodeDomainJoinErrorFileNotFound, + WorkspacesPoolErrorCodeDomainJoinErrorAccessDenied, + WorkspacesPoolErrorCodeDomainJoinErrorLogonFailure, + WorkspacesPoolErrorCodeDomainJoinErrorInvalidParameter, + WorkspacesPoolErrorCodeDomainJoinErrorMoreData, + WorkspacesPoolErrorCodeDomainJoinErrorNoSuchDomain, + WorkspacesPoolErrorCodeDomainJoinErrorNotSupported, + WorkspacesPoolErrorCodeDomainJoinNerrInvalidWorkgroupName, + WorkspacesPoolErrorCodeDomainJoinNerrWorkstationNotStarted, + WorkspacesPoolErrorCodeDomainJoinErrorDsMachineAccountQuotaExceeded, + WorkspacesPoolErrorCodeDomainJoinNerrPasswordExpired, + WorkspacesPoolErrorCodeDomainJoinInternalServiceError, + WorkspacesPoolErrorCodeDomainJoinErrorSecretActionPermissionIsMissing, + WorkspacesPoolErrorCodeDomainJoinErrorSecretDecryptionFailure, + WorkspacesPoolErrorCodeDomainJoinErrorSecretStateInvalid, + WorkspacesPoolErrorCodeDomainJoinErrorSecretNotFound, + WorkspacesPoolErrorCodeDomainJoinErrorSecretValueKeyNotFound, + WorkspacesPoolErrorCodeDomainJoinErrorSecretInvalid, + WorkspacesPoolErrorCodeBundleNotFound, + WorkspacesPoolErrorCodeDirectoryNotFound, + WorkspacesPoolErrorCodeInsufficientPermissionsError, + WorkspacesPoolErrorCodeDefaultOuIsMissing, + } +} + +const ( + // WorkspacesPoolStateCreating is a WorkspacesPoolState enum value + WorkspacesPoolStateCreating = "CREATING" + + // WorkspacesPoolStateDeleting is a WorkspacesPoolState enum value + WorkspacesPoolStateDeleting = "DELETING" + + // WorkspacesPoolStateRunning is a WorkspacesPoolState enum value + WorkspacesPoolStateRunning = "RUNNING" + + // WorkspacesPoolStateStarting is a WorkspacesPoolState enum value + WorkspacesPoolStateStarting = "STARTING" + + // WorkspacesPoolStateStopped is a WorkspacesPoolState enum value + WorkspacesPoolStateStopped = "STOPPED" + + // WorkspacesPoolStateStopping is a WorkspacesPoolState enum value + WorkspacesPoolStateStopping = "STOPPING" + + // WorkspacesPoolStateUpdating is a WorkspacesPoolState enum value + WorkspacesPoolStateUpdating = "UPDATING" +) + +// WorkspacesPoolState_Values returns all elements of the WorkspacesPoolState enum +func WorkspacesPoolState_Values() []string { + return []string{ + WorkspacesPoolStateCreating, + WorkspacesPoolStateDeleting, + WorkspacesPoolStateRunning, + WorkspacesPoolStateStarting, + WorkspacesPoolStateStopped, + WorkspacesPoolStateStopping, + WorkspacesPoolStateUpdating, + } +} diff --git a/service/workspaces/workspacesiface/interface.go b/service/workspaces/workspacesiface/interface.go index 67f888bb972..d3314cd1912 100644 --- a/service/workspaces/workspacesiface/interface.go +++ b/service/workspaces/workspacesiface/interface.go @@ -124,6 +124,10 @@ type WorkSpacesAPI interface { CreateWorkspacesWithContext(aws.Context, *workspaces.CreateWorkspacesInput, ...request.Option) (*workspaces.CreateWorkspacesOutput, error) CreateWorkspacesRequest(*workspaces.CreateWorkspacesInput) (*request.Request, *workspaces.CreateWorkspacesOutput) + CreateWorkspacesPool(*workspaces.CreateWorkspacesPoolInput) (*workspaces.CreateWorkspacesPoolOutput, error) + CreateWorkspacesPoolWithContext(aws.Context, *workspaces.CreateWorkspacesPoolInput, ...request.Option) (*workspaces.CreateWorkspacesPoolOutput, error) + CreateWorkspacesPoolRequest(*workspaces.CreateWorkspacesPoolInput) (*request.Request, *workspaces.CreateWorkspacesPoolOutput) + DeleteAccountLinkInvitation(*workspaces.DeleteAccountLinkInvitationInput) (*workspaces.DeleteAccountLinkInvitationOutput, error) DeleteAccountLinkInvitationWithContext(aws.Context, *workspaces.DeleteAccountLinkInvitationInput, ...request.Option) (*workspaces.DeleteAccountLinkInvitationOutput, error) DeleteAccountLinkInvitationRequest(*workspaces.DeleteAccountLinkInvitationInput) (*request.Request, *workspaces.DeleteAccountLinkInvitationOutput) @@ -263,6 +267,14 @@ type WorkSpacesAPI interface { DescribeWorkspacesConnectionStatusWithContext(aws.Context, *workspaces.DescribeWorkspacesConnectionStatusInput, ...request.Option) (*workspaces.DescribeWorkspacesConnectionStatusOutput, error) DescribeWorkspacesConnectionStatusRequest(*workspaces.DescribeWorkspacesConnectionStatusInput) (*request.Request, *workspaces.DescribeWorkspacesConnectionStatusOutput) + DescribeWorkspacesPoolSessions(*workspaces.DescribeWorkspacesPoolSessionsInput) (*workspaces.DescribeWorkspacesPoolSessionsOutput, error) + DescribeWorkspacesPoolSessionsWithContext(aws.Context, *workspaces.DescribeWorkspacesPoolSessionsInput, ...request.Option) (*workspaces.DescribeWorkspacesPoolSessionsOutput, error) + DescribeWorkspacesPoolSessionsRequest(*workspaces.DescribeWorkspacesPoolSessionsInput) (*request.Request, *workspaces.DescribeWorkspacesPoolSessionsOutput) + + DescribeWorkspacesPools(*workspaces.DescribeWorkspacesPoolsInput) (*workspaces.DescribeWorkspacesPoolsOutput, error) + DescribeWorkspacesPoolsWithContext(aws.Context, *workspaces.DescribeWorkspacesPoolsInput, ...request.Option) (*workspaces.DescribeWorkspacesPoolsOutput, error) + DescribeWorkspacesPoolsRequest(*workspaces.DescribeWorkspacesPoolsInput) (*request.Request, *workspaces.DescribeWorkspacesPoolsOutput) + DisassociateConnectionAlias(*workspaces.DisassociateConnectionAliasInput) (*workspaces.DisassociateConnectionAliasOutput, error) DisassociateConnectionAliasWithContext(aws.Context, *workspaces.DisassociateConnectionAliasInput, ...request.Option) (*workspaces.DisassociateConnectionAliasOutput, error) DisassociateConnectionAliasRequest(*workspaces.DisassociateConnectionAliasInput) (*request.Request, *workspaces.DisassociateConnectionAliasOutput) @@ -322,6 +334,10 @@ type WorkSpacesAPI interface { ModifySelfservicePermissionsWithContext(aws.Context, *workspaces.ModifySelfservicePermissionsInput, ...request.Option) (*workspaces.ModifySelfservicePermissionsOutput, error) ModifySelfservicePermissionsRequest(*workspaces.ModifySelfservicePermissionsInput) (*request.Request, *workspaces.ModifySelfservicePermissionsOutput) + ModifyStreamingProperties(*workspaces.ModifyStreamingPropertiesInput) (*workspaces.ModifyStreamingPropertiesOutput, error) + ModifyStreamingPropertiesWithContext(aws.Context, *workspaces.ModifyStreamingPropertiesInput, ...request.Option) (*workspaces.ModifyStreamingPropertiesOutput, error) + ModifyStreamingPropertiesRequest(*workspaces.ModifyStreamingPropertiesInput) (*request.Request, *workspaces.ModifyStreamingPropertiesOutput) + ModifyWorkspaceAccessProperties(*workspaces.ModifyWorkspaceAccessPropertiesInput) (*workspaces.ModifyWorkspaceAccessPropertiesOutput, error) ModifyWorkspaceAccessPropertiesWithContext(aws.Context, *workspaces.ModifyWorkspaceAccessPropertiesInput, ...request.Option) (*workspaces.ModifyWorkspaceAccessPropertiesOutput, error) ModifyWorkspaceAccessPropertiesRequest(*workspaces.ModifyWorkspaceAccessPropertiesInput) (*request.Request, *workspaces.ModifyWorkspaceAccessPropertiesOutput) @@ -366,14 +382,30 @@ type WorkSpacesAPI interface { StartWorkspacesWithContext(aws.Context, *workspaces.StartWorkspacesInput, ...request.Option) (*workspaces.StartWorkspacesOutput, error) StartWorkspacesRequest(*workspaces.StartWorkspacesInput) (*request.Request, *workspaces.StartWorkspacesOutput) + StartWorkspacesPool(*workspaces.StartWorkspacesPoolInput) (*workspaces.StartWorkspacesPoolOutput, error) + StartWorkspacesPoolWithContext(aws.Context, *workspaces.StartWorkspacesPoolInput, ...request.Option) (*workspaces.StartWorkspacesPoolOutput, error) + StartWorkspacesPoolRequest(*workspaces.StartWorkspacesPoolInput) (*request.Request, *workspaces.StartWorkspacesPoolOutput) + StopWorkspaces(*workspaces.StopWorkspacesInput) (*workspaces.StopWorkspacesOutput, error) StopWorkspacesWithContext(aws.Context, *workspaces.StopWorkspacesInput, ...request.Option) (*workspaces.StopWorkspacesOutput, error) StopWorkspacesRequest(*workspaces.StopWorkspacesInput) (*request.Request, *workspaces.StopWorkspacesOutput) + StopWorkspacesPool(*workspaces.StopWorkspacesPoolInput) (*workspaces.StopWorkspacesPoolOutput, error) + StopWorkspacesPoolWithContext(aws.Context, *workspaces.StopWorkspacesPoolInput, ...request.Option) (*workspaces.StopWorkspacesPoolOutput, error) + StopWorkspacesPoolRequest(*workspaces.StopWorkspacesPoolInput) (*request.Request, *workspaces.StopWorkspacesPoolOutput) + TerminateWorkspaces(*workspaces.TerminateWorkspacesInput) (*workspaces.TerminateWorkspacesOutput, error) TerminateWorkspacesWithContext(aws.Context, *workspaces.TerminateWorkspacesInput, ...request.Option) (*workspaces.TerminateWorkspacesOutput, error) TerminateWorkspacesRequest(*workspaces.TerminateWorkspacesInput) (*request.Request, *workspaces.TerminateWorkspacesOutput) + TerminateWorkspacesPool(*workspaces.TerminateWorkspacesPoolInput) (*workspaces.TerminateWorkspacesPoolOutput, error) + TerminateWorkspacesPoolWithContext(aws.Context, *workspaces.TerminateWorkspacesPoolInput, ...request.Option) (*workspaces.TerminateWorkspacesPoolOutput, error) + TerminateWorkspacesPoolRequest(*workspaces.TerminateWorkspacesPoolInput) (*request.Request, *workspaces.TerminateWorkspacesPoolOutput) + + TerminateWorkspacesPoolSession(*workspaces.TerminateWorkspacesPoolSessionInput) (*workspaces.TerminateWorkspacesPoolSessionOutput, error) + TerminateWorkspacesPoolSessionWithContext(aws.Context, *workspaces.TerminateWorkspacesPoolSessionInput, ...request.Option) (*workspaces.TerminateWorkspacesPoolSessionOutput, error) + TerminateWorkspacesPoolSessionRequest(*workspaces.TerminateWorkspacesPoolSessionInput) (*request.Request, *workspaces.TerminateWorkspacesPoolSessionOutput) + UpdateConnectClientAddIn(*workspaces.UpdateConnectClientAddInInput) (*workspaces.UpdateConnectClientAddInOutput, error) UpdateConnectClientAddInWithContext(aws.Context, *workspaces.UpdateConnectClientAddInInput, ...request.Option) (*workspaces.UpdateConnectClientAddInOutput, error) UpdateConnectClientAddInRequest(*workspaces.UpdateConnectClientAddInInput) (*request.Request, *workspaces.UpdateConnectClientAddInOutput) @@ -393,6 +425,10 @@ type WorkSpacesAPI interface { UpdateWorkspaceImagePermission(*workspaces.UpdateWorkspaceImagePermissionInput) (*workspaces.UpdateWorkspaceImagePermissionOutput, error) UpdateWorkspaceImagePermissionWithContext(aws.Context, *workspaces.UpdateWorkspaceImagePermissionInput, ...request.Option) (*workspaces.UpdateWorkspaceImagePermissionOutput, error) UpdateWorkspaceImagePermissionRequest(*workspaces.UpdateWorkspaceImagePermissionInput) (*request.Request, *workspaces.UpdateWorkspaceImagePermissionOutput) + + UpdateWorkspacesPool(*workspaces.UpdateWorkspacesPoolInput) (*workspaces.UpdateWorkspacesPoolOutput, error) + UpdateWorkspacesPoolWithContext(aws.Context, *workspaces.UpdateWorkspacesPoolInput, ...request.Option) (*workspaces.UpdateWorkspacesPoolOutput, error) + UpdateWorkspacesPoolRequest(*workspaces.UpdateWorkspacesPoolInput) (*request.Request, *workspaces.UpdateWorkspacesPoolOutput) } var _ WorkSpacesAPI = (*workspaces.WorkSpaces)(nil)