diff --git a/CHANGELOG.md b/CHANGELOG.md
index 75b8d610aae..135b58faed1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,30 @@
+Release v1.44.139 (2022-11-16)
+===
+
+### Service Client Updates
+* `service/batch`: Updates service documentation
+ * Documentation updates related to Batch on EKS
+* `service/billingconductor`: Updates service API and documentation
+* `service/cloudformation`: Updates service API
+ * Added UnsupportedTarget HandlerErrorCode for use with CFN Resource Hooks
+* `service/comprehendmedical`: Updates service API
+* `service/connect`: Updates service API and documentation
+* `service/eks`: Updates service API and documentation
+* `service/elasticache`: Updates service API and documentation
+ * for Redis now supports AWS Identity and Access Management authentication access to Redis clusters starting with redis-engine version 7.0
+* `service/iottwinmaker`: Updates service API, documentation, and paginators
+* `service/personalize-events`: Updates service API and documentation
+* `service/proton`: Updates service API and documentation
+* `service/rds`: Updates service API, documentation, waiters, paginators, and examples
+ * This release adds support for container databases (CDBs) to Amazon RDS Custom for Oracle. A CDB contains one PDB at creation. You can add more PDBs using Oracle SQL. You can also customize your database installation by setting the Oracle base, Oracle home, and the OS user name and group.
+* `service/ssm`: Updates service API, documentation, and paginators
+ * This release adds support for cross account access in CreateOpsItem, UpdateOpsItem and GetOpsItem. It introduces new APIs to setup resource policies for SSM resources: PutResourcePolicy, GetResourcePolicies and DeleteResourcePolicy.
+* `service/ssm-incidents`: Updates service API and documentation
+* `service/transfer`: Updates service API
+ * Allow additional operations to throw ThrottlingException
+* `service/xray`: Updates service API, documentation, and paginators
+ * This release adds new APIs - PutResourcePolicy, DeleteResourcePolicy, ListResourcePolicies for supporting resource based policies for AWS X-Ray.
+
Release v1.44.138 (2022-11-15)
===
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index fc1d2a1035e..228c3f1cc9b 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -31,6 +31,7 @@ const (
EuCentral2RegionID = "eu-central-2" // Europe (Zurich).
EuNorth1RegionID = "eu-north-1" // Europe (Stockholm).
EuSouth1RegionID = "eu-south-1" // Europe (Milan).
+ EuSouth2RegionID = "eu-south-2" // Europe (Spain).
EuWest1RegionID = "eu-west-1" // Europe (Ireland).
EuWest2RegionID = "eu-west-2" // Europe (London).
EuWest3RegionID = "eu-west-3" // Europe (Paris).
@@ -182,6 +183,9 @@ var awsPartition = partition{
"eu-south-1": region{
Description: "Europe (Milan)",
},
+ "eu-south-2": region{
+ Description: "Europe (Spain)",
+ },
"eu-west-1": region{
Description: "Europe (Ireland)",
},
@@ -271,6 +275,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -445,6 +452,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -1230,6 +1240,14 @@ var awsPartition = partition{
Region: "eu-south-1",
},
},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{
+ Hostname: "api.ecr.eu-south-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "eu-south-2",
+ },
+ },
endpointKey{
Region: "eu-west-1",
}: endpoint{
@@ -2024,6 +2042,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -2203,6 +2224,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -2403,6 +2427,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -3420,6 +3447,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -4118,6 +4148,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -4294,6 +4327,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -4566,6 +4602,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -5026,6 +5065,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -6066,6 +6108,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -6968,6 +7013,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -7208,6 +7256,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -7466,6 +7517,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -7953,6 +8007,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -8155,6 +8212,9 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@@ -8260,6 +8320,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -8435,6 +8498,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -8737,6 +8803,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -9435,6 +9504,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -9585,6 +9657,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -10126,6 +10201,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -10271,6 +10349,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -11898,6 +11979,22 @@ var awsPartition = partition{
endpointKey{
Region: "ca-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "dataplane-ap-south-1",
+ }: endpoint{
+ Hostname: "greengrass-ats.iot.ap-south-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "ap-south-1",
+ },
+ },
+ endpointKey{
+ Region: "dataplane-us-east-2",
+ }: endpoint{
+ Hostname: "greengrass-ats.iot.us-east-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-2",
+ },
+ },
endpointKey{
Region: "eu-central-1",
}: endpoint{},
@@ -13696,6 +13793,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -14182,6 +14282,15 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "kms-fips.eu-south-2.amazonaws.com",
+ },
endpointKey{
Region: "eu-south-2-fips",
}: endpoint{
@@ -14628,6 +14737,15 @@ var awsPartition = partition{
}: endpoint{
Hostname: "lambda.eu-south-1.api.aws",
},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ Variant: dualStackVariant,
+ }: endpoint{
+ Hostname: "lambda.eu-south-2.api.aws",
+ },
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -15127,6 +15245,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -15290,6 +15411,15 @@ var awsPartition = partition{
},
"m2": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "ap-northeast-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
@@ -15302,6 +15432,12 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-west-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-3",
+ }: endpoint{},
endpointKey{
Region: "sa-east-1",
}: endpoint{},
@@ -16152,6 +16288,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -16495,6 +16634,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -17614,6 +17756,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -18481,6 +18626,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -18641,6 +18789,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -19027,6 +19178,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -20416,6 +20570,15 @@ var awsPartition = partition{
}: endpoint{
Hostname: "s3.dualstack.eu-south-1.amazonaws.com",
},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ Variant: dualStackVariant,
+ }: endpoint{
+ Hostname: "s3.dualstack.eu-south-2.amazonaws.com",
+ },
endpointKey{
Region: "eu-west-1",
}: endpoint{
@@ -21450,6 +21613,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -22930,6 +23096,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -23072,6 +23241,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -23217,6 +23389,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -23475,6 +23650,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -23776,6 +23954,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -23870,6 +24051,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -24032,6 +24216,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -24168,6 +24355,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -24304,6 +24494,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -26588,6 +26781,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-south-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-2",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -27504,6 +27700,14 @@ var awscnPartition = partition{
endpointKey{
Region: "cn-north-1",
}: endpoint{},
+ endpointKey{
+ Region: "dataplane-cn-north-1",
+ }: endpoint{
+ Hostname: "greengrass.ats.iot.cn-north-1.amazonaws.com.cn",
+ CredentialScope: credentialScope{
+ Region: "cn-north-1",
+ },
+ },
},
},
"guardduty": service{
diff --git a/aws/version.go b/aws/version.go
index 7d6573d51a1..8697f7f10e9 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.44.138"
+const SDKVersion = "1.44.139"
diff --git a/models/apis/batch/2016-08-10/docs-2.json b/models/apis/batch/2016-08-10/docs-2.json
index aac0958dd8b..c820ed39ef9 100644
--- a/models/apis/batch/2016-08-10/docs-2.json
+++ b/models/apis/batch/2016-08-10/docs-2.json
@@ -3,7 +3,7 @@
"service": "
Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and delivering results more quickly.
As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus on analyzing results and solving your specific problems instead.
", "operations": { "CancelJob": "Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED
, PENDING
, or RUNNABLE
state are canceled. Jobs that progressed to the STARTING
or RUNNING
state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.
Creates an Batch compute environment. You can create MANAGED
or UNMANAGED
compute environments. MANAGED
compute environments can use Amazon EC2 or Fargate resources. UNMANAGED
compute environments can only use EC2 resources.
In a managed compute environment, Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template that you specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a specified percentage of the On-Demand price.
Multi-node parallel jobs aren't supported on Spot Instances.
In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the Amazon Elastic Container Service Developer Guide.
Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is available. You're responsible for the management of the guest operating system. This includes any updates and security patches. You're also responsible for any additional application software or utilities that you install on the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete these steps:
Create a new compute environment with the new AMI.
Add the compute environment to an existing job queue.
Remove the earlier compute environment from your job queue.
Delete the earlier compute environment.
In April 2022, Batch added enhanced support for updating compute environments. For more information, see Updating compute environments. To use the enhanced updating of compute environments to update AMIs, follow these rules:
Either don't set the service role (serviceRole
) parameter or set it to the AWSBatchServiceRole service-linked role.
Set the allocation strategy (allocationStrategy
) parameter to BEST_FIT_PROGRESSIVE
or SPOT_CAPACITY_OPTIMIZED
.
Set the update to latest image version (updateToLatestImageVersion
) parameter to true
.
Don't specify an AMI ID in imageId
, imageIdOverride
(in ec2Configuration
), or in the launch template (launchTemplate
). In that case, Batch selects the latest Amazon ECS optimized AMI that's supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID in the imageId
or imageIdOverride
parameters, or the launch template identified by the LaunchTemplate
properties. Changing any of these properties starts an infrastructure update. If the AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the imageId
or imageIdOverride
parameters. It can only be replaced by specifying a different launch template, or if the launch template version is set to $Default
or $Latest
, by setting either a new default version for the launch template (if $Default
) or by adding a new version to the launch template (if $Latest
).
If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be re-selected. If the version
setting in the launch template (launchTemplate
) is set to $Latest
or $Default
, the latest or default version of the launch template is evaluated up at the time of the infrastructure update, even if the launchTemplate
wasn't updated.
Creates an Batch compute environment. You can create MANAGED
or UNMANAGED
compute environments. MANAGED
compute environments can use Amazon EC2 or Fargate resources. UNMANAGED
compute environments can only use EC2 resources.
In a managed compute environment, Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template that you specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a specified percentage of the On-Demand price.
Multi-node parallel jobs aren't supported on Spot Instances.
In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the Amazon Elastic Container Service Developer Guide.
To create a compute environment that uses EKS resources, the caller must have permissions to call eks:DescribeCluster
.
Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is available. You're responsible for the management of the guest operating system. This includes any updates and security patches. You're also responsible for any additional application software or utilities that you install on the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete these steps:
Create a new compute environment with the new AMI.
Add the compute environment to an existing job queue.
Remove the earlier compute environment from your job queue.
Delete the earlier compute environment.
In April 2022, Batch added enhanced support for updating compute environments. For more information, see Updating compute environments. To use the enhanced updating of compute environments to update AMIs, follow these rules:
Either don't set the service role (serviceRole
) parameter or set it to the AWSBatchServiceRole service-linked role.
Set the allocation strategy (allocationStrategy
) parameter to BEST_FIT_PROGRESSIVE
or SPOT_CAPACITY_OPTIMIZED
.
Set the update to latest image version (updateToLatestImageVersion
) parameter to true
.
Don't specify an AMI ID in imageId
, imageIdOverride
(in ec2Configuration
), or in the launch template (launchTemplate
). In that case, Batch selects the latest Amazon ECS optimized AMI that's supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID in the imageId
or imageIdOverride
parameters, or the launch template identified by the LaunchTemplate
properties. Changing any of these properties starts an infrastructure update. If the AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the imageId
or imageIdOverride
parameters. It can only be replaced by specifying a different launch template, or if the launch template version is set to $Default
or $Latest
, by setting either a new default version for the launch template (if $Default
) or by adding a new version to the launch template (if $Latest
).
If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be re-selected. If the version
setting in the launch template (launchTemplate
) is set to $Latest
or $Default
, the latest or default version of the launch template is evaluated up at the time of the infrastructure update, even if the launchTemplate
wasn't updated.
Creates an Batch job queue. When you create a job queue, you associate one or more compute environments to the queue and assign an order of preference for the compute environments.
You also set a priority to the job queue that determines the order that the Batch scheduler places jobs onto its associated compute environments. For example, if a compute environment is associated with more than one job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute environment.
", "CreateSchedulingPolicy": "Creates an Batch scheduling policy.
", "DeleteComputeEnvironment": "Deletes an Batch compute environment.
Before you can delete a compute environment, you must set its state to DISABLED
with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation. Compute environments that use Fargate resources must terminate all active jobs on that compute environment before deleting the compute environment. If this isn't done, the compute environment enters an invalid state.
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand price.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED
).
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The maximum number of Amazon EC2 vCPUs that an environment can reach.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
allocation strategies using On-Demand or Spot Instances, and the BEST_FIT
strategy using Spot Instances, Batch might need to exceed maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance. That is, no more than a single instance from among those specified in your compute environment.
The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum and maximum values based on job queue demand.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum and maximum values based on job queue demand.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
Batch doesn't support changing the desired number of vCPUs of an existing compute environment. Don't specify this parameter for compute environments using Amazon EKS clusters.
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage.
When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The number of vCPUs reserved for the container. For jobs that run on EC2 resources, you can specify the vCPU requirement for the job using resourceRequirements
, but you can't specify the vCPU requirements in both the vcpus
and resourceRequirements
object. This parameter maps to CpuShares
in the Create a container section of the Docker Remote API and the --cpu-shares
option to docker run. Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU. This is required but can be specified in several places. It must be specified for each node at least once.
This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate resources, you must specify the vCPU requirement for the job using resourceRequirements
.
For jobs running on EC2 resources that didn't specify memory requirements using resourceRequirements
, the number of MiB of memory reserved for the job. For other jobs, including all run on Fargate resources, see resourceRequirements
.
The path of the file or directory on the host to mount into containers on the pod.
", "EksLimits$key": null, "EksPodProperties$serviceAccountName": "The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure service accounts for pods in the Kubernetes documentation.
", - "EksPodProperties$dnsPolicy": "The DNS policy for the pod. The default value is ClusterFirst
. If the hostNetwork
parameter is not specified, the default is ClusterFirstWithHostNet
. ClusterFirst
indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
| None
The DNS policy for the pod. The default value is ClusterFirst
. If the hostNetwork
parameter is not specified, the default is ClusterFirstWithHostNet
. ClusterFirst
indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure service accounts for pods in the Kubernetes documentation.
", - "EksPodPropertiesDetail$dnsPolicy": "The DNS policy for the pod. The default value is ClusterFirst
. If the hostNetwork
parameter is not specified, the default is ClusterFirstWithHostNet
. ClusterFirst
indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
| None
The DNS policy for the pod. The default value is ClusterFirst
. If the hostNetwork
parameter is not specified, the default is ClusterFirstWithHostNet
. ClusterFirst
indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. If no value was specified for dnsPolicy
in the RegisterJobDefinition API operation, then no value will be returned for dnsPolicy
by either of DescribeJobDefinitions or DescribeJobs API operations. The pod spec setting will contain either ClusterFirst
or ClusterFirstWithHostNet
, depending on the value of the hostNetwork
parameter. For more information, see Pod's DNS policy in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
The name of the pod for this job.
", "EksPodPropertiesDetail$nodeName": "The name of the node for this job.
", "EksRequests$key": null, @@ -1308,7 +1308,7 @@ "RegisterJobDefinitionRequest$jobDefinitionName": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
", "RegisterJobDefinitionResponse$jobDefinitionName": "The name of the job definition.
", "RegisterJobDefinitionResponse$jobDefinitionArn": "The Amazon Resource Name (ARN) of the job definition.
", - "ResourceRequirement$value": "The quantity of the specified resource to reserve for the container. The values vary based on the type
specified.
The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on.
GPUs aren't available for jobs that are running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to Memory
in the Create a container section of the Docker Remote API and the --memory
option to docker run. You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to Memory
in the Create a container section of the Docker Remote API and the --memory
option to docker run.
If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory management in the Batch User Guide.
For jobs that are running on Fargate resources, then value
is the hard limit (in MiB), and must match one of the supported values and the VCPU
values must be one of the values supported for that memory value.
VCPU
= 0.25
VCPU
= 0.25 or 0.5
VCPU
= 0.25, 0.5, or 1
VCPU
= 0.5, or 1
VCPU
= 0.5, 1, or 2
VCPU
= 1 or 2
VCPU
= 1, 2, or 4
VCPU
= 2 or 4
VCPU
= 4
The number of vCPUs reserved for the container. This parameter maps to CpuShares
in the Create a container section of the Docker Remote API and the --cpu-shares
option to docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once.
For jobs that are running on Fargate resources, then value
must match one of the supported values and the MEMORY
values must be one of the values supported for that VCPU
value. The supported values are 0.25, 0.5, 1, 2, and 4
MEMORY
= 512, 1024, or 2048
MEMORY
= 1024, 2048, 3072, or 4096
MEMORY
= 2048, 3072, 4096, 5120, 6144, 7168, or 8192
MEMORY
= 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
MEMORY
= 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
The quantity of the specified resource to reserve for the container. The values vary based on the type
specified.
The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on.
GPUs aren't available for jobs that are running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to Memory
in the Create a container section of the Docker Remote API and the --memory
option to docker run. You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to Memory
in the Create a container section of the Docker Remote API and the --memory
option to docker run.
If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory management in the Batch User Guide.
For jobs that are running on Fargate resources, then value
is the hard limit (in MiB), and must match one of the supported values and the VCPU
values must be one of the values supported for that memory value.
VCPU
= 0.25
VCPU
= 0.25 or 0.5
VCPU
= 0.25, 0.5, or 1
VCPU
= 0.5, or 1
VCPU
= 0.5, 1, or 2
VCPU
= 1 or 2
VCPU
= 1, 2, 4, or 8
VCPU
= 2 or 4
VCPU
= 2, 4, or 8
VCPU
= 4
VCPU
= 4 or 8
VCPU
= 8
VCPU
= 8 or 16
VCPU
= 16
The number of vCPUs reserved for the container. This parameter maps to CpuShares
in the Create a container section of the Docker Remote API and the --cpu-shares
option to docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once.
The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more information about Fargate quotas, see Fargate quotas in the Amazon Web Services General Reference.
For jobs that are running on Fargate resources, then value
must match one of the supported values and the MEMORY
values must be one of the values supported for that VCPU
value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and 16
MEMORY
= 512, 1024, or 2048
MEMORY
= 1024, 2048, 3072, or 4096
MEMORY
= 2048, 3072, 4096, 5120, 6144, 7168, or 8192
MEMORY
= 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
MEMORY
= 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
MEMORY
= 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440
MEMORY
= 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880
The name of the scheduling policy.
", "SchedulingPolicyDetail$arn": "The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
.
Amazon Resource Name (ARN) of the scheduling policy.
", @@ -1500,7 +1500,7 @@ } }, "UpdatePolicy": { - "base": "Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Infrastructure updates in the Batch User Guide.
", + "base": "Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
", "refs": { "ComputeEnvironmentDetail$updatePolicy": "Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
", "UpdateComputeEnvironmentRequest$updatePolicy": "Specifies the updated infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
" diff --git a/models/apis/batch/2016-08-10/endpoint-tests-1.json b/models/apis/batch/2016-08-10/endpoint-tests-1.json index 8575da030be..95df54069ac 100644 --- a/models/apis/batch/2016-08-10/endpoint-tests-1.json +++ b/models/apis/batch/2016-08-10/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -151,9 +151,61 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.me-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.me-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "me-central-1" + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.me-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-central-1" } }, { @@ -164,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -177,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -190,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -203,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -216,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -229,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -242,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -255,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -268,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -281,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -294,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -307,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -320,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -333,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -346,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -359,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -372,9 +424,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -385,9 +437,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -398,9 +450,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -411,9 +463,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -424,9 +476,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -437,9 +489,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -450,9 +502,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -463,9 +515,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -476,9 +528,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -489,9 +541,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -502,9 +554,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -515,9 +567,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -528,9 +580,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -541,9 +593,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -554,9 +606,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -567,9 +619,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -580,9 +632,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -593,9 +645,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -606,9 +658,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -619,9 +671,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -632,9 +684,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -645,9 +697,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -658,9 +710,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -671,9 +723,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -684,9 +736,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -697,9 +749,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -710,9 +762,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -723,9 +775,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -736,9 +788,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -749,9 +801,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -762,9 +814,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -775,9 +827,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -788,9 +840,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -801,9 +853,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -814,9 +866,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -827,9 +879,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -840,9 +892,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -853,9 +905,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -866,9 +918,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -879,9 +931,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -892,9 +944,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -905,9 +957,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -918,9 +970,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -931,9 +983,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -944,9 +996,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -957,9 +1009,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -970,9 +1022,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -983,9 +1035,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -996,9 +1048,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1009,9 +1061,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1022,9 +1074,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1035,9 +1087,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1048,9 +1100,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1061,9 +1113,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1074,9 +1126,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1087,9 +1139,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1100,9 +1152,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1113,9 +1165,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1126,9 +1178,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1139,9 +1191,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1152,9 +1204,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1165,9 +1217,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1178,9 +1230,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1191,9 +1243,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1204,9 +1256,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1217,9 +1269,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1230,9 +1282,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1243,9 +1295,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1256,9 +1308,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1269,9 +1321,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1282,9 +1334,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1295,9 +1347,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1308,9 +1360,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1321,9 +1373,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1334,9 +1386,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1347,9 +1399,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1360,9 +1412,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1372,9 +1424,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1384,9 +1436,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/billingconductor/2021-07-30/api-2.json b/models/apis/billingconductor/2021-07-30/api-2.json index 48dc8f83fab..1fb7c54796e 100644 --- a/models/apis/billingconductor/2021-07-30/api-2.json +++ b/models/apis/billingconductor/2021-07-30/api-2.json @@ -732,6 +732,10 @@ "FailedDisassociatedResources":{"shape":"DisassociateResourcesResponseList"} } }, + "BillingEntity":{ + "type":"string", + "pattern":"[a-zA-Z0-9 ]+" + }, "BillingGroupArn":{ "type":"string", "pattern":"(arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/)?[0-9]{12}" @@ -947,7 +951,8 @@ "Type":{"shape":"PricingRuleType"}, "ModifierPercentage":{"shape":"ModifierPercentage"}, "Service":{"shape":"Service"}, - "Tags":{"shape":"TagMap"} + "Tags":{"shape":"TagMap"}, + "BillingEntity":{"shape":"BillingEntity"} } }, "CreatePricingRuleOutput":{ @@ -1646,7 +1651,8 @@ "Service":{"shape":"Service"}, "AssociatedPricingPlanCount":{"shape":"NumberOfPricingPlansAssociatedWith"}, "CreationTime":{"shape":"Instant"}, - "LastModifiedTime":{"shape":"Instant"} + "LastModifiedTime":{"shape":"Instant"}, + "BillingEntity":{"shape":"BillingEntity"} } }, "PricingRuleName":{ @@ -1660,7 +1666,8 @@ "type":"string", "enum":[ "GLOBAL", - "SERVICE" + "SERVICE", + "BILLING_ENTITY" ] }, "PricingRuleType":{ @@ -1912,7 +1919,8 @@ "ModifierPercentage":{"shape":"ModifierPercentage"}, "Service":{"shape":"Service"}, "AssociatedPricingPlanCount":{"shape":"NumberOfPricingPlansAssociatedWith"}, - "LastModifiedTime":{"shape":"Instant"} + "LastModifiedTime":{"shape":"Instant"}, + "BillingEntity":{"shape":"BillingEntity"} } }, "ValidationException":{ @@ -1993,8 +2001,10 @@ "MULTIPLE_PRICING_PLAN_ARN", "ILLEGAL_CHILD_ASSOCIATE_RESOURCE", "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS", + "INVALID_BILLING_GROUP", "INVALID_BILLING_PERIOD_FOR_OPERATION", - "INVALID_BILLING_GROUP" + "ILLEGAL_BILLING_ENTITY", + "ILLEGAL_MODIFIER_PERCENTAGE" ] } } diff --git a/models/apis/billingconductor/2021-07-30/docs-2.json b/models/apis/billingconductor/2021-07-30/docs-2.json index 25309ccb397..00699297c1c 100644 --- a/models/apis/billingconductor/2021-07-30/docs-2.json +++ b/models/apis/billingconductor/2021-07-30/docs-2.json @@ -175,6 +175,14 @@ "refs": { } }, + "BillingEntity": { + "base": null, + "refs": { + "CreatePricingRuleInput$BillingEntity": "The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
", + "PricingRuleListElement$BillingEntity": "The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
", + "UpdatePricingRuleOutput$BillingEntity": "The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
" + } + }, "BillingGroupArn": { "base": null, "refs": { diff --git a/models/apis/billingconductor/2021-07-30/endpoint-tests-1.json b/models/apis/billingconductor/2021-07-30/endpoint-tests-1.json index e0583305d6a..b85cfa1b446 100644 --- a/models/apis/billingconductor/2021-07-30/endpoint-tests-1.json +++ b/models/apis/billingconductor/2021-07-30/endpoint-tests-1.json @@ -8,8 +8,8 @@ "authSchemes": [ { "name": "sigv4", - "signingName": "billingconductor", - "signingRegion": "us-east-1" + "signingRegion": "us-east-1", + "signingName": "billingconductor" } ] }, @@ -17,9 +17,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "aws-global" + "Region": "aws-global", + "UseDualStack": false } }, { @@ -30,9 +30,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -42,9 +42,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -54,9 +54,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/cloudformation/2010-05-15/api-2.json b/models/apis/cloudformation/2010-05-15/api-2.json index 0053afb775f..9ff0ce87be7 100644 --- a/models/apis/cloudformation/2010-05-15/api-2.json +++ b/models/apis/cloudformation/2010-05-15/api-2.json @@ -2128,7 +2128,8 @@ "InvalidTypeConfiguration", "HandlerInternalFailure", "NonCompliant", - "Unknown" + "Unknown", + "UnsupportedTarget" ] }, "HookFailureMode":{ diff --git a/models/apis/comprehendmedical/2018-10-30/api-2.json b/models/apis/comprehendmedical/2018-10-30/api-2.json index f0b907be105..9003e0b8f2f 100644 --- a/models/apis/comprehendmedical/2018-10-30/api-2.json +++ b/models/apis/comprehendmedical/2018-10-30/api-2.json @@ -442,7 +442,12 @@ "SIGN", "SYMPTOM", "DIAGNOSIS", - "NEGATION" + "NEGATION", + "PERTAINS_TO_FAMILY", + "HYPOTHETICAL", + "LOW_CONFIDENCE", + "PAST_HISTORY", + "FUTURE" ] }, "BoundedLengthString":{ @@ -676,7 +681,14 @@ "TIME_TO_DX_NAME", "TIME_TO_TEST_NAME", "TIME_TO_PROCEDURE_NAME", - "TIME_TO_TREATMENT_NAME" + "TIME_TO_TREATMENT_NAME", + "AMOUNT", + "GENDER", + "RACE_ETHNICITY", + "ALLERGIES", + "TOBACCO_USE", + "ALCOHOL_CONSUMPTION", + "REC_DRUG_USE" ] }, "EntityType":{ @@ -687,7 +699,8 @@ "PROTECTED_HEALTH_INFORMATION", "TEST_TREATMENT_PROCEDURE", "ANATOMY", - "TIME_EXPRESSION" + "TIME_EXPRESSION", + "BEHAVIORAL_ENVIRONMENTAL_SOCIAL" ] }, "Float":{"type":"float"}, @@ -788,7 +801,10 @@ "NEGATION", "DIAGNOSIS", "SIGN", - "SYMPTOM" + "SYMPTOM", + "PERTAINS_TO_FAMILY", + "HYPOTHETICAL", + "LOW_CONFIDENCE" ] }, "IamRoleArn":{ @@ -1032,7 +1048,8 @@ "TEST_UNITS", "TEST_UNIT", "DIRECTION", - "SYSTEM_ORGAN_SITE" + "SYSTEM_ORGAN_SITE", + "AMOUNT" ] }, "ResourceNotFoundException":{ @@ -1254,7 +1271,12 @@ "NEGATION", "DIAGNOSIS", "SIGN", - "SYMPTOM" + "SYMPTOM", + "PERTAINS_TO_FAMILY", + "HYPOTHETICAL", + "LOW_CONFIDENCE", + "PAST_HISTORY", + "FUTURE" ] }, "ServiceUnavailableException":{ diff --git a/models/apis/comprehendmedical/2018-10-30/endpoint-rule-set-1.json b/models/apis/comprehendmedical/2018-10-30/endpoint-rule-set-1.json new file mode 100644 index 00000000000..2e5664d7c60 --- /dev/null +++ b/models/apis/comprehendmedical/2018-10-30/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + 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://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/comprehendmedical/2018-10-30/endpoint-tests-1.json b/models/apis/comprehendmedical/2018-10-30/endpoint-tests-1.json new file mode 100644 index 00000000000..df371f36038 --- /dev/null +++ b/models/apis/comprehendmedical/2018-10-30/endpoint-tests-1.json @@ -0,0 +1,459 @@ +{ + "testCases": [ + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.ca-central-1.api.aws" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-west-2.api.aws" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.eu-west-2.api.aws" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.eu-west-1.api.aws" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.ap-southeast-2.api.aws" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-east-2.api.aws" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://comprehendmedical.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index cd3ee69a1be..df54a888708 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -1721,6 +1721,24 @@ {"shape":"InternalServiceException"} ] }, + "MonitorContact":{ + "name":"MonitorContact", + "http":{ + "method":"POST", + "requestUri":"/contact/monitor" + }, + "input":{"shape":"MonitorContactRequest"}, + "output":{"shape":"MonitorContactResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"IdempotencyException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "PutUserStatus":{ "name":"PutUserStatus", "http":{ @@ -2738,6 +2756,11 @@ "max":100, "min":1 }, + "AllowedMonitorCapabilities":{ + "type":"list", + "member":{"shape":"MonitorCapability"}, + "max":2 + }, "AnswerMachineDetectionConfig":{ "type":"structure", "members":{ @@ -6702,6 +6725,38 @@ "max":59, "min":0 }, + "MonitorCapability":{ + "type":"string", + "enum":[ + "SILENT_MONITOR", + "BARGE" + ] + }, + "MonitorContactRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId", + "UserId" + ], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "ContactId":{"shape":"ContactId"}, + "UserId":{"shape":"AgentResourceId"}, + "AllowedMonitorCapabilities":{"shape":"AllowedMonitorCapabilities"}, + "ClientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } + } + }, + "MonitorContactResponse":{ + "type":"structure", + "members":{ + "ContactId":{"shape":"ContactId"}, + "ContactArn":{"shape":"ARN"} + } + }, "Name":{ "type":"string", "max":512, diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 1a85700efbd..6b2dcb2b910 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -108,6 +108,7 @@ "ListUseCases": "Lists the use cases for the integration association.
", "ListUserHierarchyGroups": "Provides summary information about the hierarchy groups for the specified Amazon Connect instance.
For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.
", "ListUsers": "Provides summary information about the users for the specified Amazon Connect instance.
", + "MonitorContact": "Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.
", "PutUserStatus": "Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, this sets the agent's next status.
For more information, see Agent status and Set your next status in the Amazon Connect Administrator Guide.
", "ReleasePhoneNumber": "Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed.
To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber
API, not the Amazon Connect console.
After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support.
Replicates an Amazon Connect instance in the specified Amazon Web Services Region.
For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
", @@ -216,6 +217,7 @@ "ListPhoneNumbersSummary$TargetArn": "The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
", "ListPhoneNumbersV2Request$TargetArn": "The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to. If TargetArn
input is not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.
The Amazon Resource Name (ARN) of the resource.
", + "MonitorContactResponse$ContactArn": "The ARN of the contact.
", "PhoneNumberSummary$Arn": "The Amazon Resource Name (ARN) of the phone number.
", "PromptSummary$Arn": "The Amazon Resource Name (ARN) of the prompt.
", "Queue$QueueArn": "The Amazon Resource Name (ARN) for the queue.
", @@ -295,6 +297,7 @@ "refs": { "AgentInfo$Id": "The identifier of the agent who accepted the contact.
", "GetFederationTokenResponse$UserId": "The identifier for the user.
", + "MonitorContactRequest$UserId": "The identifier of the user account.
", "TransferContactRequest$UserId": "The identifier for the user.
" } }, @@ -394,6 +397,12 @@ "LexV2Bot$AliasArn": "The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.
" } }, + "AllowedMonitorCapabilities": { + "base": null, + "refs": { + "MonitorContactRequest$AllowedMonitorCapabilities": "Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
" + } + }, "AnswerMachineDetectionConfig": { "base": "Configuration of the answering machine detection.
", "refs": { @@ -668,6 +677,7 @@ "CreateTaskTemplateRequest$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.
", "CreateTrafficDistributionGroupRequest$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.
", "CreateVocabularyRequest$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. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
", + "MonitorContactRequest$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.
", "ReleasePhoneNumberRequest$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.
", "ReplicateInstanceRequest$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.
", "StartChatContactRequest$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.
", @@ -892,6 +902,8 @@ "DismissUserContactRequest$ContactId": "The identifier of the contact.
", "GetContactAttributesRequest$InitialContactId": "The identifier of the initial contact.
", "ListContactReferencesRequest$ContactId": "The identifier of the initial contact.
", + "MonitorContactRequest$ContactId": "The identifier of the contact.
", + "MonitorContactResponse$ContactId": "The identifier of the contact.
", "ResumeContactRecordingRequest$ContactId": "The identifier of the contact.
", "ResumeContactRecordingRequest$InitialContactId": "The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
", "StartChatContactResponse$ContactId": "The identifier of this contact within the Amazon Connect instance.
", @@ -922,7 +934,7 @@ } }, "ContactNotFoundException": { - "base": "The contact with the specified ID is not active or does not exist.
", + "base": "The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat, Task, or Voice Callback.
", "refs": { } }, @@ -1716,7 +1728,7 @@ "Groupings": { "base": null, "refs": { - "GetCurrentMetricDataRequest$Groupings": "The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
, you should include a Channels filter. VOICE, CHAT, and TASK channels are supported.
If no Grouping
is included in the request, a summary of metrics is returned.
The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics returned apply to each queue rather than aggregated for all queues.
If you group by CHANNEL
, you should include a Channels filter. VOICE, CHAT, and TASK channels are supported.
If you group by ROUTING_PROFILE
, you must include either a queue or routing profile filter.
If no Grouping
is included in the request, a summary of metrics is returned.
The grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
If no grouping is specified, a summary of metrics for all queues is returned.
" } }, @@ -2121,6 +2133,7 @@ "ListUseCasesRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ListUserHierarchyGroupsRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ListUsersRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", + "MonitorContactRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "PutUserStatusRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ReplicateInstanceResponse$Id": "The identifier of the replicated instance. You can find the instanceId
in the ARN of the instance. The replicated instance has the same identifier as the instance it was replicated from.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", @@ -2838,6 +2851,22 @@ "HoursOfOperationTimeSlice$Minutes": "The minutes.
" } }, + "MonitorCapability": { + "base": null, + "refs": { + "AllowedMonitorCapabilities$member": null + } + }, + "MonitorContactRequest": { + "base": null, + "refs": { + } + }, + "MonitorContactResponse": { + "base": null, + "refs": { + } + }, "Name": { "base": null, "refs": { @@ -3324,10 +3353,10 @@ } }, "QueueSearchCriteria": { - "base": "The search criteria to be used to return queues.
", + "base": "The search criteria to be used to return queues.
The name
and description
fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
The search criteria to be used to return queues.
" + "SearchQueuesRequest$SearchCriteria": "The search criteria to be used to return queues.
The name
and description
fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
The search criteria to be used to return routing profiles.
", + "base": "The search criteria to be used to return routing profiles.
The name
and description
fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
The search criteria to be used to return routing profiles.
" + "SearchRoutingProfilesRequest$SearchCriteria": "The search criteria to be used to return routing profiles.
The name
and description
fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
The search criteria to be used to return security profiles.
", + "base": "The search criteria to be used to return security profiles.
The name
field support \"contains\" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
The search criteria to be used to return security profiles.
The currently supported value for FieldName
: name
The search criteria to be used to return security profiles.
The name
field support \"contains\" queries with a minimum of 2 characters and maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
The currently supported value for FieldName
: name
The search criteria to be used to return users.
The Username
, Firstname
, and Lastname
fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range result in empty results.
The search criteria to be used to return users.
The name
and description
fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
Associate encryption configuration to an existing cluster.
You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.
", "AssociateIdentityProviderConfig": "Associate an identity provider configuration to a cluster.
If you want to authenticate identities using an identity provider, you can create an identity provider configuration and associate it to your cluster. After configuring authentication to your cluster you can create Kubernetes roles
and clusterroles
to assign permissions to the roles, and then bind the roles to the identities using Kubernetes rolebindings
and clusterrolebindings
. For more information see Using RBAC Authorization in the Kubernetes documentation.
Creates an Amazon EKS add-on.
Amazon EKS add-ons help to automate the provisioning and lifecycle management of common operational software for Amazon EKS clusters. Amazon EKS add-ons require clusters running version 1.18 or later because Amazon EKS add-ons rely on the Server-side Apply Kubernetes feature, which is only available in Kubernetes 1.18 and later. For more information, see Amazon EKS add-ons in the Amazon EKS User Guide.
", + "CreateAddon": "Creates an Amazon EKS add-on.
Amazon EKS add-ons help to automate the provisioning and lifecycle management of common operational software for Amazon EKS clusters. For more information, see Amazon EKS add-ons in the Amazon EKS User Guide.
", "CreateCluster": "Creates an Amazon EKS control plane.
The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd
and the API server. The control plane runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single tenant and unique. It runs on its own set of Amazon EC2 instances.
The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec
, logs
, and proxy
data flows).
Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane over the Kubernetes API server endpoint and a certificate file that is created for your cluster.
In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see Managing Cluster Authentication and Launching Amazon EKS nodes in the Amazon EKS User Guide.
", "CreateFargateProfile": "Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate profile in a cluster to be able to run pods on Fargate.
The Fargate profile allows an administrator to declare which pods run on Fargate and specify which pods run on which Fargate profile. This declaration is done through the profile’s selectors. Each profile can have up to five selectors that contain a namespace and labels. A namespace is required for every selector. The label field consists of multiple optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is run on Fargate.
When you create a Fargate profile, you must specify a pod execution role to use with the pods that are scheduled with the profile. This role is added to the cluster's Kubernetes Role Based Access Control (RBAC) for authorization so that the kubelet
that is running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can appear in your cluster as a node. The pod execution role also provides IAM permissions to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more information, see Pod Execution Role in the Amazon EKS User Guide.
Fargate profiles are immutable. However, you can create a new updated profile to replace an existing profile and then delete the original after the updated profile has finished creating.
If any Fargate profiles in a cluster are in the DELETING
status, you must wait for that Fargate profile to finish deleting before you can create any other profiles in that cluster.
For more information, see Fargate Profile in the Amazon EKS User Guide.
", "CreateNodegroup": "Creates a managed node group for an Amazon EKS cluster. You can only create a node group for your cluster that is equal to the current Kubernetes version for the cluster. All node groups are created with the latest AMI release version for the respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using a launch template. For more information about using launch templates, see Launch template support.
An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS optimized Amazon Linux 2 AMI. For more information, see Managed Node Groups in the Amazon EKS User Guide.
", @@ -281,6 +281,18 @@ "Cluster$connectorConfig": "The configuration used to connect to a cluster for registration.
" } }, + "ControlPlanePlacementRequest": { + "base": "The placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide
", + "refs": { + "OutpostConfigRequest$controlPlanePlacement": "An object representing the placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.
" + } + }, + "ControlPlanePlacementResponse": { + "base": "The placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.
", + "refs": { + "OutpostConfigResponse$controlPlanePlacement": "An object representing the placement configuration for all the control plane instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide.
" + } + }, "CreateAddonRequest": { "base": null, "refs": { @@ -819,9 +831,9 @@ } }, "OutpostConfigRequest": { - "base": "The configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a cluster on an Outpost, review Creating a local Amazon EKS cluster on an Amazon Web Services Outpost in the Amazon EKS User Guide. This API isn't available for Amazon EKS clusters on the Amazon Web Services cloud.
", + "base": "The configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a cluster on an Outpost, review Creating a local cluster on an Outpost in the Amazon EKS User Guide. This API isn't available for Amazon EKS clusters on the Amazon Web Services cloud.
", "refs": { - "CreateClusterRequest$outpostConfig": "An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review Creating an Amazon EKS cluster on an Amazon Web Services Outpost in the Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.
" + "CreateClusterRequest$outpostConfig": "An object representing the configuration of your local Amazon EKS cluster on an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review Local clusters for Amazon EKS on Amazon Web Services Outposts in the Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters on the Amazon Web Services cloud.
" } }, "OutpostConfigResponse": { @@ -941,6 +953,8 @@ "ConnectorConfigResponse$activationCode": "A unique code associated with the cluster for registration purposes.
", "ConnectorConfigResponse$provider": "The cluster's cloud service provider.
", "ConnectorConfigResponse$roleArn": "The Amazon Resource Name (ARN) of the role to communicate with services from the connected Kubernetes cluster.
", + "ControlPlanePlacementRequest$groupName": "The name of the placement group for the Kubernetes control plane instances. This setting can't be changed after cluster creation.
", + "ControlPlanePlacementResponse$groupName": "The name of the placement group for the Kubernetes control plane instances.
", "CreateAddonRequest$addonName": "The name of the add-on. The name must match one of the names returned by DescribeAddonVersions
.
The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions
.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
", @@ -1006,7 +1020,7 @@ "KubernetesNetworkConfigResponse$serviceIpv4Cidr": "The CIDR block that Kubernetes pod and service IP addresses are assigned from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a subnet that the node is in. If you didn't specify a CIDR block when you created the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If this was specified, then it was specified when the cluster was created and it can't be changed.
", "KubernetesNetworkConfigResponse$serviceIpv6Cidr": "The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6
for ipFamily when you created the cluster. Kubernetes assigns service addresses from the unique local address range (fc00::/7
) because you can't specify a custom IPv6 CIDR block when you create the cluster.
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
", - "LaunchTemplateSpecification$version": "The launch template version number, $Latest
, or $Default
.
If the value is $Latest
, Amazon EKS uses the latest version of the launch template.
If the value is $Default
, Amazon EKS uses the default version of the launch template.
Default: The default version of the launch template.
", + "LaunchTemplateSpecification$version": "The version number of the launch template to use. If no version is specified, then the template's default version is used.
", "LaunchTemplateSpecification$id": "The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
", "ListAddonsRequest$nextToken": "The nextToken
value returned from a previous paginated ListAddonsRequest
where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
The nextToken
value returned from a previous paginated ListAddonsResponse
where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
The prefix that is prepended to username claims to prevent clashes with existing names. If you do not provide this field, and username
is a value other than email
, the prefix defaults to issuerurl#
. You can use the value -
to disable all prefixing.
The JWT claim that the provider uses to return your groups.
", "OidcIdentityProviderConfigRequest$groupsPrefix": "The prefix that is prepended to group claims to prevent clashes with existing names (such as system:
groups). For example, the value oidc:
will create group names like oidc:engineering
and oidc:infra
.
The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. The instance type that you specify is used for all Kubernetes control plane instances. The instance type can't be changed after cluster creation.
Choose an instance type based on the number of nodes that your cluster will have. If your cluster will have:
1–20 nodes, then we recommend specifying a large
instance type.
21–100 nodes, then we recommend specifying an xlarge
instance type.
101–250 nodes, then we recommend specifying a 2xlarge
instance type.
For a list of the available Amazon EC2 instance types, see Compute and storage in Outposts rack features. The control plane is not automatically scaled by Amazon EKS.
", + "OutpostConfigRequest$controlPlaneInstanceType": "The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. Choose an instance type based on the number of nodes that your cluster will have. For more information, see Capacity considerations in the Amazon EKS User Guide.
The instance type that you specify is used for all Kubernetes control plane instances. The instance type can't be changed after cluster creation. The control plane is not automatically scaled by Amazon EKS.
", "OutpostConfigResponse$controlPlaneInstanceType": "
The Amazon EC2 instance type used for the control plane. The instance type is the same for all control plane instances.
", "Provider$keyArn": "Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric, created in the same region as the cluster, and if the KMS key was created in a different account, the user must have access to the KMS key. For more information, see Allowing Users in Other Accounts to Use a KMS key in the Key Management Service Developer Guide.
", "RegisterClusterRequest$clientRequestToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
", @@ -1130,7 +1144,7 @@ "RemoteAccessConfig$sourceSecurityGroups": "The security groups that are allowed SSH access (port 22) to the nodes. If you specify an Amazon EC2 SSH key but do not specify a source security group when you create a managed node group, then port 22 on the nodes is opened to the internet (0.0.0.0/0). For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
", "UnsupportedAvailabilityZoneException$validZones": "The supported Availability Zones for your account. Choose subnets in these Availability Zones for your cluster.
", "VpcConfigRequest$subnetIds": "Specify subnets for your Amazon EKS nodes. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your nodes and the Kubernetes control plane.
", - "VpcConfigRequest$securityGroupIds": "Specify one or more security groups for the cross-account elastic network interfaces that Amazon EKS creates to use that allow communication between your nodes and the Kubernetes control plane. If you don't specify any security groups, then familiarize yourself with the difference between Amazon EKS defaults for clusters deployed with Kubernetes:
1.14 Amazon EKS platform version eks.2
and earlier
1.14 Amazon EKS platform version eks.3
and later
For more information, see Amazon EKS security group considerations in the Amazon EKS User Guide .
", + "VpcConfigRequest$securityGroupIds": "Specify one or more security groups for the cross-account elastic network interfaces that Amazon EKS creates to use that allow communication between your nodes and the Kubernetes control plane. If you don't specify any security groups, then familiarize yourself with the difference between Amazon EKS defaults for clusters deployed with Kubernetes. For more information, see Amazon EKS security group considerations in the Amazon EKS User Guide .
", "VpcConfigRequest$publicAccessCidrs": "The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is 0.0.0.0/0
. If you've disabled private endpoint access and you have nodes or Fargate pods in the cluster, then ensure that you specify the necessary CIDR blocks. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .
The subnets associated with your cluster.
", "VpcConfigResponse$securityGroupIds": "The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.
", diff --git a/models/apis/eks/2017-11-01/endpoint-rule-set-1.json b/models/apis/eks/2017-11-01/endpoint-rule-set-1.json new file mode 100644 index 00000000000..5ff419796cc --- /dev/null +++ b/models/apis/eks/2017-11-01/endpoint-rule-set-1.json @@ -0,0 +1,365 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://eks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://fips.eks.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://eks.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://eks-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://eks.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://eks.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/eks/2017-11-01/endpoint-tests-1.json b/models/apis/eks/2017-11-01/endpoint-tests-1.json new file mode 100644 index 00000000000..8cc05949df5 --- /dev/null +++ b/models/apis/eks/2017-11-01/endpoint-tests-1.json @@ -0,0 +1,1751 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-south-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-south-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-south-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-south-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-south-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-central-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-central-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-central-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.ap-southeast-4.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-4", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-4", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-4.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-4", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-4 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.ap-southeast-4.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-4", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.eks.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://eks.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://eks.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/elasticache/2015-02-02/api-2.json b/models/apis/elasticache/2015-02-02/api-2.json index f5517f22a79..bc78f8fea90 100644 --- a/models/apis/elasticache/2015-02-02/api-2.json +++ b/models/apis/elasticache/2015-02-02/api-2.json @@ -1335,11 +1335,19 @@ "PasswordCount":{"shape":"IntegerOptional"} } }, + "AuthenticationMode":{ + "type":"structure", + "members":{ + "Type":{"shape":"InputAuthenticationType"}, + "Passwords":{"shape":"PasswordListInput"} + } + }, "AuthenticationType":{ "type":"string", "enum":[ "password", - "no-password" + "no-password", + "iam" ] }, "AuthorizationAlreadyExistsFault":{ @@ -2144,7 +2152,8 @@ "Passwords":{"shape":"PasswordListInput"}, "AccessString":{"shape":"AccessString"}, "NoPasswordRequired":{"shape":"BooleanOptional"}, - "Tags":{"shape":"TagList"} + "Tags":{"shape":"TagList"}, + "AuthenticationMode":{"shape":"AuthenticationMode"} } }, "CustomerNodeEndpoint":{ @@ -2812,6 +2821,14 @@ "ReplicationGroup":{"shape":"ReplicationGroup"} } }, + "InputAuthenticationType":{ + "type":"string", + "enum":[ + "password", + "no-password-required", + "iam" + ] + }, "InsufficientCacheClusterCapacityFault":{ "type":"structure", "members":{ @@ -3234,7 +3251,8 @@ "AccessString":{"shape":"AccessString"}, "AppendAccessString":{"shape":"AccessString"}, "Passwords":{"shape":"PasswordListInput"}, - "NoPasswordRequired":{"shape":"BooleanOptional"} + "NoPasswordRequired":{"shape":"BooleanOptional"}, + "AuthenticationMode":{"shape":"AuthenticationMode"} } }, "MultiAZStatus":{ diff --git a/models/apis/elasticache/2015-02-02/docs-2.json b/models/apis/elasticache/2015-02-02/docs-2.json index 1ecc05b6abd..7e4bab0d1b1 100644 --- a/models/apis/elasticache/2015-02-02/docs-2.json +++ b/models/apis/elasticache/2015-02-02/docs-2.json @@ -130,6 +130,13 @@ "User$Authentication": "Denotes whether the user requires a password to authenticate.
" } }, + "AuthenticationMode": { + "base": "Specifies the authentication mode to use.
", + "refs": { + "CreateUserMessage$AuthenticationMode": "Specifies how to authenticate the user.
", + "ModifyUserMessage$AuthenticationMode": "Specifies how to authenticate the user.
" + } + }, "AuthenticationType": { "base": null, "refs": { @@ -1102,6 +1109,12 @@ "refs": { } }, + "InputAuthenticationType": { + "base": null, + "refs": { + "AuthenticationMode$Type": "Specifies the authentication type. Possible options are IAM authentication, password and no password.
" + } + }, "InsufficientCacheClusterCapacityFault": { "base": "The requested cache node type is not available in the specified Availability Zone. For more information, see InsufficientCacheClusterCapacity in the ElastiCache User Guide.
", "refs": { @@ -1587,6 +1600,7 @@ "PasswordListInput": { "base": null, "refs": { + "AuthenticationMode$Passwords": "Specifies the passwords to use for authentication if Type
is set to password
.
Passwords used for this user. You can create up to two passwords for each user.
", "ModifyUserMessage$Passwords": "The passwords belonging to the user. You are allowed up to two.
" } diff --git a/models/apis/elasticache/2015-02-02/endpoint-tests-1.json b/models/apis/elasticache/2015-02-02/endpoint-tests-1.json index 3380326ae56..197ef5338bd 100644 --- a/models/apis/elasticache/2015-02-02/endpoint-tests-1.json +++ b/models/apis/elasticache/2015-02-02/endpoint-tests-1.json @@ -8,8 +8,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-south-2" } }, @@ -21,8 +21,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-south-2" } }, @@ -34,8 +34,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-south-2" } }, @@ -47,8 +47,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-south-2" } }, @@ -60,8 +60,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-south-1" } }, @@ -73,8 +73,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-south-1" } }, @@ -86,8 +86,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-south-1" } }, @@ -99,8 +99,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-south-1" } }, @@ -112,8 +112,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-south-1" } }, @@ -125,8 +125,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-south-1" } }, @@ -138,8 +138,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-south-1" } }, @@ -151,8 +151,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-south-1" } }, @@ -164,8 +164,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-south-2" } }, @@ -177,8 +177,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-south-2" } }, @@ -190,8 +190,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-south-2" } }, @@ -203,8 +203,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-south-2" } }, @@ -216,8 +216,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-gov-east-1" } }, @@ -229,8 +229,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-gov-east-1" } }, @@ -242,8 +242,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-gov-east-1" } }, @@ -255,8 +255,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-gov-east-1" } }, @@ -268,8 +268,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "me-central-1" } }, @@ -281,8 +281,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "me-central-1" } }, @@ -294,8 +294,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "me-central-1" } }, @@ -307,8 +307,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "me-central-1" } }, @@ -320,8 +320,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ca-central-1" } }, @@ -333,8 +333,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ca-central-1" } }, @@ -346,8 +346,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ca-central-1" } }, @@ -359,8 +359,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ca-central-1" } }, @@ -372,8 +372,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-central-1" } }, @@ -385,8 +385,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-central-1" } }, @@ -398,8 +398,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-central-1" } }, @@ -411,8 +411,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-central-1" } }, @@ -422,8 +422,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-iso-west-1" } }, @@ -435,8 +435,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-iso-west-1" } }, @@ -446,8 +446,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-iso-west-1" } }, @@ -459,8 +459,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-iso-west-1" } }, @@ -472,8 +472,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-central-2" } }, @@ -485,8 +485,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-central-2" } }, @@ -498,8 +498,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-central-2" } }, @@ -511,8 +511,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-central-2" } }, @@ -524,8 +524,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-west-1" } }, @@ -537,8 +537,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-west-1" } }, @@ -550,8 +550,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-west-1" } }, @@ -563,8 +563,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-west-1" } }, @@ -576,8 +576,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-west-2" } }, @@ -589,8 +589,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-west-2" } }, @@ -602,8 +602,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-west-2" } }, @@ -615,8 +615,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-west-2" } }, @@ -628,8 +628,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "af-south-1" } }, @@ -641,8 +641,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "af-south-1" } }, @@ -654,8 +654,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "af-south-1" } }, @@ -667,8 +667,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "af-south-1" } }, @@ -680,8 +680,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-north-1" } }, @@ -693,8 +693,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-north-1" } }, @@ -706,8 +706,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-north-1" } }, @@ -719,8 +719,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-north-1" } }, @@ -732,8 +732,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-3" } }, @@ -745,8 +745,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-3" } }, @@ -758,8 +758,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-3" } }, @@ -771,8 +771,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-3" } }, @@ -784,8 +784,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-2" } }, @@ -797,8 +797,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-2" } }, @@ -810,8 +810,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-2" } }, @@ -823,8 +823,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-2" } }, @@ -836,8 +836,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "eu-west-1" } }, @@ -849,8 +849,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "eu-west-1" } }, @@ -862,8 +862,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-1" } }, @@ -875,8 +875,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-1" } }, @@ -888,8 +888,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-3" } }, @@ -901,8 +901,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-3" } }, @@ -914,8 +914,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-3" } }, @@ -927,8 +927,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-3" } }, @@ -940,8 +940,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-2" } }, @@ -953,8 +953,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-2" } }, @@ -966,8 +966,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-2" } }, @@ -979,8 +979,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-2" } }, @@ -992,8 +992,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-northeast-1" } }, @@ -1005,8 +1005,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-northeast-1" } }, @@ -1018,8 +1018,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-northeast-1" } }, @@ -1031,8 +1031,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-1" } }, @@ -1044,8 +1044,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "me-south-1" } }, @@ -1057,8 +1057,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "me-south-1" } }, @@ -1070,8 +1070,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "me-south-1" } }, @@ -1083,8 +1083,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "me-south-1" } }, @@ -1096,8 +1096,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "sa-east-1" } }, @@ -1109,8 +1109,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "sa-east-1" } }, @@ -1122,8 +1122,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "sa-east-1" } }, @@ -1135,8 +1135,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "sa-east-1" } }, @@ -1148,8 +1148,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-east-1" } }, @@ -1161,8 +1161,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-east-1" } }, @@ -1174,8 +1174,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-east-1" } }, @@ -1187,8 +1187,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-east-1" } }, @@ -1200,8 +1200,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "cn-north-1" } }, @@ -1213,8 +1213,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "cn-north-1" } }, @@ -1226,8 +1226,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "cn-north-1" } }, @@ -1239,8 +1239,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "cn-north-1" } }, @@ -1252,8 +1252,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-gov-west-1" } }, @@ -1265,8 +1265,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-gov-west-1" } }, @@ -1278,8 +1278,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-gov-west-1" } }, @@ -1291,8 +1291,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-gov-west-1" } }, @@ -1304,8 +1304,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-1" } }, @@ -1317,8 +1317,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-1" } }, @@ -1330,8 +1330,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-1" } }, @@ -1343,8 +1343,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-1" } }, @@ -1356,8 +1356,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-2" } }, @@ -1369,8 +1369,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-2" } }, @@ -1382,8 +1382,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-2" } }, @@ -1395,8 +1395,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-2" } }, @@ -1406,8 +1406,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-iso-east-1" } }, @@ -1419,8 +1419,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-iso-east-1" } }, @@ -1430,8 +1430,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-iso-east-1" } }, @@ -1443,8 +1443,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-iso-east-1" } }, @@ -1456,8 +1456,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-3" } }, @@ -1469,8 +1469,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-3" } }, @@ -1482,8 +1482,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-3" } }, @@ -1495,8 +1495,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-3" } }, @@ -1508,8 +1508,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "ap-southeast-4" } }, @@ -1521,8 +1521,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "ap-southeast-4" } }, @@ -1534,8 +1534,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-southeast-4" } }, @@ -1547,8 +1547,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-southeast-4" } }, @@ -1560,8 +1560,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-1" } }, @@ -1573,8 +1573,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1" } }, @@ -1586,8 +1586,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-1" } }, @@ -1599,8 +1599,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-1" } }, @@ -1612,8 +1612,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-2" } }, @@ -1625,8 +1625,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-2" } }, @@ -1638,8 +1638,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-2" } }, @@ -1651,8 +1651,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-2" } }, @@ -1664,8 +1664,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "cn-northwest-1" } }, @@ -1677,8 +1677,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "cn-northwest-1" } }, @@ -1690,8 +1690,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "cn-northwest-1" } }, @@ -1703,8 +1703,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "cn-northwest-1" } }, @@ -1714,8 +1714,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "UseDualStack": true, + "UseFIPS": true, "Region": "us-isob-east-1" } }, @@ -1727,8 +1727,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-isob-east-1" } }, @@ -1738,8 +1738,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-isob-east-1" } }, @@ -1751,8 +1751,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-isob-east-1" } }, @@ -1764,8 +1764,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -1776,8 +1776,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -1788,8 +1788,8 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-1", "Endpoint": "https://example.com" } diff --git a/models/apis/iottwinmaker/2021-11-29/api-2.json b/models/apis/iottwinmaker/2021-11-29/api-2.json index 92497a0f090..8497e84f202 100644 --- a/models/apis/iottwinmaker/2021-11-29/api-2.json +++ b/models/apis/iottwinmaker/2021-11-29/api-2.json @@ -1,1880 +1,3423 @@ { - "version":"2.0", - "metadata":{ - "apiVersion":"2021-11-29", - "endpointPrefix":"iottwinmaker", - "jsonVersion":"1.1", - "protocol":"rest-json", - "serviceFullName":"AWS IoT TwinMaker", - "serviceId":"IoTTwinMaker", - "signatureVersion":"v4", - "signingName":"iottwinmaker", - "uid":"iottwinmaker-2021-11-29" + "metadata": { + "apiVersion": "2021-11-29", + "endpointPrefix": "iottwinmaker", + "jsonVersion": "1.1", + "protocol": "rest-json", + "serviceFullName": "AWS IoT TwinMaker", + "serviceId": "IoTTwinMaker", + "signatureVersion": "v4", + "signingName": "iottwinmaker", + "uid": "iottwinmaker-2021-11-29" }, - "operations":{ - "BatchPutPropertyValues":{ - "name":"BatchPutPropertyValues", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/entity-properties", - "responseCode":200 - }, - "input":{"shape":"BatchPutPropertyValuesRequest"}, - "output":{"shape":"BatchPutPropertyValuesResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"data."} - }, - "CreateComponentType":{ - "name":"CreateComponentType", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}", - "responseCode":200 - }, - "input":{"shape":"CreateComponentTypeRequest"}, - "output":{"shape":"CreateComponentTypeResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "CreateEntity":{ - "name":"CreateEntity", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/entities", - "responseCode":200 - }, - "input":{"shape":"CreateEntityRequest"}, - "output":{"shape":"CreateEntityResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "CreateScene":{ - "name":"CreateScene", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/scenes", - "responseCode":200 - }, - "input":{"shape":"CreateSceneRequest"}, - "output":{"shape":"CreateSceneResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "CreateWorkspace":{ - "name":"CreateWorkspace", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}", - "responseCode":200 - }, - "input":{"shape":"CreateWorkspaceRequest"}, - "output":{"shape":"CreateWorkspaceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "DeleteComponentType":{ - "name":"DeleteComponentType", - "http":{ - "method":"DELETE", - "requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}", - "responseCode":200 - }, - "input":{"shape":"DeleteComponentTypeRequest"}, - "output":{"shape":"DeleteComponentTypeResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "DeleteEntity":{ - "name":"DeleteEntity", - "http":{ - "method":"DELETE", - "requestUri":"/workspaces/{workspaceId}/entities/{entityId}", - "responseCode":200 - }, - "input":{"shape":"DeleteEntityRequest"}, - "output":{"shape":"DeleteEntityResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "DeleteScene":{ - "name":"DeleteScene", - "http":{ - "method":"DELETE", - "requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}", - "responseCode":200 - }, - "input":{"shape":"DeleteSceneRequest"}, - "output":{"shape":"DeleteSceneResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "DeleteWorkspace":{ - "name":"DeleteWorkspace", - "http":{ - "method":"DELETE", - "requestUri":"/workspaces/{workspaceId}", - "responseCode":200 - }, - "input":{"shape":"DeleteWorkspaceRequest"}, - "output":{"shape":"DeleteWorkspaceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "GetComponentType":{ - "name":"GetComponentType", - "http":{ - "method":"GET", - "requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}", - "responseCode":200 - }, - "input":{"shape":"GetComponentTypeRequest"}, - "output":{"shape":"GetComponentTypeResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "GetEntity":{ - "name":"GetEntity", - "http":{ - "method":"GET", - "requestUri":"/workspaces/{workspaceId}/entities/{entityId}", - "responseCode":200 - }, - "input":{"shape":"GetEntityRequest"}, - "output":{"shape":"GetEntityResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "GetPropertyValue":{ - "name":"GetPropertyValue", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/entity-properties/value", - "responseCode":200 - }, - "input":{"shape":"GetPropertyValueRequest"}, - "output":{"shape":"GetPropertyValueResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ConnectorFailureException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ConnectorTimeoutException"} - ], - "endpoint":{"hostPrefix":"data."} - }, - "GetPropertyValueHistory":{ - "name":"GetPropertyValueHistory", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/entity-properties/history", - "responseCode":200 - }, - "input":{"shape":"GetPropertyValueHistoryRequest"}, - "output":{"shape":"GetPropertyValueHistoryResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ConnectorFailureException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ConnectorTimeoutException"} - ], - "endpoint":{"hostPrefix":"data."} - }, - "GetScene":{ - "name":"GetScene", - "http":{ - "method":"GET", - "requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}", - "responseCode":200 - }, - "input":{"shape":"GetSceneRequest"}, - "output":{"shape":"GetSceneResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "GetWorkspace":{ - "name":"GetWorkspace", - "http":{ - "method":"GET", - "requestUri":"/workspaces/{workspaceId}", - "responseCode":200 - }, - "input":{"shape":"GetWorkspaceRequest"}, - "output":{"shape":"GetWorkspaceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "ListComponentTypes":{ - "name":"ListComponentTypes", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/component-types-list", - "responseCode":200 - }, - "input":{"shape":"ListComponentTypesRequest"}, - "output":{"shape":"ListComponentTypesResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "ListEntities":{ - "name":"ListEntities", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/entities-list", - "responseCode":200 - }, - "input":{"shape":"ListEntitiesRequest"}, - "output":{"shape":"ListEntitiesResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "ListScenes":{ - "name":"ListScenes", - "http":{ - "method":"POST", - "requestUri":"/workspaces/{workspaceId}/scenes-list", - "responseCode":200 - }, - "input":{"shape":"ListScenesRequest"}, - "output":{"shape":"ListScenesResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"POST", - "requestUri":"/tags-list", - "responseCode":200 - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "ListWorkspaces":{ - "name":"ListWorkspaces", - "http":{ - "method":"POST", - "requestUri":"/workspaces-list", - "responseCode":200 - }, - "input":{"shape":"ListWorkspacesRequest"}, - "output":{"shape":"ListWorkspacesResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags", - "responseCode":200 - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"TooManyTagsException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags", - "responseCode":200 - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "UpdateComponentType":{ - "name":"UpdateComponentType", - "http":{ - "method":"PUT", - "requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}", - "responseCode":200 - }, - "input":{"shape":"UpdateComponentTypeRequest"}, - "output":{"shape":"UpdateComponentTypeResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "UpdateEntity":{ - "name":"UpdateEntity", - "http":{ - "method":"PUT", - "requestUri":"/workspaces/{workspaceId}/entities/{entityId}", - "responseCode":200 - }, - "input":{"shape":"UpdateEntityRequest"}, - "output":{"shape":"UpdateEntityResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "UpdateScene":{ - "name":"UpdateScene", - "http":{ - "method":"PUT", - "requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}", - "responseCode":200 - }, - "input":{"shape":"UpdateSceneRequest"}, - "output":{"shape":"UpdateSceneResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"} - ], - "endpoint":{"hostPrefix":"api."} - }, - "UpdateWorkspace":{ - "name":"UpdateWorkspace", - "http":{ - "method":"PUT", - "requestUri":"/workspaces/{workspaceId}", - "responseCode":200 - }, - "input":{"shape":"UpdateWorkspaceRequest"}, - "output":{"shape":"UpdateWorkspaceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "endpoint":{"hostPrefix":"api."} + "operations": { + "BatchPutPropertyValues": { + "endpoint": { + "hostPrefix": "data." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/entity-properties", + "responseCode": 200 + }, + "input": { + "shape": "BatchPutPropertyValuesRequest" + }, + "name": "BatchPutPropertyValues", + "output": { + "shape": "BatchPutPropertyValuesResponse" + } + }, + "CreateComponentType": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/component-types/{componentTypeId}", + "responseCode": 200 + }, + "input": { + "shape": "CreateComponentTypeRequest" + }, + "name": "CreateComponentType", + "output": { + "shape": "CreateComponentTypeResponse" + } + }, + "CreateEntity": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/entities", + "responseCode": 200 + }, + "input": { + "shape": "CreateEntityRequest" + }, + "name": "CreateEntity", + "output": { + "shape": "CreateEntityResponse" + } + }, + "CreateScene": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/scenes", + "responseCode": 200 + }, + "input": { + "shape": "CreateSceneRequest" + }, + "name": "CreateScene", + "output": { + "shape": "CreateSceneResponse" + } + }, + "CreateWorkspace": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}", + "responseCode": 200 + }, + "input": { + "shape": "CreateWorkspaceRequest" + }, + "name": "CreateWorkspace", + "output": { + "shape": "CreateWorkspaceResponse" + } + }, + "DeleteComponentType": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/workspaces/{workspaceId}/component-types/{componentTypeId}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteComponentTypeRequest" + }, + "name": "DeleteComponentType", + "output": { + "shape": "DeleteComponentTypeResponse" + } + }, + "DeleteEntity": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/workspaces/{workspaceId}/entities/{entityId}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteEntityRequest" + }, + "name": "DeleteEntity", + "output": { + "shape": "DeleteEntityResponse" + } + }, + "DeleteScene": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/workspaces/{workspaceId}/scenes/{sceneId}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteSceneRequest" + }, + "name": "DeleteScene", + "output": { + "shape": "DeleteSceneResponse" + } + }, + "DeleteWorkspace": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/workspaces/{workspaceId}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteWorkspaceRequest" + }, + "name": "DeleteWorkspace", + "output": { + "shape": "DeleteWorkspaceResponse" + } + }, + "ExecuteQuery": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "QueryTimeoutException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "POST", + "requestUri": "/queries/execution", + "responseCode": 200 + }, + "input": { + "shape": "ExecuteQueryRequest" + }, + "name": "ExecuteQuery", + "output": { + "shape": "ExecuteQueryResponse" + } + }, + "GetComponentType": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/workspaces/{workspaceId}/component-types/{componentTypeId}", + "responseCode": 200 + }, + "input": { + "shape": "GetComponentTypeRequest" + }, + "name": "GetComponentType", + "output": { + "shape": "GetComponentTypeResponse" + } + }, + "GetEntity": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "GET", + "requestUri": "/workspaces/{workspaceId}/entities/{entityId}", + "responseCode": 200 + }, + "input": { + "shape": "GetEntityRequest" + }, + "name": "GetEntity", + "output": { + "shape": "GetEntityResponse" + } + }, + "GetPricingPlan": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/pricingplan", + "responseCode": 200 + }, + "input": { + "shape": "GetPricingPlanRequest" + }, + "name": "GetPricingPlan", + "output": { + "shape": "GetPricingPlanResponse" + } + }, + "GetPropertyValue": { + "endpoint": { + "hostPrefix": "data." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ConnectorFailureException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConnectorTimeoutException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/entity-properties/value", + "responseCode": 200 + }, + "input": { + "shape": "GetPropertyValueRequest" + }, + "name": "GetPropertyValue", + "output": { + "shape": "GetPropertyValueResponse" + } + }, + "GetPropertyValueHistory": { + "endpoint": { + "hostPrefix": "data." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ConnectorFailureException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConnectorTimeoutException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/entity-properties/history", + "responseCode": 200 + }, + "input": { + "shape": "GetPropertyValueHistoryRequest" + }, + "name": "GetPropertyValueHistory", + "output": { + "shape": "GetPropertyValueHistoryResponse" + } + }, + "GetScene": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/workspaces/{workspaceId}/scenes/{sceneId}", + "responseCode": 200 + }, + "input": { + "shape": "GetSceneRequest" + }, + "name": "GetScene", + "output": { + "shape": "GetSceneResponse" + } + }, + "GetWorkspace": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "GET", + "requestUri": "/workspaces/{workspaceId}", + "responseCode": 200 + }, + "input": { + "shape": "GetWorkspaceRequest" + }, + "name": "GetWorkspace", + "output": { + "shape": "GetWorkspaceResponse" + } + }, + "ListComponentTypes": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/component-types-list", + "responseCode": 200 + }, + "input": { + "shape": "ListComponentTypesRequest" + }, + "name": "ListComponentTypes", + "output": { + "shape": "ListComponentTypesResponse" + } + }, + "ListEntities": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/entities-list", + "responseCode": 200 + }, + "input": { + "shape": "ListEntitiesRequest" + }, + "name": "ListEntities", + "output": { + "shape": "ListEntitiesResponse" + } + }, + "ListScenes": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces/{workspaceId}/scenes-list", + "responseCode": 200 + }, + "input": { + "shape": "ListScenesRequest" + }, + "name": "ListScenes", + "output": { + "shape": "ListScenesResponse" + } + }, + "ListTagsForResource": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "http": { + "method": "POST", + "requestUri": "/tags-list", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsForResourceRequest" + }, + "name": "ListTagsForResource", + "output": { + "shape": "ListTagsForResourceResponse" + } + }, + "ListWorkspaces": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "POST", + "requestUri": "/workspaces-list", + "responseCode": 200 + }, + "input": { + "shape": "ListWorkspacesRequest" + }, + "name": "ListWorkspaces", + "output": { + "shape": "ListWorkspacesResponse" + } + }, + "TagResource": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "TooManyTagsException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "http": { + "method": "POST", + "requestUri": "/tags", + "responseCode": 200 + }, + "input": { + "shape": "TagResourceRequest" + }, + "name": "TagResource", + "output": { + "shape": "TagResourceResponse" + } + }, + "UntagResource": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/tags", + "responseCode": 200 + }, + "input": { + "shape": "UntagResourceRequest" + }, + "name": "UntagResource", + "output": { + "shape": "UntagResourceResponse" + } + }, + "UpdateComponentType": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "PUT", + "requestUri": "/workspaces/{workspaceId}/component-types/{componentTypeId}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateComponentTypeRequest" + }, + "name": "UpdateComponentType", + "output": { + "shape": "UpdateComponentTypeResponse" + } + }, + "UpdateEntity": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "PUT", + "requestUri": "/workspaces/{workspaceId}/entities/{entityId}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateEntityRequest" + }, + "name": "UpdateEntity", + "output": { + "shape": "UpdateEntityResponse" + } + }, + "UpdatePricingPlan": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/pricingplan", + "responseCode": 200 + }, + "input": { + "shape": "UpdatePricingPlanRequest" + }, + "name": "UpdatePricingPlan", + "output": { + "shape": "UpdatePricingPlanResponse" + } + }, + "UpdateScene": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "PUT", + "requestUri": "/workspaces/{workspaceId}/scenes/{sceneId}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateSceneRequest" + }, + "name": "UpdateScene", + "output": { + "shape": "UpdateSceneResponse" + } + }, + "UpdateWorkspace": { + "endpoint": { + "hostPrefix": "api." + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "http": { + "method": "PUT", + "requestUri": "/workspaces/{workspaceId}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateWorkspaceRequest" + }, + "name": "UpdateWorkspace", + "output": { + "shape": "UpdateWorkspaceResponse" + } } }, - "shapes":{ - "AccessDeniedException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} - }, - "error":{ - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - "BatchPutPropertyError":{ - "type":"structure", - "required":[ - "entry", + "shapes": { + "AccessDeniedException": { + "error": { + "httpStatusCode": 403, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" + }, + "BatchPutPropertyError": { + "members": { + "entry": { + "shape": "PropertyValueEntry" + }, + "errorCode": { + "shape": "String" + }, + "errorMessage": { + "shape": "String" + } + }, + "required": [ "errorCode", - "errorMessage" + "errorMessage", + "entry" + ], + "type": "structure" + }, + "BatchPutPropertyErrorEntry": { + "members": { + "errors": { + "shape": "Errors" + } + }, + "required": [ + "errors" + ], + "type": "structure" + }, + "BatchPutPropertyValuesRequest": { + "members": { + "entries": { + "shape": "Entries" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "entries" + ], + "type": "structure" + }, + "BatchPutPropertyValuesResponse": { + "members": { + "errorEntries": { + "shape": "ErrorEntries" + } + }, + "required": [ + "errorEntries" + ], + "type": "structure" + }, + "Boolean": { + "box": true, + "type": "boolean" + }, + "BundleInformation": { + "members": { + "bundleNames": { + "shape": "PricingBundles" + }, + "pricingTier": { + "shape": "PricingTier" + } + }, + "required": [ + "bundleNames" + ], + "type": "structure" + }, + "BundleName": { + "max": 256, + "min": 1, + "pattern": ".*", + "type": "string" + }, + "ColumnDescription": { + "members": { + "name": { + "shape": "ColumnName" + }, + "type": { + "shape": "ColumnType" + } + }, + "type": "structure" + }, + "ColumnDescriptions": { + "member": { + "shape": "ColumnDescription" + }, + "type": "list" + }, + "ColumnName": { + "pattern": ".*", + "type": "string" + }, + "ColumnType": { + "enum": [ + "NODE", + "EDGE", + "VALUE" + ], + "type": "string" + }, + "ComponentPropertyGroupRequest": { + "members": { + "groupType": { + "shape": "GroupType" + }, + "propertyNames": { + "shape": "PropertyNames" + }, + "updateType": { + "shape": "PropertyGroupUpdateType" + } + }, + "type": "structure" + }, + "ComponentPropertyGroupRequests": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "ComponentPropertyGroupRequest" + } + }, + "ComponentPropertyGroupResponse": { + "members": { + "groupType": { + "shape": "GroupType" + }, + "isInherited": { + "shape": "Boolean" + }, + "propertyNames": { + "shape": "PropertyNames" + } + }, + "required": [ + "groupType", + "propertyNames", + "isInherited" + ], + "type": "structure" + }, + "ComponentPropertyGroupResponses": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "ComponentPropertyGroupResponse" + } + }, + "ComponentRequest": { + "members": { + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "description": { + "shape": "Description" + }, + "properties": { + "shape": "PropertyRequests" + }, + "propertyGroups": { + "shape": "ComponentPropertyGroupRequests" + } + }, + "type": "structure" + }, + "ComponentResponse": { + "members": { + "componentName": { + "shape": "Name" + }, + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "definedIn": { + "shape": "String" + }, + "description": { + "shape": "Description" + }, + "properties": { + "shape": "PropertyResponses" + }, + "propertyGroups": { + "shape": "ComponentPropertyGroupResponses" + }, + "status": { + "shape": "Status" + } + }, + "type": "structure" + }, + "ComponentTypeId": { + "max": 256, + "min": 1, + "pattern": "[a-zA-Z_\\.\\-0-9:]+", + "type": "string" + }, + "ComponentTypeSummaries": { + "member": { + "shape": "ComponentTypeSummary" + }, + "type": "list" + }, + "ComponentTypeSummary": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "status": { + "shape": "Status" + }, + "updateDateTime": { + "shape": "Timestamp" + } + }, + "required": [ + "arn", + "componentTypeId", + "creationDateTime", + "updateDateTime" + ], + "type": "structure" + }, + "ComponentUpdateRequest": { + "members": { + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "description": { + "shape": "Description" + }, + "propertyGroupUpdates": { + "shape": "ComponentPropertyGroupRequests" + }, + "propertyUpdates": { + "shape": "PropertyRequests" + }, + "updateType": { + "shape": "ComponentUpdateType" + } + }, + "type": "structure" + }, + "ComponentUpdateType": { + "enum": [ + "CREATE", + "UPDATE", + "DELETE" + ], + "type": "string" + }, + "ComponentUpdatesMapRequest": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "ComponentUpdateRequest" + } + }, + "ComponentsMap": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "ComponentResponse" + } + }, + "ComponentsMapRequest": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "ComponentRequest" + } + }, + "Configuration": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "Value" + } + }, + "ConflictException": { + "error": { + "httpStatusCode": 409, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" + }, + "ConnectorFailureException": { + "error": { + "httpStatusCode": 424, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" + }, + "ConnectorTimeoutException": { + "error": { + "httpStatusCode": 424, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" + }, + "CreateComponentTypeRequest": { + "members": { + "componentTypeId": { + "location": "uri", + "locationName": "componentTypeId", + "shape": "ComponentTypeId" + }, + "description": { + "shape": "Description" + }, + "extendsFrom": { + "shape": "ExtendsFrom" + }, + "functions": { + "shape": "FunctionsRequest" + }, + "isSingleton": { + "shape": "Boolean" + }, + "propertyDefinitions": { + "shape": "PropertyDefinitionsRequest" + }, + "propertyGroups": { + "shape": "PropertyGroupsRequest" + }, + "tags": { + "shape": "TagMap" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "componentTypeId" ], - "members":{ - "entry":{"shape":"PropertyValueEntry"}, - "errorCode":{"shape":"String"}, - "errorMessage":{"shape":"String"} - } + "type": "structure" }, - "BatchPutPropertyErrorEntry":{ - "type":"structure", - "required":["errors"], - "members":{ - "errors":{"shape":"Errors"} - } + "CreateComponentTypeResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "state": { + "shape": "State" + } + }, + "required": [ + "arn", + "creationDateTime", + "state" + ], + "type": "structure" + }, + "CreateEntityRequest": { + "members": { + "components": { + "shape": "ComponentsMapRequest" + }, + "description": { + "shape": "Description" + }, + "entityId": { + "shape": "EntityId" + }, + "entityName": { + "shape": "EntityName" + }, + "parentEntityId": { + "shape": "ParentEntityId" + }, + "tags": { + "shape": "TagMap" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "entityName" + ], + "type": "structure" + }, + "CreateEntityResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "entityId": { + "shape": "EntityId" + }, + "state": { + "shape": "State" + } + }, + "required": [ + "entityId", + "arn", + "creationDateTime", + "state" + ], + "type": "structure" + }, + "CreateSceneRequest": { + "members": { + "capabilities": { + "shape": "SceneCapabilities" + }, + "contentLocation": { + "shape": "S3Url" + }, + "description": { + "shape": "Description" + }, + "sceneId": { + "shape": "Id" + }, + "tags": { + "shape": "TagMap" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "sceneId", + "contentLocation" + ], + "type": "structure" + }, + "CreateSceneResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "creationDateTime": { + "shape": "Timestamp" + } + }, + "required": [ + "arn", + "creationDateTime" + ], + "type": "structure" + }, + "CreateWorkspaceRequest": { + "members": { + "description": { + "shape": "Description" + }, + "role": { + "shape": "RoleArn" + }, + "s3Location": { + "shape": "S3Location" + }, + "tags": { + "shape": "TagMap" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "s3Location", + "role" + ], + "type": "structure" + }, + "CreateWorkspaceResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "creationDateTime": { + "shape": "Timestamp" + } + }, + "required": [ + "arn", + "creationDateTime" + ], + "type": "structure" + }, + "DataConnector": { + "members": { + "isNative": { + "shape": "Boolean" + }, + "lambda": { + "shape": "LambdaFunction" + } + }, + "type": "structure" + }, + "DataType": { + "members": { + "allowedValues": { + "shape": "DataValueList" + }, + "nestedType": { + "shape": "DataType" + }, + "relationship": { + "shape": "Relationship" + }, + "type": { + "shape": "Type" + }, + "unitOfMeasure": { + "shape": "String" + } + }, + "required": [ + "type" + ], + "type": "structure" + }, + "DataValue": { + "members": { + "booleanValue": { + "shape": "Boolean" + }, + "doubleValue": { + "shape": "Double" + }, + "expression": { + "shape": "Expression" + }, + "integerValue": { + "shape": "Integer" + }, + "listValue": { + "shape": "DataValueList" + }, + "longValue": { + "shape": "Long" + }, + "mapValue": { + "shape": "DataValueMap" + }, + "relationshipValue": { + "shape": "RelationshipValue" + }, + "stringValue": { + "shape": "String" + } + }, + "type": "structure" + }, + "DataValueList": { + "max": 50, + "member": { + "shape": "DataValue" + }, + "min": 0, + "type": "list" + }, + "DataValueMap": { + "key": { + "shape": "String" + }, + "max": 50, + "min": 0, + "type": "map", + "value": { + "shape": "DataValue" + } + }, + "DeleteComponentTypeRequest": { + "members": { + "componentTypeId": { + "location": "uri", + "locationName": "componentTypeId", + "shape": "ComponentTypeId" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "componentTypeId" + ], + "type": "structure" + }, + "DeleteComponentTypeResponse": { + "members": { + "state": { + "shape": "State" + } + }, + "required": [ + "state" + ], + "type": "structure" + }, + "DeleteEntityRequest": { + "members": { + "entityId": { + "location": "uri", + "locationName": "entityId", + "shape": "EntityId" + }, + "isRecursive": { + "location": "querystring", + "locationName": "isRecursive", + "shape": "Boolean" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "entityId" + ], + "type": "structure" }, - "BatchPutPropertyValuesRequest":{ - "type":"structure", - "required":[ - "entries", + "DeleteEntityResponse": { + "members": { + "state": { + "shape": "State" + } + }, + "required": [ + "state" + ], + "type": "structure" + }, + "DeleteSceneRequest": { + "members": { + "sceneId": { + "location": "uri", + "locationName": "sceneId", + "shape": "Id" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "sceneId" + ], + "type": "structure" + }, + "DeleteSceneResponse": { + "members": {}, + "type": "structure" + }, + "DeleteWorkspaceRequest": { + "members": { + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ "workspaceId" ], - "members":{ - "entries":{"shape":"Entries"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "type": "structure" + }, + "DeleteWorkspaceResponse": { + "members": {}, + "type": "structure" + }, + "Description": { + "max": 512, + "min": 0, + "pattern": ".*", + "type": "string" + }, + "Double": { + "box": true, + "type": "double" + }, + "EntityId": { + "max": 128, + "min": 1, + "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|^[a-zA-Z0-9][a-zA-Z_\\-0-9.:]*[a-zA-Z0-9]+", + "type": "string" + }, + "EntityName": { + "max": 256, + "min": 1, + "pattern": "[a-zA-Z_0-9-.][a-zA-Z_0-9-. ]*[a-zA-Z0-9]+", + "type": "string" + }, + "EntityPropertyReference": { + "members": { + "componentName": { + "shape": "Name" + }, + "entityId": { + "shape": "EntityId" + }, + "externalIdProperty": { + "shape": "ExternalIdProperty" + }, + "propertyName": { + "shape": "Name" } - } + }, + "required": [ + "propertyName" + ], + "type": "structure" + }, + "EntitySummaries": { + "member": { + "shape": "EntitySummary" + }, + "type": "list" + }, + "EntitySummary": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "entityId": { + "shape": "EntityId" + }, + "entityName": { + "shape": "EntityName" + }, + "hasChildEntities": { + "shape": "Boolean" + }, + "parentEntityId": { + "shape": "ParentEntityId" + }, + "status": { + "shape": "Status" + }, + "updateDateTime": { + "shape": "Timestamp" + } + }, + "required": [ + "entityId", + "entityName", + "arn", + "status", + "creationDateTime", + "updateDateTime" + ], + "type": "structure" + }, + "Entries": { + "max": 10, + "member": { + "shape": "PropertyValueEntry" + }, + "min": 1, + "type": "list" + }, + "ErrorCode": { + "enum": [ + "VALIDATION_ERROR", + "INTERNAL_FAILURE" + ], + "type": "string" + }, + "ErrorDetails": { + "members": { + "code": { + "shape": "ErrorCode" + }, + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" + }, + "ErrorEntries": { + "max": 10, + "member": { + "shape": "BatchPutPropertyErrorEntry" + }, + "min": 1, + "type": "list" + }, + "ErrorMessage": { + "max": 2048, + "min": 0, + "type": "string" + }, + "Errors": { + "max": 10, + "member": { + "shape": "BatchPutPropertyError" + }, + "min": 1, + "type": "list" + }, + "ExceptionMessage": { + "type": "string" + }, + "ExecuteQueryRequest": { + "members": { + "maxResults": { + "shape": "QueryServiceMaxResults" + }, + "nextToken": { + "shape": "NextToken" + }, + "queryStatement": { + "shape": "QueryStatement" + }, + "workspaceId": { + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "queryStatement" + ], + "type": "structure" + }, + "ExecuteQueryResponse": { + "members": { + "columnDescriptions": { + "shape": "ColumnDescriptions" + }, + "nextToken": { + "shape": "NextToken" + }, + "rows": { + "shape": "Rows" + } + }, + "type": "structure" + }, + "Expression": { + "max": 316, + "min": 1, + "pattern": "(^\\$\\{Parameters\\.[a-zA-z]+([a-zA-z_0-9]*)}$)", + "type": "string" }, - "BatchPutPropertyValuesResponse":{ - "type":"structure", - "required":["errorEntries"], - "members":{ - "errorEntries":{"shape":"ErrorEntries"} + "ExtendsFrom": { + "member": { + "shape": "ComponentTypeId" + }, + "type": "list" + }, + "ExternalIdProperty": { + "key": { + "shape": "String" + }, + "type": "map", + "value": { + "shape": "String" } }, - "Boolean":{ - "type":"boolean", - "box":true + "FunctionRequest": { + "members": { + "implementedBy": { + "shape": "DataConnector" + }, + "requiredProperties": { + "shape": "RequiredProperties" + }, + "scope": { + "shape": "Scope" + } + }, + "type": "structure" + }, + "FunctionResponse": { + "members": { + "implementedBy": { + "shape": "DataConnector" + }, + "isInherited": { + "shape": "Boolean" + }, + "requiredProperties": { + "shape": "RequiredProperties" + }, + "scope": { + "shape": "Scope" + } + }, + "type": "structure" }, - "ComponentRequest":{ - "type":"structure", - "members":{ - "componentTypeId":{"shape":"ComponentTypeId"}, - "description":{"shape":"Description"}, - "properties":{"shape":"PropertyRequests"} + "FunctionsRequest": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "FunctionRequest" } }, - "ComponentResponse":{ - "type":"structure", - "members":{ - "componentName":{"shape":"Name"}, - "componentTypeId":{"shape":"ComponentTypeId"}, - "definedIn":{"shape":"String"}, - "description":{"shape":"Description"}, - "properties":{"shape":"PropertyResponses"}, - "status":{"shape":"Status"} + "FunctionsResponse": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "FunctionResponse" } }, - "ComponentTypeId":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[a-zA-Z_\\.\\-0-9:]+" + "GetComponentTypeRequest": { + "members": { + "componentTypeId": { + "location": "uri", + "locationName": "componentTypeId", + "shape": "ComponentTypeId" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "componentTypeId" + ], + "type": "structure" }, - "ComponentTypeSummaries":{ - "type":"list", - "member":{"shape":"ComponentTypeSummary"} + "GetComponentTypeResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "extendsFrom": { + "shape": "ExtendsFrom" + }, + "functions": { + "shape": "FunctionsResponse" + }, + "isAbstract": { + "shape": "Boolean" + }, + "isSchemaInitialized": { + "shape": "Boolean" + }, + "isSingleton": { + "shape": "Boolean" + }, + "propertyDefinitions": { + "shape": "PropertyDefinitionsResponse" + }, + "propertyGroups": { + "shape": "PropertyGroupsResponse" + }, + "status": { + "shape": "Status" + }, + "updateDateTime": { + "shape": "Timestamp" + }, + "workspaceId": { + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "componentTypeId", + "creationDateTime", + "updateDateTime", + "arn" + ], + "type": "structure" + }, + "GetEntityRequest": { + "members": { + "entityId": { + "location": "uri", + "locationName": "entityId", + "shape": "EntityId" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "entityId" + ], + "type": "structure" }, - "ComponentTypeSummary":{ - "type":"structure", - "required":[ + "GetEntityResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "components": { + "shape": "ComponentsMap" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "entityId": { + "shape": "EntityId" + }, + "entityName": { + "shape": "EntityName" + }, + "hasChildEntities": { + "shape": "Boolean" + }, + "parentEntityId": { + "shape": "ParentEntityId" + }, + "status": { + "shape": "Status" + }, + "updateDateTime": { + "shape": "Timestamp" + }, + "workspaceId": { + "shape": "Id" + } + }, + "required": [ + "entityId", + "entityName", "arn", - "componentTypeId", + "status", + "workspaceId", + "parentEntityId", + "hasChildEntities", "creationDateTime", "updateDateTime" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "componentTypeId":{"shape":"ComponentTypeId"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "status":{"shape":"Status"}, - "updateDateTime":{"shape":"Timestamp"} - } - }, - "ComponentUpdateRequest":{ - "type":"structure", - "members":{ - "componentTypeId":{"shape":"ComponentTypeId"}, - "description":{"shape":"Description"}, - "propertyUpdates":{"shape":"PropertyRequests"}, - "updateType":{"shape":"ComponentUpdateType"} - } - }, - "ComponentUpdateType":{ - "type":"string", - "enum":[ - "CREATE", - "UPDATE", - "DELETE" - ] - }, - "ComponentUpdatesMapRequest":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"ComponentUpdateRequest"} - }, - "ComponentsMap":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"ComponentResponse"} + "type": "structure" + }, + "GetPricingPlanRequest": { + "members": {}, + "type": "structure" + }, + "GetPricingPlanResponse": { + "members": { + "currentPricingPlan": { + "shape": "PricingPlan" + }, + "pendingPricingPlan": { + "shape": "PricingPlan" + } + }, + "required": [ + "currentPricingPlan" + ], + "type": "structure" + }, + "GetPropertyValueHistoryRequest": { + "members": { + "componentName": { + "shape": "Name" + }, + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "endDateTime": { + "deprecated": true, + "deprecatedMessage": "This field is deprecated and will throw an error in the future. Use endTime instead.", + "shape": "Timestamp" + }, + "endTime": { + "shape": "Time" + }, + "entityId": { + "shape": "EntityId" + }, + "interpolation": { + "shape": "InterpolationParameters" + }, + "maxResults": { + "shape": "MaxResults" + }, + "nextToken": { + "shape": "NextToken" + }, + "orderByTime": { + "shape": "OrderByTime" + }, + "propertyFilters": { + "shape": "PropertyFilters" + }, + "selectedProperties": { + "shape": "SelectedPropertyList" + }, + "startDateTime": { + "deprecated": true, + "deprecatedMessage": "This field is deprecated and will throw an error in the future. Use startTime instead.", + "shape": "Timestamp" + }, + "startTime": { + "shape": "Time" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "selectedProperties" + ], + "type": "structure" }, - "ComponentsMapRequest":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"ComponentRequest"} - }, - "Configuration":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"Value"} - }, - "ConflictException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} - }, - "error":{ - "httpStatusCode":409, - "senderFault":true + "GetPropertyValueHistoryResponse": { + "members": { + "nextToken": { + "shape": "NextToken" + }, + "propertyValues": { + "shape": "PropertyValueList" + } }, - "exception":true + "required": [ + "propertyValues" + ], + "type": "structure" }, - "ConnectorFailureException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} - }, - "error":{ - "httpStatusCode":424, - "senderFault":true + "GetPropertyValueRequest": { + "members": { + "componentName": { + "shape": "Name" + }, + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "entityId": { + "shape": "EntityId" + }, + "maxResults": { + "shape": "MaxResults" + }, + "nextToken": { + "shape": "NextToken" + }, + "propertyGroupName": { + "shape": "Name" + }, + "selectedProperties": { + "shape": "SelectedPropertyList" + }, + "tabularConditions": { + "shape": "TabularConditions" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } }, - "exception":true + "required": [ + "selectedProperties", + "workspaceId" + ], + "type": "structure" }, - "ConnectorTimeoutException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "GetPropertyValueResponse": { + "members": { + "nextToken": { + "shape": "NextToken" + }, + "propertyValues": { + "shape": "PropertyLatestValueMap" + }, + "tabularPropertyValues": { + "shape": "TabularPropertyValues" + } }, - "error":{ - "httpStatusCode":424, - "senderFault":true + "type": "structure" + }, + "GetSceneRequest": { + "members": { + "sceneId": { + "location": "uri", + "locationName": "sceneId", + "shape": "Id" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } }, - "exception":true - }, - "CreateComponentTypeRequest":{ - "type":"structure", - "required":[ - "componentTypeId", - "workspaceId" + "required": [ + "workspaceId", + "sceneId" ], - "members":{ - "componentTypeId":{ - "shape":"ComponentTypeId", - "location":"uri", - "locationName":"componentTypeId" - }, - "description":{"shape":"Description"}, - "extendsFrom":{"shape":"ExtendsFrom"}, - "functions":{"shape":"FunctionsRequest"}, - "isSingleton":{"shape":"Boolean"}, - "propertyDefinitions":{"shape":"PropertyDefinitionsRequest"}, - "tags":{"shape":"TagMap"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" - } - } + "type": "structure" }, - "CreateComponentTypeResponse":{ - "type":"structure", - "required":[ + "GetSceneResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "capabilities": { + "shape": "SceneCapabilities" + }, + "contentLocation": { + "shape": "S3Url" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "sceneId": { + "shape": "Id" + }, + "updateDateTime": { + "shape": "Timestamp" + }, + "workspaceId": { + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "sceneId", + "contentLocation", "arn", "creationDateTime", - "state" + "updateDateTime" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "creationDateTime":{"shape":"Timestamp"}, - "state":{"shape":"State"} - } - }, - "CreateEntityRequest":{ - "type":"structure", - "required":[ - "entityName", + "type": "structure" + }, + "GetWorkspaceRequest": { + "members": { + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "IdOrArn" + } + }, + "required": [ "workspaceId" ], - "members":{ - "components":{"shape":"ComponentsMapRequest"}, - "description":{"shape":"Description"}, - "entityId":{"shape":"EntityId"}, - "entityName":{"shape":"EntityName"}, - "parentEntityId":{"shape":"ParentEntityId"}, - "tags":{"shape":"TagMap"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" - } - } + "type": "structure" }, - "CreateEntityResponse":{ - "type":"structure", - "required":[ + "GetWorkspaceResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "role": { + "shape": "RoleArn" + }, + "s3Location": { + "shape": "S3Location" + }, + "updateDateTime": { + "shape": "Timestamp" + }, + "workspaceId": { + "shape": "Id" + } + }, + "required": [ + "workspaceId", "arn", + "s3Location", + "role", "creationDateTime", - "entityId", - "state" + "updateDateTime" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "creationDateTime":{"shape":"Timestamp"}, - "entityId":{"shape":"EntityId"}, - "state":{"shape":"State"} - } + "type": "structure" }, - "CreateSceneRequest":{ - "type":"structure", - "required":[ - "contentLocation", - "sceneId", - "workspaceId" + "GroupType": { + "enum": [ + "TABULAR" ], - "members":{ - "capabilities":{"shape":"SceneCapabilities"}, - "contentLocation":{"shape":"S3Url"}, - "description":{"shape":"Description"}, - "sceneId":{"shape":"Id"}, - "tags":{"shape":"TagMap"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "type": "string" + }, + "Id": { + "max": 128, + "min": 1, + "pattern": "[a-zA-Z_0-9][a-zA-Z_\\-0-9]*[a-zA-Z0-9]+", + "type": "string" + }, + "IdOrArn": { + "max": 2048, + "min": 1, + "pattern": "[a-zA-Z_0-9][a-zA-Z_\\-0-9]*[a-zA-Z0-9]+$|^arn:((aws)|(aws-cn)|(aws-us-gov)):iottwinmaker:[a-z0-9-]+:[0-9]{12}:[\\/a-zA-Z0-9_-]+", + "type": "string" + }, + "Integer": { + "box": true, + "type": "integer" + }, + "InternalServerException": { + "error": { + "httpStatusCode": 500 + }, + "exception": true, + "fault": true, + "members": { + "message": { + "shape": "ErrorMessage" } - } + }, + "type": "structure" }, - "CreateSceneResponse":{ - "type":"structure", - "required":[ - "arn", - "creationDateTime" - ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "creationDateTime":{"shape":"Timestamp"} - } + "InterpolationParameters": { + "members": { + "interpolationType": { + "shape": "InterpolationType" + }, + "intervalInSeconds": { + "shape": "IntervalInSeconds" + } + }, + "type": "structure" }, - "CreateWorkspaceRequest":{ - "type":"structure", - "required":[ - "role", - "s3Location", - "workspaceId" + "InterpolationType": { + "enum": [ + "LINEAR" ], - "members":{ - "description":{"shape":"Description"}, - "role":{"shape":"RoleArn"}, - "s3Location":{"shape":"S3Location"}, - "tags":{"shape":"TagMap"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "type": "string" + }, + "IntervalInSeconds": { + "box": true, + "type": "long" + }, + "LambdaArn": { + "max": 2048, + "min": 20, + "pattern": "arn:((aws)|(aws-cn)|(aws-us-gov)):lambda:[a-z0-9-]+:[0-9]{12}:function:[\\/a-zA-Z0-9_-]+", + "type": "string" + }, + "LambdaFunction": { + "members": { + "arn": { + "shape": "LambdaArn" } - } - }, - "CreateWorkspaceResponse":{ - "type":"structure", - "required":[ - "arn", - "creationDateTime" + }, + "required": [ + "arn" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "creationDateTime":{"shape":"Timestamp"} - } - }, - "DataConnector":{ - "type":"structure", - "members":{ - "isNative":{"shape":"Boolean"}, - "lambda":{"shape":"LambdaFunction"} - } + "type": "structure" }, - "DataType":{ - "type":"structure", - "required":["type"], - "members":{ - "allowedValues":{"shape":"DataValueList"}, - "nestedType":{"shape":"DataType"}, - "relationship":{"shape":"Relationship"}, - "type":{"shape":"Type"}, - "unitOfMeasure":{"shape":"String"} - } + "ListComponentTypesFilter": { + "members": { + "extendsFrom": { + "shape": "ComponentTypeId" + }, + "isAbstract": { + "shape": "Boolean" + }, + "namespace": { + "shape": "String" + } + }, + "type": "structure", + "union": true }, - "DataValue":{ - "type":"structure", - "members":{ - "booleanValue":{"shape":"Boolean"}, - "doubleValue":{"shape":"Double"}, - "expression":{"shape":"Expression"}, - "integerValue":{"shape":"Integer"}, - "listValue":{"shape":"DataValueList"}, - "longValue":{"shape":"Long"}, - "mapValue":{"shape":"DataValueMap"}, - "relationshipValue":{"shape":"RelationshipValue"}, - "stringValue":{"shape":"String"} - } + "ListComponentTypesFilters": { + "member": { + "shape": "ListComponentTypesFilter" + }, + "type": "list" }, - "DataValueList":{ - "type":"list", - "member":{"shape":"DataValue"}, - "max":50, - "min":0 - }, - "DataValueMap":{ - "type":"map", - "key":{"shape":"String"}, - "value":{"shape":"DataValue"}, - "max":50, - "min":0 - }, - "DeleteComponentTypeRequest":{ - "type":"structure", - "required":[ - "componentTypeId", + "ListComponentTypesRequest": { + "members": { + "filters": { + "shape": "ListComponentTypesFilters" + }, + "maxResults": { + "shape": "MaxResults" + }, + "nextToken": { + "shape": "NextToken" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ "workspaceId" ], - "members":{ - "componentTypeId":{ - "shape":"ComponentTypeId", - "location":"uri", - "locationName":"componentTypeId" + "type": "structure" + }, + "ListComponentTypesResponse": { + "members": { + "componentTypeSummaries": { + "shape": "ComponentTypeSummaries" + }, + "maxResults": { + "shape": "MaxResults" }, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "nextToken": { + "shape": "NextToken" + }, + "workspaceId": { + "shape": "Id" } - } - }, - "DeleteComponentTypeResponse":{ - "type":"structure", - "required":["state"], - "members":{ - "state":{"shape":"State"} - } - }, - "DeleteEntityRequest":{ - "type":"structure", - "required":[ - "entityId", - "workspaceId" + }, + "required": [ + "workspaceId", + "componentTypeSummaries" ], - "members":{ - "entityId":{ - "shape":"EntityId", - "location":"uri", - "locationName":"entityId" + "type": "structure" + }, + "ListEntitiesFilter": { + "members": { + "componentTypeId": { + "shape": "ComponentTypeId" }, - "isRecursive":{ - "shape":"Boolean", - "location":"querystring", - "locationName":"isRecursive" + "externalId": { + "shape": "String" }, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "parentEntityId": { + "shape": "ParentEntityId" } - } + }, + "type": "structure", + "union": true }, - "DeleteEntityResponse":{ - "type":"structure", - "required":["state"], - "members":{ - "state":{"shape":"State"} - } + "ListEntitiesFilters": { + "member": { + "shape": "ListEntitiesFilter" + }, + "type": "list" }, - "DeleteSceneRequest":{ - "type":"structure", - "required":[ - "sceneId", + "ListEntitiesRequest": { + "members": { + "filters": { + "shape": "ListEntitiesFilters" + }, + "maxResults": { + "shape": "MaxResults" + }, + "nextToken": { + "shape": "NextToken" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ "workspaceId" ], - "members":{ - "sceneId":{ - "shape":"Id", - "location":"uri", - "locationName":"sceneId" + "type": "structure" + }, + "ListEntitiesResponse": { + "members": { + "entitySummaries": { + "shape": "EntitySummaries" }, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "nextToken": { + "shape": "NextToken" } - } - }, - "DeleteSceneResponse":{ - "type":"structure", - "members":{ - } + }, + "type": "structure" }, - "DeleteWorkspaceRequest":{ - "type":"structure", - "required":["workspaceId"], - "members":{ - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "ListScenesRequest": { + "members": { + "maxResults": { + "shape": "MaxResults" + }, + "nextToken": { + "shape": "NextToken" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" } - } - }, - "DeleteWorkspaceResponse":{ - "type":"structure", - "members":{ - } - }, - "Description":{ - "type":"string", - "max":512, - "min":0, - "pattern":".*" - }, - "Double":{ - "type":"double", - "box":true - }, - "EntityId":{ - "type":"string", - "max":128, - "min":1, - "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|^[a-zA-Z0-9][a-zA-Z_\\-0-9.:]*[a-zA-Z0-9]+" - }, - "EntityName":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[a-zA-Z_0-9-.][a-zA-Z_0-9-. ]*[a-zA-Z0-9]+" - }, - "EntityPropertyReference":{ - "type":"structure", - "required":["propertyName"], - "members":{ - "componentName":{"shape":"Name"}, - "entityId":{"shape":"EntityId"}, - "externalIdProperty":{"shape":"ExternalIdProperty"}, - "propertyName":{"shape":"Name"} - } - }, - "EntitySummaries":{ - "type":"list", - "member":{"shape":"EntitySummary"} - }, - "EntitySummary":{ - "type":"structure", - "required":[ - "arn", - "creationDateTime", - "entityId", - "entityName", - "status", - "updateDateTime" + }, + "required": [ + "workspaceId" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "entityId":{"shape":"EntityId"}, - "entityName":{"shape":"EntityName"}, - "hasChildEntities":{"shape":"Boolean"}, - "parentEntityId":{"shape":"ParentEntityId"}, - "status":{"shape":"Status"}, - "updateDateTime":{"shape":"Timestamp"} - } + "type": "structure" }, - "Entries":{ - "type":"list", - "member":{"shape":"PropertyValueEntry"}, - "max":10, - "min":1 + "ListScenesResponse": { + "members": { + "nextToken": { + "shape": "NextToken" + }, + "sceneSummaries": { + "shape": "SceneSummaries" + } + }, + "type": "structure" }, - "ErrorCode":{ - "type":"string", - "enum":[ - "VALIDATION_ERROR", - "INTERNAL_FAILURE" - ] + "ListTagsForResourceRequest": { + "members": { + "maxResults": { + "shape": "MaxResults" + }, + "nextToken": { + "shape": "NextToken" + }, + "resourceARN": { + "shape": "TwinMakerArn" + } + }, + "required": [ + "resourceARN" + ], + "type": "structure" }, - "ErrorDetails":{ - "type":"structure", - "members":{ - "code":{"shape":"ErrorCode"}, - "message":{"shape":"ErrorMessage"} - } + "ListTagsForResourceResponse": { + "members": { + "nextToken": { + "shape": "NextToken" + }, + "tags": { + "shape": "TagMap" + } + }, + "type": "structure" }, - "ErrorEntries":{ - "type":"list", - "member":{"shape":"BatchPutPropertyErrorEntry"}, - "max":10, - "min":1 - }, - "ErrorMessage":{ - "type":"string", - "max":2048, - "min":0 - }, - "Errors":{ - "type":"list", - "member":{"shape":"BatchPutPropertyError"}, - "max":10, - "min":1 - }, - "ExceptionMessage":{"type":"string"}, - "Expression":{ - "type":"string", - "max":316, - "min":1, - "pattern":"(^\\$\\{Parameters\\.[a-zA-z]+([a-zA-z_0-9]*)}$)" - }, - "ExtendsFrom":{ - "type":"list", - "member":{"shape":"ComponentTypeId"} - }, - "ExternalIdProperty":{ - "type":"map", - "key":{"shape":"String"}, - "value":{"shape":"String"} - }, - "FunctionRequest":{ - "type":"structure", - "members":{ - "implementedBy":{"shape":"DataConnector"}, - "requiredProperties":{"shape":"RequiredProperties"}, - "scope":{"shape":"Scope"} - } + "ListWorkspacesRequest": { + "members": { + "maxResults": { + "shape": "MaxResults" + }, + "nextToken": { + "shape": "NextToken" + } + }, + "type": "structure" }, - "FunctionResponse":{ - "type":"structure", - "members":{ - "implementedBy":{"shape":"DataConnector"}, - "isInherited":{"shape":"Boolean"}, - "requiredProperties":{"shape":"RequiredProperties"}, - "scope":{"shape":"Scope"} - } + "ListWorkspacesResponse": { + "members": { + "nextToken": { + "shape": "NextToken" + }, + "workspaceSummaries": { + "shape": "WorkspaceSummaries" + } + }, + "type": "structure" + }, + "Long": { + "box": true, + "type": "long" + }, + "MaxResults": { + "box": true, + "max": 200, + "min": 0, + "type": "integer" + }, + "Name": { + "max": 256, + "min": 1, + "pattern": "[a-zA-Z_\\-0-9]+", + "type": "string" + }, + "NextToken": { + "max": 17880, + "min": 0, + "pattern": ".*", + "type": "string" + }, + "Order": { + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "type": "string" }, - "FunctionsRequest":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"FunctionRequest"} + "OrderBy": { + "members": { + "order": { + "shape": "Order" + }, + "propertyName": { + "shape": "String" + } + }, + "required": [ + "propertyName" + ], + "type": "structure" }, - "FunctionsResponse":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"FunctionResponse"} + "OrderByList": { + "max": 10, + "member": { + "shape": "OrderBy" + }, + "min": 1, + "type": "list" }, - "GetComponentTypeRequest":{ - "type":"structure", - "required":[ - "componentTypeId", - "workspaceId" + "OrderByTime": { + "enum": [ + "ASCENDING", + "DESCENDING" ], - "members":{ - "componentTypeId":{ - "shape":"ComponentTypeId", - "location":"uri", - "locationName":"componentTypeId" + "type": "string" + }, + "ParentEntityId": { + "max": 128, + "min": 1, + "pattern": "\\$ROOT|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|^[a-zA-Z0-9][a-zA-Z_\\-0-9.:]*[a-zA-Z0-9]+", + "type": "string" + }, + "ParentEntityUpdateRequest": { + "members": { + "parentEntityId": { + "shape": "ParentEntityId" }, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "updateType": { + "shape": "ParentEntityUpdateType" } - } + }, + "required": [ + "updateType" + ], + "type": "structure" }, - "GetComponentTypeResponse":{ - "type":"structure", - "required":[ - "arn", - "componentTypeId", - "creationDateTime", - "updateDateTime", - "workspaceId" + "ParentEntityUpdateType": { + "enum": [ + "UPDATE", + "DELETE" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "componentTypeId":{"shape":"ComponentTypeId"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "extendsFrom":{"shape":"ExtendsFrom"}, - "functions":{"shape":"FunctionsResponse"}, - "isAbstract":{"shape":"Boolean"}, - "isSchemaInitialized":{"shape":"Boolean"}, - "isSingleton":{"shape":"Boolean"}, - "propertyDefinitions":{"shape":"PropertyDefinitionsResponse"}, - "status":{"shape":"Status"}, - "updateDateTime":{"shape":"Timestamp"}, - "workspaceId":{"shape":"Id"} - } + "type": "string" }, - "GetEntityRequest":{ - "type":"structure", - "required":[ - "entityId", - "workspaceId" + "PricingBundles": { + "max": 10, + "member": { + "shape": "BundleName" + }, + "min": 1, + "type": "list" + }, + "PricingMode": { + "enum": [ + "BASIC", + "STANDARD", + "TIERED_BUNDLE" ], - "members":{ - "entityId":{ - "shape":"EntityId", - "location":"uri", - "locationName":"entityId" + "type": "string" + }, + "PricingPlan": { + "members": { + "billableEntityCount": { + "shape": "Long" + }, + "bundleInformation": { + "shape": "BundleInformation" + }, + "effectiveDateTime": { + "shape": "Timestamp" + }, + "pricingMode": { + "shape": "PricingMode" }, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "updateDateTime": { + "shape": "Timestamp" + }, + "updateReason": { + "shape": "UpdateReason" } - } - }, - "GetEntityResponse":{ - "type":"structure", - "required":[ - "arn", - "creationDateTime", - "entityId", - "entityName", - "hasChildEntities", - "parentEntityId", - "status", + }, + "required": [ + "effectiveDateTime", + "pricingMode", "updateDateTime", - "workspaceId" + "updateReason" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "components":{"shape":"ComponentsMap"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "entityId":{"shape":"EntityId"}, - "entityName":{"shape":"EntityName"}, - "hasChildEntities":{"shape":"Boolean"}, - "parentEntityId":{"shape":"ParentEntityId"}, - "status":{"shape":"Status"}, - "updateDateTime":{"shape":"Timestamp"}, - "workspaceId":{"shape":"Id"} - } - }, - "GetPropertyValueHistoryRequest":{ - "type":"structure", - "required":[ - "selectedProperties", - "workspaceId" + "type": "structure" + }, + "PricingTier": { + "enum": [ + "TIER_1", + "TIER_2", + "TIER_3", + "TIER_4" ], - "members":{ - "componentName":{"shape":"Name"}, - "componentTypeId":{"shape":"ComponentTypeId"}, - "endDateTime":{ - "shape":"Timestamp", - "deprecated":true, - "deprecatedMessage":"This field is deprecated and will throw an error in the future. Use endTime instead." - }, - "endTime":{"shape":"Time"}, - "entityId":{"shape":"EntityId"}, - "interpolation":{"shape":"InterpolationParameters"}, - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"NextToken"}, - "orderByTime":{"shape":"OrderByTime"}, - "propertyFilters":{"shape":"PropertyFilters"}, - "selectedProperties":{"shape":"SelectedPropertyList"}, - "startDateTime":{ - "shape":"Timestamp", - "deprecated":true, - "deprecatedMessage":"This field is deprecated and will throw an error in the future. Use startTime instead." - }, - "startTime":{"shape":"Time"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" - } - } + "type": "string" }, - "GetPropertyValueHistoryResponse":{ - "type":"structure", - "required":["propertyValues"], - "members":{ - "nextToken":{"shape":"NextToken"}, - "propertyValues":{"shape":"PropertyValueList"} - } + "PropertyDefinitionRequest": { + "members": { + "configuration": { + "shape": "Configuration" + }, + "dataType": { + "shape": "DataType" + }, + "defaultValue": { + "shape": "DataValue" + }, + "isExternalId": { + "shape": "Boolean" + }, + "isRequiredInEntity": { + "shape": "Boolean" + }, + "isStoredExternally": { + "shape": "Boolean" + }, + "isTimeSeries": { + "shape": "Boolean" + } + }, + "type": "structure" }, - "GetPropertyValueRequest":{ - "type":"structure", - "required":[ - "selectedProperties", - "workspaceId" - ], - "members":{ - "componentName":{"shape":"Name"}, - "componentTypeId":{"shape":"ComponentTypeId"}, - "entityId":{"shape":"EntityId"}, - "selectedProperties":{"shape":"SelectedPropertyList"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "PropertyDefinitionResponse": { + "members": { + "configuration": { + "shape": "Configuration" + }, + "dataType": { + "shape": "DataType" + }, + "defaultValue": { + "shape": "DataValue" + }, + "isExternalId": { + "shape": "Boolean" + }, + "isFinal": { + "shape": "Boolean" + }, + "isImported": { + "shape": "Boolean" + }, + "isInherited": { + "shape": "Boolean" + }, + "isRequiredInEntity": { + "shape": "Boolean" + }, + "isStoredExternally": { + "shape": "Boolean" + }, + "isTimeSeries": { + "shape": "Boolean" } + }, + "required": [ + "dataType", + "isTimeSeries", + "isRequiredInEntity", + "isExternalId", + "isStoredExternally", + "isImported", + "isFinal", + "isInherited" + ], + "type": "structure" + }, + "PropertyDefinitionsRequest": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "PropertyDefinitionRequest" } }, - "GetPropertyValueResponse":{ - "type":"structure", - "required":["propertyValues"], - "members":{ - "propertyValues":{"shape":"PropertyLatestValueMap"} + "PropertyDefinitionsResponse": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "PropertyDefinitionResponse" } }, - "GetSceneRequest":{ - "type":"structure", - "required":[ - "sceneId", - "workspaceId" - ], - "members":{ - "sceneId":{ - "shape":"Id", - "location":"uri", - "locationName":"sceneId" + "PropertyFilter": { + "members": { + "operator": { + "shape": "String" + }, + "propertyName": { + "shape": "String" }, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "value": { + "shape": "DataValue" } - } + }, + "type": "structure" }, - "GetSceneResponse":{ - "type":"structure", - "required":[ - "arn", - "contentLocation", - "creationDateTime", - "sceneId", - "updateDateTime", - "workspaceId" - ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "capabilities":{"shape":"SceneCapabilities"}, - "contentLocation":{"shape":"S3Url"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "sceneId":{"shape":"Id"}, - "updateDateTime":{"shape":"Timestamp"}, - "workspaceId":{"shape":"Id"} - } + "PropertyFilters": { + "max": 10, + "member": { + "shape": "PropertyFilter" + }, + "min": 1, + "type": "list" }, - "GetWorkspaceRequest":{ - "type":"structure", - "required":["workspaceId"], - "members":{ - "workspaceId":{ - "shape":"IdOrArn", - "location":"uri", - "locationName":"workspaceId" + "PropertyGroupRequest": { + "members": { + "groupType": { + "shape": "GroupType" + }, + "propertyNames": { + "shape": "PropertyNames" } - } + }, + "type": "structure" }, - "GetWorkspaceResponse":{ - "type":"structure", - "required":[ - "arn", - "creationDateTime", - "role", - "s3Location", - "updateDateTime", - "workspaceId" + "PropertyGroupResponse": { + "members": { + "groupType": { + "shape": "GroupType" + }, + "isInherited": { + "shape": "Boolean" + }, + "propertyNames": { + "shape": "PropertyNames" + } + }, + "required": [ + "groupType", + "propertyNames", + "isInherited" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "role":{"shape":"RoleArn"}, - "s3Location":{"shape":"S3Location"}, - "updateDateTime":{"shape":"Timestamp"}, - "workspaceId":{"shape":"Id"} - } + "type": "structure" }, - "Id":{ - "type":"string", - "max":128, - "min":1, - "pattern":"[a-zA-Z_0-9][a-zA-Z_\\-0-9]*[a-zA-Z0-9]+" - }, - "IdOrArn":{ - "type":"string", - "max":2048, - "min":1, - "pattern":"[a-zA-Z_0-9][a-zA-Z_\\-0-9]*[a-zA-Z0-9]+$|^arn:((aws)|(aws-cn)|(aws-us-gov)):iottwinmaker:[a-z0-9-]+:[0-9]{12}:[\\/a-zA-Z0-9_-]+" - }, - "Integer":{ - "type":"integer", - "box":true - }, - "InternalServerException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} - }, - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - "InterpolationParameters":{ - "type":"structure", - "members":{ - "interpolationType":{"shape":"InterpolationType"}, - "intervalInSeconds":{"shape":"IntervalInSeconds"} - } + "PropertyGroupUpdateType": { + "enum": [ + "UPDATE", + "DELETE", + "CREATE" + ], + "type": "string" }, - "InterpolationType":{ - "type":"string", - "enum":["LINEAR"] - }, - "IntervalInSeconds":{ - "type":"long", - "box":true - }, - "LambdaArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"arn:((aws)|(aws-cn)|(aws-us-gov)):lambda:[a-z0-9-]+:[0-9]{12}:function:[\\/a-zA-Z0-9_-]+" - }, - "LambdaFunction":{ - "type":"structure", - "required":["arn"], - "members":{ - "arn":{"shape":"LambdaArn"} + "PropertyGroupsRequest": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "PropertyGroupRequest" } }, - "ListComponentTypesFilter":{ - "type":"structure", - "members":{ - "extendsFrom":{"shape":"ComponentTypeId"}, - "isAbstract":{"shape":"Boolean"}, - "namespace":{"shape":"String"} - }, - "union":true - }, - "ListComponentTypesFilters":{ - "type":"list", - "member":{"shape":"ListComponentTypesFilter"} - }, - "ListComponentTypesRequest":{ - "type":"structure", - "required":["workspaceId"], - "members":{ - "filters":{"shape":"ListComponentTypesFilters"}, - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"NextToken"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" - } + "PropertyGroupsResponse": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "PropertyGroupResponse" } }, - "ListComponentTypesResponse":{ - "type":"structure", - "required":[ - "componentTypeSummaries", - "workspaceId" + "PropertyLatestValue": { + "members": { + "propertyReference": { + "shape": "EntityPropertyReference" + }, + "propertyValue": { + "shape": "DataValue" + } + }, + "required": [ + "propertyReference" ], - "members":{ - "componentTypeSummaries":{"shape":"ComponentTypeSummaries"}, - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"NextToken"}, - "workspaceId":{"shape":"Id"} - } + "type": "structure" }, - "ListEntitiesFilter":{ - "type":"structure", - "members":{ - "componentTypeId":{"shape":"ComponentTypeId"}, - "externalId":{"shape":"String"}, - "parentEntityId":{"shape":"ParentEntityId"} - }, - "union":true - }, - "ListEntitiesFilters":{ - "type":"list", - "member":{"shape":"ListEntitiesFilter"} - }, - "ListEntitiesRequest":{ - "type":"structure", - "required":["workspaceId"], - "members":{ - "filters":{"shape":"ListEntitiesFilters"}, - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"NextToken"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" - } + "PropertyLatestValueMap": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "PropertyLatestValue" } }, - "ListEntitiesResponse":{ - "type":"structure", - "members":{ - "entitySummaries":{"shape":"EntitySummaries"}, - "nextToken":{"shape":"NextToken"} - } + "PropertyNames": { + "member": { + "shape": "Name" + }, + "type": "list" }, - "ListScenesRequest":{ - "type":"structure", - "required":["workspaceId"], - "members":{ - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"NextToken"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "PropertyRequest": { + "members": { + "definition": { + "shape": "PropertyDefinitionRequest" + }, + "updateType": { + "shape": "PropertyUpdateType" + }, + "value": { + "shape": "DataValue" } - } - }, - "ListScenesResponse":{ - "type":"structure", - "members":{ - "nextToken":{"shape":"NextToken"}, - "sceneSummaries":{"shape":"SceneSummaries"} - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["resourceARN"], - "members":{ - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"NextToken"}, - "resourceARN":{"shape":"TwinMakerArn"} - } + }, + "type": "structure" }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "nextToken":{"shape":"NextToken"}, - "tags":{"shape":"TagMap"} + "PropertyRequests": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "PropertyRequest" } }, - "ListWorkspacesRequest":{ - "type":"structure", - "members":{ - "maxResults":{"shape":"MaxResults"}, - "nextToken":{"shape":"NextToken"} - } + "PropertyResponse": { + "members": { + "definition": { + "shape": "PropertyDefinitionResponse" + }, + "value": { + "shape": "DataValue" + } + }, + "type": "structure" }, - "ListWorkspacesResponse":{ - "type":"structure", - "members":{ - "nextToken":{"shape":"NextToken"}, - "workspaceSummaries":{"shape":"WorkspaceSummaries"} + "PropertyResponses": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "PropertyResponse" } }, - "Long":{ - "type":"long", - "box":true - }, - "MaxResults":{ - "type":"integer", - "box":true, - "max":200, - "min":0 - }, - "Name":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[a-zA-Z_\\-0-9]+" - }, - "NextToken":{ - "type":"string", - "max":17880, - "min":0, - "pattern":".*" - }, - "OrderByTime":{ - "type":"string", - "enum":[ - "ASCENDING", - "DESCENDING" - ] - }, - "ParentEntityId":{ - "type":"string", - "max":128, - "min":1, - "pattern":"\\$ROOT|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|^[a-zA-Z0-9][a-zA-Z_\\-0-9.:]*[a-zA-Z0-9]+" - }, - "ParentEntityUpdateRequest":{ - "type":"structure", - "required":["updateType"], - "members":{ - "parentEntityId":{"shape":"ParentEntityId"}, - "updateType":{"shape":"ParentEntityUpdateType"} + "PropertyTableValue": { + "key": { + "shape": "Name" + }, + "type": "map", + "value": { + "shape": "DataValue" } }, - "ParentEntityUpdateType":{ - "type":"string", - "enum":[ + "PropertyUpdateType": { + "enum": [ "UPDATE", - "DELETE" - ] - }, - "PropertyDefinitionRequest":{ - "type":"structure", - "members":{ - "configuration":{"shape":"Configuration"}, - "dataType":{"shape":"DataType"}, - "defaultValue":{"shape":"DataValue"}, - "isExternalId":{"shape":"Boolean"}, - "isRequiredInEntity":{"shape":"Boolean"}, - "isStoredExternally":{"shape":"Boolean"}, - "isTimeSeries":{"shape":"Boolean"} - } + "DELETE", + "CREATE" + ], + "type": "string" }, - "PropertyDefinitionResponse":{ - "type":"structure", - "required":[ - "dataType", - "isExternalId", - "isFinal", - "isImported", - "isInherited", - "isRequiredInEntity", - "isStoredExternally", - "isTimeSeries" - ], - "members":{ - "configuration":{"shape":"Configuration"}, - "dataType":{"shape":"DataType"}, - "defaultValue":{"shape":"DataValue"}, - "isExternalId":{"shape":"Boolean"}, - "isFinal":{"shape":"Boolean"}, - "isImported":{"shape":"Boolean"}, - "isInherited":{"shape":"Boolean"}, - "isRequiredInEntity":{"shape":"Boolean"}, - "isStoredExternally":{"shape":"Boolean"}, - "isTimeSeries":{"shape":"Boolean"} - } + "PropertyValue": { + "members": { + "time": { + "shape": "Time" + }, + "timestamp": { + "deprecated": true, + "deprecatedMessage": "This field is deprecated and will throw an error in the future. Use time instead.", + "shape": "Timestamp" + }, + "value": { + "shape": "DataValue" + } + }, + "required": [ + "value" + ], + "type": "structure" }, - "PropertyDefinitionsRequest":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"PropertyDefinitionRequest"} - }, - "PropertyDefinitionsResponse":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"PropertyDefinitionResponse"} - }, - "PropertyFilter":{ - "type":"structure", - "members":{ - "operator":{"shape":"String"}, - "propertyName":{"shape":"String"}, - "value":{"shape":"DataValue"} - } + "PropertyValueEntry": { + "members": { + "entityPropertyReference": { + "shape": "EntityPropertyReference" + }, + "propertyValues": { + "shape": "PropertyValues" + } + }, + "required": [ + "entityPropertyReference" + ], + "type": "structure" }, - "PropertyFilters":{ - "type":"list", - "member":{"shape":"PropertyFilter"}, - "max":10, - "min":1 - }, - "PropertyLatestValue":{ - "type":"structure", - "required":["propertyReference"], - "members":{ - "propertyReference":{"shape":"EntityPropertyReference"}, - "propertyValue":{"shape":"DataValue"} - } + "PropertyValueHistory": { + "members": { + "entityPropertyReference": { + "shape": "EntityPropertyReference" + }, + "values": { + "shape": "Values" + } + }, + "required": [ + "entityPropertyReference" + ], + "type": "structure" }, - "PropertyLatestValueMap":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"PropertyLatestValue"} - }, - "PropertyRequest":{ - "type":"structure", - "members":{ - "definition":{"shape":"PropertyDefinitionRequest"}, - "updateType":{"shape":"PropertyUpdateType"}, - "value":{"shape":"DataValue"} - } + "PropertyValueList": { + "member": { + "shape": "PropertyValueHistory" + }, + "type": "list" }, - "PropertyRequests":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"PropertyRequest"} + "PropertyValues": { + "max": 10, + "member": { + "shape": "PropertyValue" + }, + "min": 1, + "type": "list" + }, + "QueryServiceMaxResults": { + "box": true, + "max": 100, + "min": 1, + "type": "integer" + }, + "QueryStatement": { + "max": 1000, + "min": 1, + "pattern": "[\\s\\S]+", + "type": "string" + }, + "QueryTimeoutException": { + "error": { + "httpStatusCode": 400, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "retryable": { + "throttling": false + }, + "type": "structure" }, - "PropertyResponse":{ - "type":"structure", - "members":{ - "definition":{"shape":"PropertyDefinitionResponse"}, - "value":{"shape":"DataValue"} - } + "Relationship": { + "members": { + "relationshipType": { + "shape": "String" + }, + "targetComponentTypeId": { + "shape": "ComponentTypeId" + } + }, + "type": "structure" }, - "PropertyResponses":{ - "type":"map", - "key":{"shape":"Name"}, - "value":{"shape":"PropertyResponse"} + "RelationshipValue": { + "members": { + "targetComponentName": { + "shape": "Name" + }, + "targetEntityId": { + "shape": "EntityId" + } + }, + "type": "structure" }, - "PropertyUpdateType":{ - "type":"string", - "enum":[ - "UPDATE", - "DELETE", - "CREATE" - ] - }, - "PropertyValue":{ - "type":"structure", - "required":["value"], - "members":{ - "time":{"shape":"Time"}, - "timestamp":{ - "shape":"Timestamp", - "deprecated":true, - "deprecatedMessage":"This field is deprecated and will throw an error in the future. Use time instead." - }, - "value":{"shape":"DataValue"} - } + "RequiredProperties": { + "member": { + "shape": "Name" + }, + "type": "list" }, - "PropertyValueEntry":{ - "type":"structure", - "required":["entityPropertyReference"], - "members":{ - "entityPropertyReference":{"shape":"EntityPropertyReference"}, - "propertyValues":{"shape":"PropertyValues"} - } + "ResourceNotFoundException": { + "error": { + "httpStatusCode": 404, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" }, - "PropertyValueHistory":{ - "type":"structure", - "required":["entityPropertyReference"], - "members":{ - "entityPropertyReference":{"shape":"EntityPropertyReference"}, - "values":{"shape":"Values"} - } + "RoleArn": { + "max": 2048, + "min": 20, + "pattern": "arn:((aws)|(aws-cn)|(aws-us-gov)):iam::[0-9]{12}:role/.*", + "type": "string" }, - "PropertyValueList":{ - "type":"list", - "member":{"shape":"PropertyValueHistory"} - }, - "PropertyValues":{ - "type":"list", - "member":{"shape":"PropertyValue"}, - "max":10, - "min":1 - }, - "Relationship":{ - "type":"structure", - "members":{ - "relationshipType":{"shape":"String"}, - "targetComponentTypeId":{"shape":"ComponentTypeId"} - } + "Row": { + "members": {}, + "type": "structure" }, - "RelationshipValue":{ - "type":"structure", - "members":{ - "targetComponentName":{"shape":"Name"}, - "targetEntityId":{"shape":"EntityId"} - } + "Rows": { + "member": { + "shape": "Row" + }, + "type": "list" + }, + "S3Location": { + "max": 1024, + "min": 0, + "pattern": ".*(^arn:((aws)|(aws-cn)|(aws-us-gov)):s3:::)([a-zA-Z0-9_-]+$).*", + "type": "string" + }, + "S3Url": { + "max": 256, + "min": 0, + "pattern": "[sS]3://[A-Za-z0-9._/-]+", + "type": "string" + }, + "SceneCapabilities": { + "max": 50, + "member": { + "shape": "SceneCapability" + }, + "min": 0, + "type": "list" + }, + "SceneCapability": { + "max": 256, + "min": 0, + "pattern": ".*", + "type": "string" + }, + "SceneSummaries": { + "member": { + "shape": "SceneSummary" + }, + "type": "list" }, - "RequiredProperties":{ - "type":"list", - "member":{"shape":"Name"} - }, - "ResourceNotFoundException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} - }, - "error":{ - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - "RoleArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"arn:((aws)|(aws-cn)|(aws-us-gov)):iam::[0-9]{12}:role/.*" - }, - "S3Location":{ - "type":"string", - "max":1024, - "min":0, - "pattern":".*(^arn:((aws)|(aws-cn)|(aws-us-gov)):s3:::)([a-zA-Z0-9_-]+$).*" - }, - "S3Url":{ - "type":"string", - "max":256, - "min":0, - "pattern":"[sS]3://[A-Za-z0-9._/-]+" - }, - "SceneCapabilities":{ - "type":"list", - "member":{"shape":"SceneCapability"}, - "max":50, - "min":0 - }, - "SceneCapability":{ - "type":"string", - "max":256, - "min":0, - "pattern":".*" - }, - "SceneSummaries":{ - "type":"list", - "member":{"shape":"SceneSummary"} - }, - "SceneSummary":{ - "type":"structure", - "required":[ - "arn", + "SceneSummary": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "contentLocation": { + "shape": "S3Url" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "sceneId": { + "shape": "Id" + }, + "updateDateTime": { + "shape": "Timestamp" + } + }, + "required": [ + "sceneId", "contentLocation", + "arn", "creationDateTime", - "sceneId", "updateDateTime" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "contentLocation":{"shape":"S3Url"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "sceneId":{"shape":"Id"}, - "updateDateTime":{"shape":"Timestamp"} - } + "type": "structure" }, - "Scope":{ - "type":"string", - "enum":[ + "Scope": { + "enum": [ "ENTITY", "WORKSPACE" - ] + ], + "type": "string" }, - "SelectedPropertyList":{ - "type":"list", - "member":{"shape":"String"}, - "max":10, - "min":1 + "SelectedPropertyList": { + "max": 10, + "member": { + "shape": "String" + }, + "min": 1, + "type": "list" }, - "ServiceQuotaExceededException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "ServiceQuotaExceededException": { + "error": { + "httpStatusCode": 402, + "senderFault": true }, - "error":{ - "httpStatusCode":402, - "senderFault":true + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } }, - "exception":true + "type": "structure" }, - "State":{ - "type":"string", - "enum":[ + "State": { + "enum": [ "CREATING", "UPDATING", "DELETING", "ACTIVE", "ERROR" - ] + ], + "type": "string" + }, + "Status": { + "members": { + "error": { + "shape": "ErrorDetails" + }, + "state": { + "shape": "State" + } + }, + "type": "structure" + }, + "String": { + "max": 256, + "min": 1, + "pattern": ".*", + "type": "string" + }, + "TabularConditions": { + "members": { + "orderBy": { + "shape": "OrderByList" + }, + "propertyFilters": { + "shape": "PropertyFilters" + } + }, + "type": "structure" }, - "Status":{ - "type":"structure", - "members":{ - "error":{"shape":"ErrorDetails"}, - "state":{"shape":"State"} + "TabularPropertyValue": { + "member": { + "shape": "PropertyTableValue" + }, + "type": "list" + }, + "TabularPropertyValues": { + "member": { + "shape": "TabularPropertyValue" + }, + "type": "list" + }, + "TagKey": { + "max": 128, + "min": 1, + "pattern": "([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)", + "type": "string" + }, + "TagKeyList": { + "max": 50, + "member": { + "shape": "TagKey" + }, + "min": 0, + "type": "list" + }, + "TagMap": { + "key": { + "shape": "TagKey" + }, + "max": 50, + "min": 0, + "type": "map", + "value": { + "shape": "TagValue" } }, - "String":{ - "type":"string", - "max":256, - "min":1, - "pattern":".*" - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":50, - "min":0 - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":50, - "min":0 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ + "TagResourceRequest": { + "members": { + "resourceARN": { + "shape": "TwinMakerArn" + }, + "tags": { + "shape": "TagMap" + } + }, + "required": [ "resourceARN", "tags" ], - "members":{ - "resourceARN":{"shape":"TwinMakerArn"}, - "tags":{"shape":"TagMap"} - } + "type": "structure" + }, + "TagResourceResponse": { + "members": {}, + "type": "structure" + }, + "TagValue": { + "max": 256, + "min": 1, + "pattern": ".*", + "type": "string" + }, + "ThrottlingException": { + "error": { + "httpStatusCode": 429, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" }, - "TagResourceResponse":{ - "type":"structure", - "members":{ - } + "Time": { + "max": 35, + "min": 20, + "type": "string" + }, + "Timestamp": { + "type": "timestamp" + }, + "TooManyTagsException": { + "error": { + "httpStatusCode": 400, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ExceptionMessage" + } + }, + "type": "structure" + }, + "TwinMakerArn": { + "max": 2048, + "min": 20, + "pattern": "arn:((aws)|(aws-cn)|(aws-us-gov)):iottwinmaker:[a-z0-9-]+:[0-9]{12}:[\\/a-zA-Z0-9_\\-\\.:]+", + "type": "string" }, - "TagValue":{ - "type":"string", - "max":256, - "min":1, - "pattern":".*" - }, - "ThrottlingException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} - }, - "error":{ - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - }, - "Time":{ - "type":"string", - "max":35, - "min":20 - }, - "Timestamp":{"type":"timestamp"}, - "TooManyTagsException":{ - "type":"structure", - "members":{ - "message":{"shape":"ExceptionMessage"} - }, - "error":{ - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - "TwinMakerArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"arn:((aws)|(aws-cn)|(aws-us-gov)):iottwinmaker:[a-z0-9-]+:[0-9]{12}:[\\/a-zA-Z0-9_\\-\\.:]+" - }, - "Type":{ - "type":"string", - "enum":[ + "Type": { + "enum": [ "RELATIONSHIP", "STRING", "LONG", @@ -1883,192 +3426,300 @@ "DOUBLE", "LIST", "MAP" - ] - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ + ], + "type": "string" + }, + "UntagResourceRequest": { + "members": { + "resourceARN": { + "location": "querystring", + "locationName": "resourceARN", + "shape": "TwinMakerArn" + }, + "tagKeys": { + "location": "querystring", + "locationName": "tagKeys", + "shape": "TagKeyList" + } + }, + "required": [ "resourceARN", "tagKeys" ], - "members":{ - "resourceARN":{ - "shape":"TwinMakerArn", - "location":"querystring", - "locationName":"resourceARN" + "type": "structure" + }, + "UntagResourceResponse": { + "members": {}, + "type": "structure" + }, + "UpdateComponentTypeRequest": { + "members": { + "componentTypeId": { + "location": "uri", + "locationName": "componentTypeId", + "shape": "ComponentTypeId" + }, + "description": { + "shape": "Description" + }, + "extendsFrom": { + "shape": "ExtendsFrom" + }, + "functions": { + "shape": "FunctionsRequest" }, - "tagKeys":{ - "shape":"TagKeyList", - "location":"querystring", - "locationName":"tagKeys" + "isSingleton": { + "shape": "Boolean" + }, + "propertyDefinitions": { + "shape": "PropertyDefinitionsRequest" + }, + "propertyGroups": { + "shape": "PropertyGroupsRequest" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateComponentTypeRequest":{ - "type":"structure", - "required":[ - "componentTypeId", - "workspaceId" + }, + "required": [ + "workspaceId", + "componentTypeId" ], - "members":{ - "componentTypeId":{ - "shape":"ComponentTypeId", - "location":"uri", - "locationName":"componentTypeId" - }, - "description":{"shape":"Description"}, - "extendsFrom":{"shape":"ExtendsFrom"}, - "functions":{"shape":"FunctionsRequest"}, - "isSingleton":{"shape":"Boolean"}, - "propertyDefinitions":{"shape":"PropertyDefinitionsRequest"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" - } - } + "type": "structure" }, - "UpdateComponentTypeResponse":{ - "type":"structure", - "required":[ + "UpdateComponentTypeResponse": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "componentTypeId": { + "shape": "ComponentTypeId" + }, + "state": { + "shape": "State" + }, + "workspaceId": { + "shape": "Id" + } + }, + "required": [ + "workspaceId", "arn", "componentTypeId", - "state", - "workspaceId" + "state" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "componentTypeId":{"shape":"ComponentTypeId"}, - "state":{"shape":"State"}, - "workspaceId":{"shape":"Id"} - } + "type": "structure" }, - "UpdateEntityRequest":{ - "type":"structure", - "required":[ - "entityId", - "workspaceId" + "UpdateEntityRequest": { + "members": { + "componentUpdates": { + "shape": "ComponentUpdatesMapRequest" + }, + "description": { + "shape": "Description" + }, + "entityId": { + "location": "uri", + "locationName": "entityId", + "shape": "EntityId" + }, + "entityName": { + "shape": "EntityName" + }, + "parentEntityUpdate": { + "shape": "ParentEntityUpdateRequest" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" + } + }, + "required": [ + "workspaceId", + "entityId" ], - "members":{ - "componentUpdates":{"shape":"ComponentUpdatesMapRequest"}, - "description":{"shape":"Description"}, - "entityId":{ - "shape":"EntityId", - "location":"uri", - "locationName":"entityId" - }, - "entityName":{"shape":"EntityName"}, - "parentEntityUpdate":{"shape":"ParentEntityUpdateRequest"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "type": "structure" + }, + "UpdateEntityResponse": { + "members": { + "state": { + "shape": "State" + }, + "updateDateTime": { + "shape": "Timestamp" } - } + }, + "required": [ + "updateDateTime", + "state" + ], + "type": "structure" }, - "UpdateEntityResponse":{ - "type":"structure", - "required":[ - "state", - "updateDateTime" + "UpdatePricingPlanRequest": { + "members": { + "bundleNames": { + "shape": "PricingBundles" + }, + "pricingMode": { + "shape": "PricingMode" + } + }, + "required": [ + "pricingMode" ], - "members":{ - "state":{"shape":"State"}, - "updateDateTime":{"shape":"Timestamp"} - } + "type": "structure" }, - "UpdateSceneRequest":{ - "type":"structure", - "required":[ - "sceneId", - "workspaceId" + "UpdatePricingPlanResponse": { + "members": { + "currentPricingPlan": { + "shape": "PricingPlan" + }, + "pendingPricingPlan": { + "shape": "PricingPlan" + } + }, + "required": [ + "currentPricingPlan" ], - "members":{ - "capabilities":{"shape":"SceneCapabilities"}, - "contentLocation":{"shape":"S3Url"}, - "description":{"shape":"Description"}, - "sceneId":{ - "shape":"Id", - "location":"uri", - "locationName":"sceneId" + "type": "structure" + }, + "UpdateReason": { + "enum": [ + "DEFAULT", + "PRICING_TIER_UPDATE", + "ENTITY_COUNT_UPDATE", + "PRICING_MODE_UPDATE", + "OVERWRITTEN" + ], + "type": "string" + }, + "UpdateSceneRequest": { + "members": { + "capabilities": { + "shape": "SceneCapabilities" }, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "contentLocation": { + "shape": "S3Url" + }, + "description": { + "shape": "Description" + }, + "sceneId": { + "location": "uri", + "locationName": "sceneId", + "shape": "Id" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" } - } + }, + "required": [ + "workspaceId", + "sceneId" + ], + "type": "structure" }, - "UpdateSceneResponse":{ - "type":"structure", - "required":["updateDateTime"], - "members":{ - "updateDateTime":{"shape":"Timestamp"} - } + "UpdateSceneResponse": { + "members": { + "updateDateTime": { + "shape": "Timestamp" + } + }, + "required": [ + "updateDateTime" + ], + "type": "structure" }, - "UpdateWorkspaceRequest":{ - "type":"structure", - "required":["workspaceId"], - "members":{ - "description":{"shape":"Description"}, - "role":{"shape":"RoleArn"}, - "workspaceId":{ - "shape":"Id", - "location":"uri", - "locationName":"workspaceId" + "UpdateWorkspaceRequest": { + "members": { + "description": { + "shape": "Description" + }, + "role": { + "shape": "RoleArn" + }, + "workspaceId": { + "location": "uri", + "locationName": "workspaceId", + "shape": "Id" } - } + }, + "required": [ + "workspaceId" + ], + "type": "structure" }, - "UpdateWorkspaceResponse":{ - "type":"structure", - "required":["updateDateTime"], - "members":{ - "updateDateTime":{"shape":"Timestamp"} - } + "UpdateWorkspaceResponse": { + "members": { + "updateDateTime": { + "shape": "Timestamp" + } + }, + "required": [ + "updateDateTime" + ], + "type": "structure" }, - "ValidationException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "ValidationException": { + "error": { + "httpStatusCode": 400, + "senderFault": true }, - "error":{ - "httpStatusCode":400, - "senderFault":true + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } }, - "exception":true + "type": "structure" }, - "Value":{ - "type":"string", - "pattern":".*" + "Value": { + "pattern": ".*", + "type": "string" }, - "Values":{ - "type":"list", - "member":{"shape":"PropertyValue"} + "Values": { + "member": { + "shape": "PropertyValue" + }, + "type": "list" }, - "WorkspaceSummaries":{ - "type":"list", - "member":{"shape":"WorkspaceSummary"} + "WorkspaceSummaries": { + "member": { + "shape": "WorkspaceSummary" + }, + "type": "list" }, - "WorkspaceSummary":{ - "type":"structure", - "required":[ + "WorkspaceSummary": { + "members": { + "arn": { + "shape": "TwinMakerArn" + }, + "creationDateTime": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "updateDateTime": { + "shape": "Timestamp" + }, + "workspaceId": { + "shape": "Id" + } + }, + "required": [ + "workspaceId", "arn", "creationDateTime", - "updateDateTime", - "workspaceId" + "updateDateTime" ], - "members":{ - "arn":{"shape":"TwinMakerArn"}, - "creationDateTime":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "updateDateTime":{"shape":"Timestamp"}, - "workspaceId":{"shape":"Id"} - } + "type": "structure" } - } -} + }, + "version": "2.0" +} \ No newline at end of file diff --git a/models/apis/iottwinmaker/2021-11-29/docs-2.json b/models/apis/iottwinmaker/2021-11-29/docs-2.json index 442fb688fb2..f825ef7b2aa 100644 --- a/models/apis/iottwinmaker/2021-11-29/docs-2.json +++ b/models/apis/iottwinmaker/2021-11-29/docs-2.json @@ -11,8 +11,10 @@ "DeleteEntity": "Deletes an entity.
", "DeleteScene": "Deletes a scene.
", "DeleteWorkspace": "Deletes a workspace.
", + "ExecuteQuery": "Run queries to access information from your knowledge graph of entities within individual workspaces.
", "GetComponentType": "Retrieves information about a component type.
", "GetEntity": "Retrieves information about an entity.
", + "GetPricingPlan": "Gets the pricing plan.
", "GetPropertyValue": "Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either componentName
, componentTypeId
, entityId
, or workspaceId
.
Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.
You must specify a value for workspaceId
. For entity-specific queries, specify values for componentName
and entityId
. For cross-entity quries, specify a value for componentTypeId
.
Retrieves information about a scene.
", @@ -26,6 +28,7 @@ "UntagResource": "Removes tags from a resource.
", "UpdateComponentType": "Updates information in a component type.
", "UpdateEntity": "Updates an entity.
", + "UpdatePricingPlan": "Update the pricing plan.
", "UpdateScene": "Updates a scene.
", "UpdateWorkspace": "Updates a workspace.
" }, @@ -60,31 +63,94 @@ "Boolean": { "base": null, "refs": { + "ComponentPropertyGroupResponse$isInherited": "A Boolean value that specifies whether the property group is inherited from a parent entity
", "CreateComponentTypeRequest$isSingleton": "A Boolean value that specifies whether an entity can have more than one component of this type.
", "DataConnector$isNative": "A Boolean value that specifies whether the data connector is native to IoT TwinMaker.
", "DataValue$booleanValue": "A Boolean value.
", "DeleteEntityRequest$isRecursive": "A Boolean value that specifies whether the operation deletes child entities.
", "EntitySummary$hasChildEntities": "A Boolean value that specifies whether the entity has child entities or not.
", "FunctionResponse$isInherited": "Indicates whether this function is inherited.
", + "GetComponentTypeResponse$isSingleton": "A Boolean value that specifies whether an entity can have more than one component of this type.
", "GetComponentTypeResponse$isAbstract": "A Boolean value that specifies whether the component type is abstract.
", "GetComponentTypeResponse$isSchemaInitialized": "A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.
", - "GetComponentTypeResponse$isSingleton": "A Boolean value that specifies whether an entity can have more than one component of this type.
", "GetEntityResponse$hasChildEntities": "A Boolean value that specifies whether the entity has associated child entities.
", "ListComponentTypesFilter$isAbstract": "A Boolean value that specifies whether the component types in the list are abstract.
", - "PropertyDefinitionRequest$isExternalId": "A Boolean value that specifies whether the property ID comes from an external data store.
", "PropertyDefinitionRequest$isRequiredInEntity": "A Boolean value that specifies whether the property is required.
", + "PropertyDefinitionRequest$isExternalId": "A Boolean value that specifies whether the property ID comes from an external data store.
", "PropertyDefinitionRequest$isStoredExternally": "A Boolean value that specifies whether the property is stored externally.
", "PropertyDefinitionRequest$isTimeSeries": "A Boolean value that specifies whether the property consists of time series data.
", + "PropertyDefinitionResponse$isTimeSeries": "A Boolean value that specifies whether the property consists of time series data.
", + "PropertyDefinitionResponse$isRequiredInEntity": "A Boolean value that specifies whether the property is required in an entity.
", "PropertyDefinitionResponse$isExternalId": "A Boolean value that specifies whether the property ID comes from an external data store.
", - "PropertyDefinitionResponse$isFinal": "A Boolean value that specifies whether the property definition can be updated.
", + "PropertyDefinitionResponse$isStoredExternally": "A Boolean value that specifies whether the property is stored externally.
", "PropertyDefinitionResponse$isImported": "A Boolean value that specifies whether the property definition is imported from an external data store.
", + "PropertyDefinitionResponse$isFinal": "A Boolean value that specifies whether the property definition can be updated.
", "PropertyDefinitionResponse$isInherited": "A Boolean value that specifies whether the property definition is inherited from a parent entity.
", - "PropertyDefinitionResponse$isRequiredInEntity": "A Boolean value that specifies whether the property is required in an entity.
", - "PropertyDefinitionResponse$isStoredExternally": "A Boolean value that specifies whether the property is stored externally.
", - "PropertyDefinitionResponse$isTimeSeries": "A Boolean value that specifies whether the property consists of time series data.
", + "PropertyGroupResponse$isInherited": "A Boolean value that specifies whether the property group is inherited from a parent entity
", "UpdateComponentTypeRequest$isSingleton": "A Boolean value that specifies whether an entity can have more than one component of this type.
" } }, + "BundleInformation": { + "base": "Information about pricing bundle.
", + "refs": { + "PricingPlan$bundleInformation": "The pricing plan's bundle information.
" + } + }, + "BundleName": { + "base": null, + "refs": { + "PricingBundles$member": null + } + }, + "ColumnDescription": { + "base": "A description of the column in the query results.
", + "refs": { + "ColumnDescriptions$member": null + } + }, + "ColumnDescriptions": { + "base": null, + "refs": { + "ExecuteQueryResponse$columnDescriptions": "A list of ColumnDescription objects.
" + } + }, + "ColumnName": { + "base": null, + "refs": { + "ColumnDescription$name": "The name of the column description.
" + } + }, + "ColumnType": { + "base": null, + "refs": { + "ColumnDescription$type": "The type of the column description.
" + } + }, + "ComponentPropertyGroupRequest": { + "base": "", + "refs": { + "ComponentPropertyGroupRequests$value": null + } + }, + "ComponentPropertyGroupRequests": { + "base": null, + "refs": { + "ComponentRequest$propertyGroups": "The property groups.
", + "ComponentUpdateRequest$propertyGroupUpdates": "The property group updates.
" + } + }, + "ComponentPropertyGroupResponse": { + "base": "The component property group response.
", + "refs": { + "ComponentPropertyGroupResponses$value": null + } + }, + "ComponentPropertyGroupResponses": { + "base": null, + "refs": { + "ComponentResponse$propertyGroups": "The property groups.
" + } + }, "ComponentRequest": { "base": "An object that sets information about a component type create or update request.
", "refs": { @@ -248,6 +314,7 @@ "PropertyLatestValue$propertyValue": "The value of the property.
", "PropertyRequest$value": "The value of the property.
", "PropertyResponse$value": "The value of the property.
", + "PropertyTableValue$value": null, "PropertyValue$value": "An object that specifies a value for a time series property.
" } }, @@ -412,6 +479,7 @@ "ConnectorTimeoutException$message": null, "ErrorDetails$message": "The error message.
", "InternalServerException$message": null, + "QueryTimeoutException$message": null, "ResourceNotFoundException$message": null, "ServiceQuotaExceededException$message": null, "ThrottlingException$message": null, @@ -430,6 +498,16 @@ "TooManyTagsException$message": null } }, + "ExecuteQueryRequest": { + "base": null, + "refs": { + } + }, + "ExecuteQueryResponse": { + "base": null, + "refs": { + } + }, "Expression": { "base": null, "refs": { @@ -495,6 +573,16 @@ "refs": { } }, + "GetPricingPlanRequest": { + "base": null, + "refs": { + } + }, + "GetPricingPlanResponse": { + "base": null, + "refs": { + } + }, "GetPropertyValueHistoryRequest": { "base": null, "refs": { @@ -535,30 +623,40 @@ "refs": { } }, + "GroupType": { + "base": null, + "refs": { + "ComponentPropertyGroupRequest$groupType": "The group type.
", + "ComponentPropertyGroupResponse$groupType": "The group type.
", + "PropertyGroupRequest$groupType": "The group type.
", + "PropertyGroupResponse$groupType": "The group types.
" + } + }, "Id": { "base": null, "refs": { "BatchPutPropertyValuesRequest$workspaceId": "The ID of the workspace that contains the properties to set.
", "CreateComponentTypeRequest$workspaceId": "The ID of the workspace that contains the component type.
", "CreateEntityRequest$workspaceId": "The ID of the workspace that contains the entity.
", - "CreateSceneRequest$sceneId": "The ID of the scene.
", "CreateSceneRequest$workspaceId": "The ID of the workspace that contains the scene.
", + "CreateSceneRequest$sceneId": "The ID of the scene.
", "CreateWorkspaceRequest$workspaceId": "The ID of the workspace.
", "DeleteComponentTypeRequest$workspaceId": "The ID of the workspace that contains the component type.
", "DeleteEntityRequest$workspaceId": "The ID of the workspace that contains the entity to delete.
", - "DeleteSceneRequest$sceneId": "The ID of the scene to delete.
", "DeleteSceneRequest$workspaceId": "The ID of the workspace.
", + "DeleteSceneRequest$sceneId": "The ID of the scene to delete.
", "DeleteWorkspaceRequest$workspaceId": "The ID of the workspace to delete.
", + "ExecuteQueryRequest$workspaceId": "The ID of the workspace.
", "GetComponentTypeRequest$workspaceId": "The ID of the workspace that contains the component type.
", "GetComponentTypeResponse$workspaceId": "The ID of the workspace that contains the component type.
", "GetEntityRequest$workspaceId": "The ID of the workspace.
", "GetEntityResponse$workspaceId": "The ID of the workspace.
", "GetPropertyValueHistoryRequest$workspaceId": "The ID of the workspace.
", "GetPropertyValueRequest$workspaceId": "The ID of the workspace whose values the operation returns.
", - "GetSceneRequest$sceneId": "The ID of the scene.
", "GetSceneRequest$workspaceId": "The ID of the workspace that contains the scene.
", - "GetSceneResponse$sceneId": "The ID of the scene.
", + "GetSceneRequest$sceneId": "The ID of the scene.
", "GetSceneResponse$workspaceId": "The ID of the workspace that contains the scene.
", + "GetSceneResponse$sceneId": "The ID of the scene.
", "GetWorkspaceResponse$workspaceId": "The ID of the workspace.
", "ListComponentTypesRequest$workspaceId": "The ID of the workspace.
", "ListComponentTypesResponse$workspaceId": "The ID of the workspace.
", @@ -568,8 +666,8 @@ "UpdateComponentTypeRequest$workspaceId": "The ID of the workspace that contains the component type.
", "UpdateComponentTypeResponse$workspaceId": "The ID of the workspace that contains the component type.
", "UpdateEntityRequest$workspaceId": "The ID of the workspace that contains the entity.
", - "UpdateSceneRequest$sceneId": "The ID of the scene.
", "UpdateSceneRequest$workspaceId": "The ID of the workspace that contains the scene.
", + "UpdateSceneRequest$sceneId": "The ID of the scene.
", "UpdateWorkspaceRequest$workspaceId": "The ID of the workspace.
", "WorkspaceSummary$workspaceId": "The ID of the workspace.
" } @@ -698,24 +796,28 @@ "Long": { "base": null, "refs": { - "DataValue$longValue": "A long value.
" + "DataValue$longValue": "A long value.
", + "PricingPlan$billableEntityCount": "The billable entity count.
" } }, "MaxResults": { "base": null, "refs": { - "GetPropertyValueHistoryRequest$maxResults": "The maximum number of results to return.
", - "ListComponentTypesRequest$maxResults": "The maximum number of results to display.
", + "GetPropertyValueHistoryRequest$maxResults": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
", + "GetPropertyValueRequest$maxResults": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
", + "ListComponentTypesRequest$maxResults": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
", "ListComponentTypesResponse$maxResults": "Specifies the maximum number of results to display.
", - "ListEntitiesRequest$maxResults": "The maximum number of results to display.
", + "ListEntitiesRequest$maxResults": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
", "ListScenesRequest$maxResults": "Specifies the maximum number of results to display.
", - "ListTagsForResourceRequest$maxResults": "The maximum number of results to display.
", - "ListWorkspacesRequest$maxResults": "The maximum number of results to display.
" + "ListTagsForResourceRequest$maxResults": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
", + "ListWorkspacesRequest$maxResults": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
" } }, "Name": { "base": null, "refs": { + "ComponentPropertyGroupRequests$key": null, + "ComponentPropertyGroupResponses$key": null, "ComponentResponse$componentName": "The name of the component.
", "ComponentUpdatesMapRequest$key": null, "ComponentsMap$key": null, @@ -727,11 +829,16 @@ "FunctionsResponse$key": null, "GetPropertyValueHistoryRequest$componentName": "The name of the component.
", "GetPropertyValueRequest$componentName": "The name of the component whose property values the operation returns.
", + "GetPropertyValueRequest$propertyGroupName": "The property group name.
", "PropertyDefinitionsRequest$key": null, "PropertyDefinitionsResponse$key": null, + "PropertyGroupsRequest$key": null, + "PropertyGroupsResponse$key": null, "PropertyLatestValueMap$key": null, + "PropertyNames$member": null, "PropertyRequests$key": null, "PropertyResponses$key": null, + "PropertyTableValue$key": null, "RelationshipValue$targetComponentName": "The name of the target component associated with the relationship value.
", "RequiredProperties$member": null } @@ -739,8 +846,12 @@ "NextToken": { "base": null, "refs": { + "ExecuteQueryRequest$nextToken": "The string that specifies the next page of results.
", + "ExecuteQueryResponse$nextToken": "The string that specifies the next page of results.
", "GetPropertyValueHistoryRequest$nextToken": "The string that specifies the next page of results.
", "GetPropertyValueHistoryResponse$nextToken": "The string that specifies the next page of results.
", + "GetPropertyValueRequest$nextToken": "The string that specifies the next page of results.
", + "GetPropertyValueResponse$nextToken": "The string that specifies the next page of results.
", "ListComponentTypesRequest$nextToken": "The string that specifies the next page of results.
", "ListComponentTypesResponse$nextToken": "The string that specifies the next page of results.
", "ListEntitiesRequest$nextToken": "The string that specifies the next page of results.
", @@ -753,6 +864,24 @@ "ListWorkspacesResponse$nextToken": "The string that specifies the next page of results.
" } }, + "Order": { + "base": null, + "refs": { + "OrderBy$order": "The set order that filters results.
" + } + }, + "OrderBy": { + "base": "Filter criteria that orders the return output. It can be sorted in ascending or descending order.
", + "refs": { + "OrderByList$member": null + } + }, + "OrderByList": { + "base": null, + "refs": { + "TabularConditions$orderBy": "Filter criteria that orders the output. It can be sorted in ascending or descending order.
" + } + }, "OrderByTime": { "base": null, "refs": { @@ -781,6 +910,35 @@ "ParentEntityUpdateRequest$updateType": "The type of the update.
" } }, + "PricingBundles": { + "base": null, + "refs": { + "BundleInformation$bundleNames": "The bundle names.
", + "UpdatePricingPlanRequest$bundleNames": "The bundle names.
" + } + }, + "PricingMode": { + "base": null, + "refs": { + "PricingPlan$pricingMode": "The pricing mode.
", + "UpdatePricingPlanRequest$pricingMode": "The pricing mode.
" + } + }, + "PricingPlan": { + "base": "The pricing plan.
", + "refs": { + "GetPricingPlanResponse$currentPricingPlan": "The chosen pricing plan for the current billing cycle.
", + "GetPricingPlanResponse$pendingPricingPlan": "The pending pricing plan.
", + "UpdatePricingPlanResponse$currentPricingPlan": "Update the current pricing plan.
", + "UpdatePricingPlanResponse$pendingPricingPlan": "Update the pending pricing plan.
" + } + }, + "PricingTier": { + "base": null, + "refs": { + "BundleInformation$pricingTier": "The pricing tier.
" + } + }, "PropertyDefinitionRequest": { "base": "An object that sets information about a property.
", "refs": { @@ -817,7 +975,39 @@ "PropertyFilters": { "base": null, "refs": { - "GetPropertyValueHistoryRequest$propertyFilters": "A list of objects that filter the property value history request.
" + "GetPropertyValueHistoryRequest$propertyFilters": "A list of objects that filter the property value history request.
", + "TabularConditions$propertyFilters": "You can filter the request using various logical operators and a key-value format. For example:
{\"key\": \"serverType\", \"value\": \"webServer\"}
The property group response
", + "refs": { + "PropertyGroupsResponse$value": null + } + }, + "PropertyGroupUpdateType": { + "base": null, + "refs": { + "ComponentPropertyGroupRequest$updateType": "The update type.
" + } + }, + "PropertyGroupsRequest": { + "base": null, + "refs": { + "CreateComponentTypeRequest$propertyGroups": "", + "UpdateComponentTypeRequest$propertyGroups": "The property groups
" + } + }, + "PropertyGroupsResponse": { + "base": null, + "refs": { + "GetComponentTypeResponse$propertyGroups": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
" } }, "PropertyLatestValue": { @@ -832,6 +1022,15 @@ "GetPropertyValueResponse$propertyValues": "An object that maps strings to the properties and latest property values in the response. Each string in the mapping must be unique to this object.
" } }, + "PropertyNames": { + "base": null, + "refs": { + "ComponentPropertyGroupRequest$propertyNames": "The property names.
", + "ComponentPropertyGroupResponse$propertyNames": "The names of properties
", + "PropertyGroupRequest$propertyNames": "The names of properties.
", + "PropertyGroupResponse$propertyNames": "The names of properties.
" + } + }, "PropertyRequest": { "base": "An object that sets information about a property.
", "refs": { @@ -857,6 +1056,12 @@ "ComponentResponse$properties": "An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
" } }, + "PropertyTableValue": { + "base": null, + "refs": { + "TabularPropertyValue$member": null + } + }, "PropertyUpdateType": { "base": null, "refs": { @@ -895,6 +1100,29 @@ "PropertyValueEntry$propertyValues": "A list of objects that specify time series property values.
" } }, + "QueryResultValue": { + "base": null, + "refs": { + "RowData$member": null + } + }, + "QueryServiceMaxResults": { + "base": null, + "refs": { + "ExecuteQueryRequest$maxResults": "The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
" + } + }, + "QueryStatement": { + "base": null, + "refs": { + "ExecuteQueryRequest$queryStatement": "The query statement.
" + } + }, + "QueryTimeoutException": { + "base": "The query timeout exception.
", + "refs": { + } + }, "Relationship": { "base": "An object that specifies a relationship with another component type.
", "refs": { @@ -927,6 +1155,24 @@ "UpdateWorkspaceRequest$role": "The ARN of the execution role associated with the workspace.
" } }, + "Row": { + "base": "Represents a single row in the query results.
", + "refs": { + "Rows$member": null + } + }, + "RowData": { + "base": null, + "refs": { + "Row$rowData": "The data in a row of query results.
" + } + }, + "Rows": { + "base": null, + "refs": { + "ExecuteQueryResponse$rows": "Represents a single row in the query results.
" + } + }, "S3Location": { "base": null, "refs": { @@ -1023,12 +1269,31 @@ "ExternalIdProperty$value": null, "ListComponentTypesFilter$namespace": "The namespace to which the component types in the list belong.
", "ListEntitiesFilter$externalId": "The external-Id property of a component. The external-Id property is the primary key of an external storage system.
", - "PropertyFilter$operator": "The operator associated with this property filter.
", + "OrderBy$propertyName": "The property name.
", "PropertyFilter$propertyName": "The property name associated with this property filter.
", + "PropertyFilter$operator": "The operator associated with this property filter.
", "Relationship$relationshipType": "The type of the relationship.
", "SelectedPropertyList$member": null } }, + "TabularConditions": { + "base": "The tabular conditions.
", + "refs": { + "GetPropertyValueRequest$tabularConditions": "The tabular conditions.
" + } + }, + "TabularPropertyValue": { + "base": null, + "refs": { + "TabularPropertyValues$member": null + } + }, + "TabularPropertyValues": { + "base": null, + "refs": { + "GetPropertyValueResponse$tabularPropertyValues": "A table of property values.
" + } + }, "TagKey": { "base": null, "refs": { @@ -1077,8 +1342,8 @@ "Time": { "base": "Timestamp represented in ISO 8601 format
", "refs": { - "GetPropertyValueHistoryRequest$endTime": "The ISO8601 DateTime of the latest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
", - "GetPropertyValueHistoryRequest$startTime": "The ISO8601 DateTime of the earliest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
", + "GetPropertyValueHistoryRequest$startTime": "The ISO8601 DateTime of the earliest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
", + "GetPropertyValueHistoryRequest$endTime": "The ISO8601 DateTime of the latest property value to return.
For more information about the ISO8601 DateTime format, see the data type PropertyValue.
", "PropertyValue$time": "ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
[YYYY]: year
[MM]: month
[DD]: day
[hh]: hour
[mm]: minute
[ss]: seconds
[.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
Z: default timezone UTC
± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
" } }, @@ -1097,12 +1362,14 @@ "GetComponentTypeResponse$updateDateTime": "The date and time when the component was last updated.
", "GetEntityResponse$creationDateTime": "The date and time when the entity was created.
", "GetEntityResponse$updateDateTime": "The date and time when the entity was last updated.
", - "GetPropertyValueHistoryRequest$endDateTime": "The date and time of the latest property value to return.
", "GetPropertyValueHistoryRequest$startDateTime": "The date and time of the earliest property value to return.
", + "GetPropertyValueHistoryRequest$endDateTime": "The date and time of the latest property value to return.
", "GetSceneResponse$creationDateTime": "The date and time when the scene was created.
", "GetSceneResponse$updateDateTime": "The date and time when the scene was last updated.
", "GetWorkspaceResponse$creationDateTime": "The date and time when the workspace was created.
", "GetWorkspaceResponse$updateDateTime": "The date and time when the workspace was last updated.
", + "PricingPlan$effectiveDateTime": "The effective date and time of the pricing plan.
", + "PricingPlan$updateDateTime": "The set date and time for updating a pricing plan.
", "PropertyValue$timestamp": "The timestamp of a value for a time series property.
", "SceneSummary$creationDateTime": "The date and time when the scene was created.
", "SceneSummary$updateDateTime": "The date and time when the scene was last updated.
", @@ -1175,6 +1442,22 @@ "refs": { } }, + "UpdatePricingPlanRequest": { + "base": null, + "refs": { + } + }, + "UpdatePricingPlanResponse": { + "base": null, + "refs": { + } + }, + "UpdateReason": { + "base": null, + "refs": { + "PricingPlan$updateReason": "The update reason, for changing a pricing plan.
" + } + }, "UpdateSceneRequest": { "base": null, "refs": { diff --git a/models/apis/iottwinmaker/2021-11-29/endpoint-rule-set-1.json b/models/apis/iottwinmaker/2021-11-29/endpoint-rule-set-1.json new file mode 100644 index 00000000000..bac8c0b5502 --- /dev/null +++ b/models/apis/iottwinmaker/2021-11-29/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://iottwinmaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + 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://iottwinmaker-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://iottwinmaker.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://iottwinmaker.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/iottwinmaker/2021-11-29/endpoint-tests-1.json b/models/apis/iottwinmaker/2021-11-29/endpoint-tests-1.json new file mode 100644 index 00000000000..a9951055187 --- /dev/null +++ b/models/apis/iottwinmaker/2021-11-29/endpoint-tests-1.json @@ -0,0 +1,355 @@ +{ + "testCases": [ + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://iottwinmaker.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/iottwinmaker/2021-11-29/paginators-1.json b/models/apis/iottwinmaker/2021-11-29/paginators-1.json index 2a8f3a38464..1640cbff97a 100644 --- a/models/apis/iottwinmaker/2021-11-29/paginators-1.json +++ b/models/apis/iottwinmaker/2021-11-29/paginators-1.json @@ -1,5 +1,15 @@ { "pagination": { + "ExecuteQuery": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, + "GetPropertyValue": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "GetPropertyValueHistory": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/personalize-events/2018-03-22/api-2.json b/models/apis/personalize-events/2018-03-22/api-2.json index 4b0cbd7ec5b..883471e056f 100644 --- a/models/apis/personalize-events/2018-03-22/api-2.json +++ b/models/apis/personalize-events/2018-03-22/api-2.json @@ -75,8 +75,15 @@ }, "sentAt":{"shape":"Date"}, "recommendationId":{"shape":"RecommendationId"}, - "impression":{"shape":"Impression"} - } + "impression":{"shape":"Impression"}, + "metricAttribution":{"shape":"MetricAttribution"} + }, + "sensitive":true + }, + "EventAttributionSource":{ + "type":"string", + "max":1024, + "pattern":"^[\\x20-\\x7E]*[\\x21-\\x7E]+[\\x20-\\x7E]*$" }, "EventList":{ "type":"list", @@ -87,7 +94,8 @@ "EventPropertiesJSON":{ "type":"string", "max":1024, - "min":1 + "min":1, + "sensitive":true }, "FloatType":{"type":"float"}, "Impression":{ @@ -118,7 +126,8 @@ "ItemId":{ "type":"string", "max":256, - "min":1 + "min":1, + "sensitive":true }, "ItemList":{ "type":"list", @@ -129,7 +138,15 @@ "ItemProperties":{ "type":"string", "max":24262, - "min":1 + "min":1, + "sensitive":true + }, + "MetricAttribution":{ + "type":"structure", + "required":["eventAttributionSource"], + "members":{ + "eventAttributionSource":{"shape":"EventAttributionSource"} + } }, "PutEventsRequest":{ "type":"structure", @@ -207,7 +224,8 @@ "UserId":{ "type":"string", "max":256, - "min":1 + "min":1, + "sensitive":true }, "UserList":{ "type":"list", @@ -218,7 +236,8 @@ "UserProperties":{ "type":"string", "max":4096, - "min":1 + "min":1, + "sensitive":true } } } diff --git a/models/apis/personalize-events/2018-03-22/docs-2.json b/models/apis/personalize-events/2018-03-22/docs-2.json index 43e04a75d7b..e48336a5058 100644 --- a/models/apis/personalize-events/2018-03-22/docs-2.json +++ b/models/apis/personalize-events/2018-03-22/docs-2.json @@ -34,6 +34,12 @@ "EventList$member": null } }, + "EventAttributionSource": { + "base": null, + "refs": { + "MetricAttribution$eventAttributionSource": "The source of the event, such as a third party.
" + } + }, "EventList": { "base": null, "refs": { @@ -55,7 +61,7 @@ "Impression": { "base": null, "refs": { - "Event$impression": "A list of item IDs that represents the sequence of items you have shown the user. For example, [\"itemId1\", \"itemId2\", \"itemId3\"]
.
A list of item IDs that represents the sequence of items you have shown the user. For example, [\"itemId1\", \"itemId2\", \"itemId3\"]
. Provide a list of items to manually record impressions data for an event. For more information on recording impressions data, see Recording impressions data.
A string map of item-specific metadata. Each element in the map consists of a key-value pair. For example, {\"numberOfRatings\": \"12\"}
.
The keys use camel case names that match the fields in the schema for the Items dataset. In the previous example, the numberOfRatings
matches the 'NUMBER_OF_RATINGS' field defined in the Items schema. For categorical string data, to include multiple categories for a single item, separate each category with a pipe separator (|
). For example, \\\"Horror|Action\\\"
.
Contains information about a metric attribution associated with an event. For more information about metric attributions, see Measuring impact of recommendations.
", + "refs": { + "Event$metricAttribution": "Contains information about the metric attribution associated with an event. For more information about metric attributions, see Measuring impact of recommendations.
" + } + }, "PutEventsRequest": { "base": null, "refs": { @@ -106,7 +118,7 @@ "RecommendationId": { "base": null, "refs": { - "Event$recommendationId": "The ID of the recommendation.
" + "Event$recommendationId": "The ID of the list of recommendations that contains the item the user interacted with. Provide a recommendationId
to have Amazon Personalize implicitly record the recommendations you show your user as impressions data. Or provide a recommendationId
if you use a metric attribution to measure the impact of recommendations.
For more information on recording impressions data, see Recording impressions data. For more information on creating a metric attribution see Measuring impact of recommendations.
" } }, "ResourceInUseException": { diff --git a/models/apis/personalize-events/2018-03-22/endpoint-rule-set-1.json b/models/apis/personalize-events/2018-03-22/endpoint-rule-set-1.json new file mode 100644 index 00000000000..636e12c2b2e --- /dev/null +++ b/models/apis/personalize-events/2018-03-22/endpoint-rule-set-1.json @@ -0,0 +1,309 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://personalize-events-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://personalize-events-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://personalize-events.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://personalize-events.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/personalize-events/2018-03-22/endpoint-tests-1.json b/models/apis/personalize-events/2018-03-22/endpoint-tests-1.json new file mode 100644 index 00000000000..0a11fb3a1c0 --- /dev/null +++ b/models/apis/personalize-events/2018-03-22/endpoint-tests-1.json @@ -0,0 +1,43 @@ +{ + "testCases": [ + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/proton/2020-07-20/api-2.json b/models/apis/proton/2020-07-20/api-2.json index 2bfd7d2ba29..6a7e3d1d198 100644 --- a/models/apis/proton/2020-07-20/api-2.json +++ b/models/apis/proton/2020-07-20/api-2.json @@ -2681,12 +2681,42 @@ "provisionedResources":{"shape":"ProvisionedResourceList"} } }, + "ListServiceInstancesFilter":{ + "type":"structure", + "members":{ + "key":{"shape":"ListServiceInstancesFilterBy"}, + "value":{"shape":"ListServiceInstancesFilterValue"} + } + }, + "ListServiceInstancesFilterBy":{ + "type":"string", + "enum":[ + "name", + "deploymentStatus", + "templateName", + "serviceName", + "deployedTemplateVersionStatus", + "environmentName", + "lastDeploymentAttemptedAtBefore", + "lastDeploymentAttemptedAtAfter", + "createdAtBefore", + "createdAtAfter" + ] + }, + "ListServiceInstancesFilterList":{ + "type":"list", + "member":{"shape":"ListServiceInstancesFilter"} + }, + "ListServiceInstancesFilterValue":{"type":"string"}, "ListServiceInstancesInput":{ "type":"structure", "members":{ + "filters":{"shape":"ListServiceInstancesFilterList"}, "maxResults":{"shape":"MaxPageResults"}, "nextToken":{"shape":"NextToken"}, - "serviceName":{"shape":"ResourceName"} + "serviceName":{"shape":"ResourceName"}, + "sortBy":{"shape":"ListServiceInstancesSortBy"}, + "sortOrder":{"shape":"SortOrder"} } }, "ListServiceInstancesOutput":{ @@ -2697,6 +2727,18 @@ "serviceInstances":{"shape":"ServiceInstanceSummaryList"} } }, + "ListServiceInstancesSortBy":{ + "type":"string", + "enum":[ + "name", + "deploymentStatus", + "templateName", + "serviceName", + "environmentName", + "lastDeploymentAttemptedAt", + "createdAt" + ] + }, "ListServicePipelineOutputsInput":{ "type":"structure", "required":["serviceName"], @@ -3452,6 +3494,13 @@ "type":"list", "member":{"shape":"ServiceTemplateVersionSummary"} }, + "SortOrder":{ + "type":"string", + "enum":[ + "ASCENDING", + "DESCENDING" + ] + }, "SpecContents":{ "type":"string", "max":51200, diff --git a/models/apis/proton/2020-07-20/docs-2.json b/models/apis/proton/2020-07-20/docs-2.json index 9a75ecfb5f7..4b0949561cf 100644 --- a/models/apis/proton/2020-07-20/docs-2.json +++ b/models/apis/proton/2020-07-20/docs-2.json @@ -8,7 +8,7 @@ "CancelServiceInstanceDeployment": "Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment is IN_PROGRESS
. For more information, see Update a service instance in the Proton User guide.
The following list includes potential cancellation scenarios.
If the cancellation attempt succeeds, the resulting deployment state is CANCELLED
.
If the cancellation attempt fails, the resulting deployment state is FAILED
.
If the current UpdateServiceInstance action succeeds before the cancellation attempt starts, the resulting deployment state is SUCCEEDED
and the cancellation attempt has no effect.
Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment is IN_PROGRESS
. For more information, see Update a service pipeline in the Proton User guide.
The following list includes potential cancellation scenarios.
If the cancellation attempt succeeds, the resulting deployment state is CANCELLED
.
If the cancellation attempt fails, the resulting deployment state is FAILED
.
If the current UpdateServicePipeline action succeeds before the cancellation attempt starts, the resulting deployment state is SUCCEEDED
and the cancellation attempt has no effect.
Create an Proton component. A component is an infrastructure extension for a service instance.
For more information about components, see Proton components in the Proton User Guide.
", - "CreateEnvironment": "Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services.
You can provision environments using the following methods:
Amazon Web Services-managed provisioning – Proton makes direct calls to provision your resources.
Self-managed provisioning – Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC engine uses to provision resources.
CodeBuild-based provisioning – Proton uses CodeBuild to run shell commands that you provide. Your commands can read inputs that Proton provides, and are responsible for provisioning or deprovisioning infrastructure and generating output values.
For more information, see Environments and Provisioning methods in the Proton User Guide.
", + "CreateEnvironment": "Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services.
You can provision environments using the following methods:
Amazon Web Services-managed provisioning: Proton makes direct calls to provision your resources.
Self-managed provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC engine uses to provision resources.
For more information, see Environments and Provisioning methods in the Proton User Guide.
", "CreateEnvironmentAccountConnection": "Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.
An environment account connection is a secure bi-directional connection between a management account and an environment account that maintains authorization and permissions. For more information, see Environment account connections in the Proton User guide.
", "CreateEnvironmentTemplate": "Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.
You can create an environment template in one of the two following ways:
Register and publish a standard environment template that instructs Proton to deploy and manage environment infrastructure.
Register and publish a customer managed environment template that connects Proton to your existing provisioned infrastructure that you manage. Proton doesn't manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the provisioning
parameter and set the value to CUSTOMER_MANAGED
. For more information, see Register and publish an environment template in the Proton User Guide.
Create a new major or minor version of an environment template. A major version of an environment template is a version that isn't backwards compatible. A minor version of an environment template is a version that's backwards compatible within its major version.
", @@ -54,20 +54,20 @@ "ListRepositorySyncDefinitions": "List repository sync definitions with detail data.
", "ListServiceInstanceOutputs": "Get a list service of instance Infrastructure as Code (IaC) outputs.
", "ListServiceInstanceProvisionedResources": "List provisioned resources for a service instance with details.
", - "ListServiceInstances": "List service instances with summary data.
", + "ListServiceInstances": "List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.
", "ListServicePipelineOutputs": "Get a list of service pipeline Infrastructure as Code (IaC) outputs.
", "ListServicePipelineProvisionedResources": "List provisioned resources for a service and pipeline with details.
", "ListServiceTemplateVersions": "List major or minor versions of a service template with detail data.
", "ListServiceTemplates": "List service templates with detail data.
", "ListServices": "List services with summaries of detail data.
", "ListTagsForResource": "List tags for a resource. For more information, see Proton resources and tagging in the Proton User Guide.
", - "NotifyResourceDeploymentStatusChange": "Notify Proton of the following information related to a provisioned resource (environment, service instance, or service pipeline):
For CodeBuild-based provisioning, provide your provisioned resource output values to Proton.
For self-managed provisioning, notify Proton about the status of your provisioned resource. To disambiguate between different deployments of the same resource, set deploymentId
to a unique deployment ID of your choice.
</li> </ul>
",
+ "NotifyResourceDeploymentStatusChange": "Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.
For more information, see Self-managed provisioning in the Proton User Guide.
", "RejectEnvironmentAccountConnection": "In a management account, reject an environment account connection from another environment account.
After you reject an environment account connection request, you can't accept or use the rejected environment account connection.
You can’t reject an environment account connection that's connected to an environment.
For more information, see Environment account connections in the Proton User guide.
", "TagResource": "Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.
For more information, see Proton resources and tagging in the Proton User Guide.
", "UntagResource": "Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.
For more information, see Proton resources and tagging in the Proton User Guide.
", "UpdateAccountSettings": "Update Proton settings that are used for multiple services in the Amazon Web Services account.
", "UpdateComponent": "Update a component.
There are a few modes for updating a component. The deploymentType
field defines the mode.
You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is IN_PROGRESS
.
For more information about components, see Proton components in the Proton User Guide.
", - "UpdateEnvironment": "Update an environment.
If the environment is associated with an environment account connection, don't update or include the protonServiceRoleArn
, codebuildRoleArn
, and provisioningRepository
parameters.
You can only update to a new environment account connection if that connection was created in the same environment account that the current environment account connection was created in. The account connection must also be associated with the current environment.
If the environment isn't associated with an environment account connection, don't update or include the environmentAccountConnectionId
parameter. You can't update or connect the environment to an environment account connection if it isn't already associated with an environment connection.
You can update either environmentAccountConnectionId
or one or more of protonServiceRoleArn
, codebuildRoleArn
, and provisioningRepository
.
If the environment was configured for Amazon Web Services-managed or CodeBuild-based provisioning, omit the provisioningRepository
parameter.
If the environment was configured for self-managed provisioning, specify the provisioningRepository
parameter and omit the protonServiceRoleArn
, codebuildRoleArn
, and provisioningRepository
parameters.
For more information, see Environments and Provisioning methods in the Proton User Guide.
There are four modes for updating an environment. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type
.
MINOR_VERSION
In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.
Update an environment.
If the environment is associated with an environment account connection, don't update or include the protonServiceRoleArn
and provisioningRepository
parameter to update or connect to an environment account connection.
You can only update to a new environment account connection if that connection was created in the same environment account that the current environment account connection was created in. The account connection must also be associated with the current environment.
If the environment isn't associated with an environment account connection, don't update or include the environmentAccountConnectionId
parameter. You can't update or connect the environment to an environment account connection if it isn't already associated with an environment connection.
You can update either the environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. You can’t update both.
If the environment was configured for Amazon Web Services-managed provisioning, omit the provisioningRepository
parameter.
If the environment was configured for self-managed provisioning, specify the provisioningRepository
parameter and omit the protonServiceRoleArn
and environmentAccountConnectionId
parameters.
For more information, see Environments and Provisioning methods in the Proton User Guide.
There are four modes for updating an environment. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type
.
MINOR_VERSION
In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.
In an environment account, update an environment account connection to use a new IAM role.
For more information, see Environment account connections in the Proton User guide.
", "UpdateEnvironmentTemplate": "Update an environment template.
", "UpdateEnvironmentTemplateVersion": "Update a major or minor version of an environment template.
", @@ -104,21 +104,21 @@ "Arn": { "base": null, "refs": { - "CreateEnvironmentInput$protonServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using Amazon Web Services-managed provisioning and CloudFormation on your behalf.
To use Amazon Web Services-managed provisioning for the environment or for any service instance running in the environment, specify either the environmentAccountConnectionId
or protonServiceRoleArn
parameter.
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
To use Amazon Web Services-managed provisioning for the environment, specify either the environmentAccountConnectionId
or protonServiceRoleArn
parameter and omit the provisioningRepository
parameter.
A customer provided encryption key that Proton uses to encrypt data.
", "CreateRepositoryInput$connectionArn": "The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
", "CreateRepositoryInput$encryptionKey": "The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
", "CreateServiceInput$repositoryConnectionArn": "The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
", "CreateServiceTemplateInput$encryptionKey": "A customer provided encryption key that's used to encrypt data.
", - "Environment$protonServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using Amazon Web Services-managed provisioning and CloudFormation on your behalf.
", - "EnvironmentAccountConnection$roleArn": "The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.
", + "Environment$protonServiceRoleArn": "The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
", + "EnvironmentAccountConnection$roleArn": "The IAM service role that's associated with the environment account connection.
", "EnvironmentAccountConnectionSummary$componentRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
", "EnvironmentAccountConnectionSummary$roleArn": "The IAM service role that's associated with the environment account connection.
", "EnvironmentSummary$componentRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
", "EnvironmentSummary$protonServiceRoleArn": "The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
", "EnvironmentTemplate$encryptionKey": "The customer provided encryption key for the environment template.
", "ListTagsForResourceInput$resourceArn": "The Amazon Resource Name (ARN) of the resource for the listed tags.
", - "NotifyResourceDeploymentStatusChangeInput$resourceArn": "The Amazon Resource Name (ARN) of your provisioned resource.
", + "NotifyResourceDeploymentStatusChangeInput$resourceArn": "The provisioned resource Amazon Resource Name (ARN).
", "Repository$connectionArn": "The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.
", "Repository$encryptionKey": "Your customer Amazon Web Services KMS encryption key.
", "Service$repositoryConnectionArn": "The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide.
", @@ -126,7 +126,7 @@ "ServiceTemplate$encryptionKey": "The customer provided service template encryption key that's used to encrypt data.
", "TagResourceInput$resourceArn": "The Amazon Resource Name (ARN) of the Proton resource to apply customer tags to.
", "UntagResourceInput$resourceArn": "The Amazon Resource Name (ARN) of the resource to remove customer tags from.
", - "UpdateEnvironmentInput$protonServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using Amazon Web Services-managed provisioning and CloudFormation on your behalf.
" + "UpdateEnvironmentInput$protonServiceRoleArn": "The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services your behalf.
" } }, "AwsAccountId": { @@ -463,7 +463,7 @@ "DeploymentId": { "base": null, "refs": { - "NotifyResourceDeploymentStatusChangeInput$deploymentId": "The deployment ID for your provisioned resource. Proton uses it to disambiguate different deployments of the resource. Applicable to self-managed provisioning.
" + "NotifyResourceDeploymentStatusChangeInput$deploymentId": "The deployment ID for your provisioned resource.
" } }, "DeploymentStatus": { @@ -586,16 +586,16 @@ "base": null, "refs": { "AcceptEnvironmentAccountConnectionInput$id": "The ID of the environment account connection.
", - "CreateEnvironmentInput$environmentAccountConnectionId": "The ID of the environment account connection that you provide if you want Proton to provision infrastructure resources for your environment or for any of the service instances running in it in an environment account. For more information, see Environment account connections in the Proton User guide.
If you specify the environmentAccountConnectionId
parameter, don't specify protonServiceRoleArn
, codebuildRoleArn
, or provisioningRepository
.
The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment account. For more information, see Environment account connections in the Proton User guide.
To use Amazon Web Services-managed provisioning for the environment, specify either the environmentAccountConnectionId
or protonServiceRoleArn
parameter and omit the provisioningRepository
parameter.
The ID of the environment account connection to delete.
", - "Environment$environmentAccountConnectionId": "The ID of the environment account connection that Proton uses to provision infrastructure resources in an environment account.
", + "Environment$environmentAccountConnectionId": "The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
", "EnvironmentAccountConnection$id": "The ID of the environment account connection.
", "EnvironmentAccountConnectionSummary$id": "The ID of the environment account connection.
", "EnvironmentSummary$environmentAccountConnectionId": "The ID of the environment account connection that the environment is associated with.
", "GetEnvironmentAccountConnectionInput$id": "The ID of the environment account connection that you want to get the detailed data for.
", "RejectEnvironmentAccountConnectionInput$id": "The ID of the environment account connection to reject.
", "UpdateEnvironmentAccountConnectionInput$id": "The ID of the environment account connection to update.
", - "UpdateEnvironmentInput$environmentAccountConnectionId": "The ID of the environment account connection that you provide if you want Proton to provision infrastructure resources for your environment or for any of the service instances running in it in an environment account. For more information, see Environment account connections in the Proton User guide.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and is associated with the current environment.
" + "UpdateEnvironmentInput$environmentAccountConnectionId": "The ID of the environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and is associated with the current environment.
" } }, "EnvironmentAccountConnectionRequesterAccountType": { @@ -1028,6 +1028,30 @@ "refs": { } }, + "ListServiceInstancesFilter": { + "base": "A filtering criterion to scope down the result list of the ListServiceInstances action.
", + "refs": { + "ListServiceInstancesFilterList$member": null + } + }, + "ListServiceInstancesFilterBy": { + "base": null, + "refs": { + "ListServiceInstancesFilter$key": "The name of a filtering criterion.
" + } + }, + "ListServiceInstancesFilterList": { + "base": null, + "refs": { + "ListServiceInstancesInput$filters": "An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
" + } + }, + "ListServiceInstancesFilterValue": { + "base": null, + "refs": { + "ListServiceInstancesFilter$value": "A value to filter by.
With the date/time keys (*At{Before,After}
), the value is a valid RFC 3339 string with no UTC offset and with an optional fractional precision (for example, 1985-04-12T23:20:50.52Z
).
The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by service instance name.
Default: serviceName
The output values generated by your provisioned resource.
" + "NotifyResourceDeploymentStatusChangeInput$outputs": "The provisioned resource state change detail data that's returned by Proton.
" } }, "NotifyResourceDeploymentStatusChangeInputStatusMessageString": { @@ -1271,7 +1301,7 @@ "RepositoryBranchInput": { "base": "Detail input data for a linked repository branch.
", "refs": { - "CreateEnvironmentInput$provisioningRepository": "The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
To use self-managed provisioning for the environment or for any service instance running in the environment, specify this parameter.
", + "CreateEnvironmentInput$provisioningRepository": "The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
To use self-managed provisioning for the environment, specify this parameter and omit the environmentAccountConnectionId
and protonServiceRoleArn
parameters.
A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
To remove a previously configured repository, set deletePipelineProvisioningRepository
to true
, and don't set pipelineProvisioningRepository
.
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
" } @@ -1532,8 +1562,8 @@ "base": null, "refs": { "CreateEnvironmentAccountConnectionInput$codebuildRoleArn": "The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
", - "CreateEnvironmentAccountConnectionInput$componentRoleArn": "The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify componentRoleArn
to allow directly defined components to be associated with any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
", - "CreateEnvironmentAccountConnectionInput$roleArn": "The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.
", + "CreateEnvironmentAccountConnectionInput$componentRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify componentRoleArn
to allow directly defined components to be associated with any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
", + "CreateEnvironmentAccountConnectionInput$roleArn": "The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
", "CreateEnvironmentInput$codebuildRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
To use CodeBuild-based provisioning for the environment or for any service instance running in the environment, specify either the environmentAccountConnectionId
or codebuildRoleArn
parameter.
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
You must specify componentRoleArn
to allow directly defined components to be associated with this environment.
For more information about components, see Proton components in the Proton User Guide.
", "Environment$codebuildRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
", @@ -1542,7 +1572,7 @@ "EnvironmentAccountConnection$componentRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
", "UpdateEnvironmentAccountConnectionInput$codebuildRoleArn": "The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
", "UpdateEnvironmentAccountConnectionInput$componentRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
", - "UpdateEnvironmentAccountConnectionInput$roleArn": "The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.
", + "UpdateEnvironmentAccountConnectionInput$roleArn": "The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.
", "UpdateEnvironmentInput$codebuildRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
", "UpdateEnvironmentInput$componentRoleArn": "The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
" } @@ -1551,7 +1581,7 @@ "base": null, "refs": { "AccountSettings$pipelineCodebuildRoleArn": "The Amazon Resource Name (ARN) of the service role that Proton uses for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
", - "AccountSettings$pipelineServiceRoleArn": "The Amazon Resource Name (ARN) of the service role that Proton uses for provisioning pipelines. Proton assumes this role for Amazon Web Services-managed provisioning.
", + "AccountSettings$pipelineServiceRoleArn": "The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
", "UpdateAccountSettingsInput$pipelineCodebuildRoleArn": "The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
", "UpdateAccountSettingsInput$pipelineServiceRoleArn": "The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
" } @@ -1725,6 +1755,12 @@ "ListServiceTemplateVersionsOutput$templateVersions": "An array of major or minor versions of a service template with detail data.
" } }, + "SortOrder": { + "base": null, + "refs": { + "ListServiceInstancesInput$sortOrder": "Result list sort order.
Default: ASCENDING
The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.
The following JSON fields are valid:
Version of the CEV manifest. The date is in the format YYYY-MM-DD
.
Ordered list of installation files for the CEV.
Ordered list of OPatch installers used for the Oracle DB engine.
The PSU and RU patches for this CEV.
The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.
For more information, see Creating the CEV manifest in the Amazon RDS User Guide.
" + "CreateCustomDBEngineVersionMessage$Manifest": "The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.
The following JSON fields are valid:
Version of the CEV manifest. The date is in the format YYYY-MM-DD
.
Ordered list of installation files for the CEV.
Ordered list of OPatch installers used for the Oracle DB engine.
The PSU and RU patches for this CEV.
The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.
For more information, see Creating the CEV manifest in the Amazon RDS User Guide.
", + "DBEngineVersion$CustomDBEngineVersionManifest": "JSON string that lists the installation files and parameters that RDS Custom uses to create a custom engine version (CEV). RDS Custom applies the patches in the order in which they're listed in the manifest. You can set the Oracle home, Oracle base, and UNIX/Linux user and group using the installation parameters. For more information, see JSON fields in the CEV manifest in the Amazon RDS User Guide.
" } }, "CustomDBEngineVersionNotFoundFault": { @@ -2449,6 +2450,9 @@ "IntegerOptional": { "base": null, "refs": { + "ClusterPendingModifiedValues$BackupRetentionPeriod": "The number of days for which automatic DB snapshots are retained.
", + "ClusterPendingModifiedValues$AllocatedStorage": "The allocated storage size in gibibytes (GiB) for all database engines except Amazon Aurora. For Aurora, AllocatedStorage
always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed.
The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.
", "ConnectionPoolConfiguration$MaxConnectionsPercent": "The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections
setting for the RDS DB instance or Aurora DB cluster used by the target group.
If you specify MaxIdleConnectionsPercent
, then you must also include a value for this parameter.
Default: 10 for RDS for Microsoft SQL Server, and 100 for all other engines
Constraints: Must be between 1 and 100.
", "ConnectionPoolConfiguration$MaxIdleConnectionsPercent": "Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections
setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.
If you specify this parameter, then you must also include a value for MaxConnectionsPercent
.
Default: The default value is half of the value of MaxConnectionsPercent
. For example, if MaxConnectionsPercent
is 80, then the default value of MaxIdleConnectionsPercent
is 40. If the value of MaxConnectionsPercent
isn't specified, then for SQL Server, MaxIdleConnectionsPercent
is 5, and for all other engines, the default is 50.
Constraints: Must be between 0 and the value of MaxConnectionsPercent
.
The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.
Default: 120
Constraints: between 1 and 3600, or 0 representing unlimited
", @@ -3814,6 +3818,7 @@ "CreateDBClusterMessage$MonitoringRoleArn": "The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring role, see Setting up and enabling Enhanced Monitoring in the Amazon RDS User Guide.
If MonitoringInterval
is set to a value other than 0, supply a MonitoringRoleArn
value.
Valid for: Multi-AZ DB clusters only
", "CreateDBClusterMessage$PerformanceInsightsKMSKeyId": "The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
If you don't specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.
Valid for: Multi-AZ DB clusters only
", "CreateDBClusterMessage$NetworkType": "The network type of the DB cluster.
Valid values:
IPV4
DUAL
The network type is determined by the DBSubnetGroup
specified for the DB cluster. A DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL
).
For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide.
Valid for: Aurora DB clusters only
", + "CreateDBClusterMessage$DBSystemId": "Reserved for future use.
", "CreateDBClusterParameterGroupMessage$DBClusterParameterGroupName": "The name of the DB cluster parameter group.
Constraints:
Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
Aurora MySQL
Example: aurora5.6
, aurora-mysql5.7
, aurora-mysql8.0
Aurora PostgreSQL
Example: aurora-postgresql9.6
RDS for MySQL
Example: mysql8.0
RDS for PostgreSQL
Example: postgres12
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine <engine>
For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
aurora
(for MySQL 5.6-compatible Aurora)
aurora-mysql
(for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)
aurora-postgresql
mysql
postgres
The description for the DB cluster parameter group.
", @@ -3915,6 +3920,7 @@ "DBCluster$MonitoringRoleArn": "The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
This setting is only for non-Aurora Multi-AZ DB clusters.
", "DBCluster$PerformanceInsightsKMSKeyId": "The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
This setting is only for non-Aurora Multi-AZ DB clusters.
", "DBCluster$NetworkType": "The network type of the DB instance.
Valid values:
IPV4
DUAL
The network type is determined by the DBSubnetGroup
specified for the DB cluster. A DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL
).
For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide.
This setting is only for Aurora DB clusters.
", + "DBCluster$DBSystemId": "Reserved for future use.
", "DBClusterBacktrack$DBClusterIdentifier": "Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
", "DBClusterBacktrack$BacktrackIdentifier": "Contains the backtrack identifier.
", "DBClusterBacktrack$Status": "The status of the backtrack. This property returns one of the following values:
applying
- The backtrack is currently being applied to or rolled back from the DB cluster.
completed
- The backtrack has successfully been applied to or rolled back from the DB cluster.
failed
- An error occurred while the backtrack was applied to or rolled back from the DB cluster.
pending
- The backtrack is currently pending application to or rollback from the DB cluster.
If StorageEncrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB cluster snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
", "DBClusterSnapshot$DBClusterSnapshotArn": "The Amazon Resource Name (ARN) for the DB cluster snapshot.
", "DBClusterSnapshot$SourceDBClusterSnapshotArn": "If the DB cluster snapshot was copied from a source DB cluster snapshot, the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, a null value.
", + "DBClusterSnapshot$DBSystemId": "Reserved for future use.
", "DBClusterSnapshotAttribute$AttributeName": "The name of the manual DB cluster snapshot attribute.
The attribute named restore
refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute
API action.
The identifier of the manual DB cluster snapshot that the attributes apply to.
", "DBClusterSnapshotMessage$Marker": "An optional pagination token provided by a previous DescribeDBClusterSnapshots
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements:
The profile must exist in your account.
The profile must have an IAM role that Amazon EC2 has permissions to assume.
The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom
.
For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
", "DBInstance$BackupTarget": "Specifies where automated backups and manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
", "DBInstance$NetworkType": "The network type of the DB instance.
Valid values:
IPV4
DUAL
The network type is determined by the DBSubnetGroup
specified for the DB instance. A DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL
).
For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide and Working with a DB instance in a VPC in the Amazon Aurora User Guide.
", + "DBInstance$DBSystemId": "The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle SID is also the name of the CDB. This setting is valid for RDS Custom only.
", "DBInstanceAutomatedBackup$DBInstanceArn": "The Amazon Resource Name (ARN) for the automated backups.
", "DBInstanceAutomatedBackup$DbiResourceId": "The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
", "DBInstanceAutomatedBackup$Region": "The Amazon Web Services Region associated with the automated backup.
", diff --git a/models/apis/ssm-incidents/2018-05-10/api-2.json b/models/apis/ssm-incidents/2018-05-10/api-2.json index c5b57fc13a9..efb85bdd50b 100644 --- a/models/apis/ssm-incidents/2018-05-10/api-2.json +++ b/models/apis/ssm-incidents/2018-05-10/api-2.json @@ -665,6 +665,7 @@ "displayName":{"shape":"ResponsePlanDisplayName"}, "engagements":{"shape":"EngagementSet"}, "incidentTemplate":{"shape":"IncidentTemplate"}, + "integrations":{"shape":"Integrations"}, "name":{"shape":"ResponsePlanName"}, "tags":{"shape":"TagMap"} } @@ -975,6 +976,7 @@ "displayName":{"shape":"ResponsePlanDisplayName"}, "engagements":{"shape":"EngagementSet"}, "incidentTemplate":{"shape":"IncidentTemplate"}, + "integrations":{"shape":"Integrations"}, "name":{"shape":"ResponsePlanName"} } }, @@ -1126,6 +1128,19 @@ "max":100, "min":0 }, + "Integration":{ + "type":"structure", + "members":{ + "pagerDutyConfiguration":{"shape":"PagerDutyConfiguration"} + }, + "union":true + }, + "Integrations":{ + "type":"list", + "member":{"shape":"Integration"}, + "max":1, + "min":0 + }, "InternalServerException":{ "type":"structure", "required":["message"], @@ -1166,6 +1181,7 @@ "members":{ "arn":{"shape":"Arn"}, "metricDefinition":{"shape":"MetricDefinition"}, + "pagerDutyIncidentDetail":{"shape":"PagerDutyIncidentDetail"}, "url":{"shape":"Url"} }, "union":true @@ -1300,6 +1316,60 @@ "max":10, "min":0 }, + "PagerDutyConfiguration":{ + "type":"structure", + "required":[ + "name", + "pagerDutyIncidentConfiguration", + "secretId" + ], + "members":{ + "name":{"shape":"PagerDutyConfigurationNameString"}, + "pagerDutyIncidentConfiguration":{"shape":"PagerDutyIncidentConfiguration"}, + "secretId":{"shape":"PagerDutyConfigurationSecretIdString"} + } + }, + "PagerDutyConfigurationNameString":{ + "type":"string", + "max":200, + "min":1 + }, + "PagerDutyConfigurationSecretIdString":{ + "type":"string", + "max":512, + "min":1 + }, + "PagerDutyIncidentConfiguration":{ + "type":"structure", + "required":["serviceId"], + "members":{ + "serviceId":{"shape":"PagerDutyIncidentConfigurationServiceIdString"} + } + }, + "PagerDutyIncidentConfigurationServiceIdString":{ + "type":"string", + "max":200, + "min":1 + }, + "PagerDutyIncidentDetail":{ + "type":"structure", + "required":["id"], + "members":{ + "autoResolve":{"shape":"Boolean"}, + "id":{"shape":"PagerDutyIncidentDetailIdString"}, + "secretId":{"shape":"PagerDutyIncidentDetailSecretIdString"} + } + }, + "PagerDutyIncidentDetailIdString":{ + "type":"string", + "max":200, + "min":1 + }, + "PagerDutyIncidentDetailSecretIdString":{ + "type":"string", + "max":512, + "min":1 + }, "Policy":{ "type":"string", "max":4000, @@ -1916,7 +1986,8 @@ "incidentTemplateNotificationTargets":{"shape":"NotificationTargetSet"}, "incidentTemplateSummary":{"shape":"IncidentSummary"}, "incidentTemplateTags":{"shape":"TagMapUpdate"}, - "incidentTemplateTitle":{"shape":"IncidentTitle"} + "incidentTemplateTitle":{"shape":"IncidentTitle"}, + "integrations":{"shape":"Integrations"} } }, "UpdateResponsePlanOutput":{ diff --git a/models/apis/ssm-incidents/2018-05-10/docs-2.json b/models/apis/ssm-incidents/2018-05-10/docs-2.json index 338495ec099..e23e7fdee8a 100644 --- a/models/apis/ssm-incidents/2018-05-10/docs-2.json +++ b/models/apis/ssm-incidents/2018-05-10/docs-2.json @@ -127,6 +127,7 @@ "Boolean": { "base": null, "refs": { + "PagerDutyIncidentDetail$autoResolve": "Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
", "ReplicationSet$deletionProtected": "Determines if the replication set deletion protection is enabled or not. If deletion protection is enabled, you can't delete the last Amazon Web Services Region in the replication set.
", "UpdateDeletionProtectionInput$deletionProtected": "Specifies if deletion protection is turned on or off in your account.
" } @@ -512,6 +513,20 @@ "AttributeValueList$integerValues": "The list of integer values that the filter matches.
" } }, + "Integration": { + "base": "Information about third-party services integrated into a response plan.
", + "refs": { + "Integrations$member": null + } + }, + "Integrations": { + "base": null, + "refs": { + "CreateResponsePlanInput$integrations": "Information about third-party services integrated into the response plan.
", + "GetResponsePlanOutput$integrations": "Information about third-party services integrated into the Incident Manager response plan.
", + "UpdateResponsePlanInput$integrations": "Information about third-party services integrated into the response plan.
" + } + }, "InternalServerException": { "base": "The request processing has failed because of an unknown error, exception or failure.
", "refs": { @@ -645,6 +660,54 @@ "UpdateResponsePlanInput$incidentTemplateNotificationTargets": "The Amazon SNS targets that are notified when updates are made to an incident.
" } }, + "PagerDutyConfiguration": { + "base": "Details about the PagerDuty configuration for a response plan.
", + "refs": { + "Integration$pagerDutyConfiguration": "Information about the PagerDuty service where the response plan creates an incident.
" + } + }, + "PagerDutyConfigurationNameString": { + "base": null, + "refs": { + "PagerDutyConfiguration$name": "The name of the PagerDuty configuration.
" + } + }, + "PagerDutyConfigurationSecretIdString": { + "base": null, + "refs": { + "PagerDutyConfiguration$secretId": "The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
" + } + }, + "PagerDutyIncidentConfiguration": { + "base": "Details about the PagerDuty service where the response plan creates an incident.
", + "refs": { + "PagerDutyConfiguration$pagerDutyIncidentConfiguration": "Details about the PagerDuty service associated with the configuration.
" + } + }, + "PagerDutyIncidentConfigurationServiceIdString": { + "base": null, + "refs": { + "PagerDutyIncidentConfiguration$serviceId": "The ID of the PagerDuty service that the response plan associates with an incident when it launches.
" + } + }, + "PagerDutyIncidentDetail": { + "base": "Details about the PagerDuty incident associated with an incident created by an Incident Manager response plan.
", + "refs": { + "ItemValue$pagerDutyIncidentDetail": "Details about an incident that is associated with a PagerDuty incident.
" + } + }, + "PagerDutyIncidentDetailIdString": { + "base": null, + "refs": { + "PagerDutyIncidentDetail$id": "The ID of the incident associated with the PagerDuty service for the response plan.
" + } + }, + "PagerDutyIncidentDetailSecretIdString": { + "base": null, + "refs": { + "PagerDutyIncidentDetail$secretId": "The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
" + } + }, "Policy": { "base": null, "refs": { diff --git a/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json b/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json index 7777009da9d..9be57ba056a 100644 --- a/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json +++ b/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": true } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": true } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": false } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": true } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": false } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": true } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": false } }, { @@ -346,9 +346,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": true } }, { @@ -359,9 +359,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": false } }, { @@ -372,9 +372,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -385,9 +385,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -398,9 +398,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -411,9 +411,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -424,9 +424,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": true } }, { @@ -437,9 +437,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": false } }, { @@ -450,9 +450,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": true } }, { @@ -463,9 +463,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": false } }, { @@ -476,9 +476,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -489,9 +489,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -502,9 +502,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -515,9 +515,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -528,9 +528,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -541,9 +541,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -554,9 +554,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -567,9 +567,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -580,9 +580,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": true } }, { @@ -593,9 +593,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": false } }, { @@ -606,9 +606,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": true } }, { @@ -619,9 +619,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": false } }, { @@ -632,9 +632,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -645,9 +645,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -658,9 +658,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -671,9 +671,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -684,9 +684,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -697,9 +697,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -710,9 +710,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -723,9 +723,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -736,9 +736,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -749,9 +749,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -762,9 +762,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -775,9 +775,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -788,9 +788,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": true } }, { @@ -801,9 +801,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": false } }, { @@ -814,9 +814,9 @@ } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": true } }, { @@ -827,9 +827,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": false } }, { @@ -840,9 +840,9 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -852,9 +852,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -864,9 +864,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index ad4976defd8..edfee37c25a 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -176,7 +176,8 @@ {"shape":"InternalServerError"}, {"shape":"OpsItemAlreadyExistsException"}, {"shape":"OpsItemLimitExceededException"}, - {"shape":"OpsItemInvalidParameterException"} + {"shape":"OpsItemInvalidParameterException"}, + {"shape":"OpsItemAccessDeniedException"} ] }, "CreateOpsMetadata":{ @@ -364,6 +365,20 @@ {"shape":"ResourceDataSyncInvalidConfigurationException"} ] }, + "DeleteResourcePolicy":{ + "name":"DeleteResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteResourcePolicyRequest"}, + "output":{"shape":"DeleteResourcePolicyResponse"}, + "errors":[ + {"shape":"InternalServerError"}, + {"shape":"ResourcePolicyInvalidParameterException"}, + {"shape":"ResourcePolicyConflictException"} + ] + }, "DeregisterManagedInstance":{ "name":"DeregisterManagedInstance", "http":{ @@ -1074,7 +1089,8 @@ "output":{"shape":"GetOpsItemResponse"}, "errors":[ {"shape":"InternalServerError"}, - {"shape":"OpsItemNotFoundException"} + {"shape":"OpsItemNotFoundException"}, + {"shape":"OpsItemAccessDeniedException"} ] }, "GetOpsMetadata":{ @@ -1194,6 +1210,19 @@ {"shape":"InternalServerError"} ] }, + "GetResourcePolicies":{ + "name":"GetResourcePolicies", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourcePoliciesRequest"}, + "output":{"shape":"GetResourcePoliciesResponse"}, + "errors":[ + {"shape":"InternalServerError"}, + {"shape":"ResourcePolicyInvalidParameterException"} + ] + }, "GetServiceSetting":{ "name":"GetServiceSetting", "http":{ @@ -1537,6 +1566,21 @@ {"shape":"IncompatiblePolicyException"} ] }, + "PutResourcePolicy":{ + "name":"PutResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutResourcePolicyRequest"}, + "output":{"shape":"PutResourcePolicyResponse"}, + "errors":[ + {"shape":"InternalServerError"}, + {"shape":"ResourcePolicyInvalidParameterException"}, + {"shape":"ResourcePolicyLimitExceededException"}, + {"shape":"ResourcePolicyConflictException"} + ] + }, "RegisterDefaultPatchBaseline":{ "name":"RegisterDefaultPatchBaseline", "http":{ @@ -1938,7 +1982,8 @@ {"shape":"OpsItemNotFoundException"}, {"shape":"OpsItemAlreadyExistsException"}, {"shape":"OpsItemLimitExceededException"}, - {"shape":"OpsItemInvalidParameterException"} + {"shape":"OpsItemInvalidParameterException"}, + {"shape":"OpsItemAccessDeniedException"} ] }, "UpdateOpsMetadata":{ @@ -3531,13 +3576,15 @@ "ActualStartTime":{"shape":"DateTime"}, "ActualEndTime":{"shape":"DateTime"}, "PlannedStartTime":{"shape":"DateTime"}, - "PlannedEndTime":{"shape":"DateTime"} + "PlannedEndTime":{"shape":"DateTime"}, + "AccountId":{"shape":"OpsItemAccountId"} } }, "CreateOpsItemResponse":{ "type":"structure", "members":{ - "OpsItemId":{"shape":"String"} + "OpsItemId":{"shape":"String"}, + "OpsItemArn":{"shape":"OpsItemArn"} } }, "CreateOpsMetadataRequest":{ @@ -3755,6 +3802,24 @@ "members":{ } }, + "DeleteResourcePolicyRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "PolicyId", + "PolicyHash" + ], + "members":{ + "ResourceArn":{"shape":"ResourceArnString"}, + "PolicyId":{"shape":"PolicyId"}, + "PolicyHash":{"shape":"PolicyHash"} + } + }, + "DeleteResourcePolicyResponse":{ + "type":"structure", + "members":{ + } + }, "DeliveryTimedOutCount":{"type":"integer"}, "DeregisterManagedInstanceRequest":{ "type":"structure", @@ -5314,7 +5379,8 @@ "type":"structure", "required":["OpsItemId"], "members":{ - "OpsItemId":{"shape":"OpsItemId"} + "OpsItemId":{"shape":"OpsItemId"}, + "OpsItemArn":{"shape":"OpsItemArn"} } }, "GetOpsItemResponse":{ @@ -5506,6 +5572,34 @@ "Sources":{"shape":"PatchSourceList"} } }, + "GetResourcePoliciesRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{"shape":"ResourceArnString"}, + "NextToken":{"shape":"String"}, + "MaxResults":{"shape":"ResourcePolicyMaxResults"} + } + }, + "GetResourcePoliciesResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"String"}, + "Policies":{"shape":"GetResourcePoliciesResponseEntries"} + } + }, + "GetResourcePoliciesResponseEntries":{ + "type":"list", + "member":{"shape":"GetResourcePoliciesResponseEntry"} + }, + "GetResourcePoliciesResponseEntry":{ + "type":"structure", + "members":{ + "PolicyId":{"shape":"PolicyId"}, + "PolicyHash":{"shape":"PolicyHash"}, + "Policy":{"shape":"Policy"} + } + }, "GetServiceSettingRequest":{ "type":"structure", "required":["SettingId"], @@ -7590,9 +7684,21 @@ "ActualStartTime":{"shape":"DateTime"}, "ActualEndTime":{"shape":"DateTime"}, "PlannedStartTime":{"shape":"DateTime"}, - "PlannedEndTime":{"shape":"DateTime"} + "PlannedEndTime":{"shape":"DateTime"}, + "OpsItemArn":{"shape":"OpsItemArn"} } }, + "OpsItemAccessDeniedException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"} + }, + "exception":true + }, + "OpsItemAccountId":{ + "type":"string", + "pattern":"^[0-9]{12}$" + }, "OpsItemAlreadyExistsException":{ "type":"structure", "members":{ @@ -7601,6 +7707,12 @@ }, "exception":true }, + "OpsItemArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"arn:(aws[a-zA-Z-]*)?:ssm:[a-z0-9-\\.]{0,63}:[0-9]{12}:opsitem.*" + }, "OpsItemCategory":{ "type":"string", "max":64, @@ -7735,7 +7847,8 @@ "ChangeRequestByApproverName", "ChangeRequestByTemplate", "ChangeRequestByTargetsResourceGroup", - "InsightByType" + "InsightByType", + "AccountId" ] }, "OpsItemFilterOperator":{ @@ -8805,6 +8918,12 @@ }, "exception":true }, + "Policy":{ + "type":"string", + "pattern":"\\S+" + }, + "PolicyHash":{"type":"string"}, + "PolicyId":{"type":"string"}, "Product":{"type":"string"}, "ProgressCounters":{ "type":"structure", @@ -8891,6 +9010,26 @@ "Tier":{"shape":"ParameterTier"} } }, + "PutResourcePolicyRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "Policy" + ], + "members":{ + "ResourceArn":{"shape":"ResourceArnString"}, + "Policy":{"shape":"Policy"}, + "PolicyId":{"shape":"PolicyId"}, + "PolicyHash":{"shape":"PolicyHash"} + } + }, + "PutResourcePolicyResponse":{ + "type":"structure", + "members":{ + "PolicyId":{"shape":"PolicyId"}, + "PolicyHash":{"shape":"PolicyHash"} + } + }, "RebootOption":{ "type":"string", "enum":[ @@ -9099,6 +9238,11 @@ "Truncated":{"shape":"Boolean"} } }, + "ResourceArnString":{ + "type":"string", + "max":2048, + "min":20 + }, "ResourceComplianceSummaryItem":{ "type":"structure", "members":{ @@ -9330,6 +9474,39 @@ }, "exception":true }, + "ResourcePolicyConflictException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"} + }, + "exception":true + }, + "ResourcePolicyInvalidParameterException":{ + "type":"structure", + "members":{ + "ParameterNames":{"shape":"ResourcePolicyParameterNamesList"}, + "Message":{"shape":"String"} + }, + "exception":true + }, + "ResourcePolicyLimitExceededException":{ + "type":"structure", + "members":{ + "Limit":{"shape":"Integer"}, + "LimitType":{"shape":"String"}, + "Message":{"shape":"String"} + }, + "exception":true + }, + "ResourcePolicyMaxResults":{ + "type":"integer", + "max":50, + "min":1 + }, + "ResourcePolicyParameterNamesList":{ + "type":"list", + "member":{"shape":"String"} + }, "ResourceType":{ "type":"string", "enum":[ @@ -10546,7 +10723,8 @@ "ActualStartTime":{"shape":"DateTime"}, "ActualEndTime":{"shape":"DateTime"}, "PlannedStartTime":{"shape":"DateTime"}, - "PlannedEndTime":{"shape":"DateTime"} + "PlannedEndTime":{"shape":"DateTime"}, + "OpsItemArn":{"shape":"OpsItemArn"} } }, "UpdateOpsItemResponse":{ diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index 1a004597bf8..0c77a2dd709 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -25,6 +25,7 @@ "DeleteParameters": "Delete a list of parameters. After deleting a parameter, wait for at least 30 seconds to create a parameter with the same name.
", "DeletePatchBaseline": "Deletes a patch baseline.
", "DeleteResourceDataSync": "Deletes a resource data sync configuration. After the configuration is deleted, changes to data on managed nodes are no longer synced to or from the target. Deleting a sync configuration doesn't delete data.
", + "DeleteResourcePolicy": "Deletes a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
Removes the server or virtual machine from the list of registered servers. You can reregister the node again at any time. If you don't plan to use Run Command on the server, we suggest uninstalling SSM Agent first.
", "DeregisterPatchBaselineForPatchGroup": "Removes a patch group from a patch baseline.
", "DeregisterTargetFromMaintenanceWindow": "Removes a target from a maintenance window.
", @@ -85,6 +86,7 @@ "GetParametersByPath": "Retrieve information about one or more parameters in a specific hierarchy.
Request results are returned on a best-effort basis. If you specify MaxResults
in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults
. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken
. You can specify the NextToken
in a subsequent call to get the next set of results.
Retrieves information about a patch baseline.
", "GetPatchBaselineForPatchGroup": "Retrieves the patch baseline that should be used for the specified patch group.
", + "GetResourcePolicies": "Returns an array of the Policy
object.
ServiceSetting
is an account-level setting for an Amazon Web Services service. This setting defines how a user interacts with or uses a service or a feature of a service. For example, if an Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services service team might create a default setting of false
. This means the user can't use this feature unless they change the setting to true
and intentionally opt in for a paid feature.
Services map a SettingId
object to a setting value. Amazon Web Services services teams define the default value for a SettingId
. You can't create a new SettingId
, but you can overwrite the default value if you have the ssm:UpdateServiceSetting
permission for the setting. Use the UpdateServiceSetting API operation to change the default setting. Or use the ResetServiceSetting to change the value back to the original value defined by the Amazon Web Services service team.
Query the current service setting for the Amazon Web Services account.
", "LabelParameterVersion": "A parameter label is a user-defined alias to help you manage different versions of a parameter. When you modify a parameter, Amazon Web Services Systems Manager automatically saves a new version and increments the version number by one. A label can help you remember the purpose of a parameter when there are multiple versions.
Parameter labels have the following requirements and restrictions.
A version of a parameter can have a maximum of 10 labels.
You can't attach the same label to different versions of the same parameter. For example, if version 1 has the label Production, then you can't attach Production to version 2.
You can move a label from one version of a parameter to another.
You can't create a label when you create a new parameter. You must attach a label to a specific version of a parameter.
If you no longer want to use a parameter label, then you can either delete it or move it to a different version of a parameter.
A label can have a maximum of 100 characters.
Labels can contain letters (case sensitive), numbers, periods (.), hyphens (-), or underscores (_).
Labels can't begin with a number, \"aws
\" or \"ssm
\" (not case sensitive). If a label fails to meet these requirements, then the label isn't associated with a parameter and the system displays it in the list of InvalidLabels.
Retrieves all versions of an association for a specific association ID.
", @@ -107,6 +109,7 @@ "PutComplianceItems": "Registers a compliance type and other compliance details on a designated resource. This operation lets you register custom compliance details with a resource. This call overwrites existing compliance information on the resource, so you must provide a full list of compliance items each time that you send the request.
ComplianceType can be one of the following:
ExecutionId: The execution ID when the patch, association, or custom compliance item was applied.
ExecutionType: Specify patch, association, or Custom:string
.
ExecutionTime. The time the patch, association, or custom compliance item was applied to the managed node.
Id: The patch, association, or custom compliance ID.
Title: A title.
Status: The status of the compliance item. For example, approved
for patches, or Failed
for associations.
Severity: A patch severity. For example, Critical
.
DocumentName: An SSM document name. For example, AWS-RunPatchBaseline
.
DocumentVersion: An SSM document version number. For example, 4.
Classification: A patch classification. For example, security updates
.
PatchBaselineId: A patch baseline ID.
PatchSeverity: A patch severity. For example, Critical
.
PatchState: A patch state. For example, InstancesWithFailedPatches
.
PatchGroup: The name of a patch group.
InstalledTime: The time the association, patch, or custom compliance item was applied to the resource. Specify the time by using the following format: yyyy-MM-dd'T'HH:mm:ss'Z'
Bulk update custom inventory items on one or more managed nodes. The request adds an inventory item, if it doesn't already exist, or updates an inventory item, if it does exist.
", "PutParameter": "Add a parameter to the system.
", + "PutResourcePolicy": "Creates or updates a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
Defines the default patch baseline for the relevant operating system.
To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline Amazon Resource Name (ARN) as the baseline ID value. For example, for CentOS, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed
instead of pb-0574b43a65ea646ed
.
Registers a patch baseline for a patch group.
", "RegisterTargetWithMaintenanceWindow": "Registers a target with a maintenance window.
", @@ -1772,6 +1775,16 @@ "refs": { } }, + "DeleteResourcePolicyRequest": { + "base": null, + "refs": { + } + }, + "DeleteResourcePolicyResponse": { + "base": null, + "refs": { + } + }, "DeliveryTimedOutCount": { "base": null, "refs": { @@ -2974,6 +2987,28 @@ "refs": { } }, + "GetResourcePoliciesRequest": { + "base": null, + "refs": { + } + }, + "GetResourcePoliciesResponse": { + "base": null, + "refs": { + } + }, + "GetResourcePoliciesResponseEntries": { + "base": null, + "refs": { + "GetResourcePoliciesResponse$Policies": "An array of the Policy
object.
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
The request body of the GetServiceSetting API operation.
", "refs": { @@ -3012,9 +3047,9 @@ "base": null, "refs": { "Activation$IamRole": "The Identity and Access Management (IAM) role to assign to the managed node.
", - "CreateActivationRequest$IamRole": "The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create an IAM service role for a hybrid environment in the Amazon Web Services Systems Manager User Guide.
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create an IAM service role for a hybrid environment in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed node. This call doesn't return the IAM role for Amazon Elastic Compute Cloud (Amazon EC2) instances. To retrieve the IAM role for an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
The IAM role you want to assign or change.
" + "UpdateManagedInstanceRoleRequest$IamRole": "The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create an IAM service role for a hybrid environment in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
The total number of steps that failed to run in all specified Amazon Web Services Regions and Amazon Web Services accounts for the current Automation execution.
", "ProgressCounters$CancelledSteps": "The total number of steps that the system cancelled in all specified Amazon Web Services Regions and Amazon Web Services accounts for the current Automation execution.
", "ProgressCounters$TimedOutSteps": "The total number of steps that timed out in all specified Amazon Web Services Regions and Amazon Web Services accounts for the current Automation execution.
", + "ResourcePolicyLimitExceededException$Limit": null, "StepExecution$MaxAttempts": "The maximum number of tries to run the action of the step. The default value is 1
.
The OpsItem.
" } }, + "OpsItemAccessDeniedException": { + "base": "You don't have permission to view OpsItems in the specified account. Verify that your account is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations management account.
", + "refs": { + } + }, + "OpsItemAccountId": { + "base": null, + "refs": { + "CreateOpsItemRequest$AccountId": "The target Amazon Web Services account where you want to create an OpsItem. To make this call, your account must be configured to work with OpsItems across accounts. For more information, see Setting up OpsCenter to work with OpsItems across accounts in the Amazon Web Services Systems Manager User Guide.
" + } + }, "OpsItemAlreadyExistsException": { "base": "The OpsItem already exists.
", "refs": { } }, + "OpsItemArn": { + "base": null, + "refs": { + "CreateOpsItemResponse$OpsItemArn": "The OpsItem Amazon Resource Name (ARN).
", + "GetOpsItemRequest$OpsItemArn": "The OpsItem Amazon Resource Name (ARN).
", + "OpsItem$OpsItemArn": "The OpsItem Amazon Resource Name (ARN).
", + "UpdateOpsItemRequest$OpsItemArn": "The OpsItem Amazon Resource Name (ARN).
" + } + }, "OpsItemCategory": { "base": null, "refs": { @@ -5470,9 +5526,9 @@ "OpsItemType": { "base": null, "refs": { - "CreateOpsItemRequest$OpsItemType": "The type of OpsItem to create. Currently, the only valid values are /aws/changerequest
and /aws/issue
.
The type of OpsItem. Currently, the only valid values are /aws/changerequest
and /aws/issue
.
The type of OpsItem. Currently, the only valid values are /aws/changerequest
and /aws/issue
.
The type of OpsItem to create. Systems Manager supports the following types of OpsItems:
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insights
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
The type of OpsItem. Systems Manager supports the following types of OpsItems:
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insights
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
The type of OpsItem. Systems Manager supports the following types of OpsItems:
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
/aws/insights
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
A policy you want to associate with a resource.
" + } + }, + "PolicyHash": { + "base": null, + "refs": { + "DeleteResourcePolicyRequest$PolicyHash": "ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.
", + "GetResourcePoliciesResponseEntry$PolicyHash": "ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
", + "PutResourcePolicyRequest$PolicyHash": "ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy.
", + "PutResourcePolicyResponse$PolicyHash": "ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
" + } + }, + "PolicyId": { + "base": null, + "refs": { + "DeleteResourcePolicyRequest$PolicyId": "The policy ID.
", + "GetResourcePoliciesResponseEntry$PolicyId": "A policy ID.
", + "PutResourcePolicyRequest$PolicyId": "The policy ID.
", + "PutResourcePolicyResponse$PolicyId": "The policy ID. To update a policy, you must specify PolicyId
and PolicyHash
.
A list of targets that resolved during the execution.
" } }, + "ResourceArnString": { + "base": null, + "refs": { + "DeleteResourcePolicyRequest$ResourceArn": "Amazon Resource Name (ARN) of the resource to which the policies are attached.
", + "GetResourcePoliciesRequest$ResourceArn": "Amazon Resource Name (ARN) of the resource to which the policies are attached.
", + "PutResourcePolicyRequest$ResourceArn": "Amazon Resource Name (ARN) of the resource to which the policies are attached.
" + } + }, "ResourceComplianceSummaryItem": { "base": "Compliance summary information for a specific resource.
", "refs": { @@ -6918,6 +7017,33 @@ "refs": { } }, + "ResourcePolicyConflictException": { + "base": "The hash provided in the call doesn't match the stored hash. This exception is thrown when trying to update an obsolete policy version or when multiple requests to update a policy are sent.
", + "refs": { + } + }, + "ResourcePolicyInvalidParameterException": { + "base": "One or more parameters specified for the call aren't valid. Verify the parameters and their values and try again.
", + "refs": { + } + }, + "ResourcePolicyLimitExceededException": { + "base": "The PutResourcePolicy API action enforces two limits. A policy can't be greater than 1024 bytes in size. And only one policy can be attached to OpsItemGroup
. Verify these limits and try again.
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
" + } + }, + "ResourcePolicyParameterNamesList": { + "base": null, + "refs": { + "ResourcePolicyInvalidParameterException$ParameterNames": null + } + }, "ResourceType": { "base": null, "refs": { @@ -7531,6 +7657,8 @@ "FailureDetails$FailureStage": "The stage of the Automation execution when the failure occurred. The stages include the following: InputValidation, PreVerification, Invocation, PostVerification.
", "FailureDetails$FailureType": "The type of Automation failure. Failure types include the following: Action, Permission, Throttling, Verification, Internal.
", "FeatureNotAvailableException$Message": null, + "GetResourcePoliciesRequest$NextToken": "A token to start the list. Use this token to get the next set of results.
", + "GetResourcePoliciesResponse$NextToken": "The token for the next set of items to return. Use this token to get the next set of results.
", "HierarchyLevelLimitExceededException$message": "A hierarchy can have a maximum of 15 levels. For more information, see Requirements and constraints for parameter names in the Amazon Web Services Systems Manager User Guide.
", "HierarchyTypeMismatchException$message": "Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you can't change a parameter from a String
type to a SecureString
type. You must create a new, unique parameter.
The ARN of the Amazon Web Services account that created the OpsItem.
", "OpsItem$LastModifiedBy": "The ARN of the Amazon Web Services account that last updated the OpsItem.
", "OpsItem$Version": "The version of this OpsItem. Each time the OpsItem is edited the version number increments by one.
", + "OpsItemAccessDeniedException$Message": null, "OpsItemAlreadyExistsException$Message": null, "OpsItemAlreadyExistsException$OpsItemId": null, "OpsItemEventSummary$OpsItemId": "The ID of the OpsItem.
", @@ -7641,6 +7770,11 @@ "ResourceDataSyncNotFoundException$Message": null, "ResourceInUseException$Message": null, "ResourceLimitExceededException$Message": null, + "ResourcePolicyConflictException$Message": null, + "ResourcePolicyInvalidParameterException$Message": null, + "ResourcePolicyLimitExceededException$LimitType": null, + "ResourcePolicyLimitExceededException$Message": null, + "ResourcePolicyParameterNamesList$member": null, "ServiceSetting$LastModifiedUser": "The ARN of the last modified user. This field is populated only if the setting value was overwritten.
", "ServiceSetting$ARN": "The ARN of the service setting.
", "ServiceSetting$Status": "The status of the service setting. The value can be Default, Customized or PendingUpdate.
Default: The current setting uses a default value provisioned by the Amazon Web Services service team.
Customized: The current setting use a custom value specified by the customer.
PendingUpdate: The current setting uses a default or custom value, but a setting change request is pending approval.
Creates a group resource with a name and a filter expression.
", "CreateSamplingRule": "Creates a rule to control sampling behavior for instrumented applications. Services retrieve rules with GetSamplingRules, and evaluate each rule in ascending order of priority for each request. If a rule matches, the service records a trace, borrowing it from the reservoir size. After 10 seconds, the service reports back to X-Ray with GetSamplingTargets to get updated versions of each in-use rule. The updated rule contains a trace quota that the service can use instead of borrowing from the reservoir.
", "DeleteGroup": "Deletes a group resource.
", + "DeleteResourcePolicy": "Deletes a resource policy from the target Amazon Web Services account.
", "DeleteSamplingRule": "Deletes a sampling rule.
", "GetEncryptionConfig": "Retrieves the current encryption configuration for X-Ray data.
", "GetGroup": "Retrieves group resource details.
", @@ -21,8 +22,10 @@ "GetTimeSeriesServiceStatistics": "Get an aggregation of service statistics defined by a specific time range.
", "GetTraceGraph": "Retrieves a service graph for one or more specific trace IDs.
", "GetTraceSummaries": "Retrieves IDs and annotations for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces
.
A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through api.example.com
:
service(\"api.example.com\")
This filter expression finds traces that have an annotation named account
with the value 12345
:
annotation.account = \"12345\"
For a full list of indexed fields and keywords that you can use in filter expressions, see Using Filter Expressions in the Amazon Web Services X-Ray Developer Guide.
", + "ListResourcePolicies": "Returns the list of resource policies in the target Amazon Web Services account.
", "ListTagsForResource": "Returns a list of tags that are applied to the specified Amazon Web Services X-Ray group or sampling rule.
", "PutEncryptionConfig": "Updates the encryption configuration for X-Ray data.
", + "PutResourcePolicy": "Sets the resource policy to grant one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy will be associated with a specific Amazon Web Services account. Each Amazon Web Services account can have a maximum of 5 resource policies, and each policy name must be unique within that account. The maximum size of each resource policy is 5KB.
", "PutTelemetryRecords": "Used by the Amazon Web Services X-Ray daemon to upload telemetry.
", "PutTraceSegments": "Uploads segment documents to Amazon Web Services X-Ray. The X-Ray SDK generates segment documents and sends them to the X-Ray daemon, which uploads them in batches. A segment document can be a completed segment, an in-progress segment, or an array of subsegments.
Segments must include the following fields. For the full segment document schema, see Amazon Web Services X-Ray Segment Documents in the Amazon Web Services X-Ray Developer Guide.
Required segment document fields
name
- The name of the service that handled the request.
id
- A 64-bit identifier for the segment, unique among segments in the same trace, in 16 hexadecimal digits.
trace_id
- A unique identifier that connects all segments and subsegments originating from a single client request.
start_time
- Time the segment or subsegment was created, in floating point seconds in epoch time, accurate to milliseconds. For example, 1480615200.010
or 1.480615200010E9
.
end_time
- Time the segment or subsegment was closed. For example, 1480615200.090
or 1.480615200090E9
. Specify either an end_time
or in_progress
.
in_progress
- Set to true
instead of specifying an end_time
to record that a segment has been started, but is not complete. Send an in-progress segment when your application receives a request that will take a long time to serve, to trace that the request was received. When the response is sent, send the complete segment to overwrite the in-progress segment.
A trace_id
consists of three numbers separated by hyphens. For example, 1-58406520-a006649127e371903a2de979. This includes:
Trace ID Format
The version number, for instance, 1
.
The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is 1480615200
seconds, or 58406520
in hexadecimal.
A 96-bit identifier for the trace, globally unique, in 24 hexadecimal digits.
Applies tags to an existing Amazon Web Services X-Ray group or sampling rule.
", @@ -136,7 +139,8 @@ "base": null, "refs": { "GetServiceGraphResult$ContainsOldGroupVersions": "A flag indicating whether the group's filter expression has been consistent, or if the returned service graph may show traces from an older version of the group's filter expression.
", - "GetTimeSeriesServiceStatisticsResult$ContainsOldGroupVersions": "A flag indicating whether or not a group's filter expression has been consistent, or if a returned aggregation might show statistics from an older version of the group's filter expression.
" + "GetTimeSeriesServiceStatisticsResult$ContainsOldGroupVersions": "A flag indicating whether or not a group's filter expression has been consistent, or if a returned aggregation might show statistics from an older version of the group's filter expression.
", + "PutResourcePolicyRequest$BypassPolicyLockoutCheck": "A flag to indicate whether to bypass the resource policy lockout safety check.
Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately.
Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy
request.
The default value is false.
" } }, "BorrowCount": { @@ -181,6 +185,16 @@ "refs": { } }, + "DeleteResourcePolicyRequest": { + "base": null, + "refs": { + } + }, + "DeleteResourcePolicyResult": { + "base": null, + "refs": { + } + }, "DeleteSamplingRuleRequest": { "base": null, "refs": { @@ -258,7 +272,12 @@ "ErrorMessage": { "base": null, "refs": { + "InvalidPolicyRevisionIdException$Message": null, "InvalidRequestException$Message": null, + "LockoutPreventionException$Message": null, + "MalformedPolicyDocumentException$Message": null, + "PolicyCountLimitExceededException$Message": null, + "PolicySizeLimitExceededException$Message": null, "ResourceNotFoundException$Message": null, "RuleLimitExceededException$Message": null, "ThrottledException$Message": null, @@ -726,10 +745,10 @@ "InsightsConfiguration": { "base": "The structure containing configurations related to insights.
", "refs": { - "CreateGroupRequest$InsightsConfiguration": "The structure containing configurations related to insights.
The InsightsEnabled boolean can be set to true to enable insights for the new group or false to disable insights for the new group.
The NotifcationsEnabled boolean can be set to true to enable insights notifications for the new group. Notifications may only be enabled on a group with InsightsEnabled set to true.
The structure containing configurations related to insights.
The InsightsEnabled boolean can be set to true to enable insights for the new group or false to disable insights for the new group.
The NotificationsEnabled boolean can be set to true to enable insights notifications for the new group. Notifications may only be enabled on a group with InsightsEnabled set to true.
The structure containing configurations related to insights.
The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
The structure containing configurations related to insights.
The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
The NotificationsEnabled boolean can be set to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
The structure containing configurations related to insights.
The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
The NotifcationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.
The structure containing configurations related to insights.
The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
The NotificationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.
The revision number of a trace.
" } }, + "InvalidPolicyRevisionIdException": { + "base": "A policy revision id was provided which does not match the latest policy revision. This exception is also if a policy revision id of 0 is provided via PutResourcePolicy
and a policy with the same name already exists.
The request is missing required parameters or has invalid parameters.
", "refs": { } }, + "ListResourcePoliciesRequest": { + "base": null, + "refs": { + } + }, + "ListResourcePoliciesResult": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -763,6 +797,16 @@ "refs": { } }, + "LockoutPreventionException": { + "base": "The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.
", + "refs": { + } + }, + "MalformedPolicyDocumentException": { + "base": "Invalid policy document provided in request.
", + "refs": { + } + }, "NullableBoolean": { "base": null, "refs": { @@ -847,6 +891,39 @@ "ServiceStatistics$TotalCount": "The total number of completed requests.
" } }, + "PolicyCountLimitExceededException": { + "base": "Exceeded the maximum number of resource policies for a target Amazon Web Services account.
", + "refs": { + } + }, + "PolicyDocument": { + "base": null, + "refs": { + "PutResourcePolicyRequest$PolicyDocument": "The resource policy document, which can be up to 5kb in size.
", + "ResourcePolicy$PolicyDocument": "The resource policy document, which can be up to 5kb in size.
" + } + }, + "PolicyName": { + "base": null, + "refs": { + "DeleteResourcePolicyRequest$PolicyName": "The name of the resource policy to delete.
", + "PutResourcePolicyRequest$PolicyName": "The name of the resource policy. Must be unique within a specific Amazon Web Services account.
", + "ResourcePolicy$PolicyName": "The name of the resource policy. Must be unique within a specific Amazon Web Services account.
" + } + }, + "PolicyRevisionId": { + "base": null, + "refs": { + "DeleteResourcePolicyRequest$PolicyRevisionId": "Specifies a specific policy revision to delete. Provide a PolicyRevisionId
to ensure an atomic delete operation. If the provided revision id does not match the latest policy revision id, an InvalidPolicyRevisionIdException
exception is returned.
Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account.
If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException
exception. You can also provide a PolicyRevisionId
of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException
exception if a resource policy with the same name already exists.
Returns the current policy revision id for this policy name.
" + } + }, + "PolicySizeLimitExceededException": { + "base": "Exceeded the maximum size for a resource policy.
", + "refs": { + } + }, "Priority": { "base": null, "refs": { @@ -863,6 +940,16 @@ "refs": { } }, + "PutResourcePolicyRequest": { + "base": null, + "refs": { + } + }, + "PutResourcePolicyResult": { + "base": null, + "refs": { + } + }, "PutTelemetryRecordsRequest": { "base": null, "refs": { @@ -925,6 +1012,26 @@ "refs": { } }, + "ResourcePolicy": { + "base": "A resource policy grants one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy is associated with a specific Amazon Web Services account.
", + "refs": { + "PutResourcePolicyResult$ResourcePolicy": "The resource policy document, as provided in the PutResourcePolicyRequest
.
The list of resource policies in the target Amazon Web Services account.
" + } + }, + "ResourcePolicyNextToken": { + "base": null, + "refs": { + "ListResourcePoliciesRequest$NextToken": "Not currently supported.
", + "ListResourcePoliciesResult$NextToken": "Pagination token. Not currently supported.
" + } + }, "ResponseTimeRootCause": { "base": "The root cause information for a response time warning.
", "refs": { @@ -1343,6 +1450,7 @@ "InsightSummary$StartTime": "The time, in Unix seconds, at which the insight began.
", "InsightSummary$EndTime": "The time, in Unix seconds, at which the insight ended.
", "InsightSummary$LastUpdateTime": "The time, in Unix seconds, that the insight was last updated.
", + "ResourcePolicy$LastUpdatedTime": "When the policy was last updated, in Unix time seconds.
", "SamplingRuleRecord$CreatedAt": "When the rule was created.
", "SamplingRuleRecord$ModifiedAt": "When the rule was last modified.
", "SamplingStatisticSummary$Timestamp": "The start time of the reporting window.
", diff --git a/models/apis/xray/2016-04-12/endpoint-tests-1.json b/models/apis/xray/2016-04-12/endpoint-tests-1.json index 293b4f43bde..695974ae345 100644 --- a/models/apis/xray/2016-04-12/endpoint-tests-1.json +++ b/models/apis/xray/2016-04-12/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "Region": "ap-south-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -21,9 +21,9 @@ } }, "params": { - "Region": "ap-south-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -34,9 +34,9 @@ } }, "params": { - "Region": "ap-south-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -47,9 +47,9 @@ } }, "params": { - "Region": "ap-south-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -60,9 +60,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { - "Region": "eu-south-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { - "Region": "eu-south-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { - "Region": "eu-south-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { - "Region": "eu-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { - "Region": "eu-south-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -177,9 +177,9 @@ } }, "params": { - "Region": "eu-south-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -190,9 +190,9 @@ } }, "params": { - "Region": "eu-south-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -203,9 +203,9 @@ } }, "params": { - "Region": "eu-south-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -216,9 +216,9 @@ } }, "params": { - "Region": "us-gov-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { - "Region": "us-gov-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { - "Region": "us-gov-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { - "Region": "us-gov-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { - "Region": "me-central-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { - "Region": "me-central-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { - "Region": "me-central-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { - "Region": "me-central-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -385,9 +385,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -398,9 +398,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -411,9 +411,9 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -424,9 +424,9 @@ } }, "params": { - "Region": "eu-central-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -437,9 +437,9 @@ } }, "params": { - "Region": "eu-central-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -450,9 +450,9 @@ } }, "params": { - "Region": "eu-central-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -463,9 +463,9 @@ } }, "params": { - "Region": "eu-central-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -476,9 +476,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -489,9 +489,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -502,9 +502,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -515,9 +515,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -528,9 +528,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -541,9 +541,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -554,9 +554,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -567,9 +567,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -580,9 +580,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -593,9 +593,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -606,9 +606,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -619,9 +619,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -632,9 +632,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -645,9 +645,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -658,9 +658,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -671,9 +671,9 @@ } }, "params": { - "Region": "eu-north-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -684,9 +684,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -697,9 +697,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -710,9 +710,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -723,9 +723,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -736,9 +736,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -749,9 +749,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -762,9 +762,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -775,9 +775,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -788,9 +788,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -801,9 +801,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -814,9 +814,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -827,9 +827,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -840,9 +840,9 @@ } }, "params": { - "Region": "ap-northeast-3", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -853,9 +853,9 @@ } }, "params": { - "Region": "ap-northeast-3", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -866,9 +866,9 @@ } }, "params": { - "Region": "ap-northeast-3", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -879,9 +879,9 @@ } }, "params": { - "Region": "ap-northeast-3", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -892,9 +892,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -905,9 +905,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -918,9 +918,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -931,9 +931,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -944,9 +944,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -957,9 +957,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -970,9 +970,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -983,9 +983,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -996,9 +996,9 @@ } }, "params": { - "Region": "me-south-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1009,9 +1009,9 @@ } }, "params": { - "Region": "me-south-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1022,9 +1022,9 @@ } }, "params": { - "Region": "me-south-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1035,9 +1035,9 @@ } }, "params": { - "Region": "me-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1048,9 +1048,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1061,9 +1061,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1074,9 +1074,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1087,9 +1087,9 @@ } }, "params": { - "Region": "sa-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1100,9 +1100,9 @@ } }, "params": { - "Region": "ap-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1113,9 +1113,9 @@ } }, "params": { - "Region": "ap-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1126,9 +1126,9 @@ } }, "params": { - "Region": "ap-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1139,9 +1139,9 @@ } }, "params": { - "Region": "ap-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1152,9 +1152,9 @@ } }, "params": { - "Region": "cn-north-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1165,9 +1165,9 @@ } }, "params": { - "Region": "cn-north-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1178,9 +1178,9 @@ } }, "params": { - "Region": "cn-north-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1191,9 +1191,9 @@ } }, "params": { - "Region": "cn-north-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1204,9 +1204,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1217,9 +1217,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1230,9 +1230,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1243,9 +1243,9 @@ } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1256,9 +1256,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1269,9 +1269,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1282,9 +1282,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1295,9 +1295,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1308,9 +1308,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1321,9 +1321,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1334,9 +1334,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1347,9 +1347,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1360,9 +1360,9 @@ } }, "params": { - "Region": "ap-southeast-3", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1373,9 +1373,9 @@ } }, "params": { - "Region": "ap-southeast-3", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1386,9 +1386,9 @@ } }, "params": { - "Region": "ap-southeast-3", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1399,9 +1399,9 @@ } }, "params": { - "Region": "ap-southeast-3", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1412,9 +1412,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1425,9 +1425,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1438,9 +1438,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1451,9 +1451,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1464,9 +1464,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1477,9 +1477,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1490,9 +1490,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1503,9 +1503,9 @@ } }, "params": { - "Region": "us-east-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1516,9 +1516,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1529,9 +1529,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1542,9 +1542,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1555,9 +1555,9 @@ } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1568,9 +1568,9 @@ } }, "params": { - "Region": "us-east-1", - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1580,9 +1580,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1592,9 +1592,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/xray/2016-04-12/paginators-1.json b/models/apis/xray/2016-04-12/paginators-1.json index 5ffeb594d62..6da5b4aa7b6 100644 --- a/models/apis/xray/2016-04-12/paginators-1.json +++ b/models/apis/xray/2016-04-12/paginators-1.json @@ -2,6 +2,9 @@ "pagination": { "BatchGetTraces": { "input_token": "NextToken", + "non_aggregate_keys": [ + "UnprocessedTraceIds" + ], "output_token": "NextToken", "result_key": "Traces" }, @@ -32,11 +35,19 @@ }, "GetServiceGraph": { "input_token": "NextToken", + "non_aggregate_keys": [ + "StartTime", + "EndTime", + "ContainsOldGroupVersions" + ], "output_token": "NextToken", "result_key": "Services" }, "GetTimeSeriesServiceStatistics": { "input_token": "NextToken", + "non_aggregate_keys": [ + "ContainsOldGroupVersions" + ], "output_token": "NextToken", "result_key": "TimeSeriesServiceStatistics" }, @@ -47,8 +58,22 @@ }, "GetTraceSummaries": { "input_token": "NextToken", + "non_aggregate_keys": [ + "TracesProcessedCount", + "ApproximateTime" + ], "output_token": "NextToken", "result_key": "TraceSummaries" + }, + "ListResourcePolicies": { + "input_token": "NextToken", + "output_token": "NextToken", + "result_key": "ResourcePolicies" + }, + "ListTagsForResource": { + "input_token": "NextToken", + "output_token": "NextToken", + "result_key": "Tags" } } } \ No newline at end of file diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 0ef53eb9aa3..9d88cbb411e 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -65,6 +65,9 @@ "eu-south-1" : { "description" : "Europe (Milan)" }, + "eu-south-2" : { + "description" : "Europe (Spain)" + }, "eu-west-1" : { "description" : "Europe (Ireland)" }, @@ -123,6 +126,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -230,6 +234,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -670,6 +675,12 @@ }, "hostname" : "api.ecr.eu-south-1.amazonaws.com" }, + "eu-south-2" : { + "credentialScope" : { + "region" : "eu-south-2" + }, + "hostname" : "api.ecr.eu-south-2.amazonaws.com" + }, "eu-west-1" : { "credentialScope" : { "region" : "eu-west-1" @@ -1176,6 +1187,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -1273,6 +1285,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -1349,6 +1362,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -1939,6 +1953,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -2282,6 +2297,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -2378,6 +2394,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -2518,6 +2535,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -2777,6 +2795,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -3381,6 +3400,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -3996,6 +4016,7 @@ "deprecated" : true, "hostname" : "datasync-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -4121,6 +4142,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -4251,6 +4273,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -4542,6 +4565,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -4667,6 +4691,7 @@ "deprecated" : true, "hostname" : "ebs-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -4724,6 +4749,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { "variants" : [ { "hostname" : "ec2.eu-west-1.api.aws", @@ -4826,6 +4852,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -4994,6 +5021,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -5457,6 +5485,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -5544,6 +5573,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -5859,6 +5889,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -5942,6 +5973,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -6945,6 +6977,18 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, + "dataplane-ap-south-1" : { + "credentialScope" : { + "region" : "ap-south-1" + }, + "hostname" : "greengrass-ats.iot.ap-south-1.amazonaws.com" + }, + "dataplane-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "hostname" : "greengrass-ats.iot.us-east-2.amazonaws.com" + }, "eu-central-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, @@ -8002,6 +8046,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -8306,6 +8351,12 @@ "deprecated" : true, "hostname" : "kms-fips.eu-south-1.amazonaws.com" }, + "eu-south-2" : { + "variants" : [ { + "hostname" : "kms-fips.eu-south-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-south-2-fips" : { "credentialScope" : { "region" : "eu-south-2" @@ -8604,6 +8655,12 @@ "tags" : [ "dualstack" ] } ] }, + "eu-south-2" : { + "variants" : [ { + "hostname" : "lambda.eu-south-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, "eu-west-1" : { "variants" : [ { "hostname" : "lambda.eu-west-1.api.aws", @@ -8887,6 +8944,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -8980,10 +9038,15 @@ }, "m2" : { "endpoints" : { + "ap-northeast-1" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, "sa-east-1" : { }, "us-east-1" : { }, "us-west-2" : { } @@ -9449,6 +9512,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -9604,6 +9668,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -10294,6 +10359,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -10803,6 +10869,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -10898,6 +10965,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -11131,6 +11199,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -11921,6 +11990,12 @@ "tags" : [ "dualstack" ] } ] }, + "eu-south-2" : { + "variants" : [ { + "hostname" : "s3.dualstack.eu-south-2.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "eu-west-1" : { "hostname" : "s3.eu-west-1.amazonaws.com", "signatureVersions" : [ "s3", "s3v4" ], @@ -12488,6 +12563,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -13376,6 +13452,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -13456,6 +13533,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -13538,6 +13616,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -13664,6 +13743,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -13840,6 +13920,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -13881,6 +13962,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -13976,6 +14058,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -14052,6 +14135,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -14128,6 +14212,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -15523,6 +15608,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -16126,7 +16212,13 @@ "protocols" : [ "https" ] }, "endpoints" : { - "cn-north-1" : { } + "cn-north-1" : { }, + "dataplane-cn-north-1" : { + "credentialScope" : { + "region" : "cn-north-1" + }, + "hostname" : "greengrass.ats.iot.cn-north-1.amazonaws.com.cn" + } }, "isRegionalized" : true }, diff --git a/service/batch/api.go b/service/batch/api.go index 15b43c22c60..375d7fa7a04 100644 --- a/service/batch/api.go +++ b/service/batch/api.go @@ -172,6 +172,9 @@ func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentI // see Launching an Amazon ECS container instance (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html) // in the Amazon Elastic Container Service Developer Guide. // +// To create a compute environment that uses EKS resources, the caller must +// have permissions to call eks:DescribeCluster. +// // Batch doesn't automatically upgrade the AMIs in a compute environment after // it's created. For example, it also doesn't update the AMIs in your compute // environment when a newer version of the Amazon ECS optimized AMI is available. @@ -3630,6 +3633,10 @@ type ComputeResourceUpdate struct { // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't specify it. + // + // Batch doesn't support changing the desired number of vCPUs of an existing + // compute environment. Don't specify this parameter for compute environments + // using Amazon EKS clusters. DesiredvCpus *int64 `locationName:"desiredvCpus" type:"integer"` // Provides information used to select Amazon Machine Images (AMIs) for EC2 @@ -7615,7 +7622,7 @@ type EksPodProperties struct { // more information, see Pod's DNS policy (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) // in the Kubernetes documentation. // - // Valid values: Default | ClusterFirst | ClusterFirstWithHostNet | None + // Valid values: Default | ClusterFirst | ClusterFirstWithHostNet DnsPolicy *string `locationName:"dnsPolicy" type:"string"` // Indicates if the pod uses the hosts' network IP address. The default value @@ -7726,11 +7733,17 @@ type EksPodPropertiesDetail struct { // The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork // parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst // indicates that any DNS query that does not match the configured cluster domain - // suffix is forwarded to the upstream nameserver inherited from the node. For - // more information, see Pod's DNS policy (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) + // suffix is forwarded to the upstream nameserver inherited from the node. If + // no value was specified for dnsPolicy in the RegisterJobDefinition (https://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) + // API operation, then no value will be returned for dnsPolicy by either of + // DescribeJobDefinitions (https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobDefinitions.html) + // or DescribeJobs (https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeJobs.html) + // API operations. The pod spec setting will contain either ClusterFirst or + // ClusterFirstWithHostNet, depending on the value of the hostNetwork parameter. + // For more information, see Pod's DNS policy (https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) // in the Kubernetes documentation. // - // Valid values: Default | ClusterFirst | ClusterFirstWithHostNet | None + // Valid values: Default | ClusterFirst | ClusterFirstWithHostNet DnsPolicy *string `locationName:"dnsPolicy" type:"string"` // Indicates if the pod uses the hosts' network IP address. The default value @@ -11000,17 +11013,37 @@ type ResourceRequirement struct { // // value = 8192 // - // VCPU = 1, 2, or 4 + // VCPU = 1, 2, 4, or 8 // - // value = 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384 + // value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360 // // VCPU = 2 or 4 // - // value = 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, - // 27648, 28672, 29696, or 30720 + // value = 16384 + // + // VCPU = 2, 4, or 8 + // + // value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, + // or 30720 // // VCPU = 4 // + // value = 20480, 24576, or 28672 + // + // VCPU = 4 or 8 + // + // value = 36864, 45056, 53248, or 61440 + // + // VCPU = 8 + // + // value = 32768, 40960, 49152, or 57344 + // + // VCPU = 8 or 16 + // + // value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880 + // + // VCPU = 16 + // // type="VCPU" // // The number of vCPUs reserved for the container. This parameter maps to CpuShares @@ -11021,9 +11054,14 @@ type ResourceRequirement struct { // specify at least one vCPU. This is required but can be specified in several // places; it must be specified for each node at least once. // + // The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. + // For more information about Fargate quotas, see Fargate quotas (https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate) + // in the Amazon Web Services General Reference. + // // For jobs that are running on Fargate resources, then value must match one // of the supported values and the MEMORY values must be one of the values supported - // for that VCPU value. The supported values are 0.25, 0.5, 1, 2, and 4 + // for that VCPU value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and + // 16 // // value = 0.25 // @@ -11048,6 +11086,16 @@ type ResourceRequirement struct { // 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, // 29696, or 30720 // + // value = 8 + // + // MEMORY = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, + // 57344, or 61440 + // + // value = 16 + // + // MEMORY = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, + // 114688, or 122880 + // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` } @@ -12568,8 +12616,8 @@ func (s *UpdateJobQueueOutput) SetJobQueueName(v string) *UpdateJobQueueOutput { } // Specifies the infrastructure update policy for the compute environment. For -// more information about infrastructure updates, see Infrastructure updates -// (https://docs.aws.amazon.com/batch/latest/userguide/infrastructure-updates.html) +// more information about infrastructure updates, see Updating compute environments +// (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) // in the Batch User Guide. type UpdatePolicy struct { _ struct{} `type:"structure"` diff --git a/service/billingconductor/api.go b/service/billingconductor/api.go index 0e60184fedc..01b23c1afed 100644 --- a/service/billingconductor/api.go +++ b/service/billingconductor/api.go @@ -5012,6 +5012,10 @@ func (s *CreatePricingPlanOutput) SetArn(v string) *CreatePricingPlanOutput { type CreatePricingRuleInput struct { _ struct{} `type:"structure"` + // The seller of services provided by Amazon Web Services, their affiliates, + // or third-party providers selling services via Amazon Web Services Marketplace. + BillingEntity *string `type:"string"` + // The token that's needed to support idempotency. Idempotency isn't currently // supported, but will be implemented in a future update. ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"` @@ -5109,6 +5113,12 @@ func (s *CreatePricingRuleInput) Validate() error { return nil } +// SetBillingEntity sets the BillingEntity field's value. +func (s *CreatePricingRuleInput) SetBillingEntity(v string) *CreatePricingRuleInput { + s.BillingEntity = &v + return s +} + // SetClientToken sets the ClientToken field's value. func (s *CreatePricingRuleInput) SetClientToken(v string) *CreatePricingRuleInput { s.ClientToken = &v @@ -8323,6 +8333,10 @@ type PricingRuleListElement struct { // The pricing plans count that this pricing rule is associated with. AssociatedPricingPlanCount *int64 `type:"long"` + // The seller of services provided by Amazon Web Services, their affiliates, + // or third-party providers selling services via Amazon Web Services Marketplace. + BillingEntity *string `type:"string"` + // The time when the pricing rule was created. CreationTime *int64 `type:"long"` @@ -8388,6 +8402,12 @@ func (s *PricingRuleListElement) SetAssociatedPricingPlanCount(v int64) *Pricing return s } +// SetBillingEntity sets the BillingEntity field's value. +func (s *PricingRuleListElement) SetBillingEntity(v string) *PricingRuleListElement { + s.BillingEntity = &v + return s +} + // SetCreationTime sets the CreationTime field's value. func (s *PricingRuleListElement) SetCreationTime(v int64) *PricingRuleListElement { s.CreationTime = &v @@ -9660,6 +9680,10 @@ type UpdatePricingRuleOutput struct { // The pricing plans count that this pricing rule is associated with. AssociatedPricingPlanCount *int64 `type:"long"` + // The seller of services provided by Amazon Web Services, their affiliates, + // or third-party providers selling services via Amazon Web Services Marketplace. + BillingEntity *string `type:"string"` + // The new description for the pricing rule. // // Description is a sensitive parameter and its value will be @@ -9723,6 +9747,12 @@ func (s *UpdatePricingRuleOutput) SetAssociatedPricingPlanCount(v int64) *Update return s } +// SetBillingEntity sets the BillingEntity field's value. +func (s *UpdatePricingRuleOutput) SetBillingEntity(v string) *UpdatePricingRuleOutput { + s.BillingEntity = &v + return s +} + // SetDescription sets the Description field's value. func (s *UpdatePricingRuleOutput) SetDescription(v string) *UpdatePricingRuleOutput { s.Description = &v @@ -10007,6 +10037,9 @@ const ( // PricingRuleScopeService is a PricingRuleScope enum value PricingRuleScopeService = "SERVICE" + + // PricingRuleScopeBillingEntity is a PricingRuleScope enum value + PricingRuleScopeBillingEntity = "BILLING_ENTITY" ) // PricingRuleScope_Values returns all elements of the PricingRuleScope enum @@ -10014,6 +10047,7 @@ func PricingRuleScope_Values() []string { return []string{ PricingRuleScopeGlobal, PricingRuleScopeService, + PricingRuleScopeBillingEntity, } } @@ -10172,11 +10206,17 @@ const ( // ValidationExceptionReasonCustomLineItemAssociationExists is a ValidationExceptionReason enum value ValidationExceptionReasonCustomLineItemAssociationExists = "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS" + // ValidationExceptionReasonInvalidBillingGroup is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidBillingGroup = "INVALID_BILLING_GROUP" + // ValidationExceptionReasonInvalidBillingPeriodForOperation is a ValidationExceptionReason enum value ValidationExceptionReasonInvalidBillingPeriodForOperation = "INVALID_BILLING_PERIOD_FOR_OPERATION" - // ValidationExceptionReasonInvalidBillingGroup is a ValidationExceptionReason enum value - ValidationExceptionReasonInvalidBillingGroup = "INVALID_BILLING_GROUP" + // ValidationExceptionReasonIllegalBillingEntity is a ValidationExceptionReason enum value + ValidationExceptionReasonIllegalBillingEntity = "ILLEGAL_BILLING_ENTITY" + + // ValidationExceptionReasonIllegalModifierPercentage is a ValidationExceptionReason enum value + ValidationExceptionReasonIllegalModifierPercentage = "ILLEGAL_MODIFIER_PERCENTAGE" ) // ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum @@ -10228,7 +10268,9 @@ func ValidationExceptionReason_Values() []string { ValidationExceptionReasonMultiplePricingPlanArn, ValidationExceptionReasonIllegalChildAssociateResource, ValidationExceptionReasonCustomLineItemAssociationExists, - ValidationExceptionReasonInvalidBillingPeriodForOperation, ValidationExceptionReasonInvalidBillingGroup, + ValidationExceptionReasonInvalidBillingPeriodForOperation, + ValidationExceptionReasonIllegalBillingEntity, + ValidationExceptionReasonIllegalModifierPercentage, } } diff --git a/service/cloudformation/api.go b/service/cloudformation/api.go index 6eae2a0fb74..dc64c068571 100644 --- a/service/cloudformation/api.go +++ b/service/cloudformation/api.go @@ -23221,6 +23221,9 @@ const ( // HandlerErrorCodeUnknown is a HandlerErrorCode enum value HandlerErrorCodeUnknown = "Unknown" + + // HandlerErrorCodeUnsupportedTarget is a HandlerErrorCode enum value + HandlerErrorCodeUnsupportedTarget = "UnsupportedTarget" ) // HandlerErrorCode_Values returns all elements of the HandlerErrorCode enum @@ -23244,6 +23247,7 @@ func HandlerErrorCode_Values() []string { HandlerErrorCodeHandlerInternalFailure, HandlerErrorCodeNonCompliant, HandlerErrorCodeUnknown, + HandlerErrorCodeUnsupportedTarget, } } diff --git a/service/comprehendmedical/api.go b/service/comprehendmedical/api.go index 38ff14e87c5..67c33095d22 100644 --- a/service/comprehendmedical/api.go +++ b/service/comprehendmedical/api.go @@ -7728,6 +7728,21 @@ const ( // AttributeNameNegation is a AttributeName enum value AttributeNameNegation = "NEGATION" + + // AttributeNamePertainsToFamily is a AttributeName enum value + AttributeNamePertainsToFamily = "PERTAINS_TO_FAMILY" + + // AttributeNameHypothetical is a AttributeName enum value + AttributeNameHypothetical = "HYPOTHETICAL" + + // AttributeNameLowConfidence is a AttributeName enum value + AttributeNameLowConfidence = "LOW_CONFIDENCE" + + // AttributeNamePastHistory is a AttributeName enum value + AttributeNamePastHistory = "PAST_HISTORY" + + // AttributeNameFuture is a AttributeName enum value + AttributeNameFuture = "FUTURE" ) // AttributeName_Values returns all elements of the AttributeName enum @@ -7737,6 +7752,11 @@ func AttributeName_Values() []string { AttributeNameSymptom, AttributeNameDiagnosis, AttributeNameNegation, + AttributeNamePertainsToFamily, + AttributeNameHypothetical, + AttributeNameLowConfidence, + AttributeNamePastHistory, + AttributeNameFuture, } } @@ -7854,6 +7874,27 @@ const ( // EntitySubTypeTimeToTreatmentName is a EntitySubType enum value EntitySubTypeTimeToTreatmentName = "TIME_TO_TREATMENT_NAME" + + // EntitySubTypeAmount is a EntitySubType enum value + EntitySubTypeAmount = "AMOUNT" + + // EntitySubTypeGender is a EntitySubType enum value + EntitySubTypeGender = "GENDER" + + // EntitySubTypeRaceEthnicity is a EntitySubType enum value + EntitySubTypeRaceEthnicity = "RACE_ETHNICITY" + + // EntitySubTypeAllergies is a EntitySubType enum value + EntitySubTypeAllergies = "ALLERGIES" + + // EntitySubTypeTobaccoUse is a EntitySubType enum value + EntitySubTypeTobaccoUse = "TOBACCO_USE" + + // EntitySubTypeAlcoholConsumption is a EntitySubType enum value + EntitySubTypeAlcoholConsumption = "ALCOHOL_CONSUMPTION" + + // EntitySubTypeRecDrugUse is a EntitySubType enum value + EntitySubTypeRecDrugUse = "REC_DRUG_USE" ) // EntitySubType_Values returns all elements of the EntitySubType enum @@ -7897,6 +7938,13 @@ func EntitySubType_Values() []string { EntitySubTypeTimeToTestName, EntitySubTypeTimeToProcedureName, EntitySubTypeTimeToTreatmentName, + EntitySubTypeAmount, + EntitySubTypeGender, + EntitySubTypeRaceEthnicity, + EntitySubTypeAllergies, + EntitySubTypeTobaccoUse, + EntitySubTypeAlcoholConsumption, + EntitySubTypeRecDrugUse, } } @@ -7918,6 +7966,9 @@ const ( // EntityTypeTimeExpression is a EntityType enum value EntityTypeTimeExpression = "TIME_EXPRESSION" + + // EntityTypeBehavioralEnvironmentalSocial is a EntityType enum value + EntityTypeBehavioralEnvironmentalSocial = "BEHAVIORAL_ENVIRONMENTAL_SOCIAL" ) // EntityType_Values returns all elements of the EntityType enum @@ -7929,6 +7980,7 @@ func EntityType_Values() []string { EntityTypeTestTreatmentProcedure, EntityTypeAnatomy, EntityTypeTimeExpression, + EntityTypeBehavioralEnvironmentalSocial, } } @@ -8024,6 +8076,15 @@ const ( // ICD10CMTraitNameSymptom is a ICD10CMTraitName enum value ICD10CMTraitNameSymptom = "SYMPTOM" + + // ICD10CMTraitNamePertainsToFamily is a ICD10CMTraitName enum value + ICD10CMTraitNamePertainsToFamily = "PERTAINS_TO_FAMILY" + + // ICD10CMTraitNameHypothetical is a ICD10CMTraitName enum value + ICD10CMTraitNameHypothetical = "HYPOTHETICAL" + + // ICD10CMTraitNameLowConfidence is a ICD10CMTraitName enum value + ICD10CMTraitNameLowConfidence = "LOW_CONFIDENCE" ) // ICD10CMTraitName_Values returns all elements of the ICD10CMTraitName enum @@ -8033,6 +8094,9 @@ func ICD10CMTraitName_Values() []string { ICD10CMTraitNameDiagnosis, ICD10CMTraitNameSign, ICD10CMTraitNameSymptom, + ICD10CMTraitNamePertainsToFamily, + ICD10CMTraitNameHypothetical, + ICD10CMTraitNameLowConfidence, } } @@ -8141,6 +8205,9 @@ const ( // RelationshipTypeSystemOrganSite is a RelationshipType enum value RelationshipTypeSystemOrganSite = "SYSTEM_ORGAN_SITE" + + // RelationshipTypeAmount is a RelationshipType enum value + RelationshipTypeAmount = "AMOUNT" ) // RelationshipType_Values returns all elements of the RelationshipType enum @@ -8165,6 +8232,7 @@ func RelationshipType_Values() []string { RelationshipTypeTestUnit, RelationshipTypeDirection, RelationshipTypeSystemOrganSite, + RelationshipTypeAmount, } } @@ -8364,6 +8432,21 @@ const ( // SNOMEDCTTraitNameSymptom is a SNOMEDCTTraitName enum value SNOMEDCTTraitNameSymptom = "SYMPTOM" + + // SNOMEDCTTraitNamePertainsToFamily is a SNOMEDCTTraitName enum value + SNOMEDCTTraitNamePertainsToFamily = "PERTAINS_TO_FAMILY" + + // SNOMEDCTTraitNameHypothetical is a SNOMEDCTTraitName enum value + SNOMEDCTTraitNameHypothetical = "HYPOTHETICAL" + + // SNOMEDCTTraitNameLowConfidence is a SNOMEDCTTraitName enum value + SNOMEDCTTraitNameLowConfidence = "LOW_CONFIDENCE" + + // SNOMEDCTTraitNamePastHistory is a SNOMEDCTTraitName enum value + SNOMEDCTTraitNamePastHistory = "PAST_HISTORY" + + // SNOMEDCTTraitNameFuture is a SNOMEDCTTraitName enum value + SNOMEDCTTraitNameFuture = "FUTURE" ) // SNOMEDCTTraitName_Values returns all elements of the SNOMEDCTTraitName enum @@ -8373,5 +8456,10 @@ func SNOMEDCTTraitName_Values() []string { SNOMEDCTTraitNameDiagnosis, SNOMEDCTTraitNameSign, SNOMEDCTTraitNameSymptom, + SNOMEDCTTraitNamePertainsToFamily, + SNOMEDCTTraitNameHypothetical, + SNOMEDCTTraitNameLowConfidence, + SNOMEDCTTraitNamePastHistory, + SNOMEDCTTraitNameFuture, } } diff --git a/service/connect/api.go b/service/connect/api.go index d0b40d940e9..00684504218 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -11974,6 +11974,105 @@ func (c *Connect) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInp return p.Err() } +const opMonitorContact = "MonitorContact" + +// MonitorContactRequest generates a "aws/request.Request" representing the +// client's request for the MonitorContact 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 MonitorContact for more information on using the MonitorContact +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the MonitorContactRequest method. +// req, resp := client.MonitorContactRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MonitorContact +func (c *Connect) MonitorContactRequest(input *MonitorContactInput) (req *request.Request, output *MonitorContactOutput) { + op := &request.Operation{ + Name: opMonitorContact, + HTTPMethod: "POST", + HTTPPath: "/contact/monitor", + } + + if input == nil { + input = &MonitorContactInput{} + } + + output = &MonitorContactOutput{} + req = c.newRequest(op, input, output) + return +} + +// MonitorContact API operation for Amazon Connect Service. +// +// Initiates silent monitoring of a contact. The Contact Control Panel (CCP) +// of the user specified by userId will be set to silent monitoring mode on +// the contact. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation MonitorContact for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is not valid. +// +// - IdempotencyException +// An entity with the same name already exists. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ServiceQuotaExceededException +// The service quota has been exceeded. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MonitorContact +func (c *Connect) MonitorContact(input *MonitorContactInput) (*MonitorContactOutput, error) { + req, out := c.MonitorContactRequest(input) + return out, req.Send() +} + +// MonitorContactWithContext is the same as MonitorContact with the addition of +// the ability to pass a context and additional request options. +// +// See MonitorContact for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) MonitorContactWithContext(ctx aws.Context, input *MonitorContactInput, opts ...request.Option) (*MonitorContactOutput, error) { + req, out := c.MonitorContactRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPutUserStatus = "PutUserStatus" // PutUserStatusRequest generates a "aws/request.Request" representing the @@ -13861,7 +13960,8 @@ func (c *Connect) StopContactRequest(input *StopContactInput) (req *request.Requ // The request is not valid. // // - ContactNotFoundException -// The contact with the specified ID is not active or does not exist. +// The contact with the specified ID is not active or does not exist. Applies +// to Voice calls only, not to Chat, Task, or Voice Callback. // // - InvalidParameterException // One or more of the specified parameters are not valid. @@ -20278,7 +20378,8 @@ func (s *ContactFlowSummary) SetName(v string) *ContactFlowSummary { return s } -// The contact with the specified ID is not active or does not exist. +// The contact with the specified ID is not active or does not exist. Applies +// to Voice calls only, not to Chat, Task, or Voice Callback. type ContactNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -27838,10 +27939,15 @@ type GetCurrentMetricDataInput struct { // The grouping applied to the metrics returned. For example, when grouped by // QUEUE, the metrics returned apply to each queue rather than aggregated for - // all queues. If you group by CHANNEL, you should include a Channels filter. - // VOICE, CHAT, and TASK channels are supported. + // all queues. // - // If no Grouping is included in the request, a summary of metrics is returned. + // * If you group by CHANNEL, you should include a Channels filter. VOICE, + // CHAT, and TASK channels are supported. + // + // * If you group by ROUTING_PROFILE, you must include either a queue or + // routing profile filter. + // + // * If no Grouping is included in the request, a summary of metrics is returned. Groupings []*string `type:"list" enum:"Grouping"` // The identifier of the Amazon Connect instance. You can find the instanceId @@ -35108,6 +35214,152 @@ func (s *MediaConcurrency) SetConcurrency(v int64) *MediaConcurrency { return s } +type MonitorContactInput struct { + _ struct{} `type:"structure"` + + // Specify which monitoring actions the user is allowed to take. For example, + // whether the user is allowed to escalate from silent monitoring to barge. + AllowedMonitorCapabilities []*string `type:"list" enum:"MonitorCapability"` + + // 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 `type:"string" idempotencyToken:"true"` + + // The identifier of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // The identifier of the user account. + // + // UserId is a required field + UserId *string `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 MonitorContactInput) 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 MonitorContactInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MonitorContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MonitorContactInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.UserId == nil { + invalidParams.Add(request.NewErrParamRequired("UserId")) + } + if s.UserId != nil && len(*s.UserId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("UserId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowedMonitorCapabilities sets the AllowedMonitorCapabilities field's value. +func (s *MonitorContactInput) SetAllowedMonitorCapabilities(v []*string) *MonitorContactInput { + s.AllowedMonitorCapabilities = v + return s +} + +// SetClientToken sets the ClientToken field's value. +func (s *MonitorContactInput) SetClientToken(v string) *MonitorContactInput { + s.ClientToken = &v + return s +} + +// SetContactId sets the ContactId field's value. +func (s *MonitorContactInput) SetContactId(v string) *MonitorContactInput { + s.ContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *MonitorContactInput) SetInstanceId(v string) *MonitorContactInput { + s.InstanceId = &v + return s +} + +// SetUserId sets the UserId field's value. +func (s *MonitorContactInput) SetUserId(v string) *MonitorContactInput { + s.UserId = &v + return s +} + +type MonitorContactOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the contact. + ContactArn *string `type:"string"` + + // The identifier of the contact. + ContactId *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 MonitorContactOutput) 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 MonitorContactOutput) GoString() string { + return s.String() +} + +// SetContactArn sets the ContactArn field's value. +func (s *MonitorContactOutput) SetContactArn(v string) *MonitorContactOutput { + s.ContactArn = &v + return s +} + +// SetContactId sets the ContactId field's value. +func (s *MonitorContactOutput) SetContactId(v string) *MonitorContactOutput { + s.ContactId = &v + return s +} + // Information about a reference when the referenceType is NUMBER. Otherwise, // null. type NumberReference struct { @@ -36061,6 +36313,10 @@ func (s *QueueReference) SetId(v string) *QueueReference { } // The search criteria to be used to return queues. +// +// The name and description fields support "contains" queries with a minimum +// of 2 characters and a maximum of 25 characters. Any queries with character +// lengths outside of this range will throw invalid results. type QueueSearchCriteria struct { _ struct{} `type:"structure"` @@ -37687,6 +37943,10 @@ func (s *RoutingProfileReference) SetId(v string) *RoutingProfileReference { } // The search criteria to be used to return routing profiles. +// +// The name and description fields support "contains" queries with a minimum +// of 2 characters and a maximum of 25 characters. Any queries with character +// lengths outside of this range will throw invalid results. type RoutingProfileSearchCriteria struct { _ struct{} `type:"structure"` @@ -38075,6 +38335,10 @@ type SearchQueuesInput struct { NextToken *string `min:"1" type:"string"` // The search criteria to be used to return queues. + // + // The name and description fields support "contains" queries with a minimum + // of 2 characters and a maximum of 25 characters. Any queries with character + // lengths outside of this range will throw invalid results. SearchCriteria *QueueSearchCriteria `type:"structure"` // Filters to be applied to search results. @@ -38217,6 +38481,10 @@ type SearchRoutingProfilesInput struct { NextToken *string `min:"1" type:"string"` // The search criteria to be used to return routing profiles. + // + // The name and description fields support "contains" queries with a minimum + // of 2 characters and a maximum of 25 characters. Any queries with character + // lengths outside of this range will throw invalid results. SearchCriteria *RoutingProfileSearchCriteria `type:"structure"` // Filters to be applied to search results. @@ -38360,6 +38628,10 @@ type SearchSecurityProfilesInput struct { // The search criteria to be used to return security profiles. // + // The name field support "contains" queries with a minimum of 2 characters + // and maximum of 25 characters. Any queries with character lengths outside + // of this range will throw invalid results. + // // The currently supported value for FieldName: name SearchCriteria *SecurityProfileSearchCriteria `type:"structure"` @@ -38502,9 +38774,9 @@ type SearchUsersInput struct { // The search criteria to be used to return users. // - // The Username, Firstname, and Lastname fields support "contains" queries with - // a minimum of 2 characters and a maximum of 25 characters. Any queries with - // character lengths outside of this range result in empty results. + // The name and description fields support "contains" queries with a minimum + // of 2 characters and a maximum of 25 characters. Any queries with character + // lengths outside of this range will throw invalid results. SearchCriteria *UserSearchCriteria `type:"structure"` // Filters to be applied to search results. @@ -38903,6 +39175,10 @@ func (s *SecurityProfile) SetTags(v map[string]*string) *SecurityProfile { } // The search criteria to be used to return security profiles. +// +// The name field support "contains" queries with a minimum of 2 characters +// and maximum of 25 characters. Any queries with character lengths outside +// of this range will throw invalid results. type SecurityProfileSearchCriteria struct { _ struct{} `type:"structure"` @@ -46367,9 +46643,9 @@ func (s *UserReference) SetId(v string) *UserReference { // The search criteria to be used to return users. // -// The Username, Firstname, and Lastname fields support "contains" queries with -// a minimum of 2 characters and a maximum of 25 characters. Any queries with -// character lengths outside of this range result in empty results. +// The name and description fields support "contains" queries with a minimum +// of 2 characters and a maximum of 25 characters. Any queries with character +// lengths outside of this range will throw invalid results. type UserSearchCriteria struct { _ struct{} `type:"structure"` @@ -47541,6 +47817,22 @@ func LexVersion_Values() []string { } } +const ( + // MonitorCapabilitySilentMonitor is a MonitorCapability enum value + MonitorCapabilitySilentMonitor = "SILENT_MONITOR" + + // MonitorCapabilityBarge is a MonitorCapability enum value + MonitorCapabilityBarge = "BARGE" +) + +// MonitorCapability_Values returns all elements of the MonitorCapability enum +func MonitorCapability_Values() []string { + return []string{ + MonitorCapabilitySilentMonitor, + MonitorCapabilityBarge, + } +} + const ( // PhoneNumberCountryCodeAf is a PhoneNumberCountryCode enum value PhoneNumberCountryCodeAf = "AF" diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index fcf1856f455..26c478ebcb0 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -583,6 +583,10 @@ type ConnectAPI interface { ListUsersPages(*connect.ListUsersInput, func(*connect.ListUsersOutput, bool) bool) error ListUsersPagesWithContext(aws.Context, *connect.ListUsersInput, func(*connect.ListUsersOutput, bool) bool, ...request.Option) error + MonitorContact(*connect.MonitorContactInput) (*connect.MonitorContactOutput, error) + MonitorContactWithContext(aws.Context, *connect.MonitorContactInput, ...request.Option) (*connect.MonitorContactOutput, error) + MonitorContactRequest(*connect.MonitorContactInput) (*request.Request, *connect.MonitorContactOutput) + PutUserStatus(*connect.PutUserStatusInput) (*connect.PutUserStatusOutput, error) PutUserStatusWithContext(aws.Context, *connect.PutUserStatusInput, ...request.Option) (*connect.PutUserStatusOutput, error) PutUserStatusRequest(*connect.PutUserStatusInput) (*request.Request, *connect.PutUserStatusOutput) diff --git a/service/connect/errors.go b/service/connect/errors.go index f6ea0396d59..7e084d72d80 100644 --- a/service/connect/errors.go +++ b/service/connect/errors.go @@ -23,7 +23,8 @@ const ( // ErrCodeContactNotFoundException for service response error code // "ContactNotFoundException". // - // The contact with the specified ID is not active or does not exist. + // The contact with the specified ID is not active or does not exist. Applies + // to Voice calls only, not to Chat, Task, or Voice Callback. ErrCodeContactNotFoundException = "ContactNotFoundException" // ErrCodeDestinationNotAllowedException for service response error code diff --git a/service/eks/api.go b/service/eks/api.go index 80a5aa1d82a..48a7413a5ca 100644 --- a/service/eks/api.go +++ b/service/eks/api.go @@ -271,12 +271,9 @@ func (c *EKS) CreateAddonRequest(input *CreateAddonInput) (req *request.Request, // Creates an Amazon EKS add-on. // // Amazon EKS add-ons help to automate the provisioning and lifecycle management -// of common operational software for Amazon EKS clusters. Amazon EKS add-ons -// require clusters running version 1.18 or later because Amazon EKS add-ons -// rely on the Server-side Apply Kubernetes feature, which is only available -// in Kubernetes 1.18 and later. For more information, see Amazon EKS add-ons -// (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) in the -// Amazon EKS User Guide. +// of common operational software for Amazon EKS clusters. For more information, +// see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) +// in the Amazon EKS User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5206,6 +5203,77 @@ func (s *ConnectorConfigResponse) SetRoleArn(v string) *ConnectorConfigResponse return s } +// The placement configuration for all the control plane instance of your local +// Amazon EKS cluster on an Amazon Web Services Outpost. For more information, +// see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) +// in the Amazon EKS User Guide +type ControlPlanePlacementRequest struct { + _ struct{} `type:"structure"` + + // The name of the placement group for the Kubernetes control plane instances. + // This setting can't be changed after cluster creation. + GroupName *string `locationName:"groupName" 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 ControlPlanePlacementRequest) 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 ControlPlanePlacementRequest) GoString() string { + return s.String() +} + +// SetGroupName sets the GroupName field's value. +func (s *ControlPlanePlacementRequest) SetGroupName(v string) *ControlPlanePlacementRequest { + s.GroupName = &v + return s +} + +// The placement configuration for all the control plane instance of your local +// Amazon EKS cluster on an Amazon Web Services Outpost. For more information, +// see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) +// in the Amazon EKS User Guide. +type ControlPlanePlacementResponse struct { + _ struct{} `type:"structure"` + + // The name of the placement group for the Kubernetes control plane instances. + GroupName *string `locationName:"groupName" 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 ControlPlanePlacementResponse) 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 ControlPlanePlacementResponse) GoString() string { + return s.String() +} + +// SetGroupName sets the GroupName field's value. +func (s *ControlPlanePlacementResponse) SetGroupName(v string) *ControlPlanePlacementResponse { + s.GroupName = &v + return s +} + type CreateAddonInput struct { _ struct{} `type:"structure"` @@ -5414,8 +5482,8 @@ type CreateClusterInput struct { // An object representing the configuration of your local Amazon EKS cluster // on an Amazon Web Services Outpost. Before creating a local cluster on an - // Outpost, review Creating an Amazon EKS cluster on an Amazon Web Services - // Outpost (https://docs.aws.amazon.com/eks/latest/userguide/create-cluster-outpost.html) + // Outpost, review Local clusters for Amazon EKS on Amazon Web Services Outposts + // (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-local-cluster-overview.html) // in the Amazon EKS User Guide. This object isn't available for creating Amazon // EKS clusters on the Amazon Web Services cloud. OutpostConfig *OutpostConfigRequest `locationName:"outpostConfig" type:"structure"` @@ -8190,15 +8258,8 @@ type LaunchTemplateSpecification struct { // in the request, but not both. Name *string `locationName:"name" type:"string"` - // The launch template version number, $Latest, or $Default. - // - // If the value is $Latest, Amazon EKS uses the latest version of the launch - // template. - // - // If the value is $Default, Amazon EKS uses the default version of the launch - // template. - // - // Default: The default version of the launch template. + // The version number of the launch template to use. If no version is specified, + // then the template's default version is used. Version *string `locationName:"version" type:"string"` } @@ -10020,33 +10081,31 @@ func (s *OidcIdentityProviderConfigRequest) SetUsernamePrefix(v string) *OidcIde // The configuration of your local Amazon EKS cluster on an Amazon Web Services // Outpost. Before creating a cluster on an Outpost, review Creating a local -// Amazon EKS cluster on an Amazon Web Services Outpost (https://docs.aws.amazon.com/eks/latest/userguide/create-cluster-outpost.html) +// cluster on an Outpost (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-local-cluster-create.html) // in the Amazon EKS User Guide. This API isn't available for Amazon EKS clusters // on the Amazon Web Services cloud. type OutpostConfigRequest struct { _ struct{} `type:"structure"` // The Amazon EC2 instance type that you want to use for your local Amazon EKS - // cluster on Outposts. The instance type that you specify is used for all Kubernetes - // control plane instances. The instance type can't be changed after cluster - // creation. - // - // Choose an instance type based on the number of nodes that your cluster will - // have. If your cluster will have: - // - // * 1–20 nodes, then we recommend specifying a large instance type. - // - // * 21–100 nodes, then we recommend specifying an xlarge instance type. - // - // * 101–250 nodes, then we recommend specifying a 2xlarge instance type. + // cluster on Outposts. Choose an instance type based on the number of nodes + // that your cluster will have. For more information, see Capacity considerations + // (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) + // in the Amazon EKS User Guide. // - // For a list of the available Amazon EC2 instance types, see Compute and storage - // in Outposts rack features (http://aws.amazon.com/outposts/rack/features/). - // The control plane is not automatically scaled by Amazon EKS. + // The instance type that you specify is used for all Kubernetes control plane + // instances. The instance type can't be changed after cluster creation. The + // control plane is not automatically scaled by Amazon EKS. // // ControlPlaneInstanceType is a required field ControlPlaneInstanceType *string `locationName:"controlPlaneInstanceType" type:"string" required:"true"` + // An object representing the placement configuration for all the control plane + // instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. + // For more information, see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) + // in the Amazon EKS User Guide. + ControlPlanePlacement *ControlPlanePlacementRequest `locationName:"controlPlanePlacement" type:"structure"` + // The ARN of the Outpost that you want to use for your local Amazon EKS cluster // on Outposts. Only a single Outpost ARN is supported. // @@ -10094,6 +10153,12 @@ func (s *OutpostConfigRequest) SetControlPlaneInstanceType(v string) *OutpostCon return s } +// SetControlPlanePlacement sets the ControlPlanePlacement field's value. +func (s *OutpostConfigRequest) SetControlPlanePlacement(v *ControlPlanePlacementRequest) *OutpostConfigRequest { + s.ControlPlanePlacement = v + return s +} + // SetOutpostArns sets the OutpostArns field's value. func (s *OutpostConfigRequest) SetOutpostArns(v []*string) *OutpostConfigRequest { s.OutpostArns = v @@ -10112,6 +10177,12 @@ type OutpostConfigResponse struct { // ControlPlaneInstanceType is a required field ControlPlaneInstanceType *string `locationName:"controlPlaneInstanceType" type:"string" required:"true"` + // An object representing the placement configuration for all the control plane + // instance of your local Amazon EKS cluster on an Amazon Web Services Outpost. + // For more information, see Capacity considerations (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-capacity-considerations.html) + // in the Amazon EKS User Guide. + ControlPlanePlacement *ControlPlanePlacementResponse `locationName:"controlPlanePlacement" type:"structure"` + // The ARN of the Outpost that you specified for use with your local Amazon // EKS cluster on Outposts. // @@ -10143,6 +10214,12 @@ func (s *OutpostConfigResponse) SetControlPlaneInstanceType(v string) *OutpostCo return s } +// SetControlPlanePlacement sets the ControlPlanePlacement field's value. +func (s *OutpostConfigResponse) SetControlPlanePlacement(v *ControlPlanePlacementResponse) *OutpostConfigResponse { + s.ControlPlanePlacement = v + return s +} + // SetOutpostArns sets the OutpostArns field's value. func (s *OutpostConfigResponse) SetOutpostArns(v []*string) *OutpostConfigResponse { s.OutpostArns = v @@ -12073,13 +12150,8 @@ type VpcConfigRequest struct { // interfaces that Amazon EKS creates to use that allow communication between // your nodes and the Kubernetes control plane. If you don't specify any security // groups, then familiarize yourself with the difference between Amazon EKS - // defaults for clusters deployed with Kubernetes: - // - // * 1.14 Amazon EKS platform version eks.2 and earlier - // - // * 1.14 Amazon EKS platform version eks.3 and later - // - // For more information, see Amazon EKS security group considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) + // defaults for clusters deployed with Kubernetes. For more information, see + // Amazon EKS security group considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) // in the Amazon EKS User Guide . SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` diff --git a/service/elasticache/api.go b/service/elasticache/api.go index c0e54b0bdac..fcc6f51d996 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -7603,6 +7603,61 @@ func (s *Authentication) SetType(v string) *Authentication { return s } +// Specifies the authentication mode to use. +type AuthenticationMode struct { + _ struct{} `type:"structure"` + + // Specifies the passwords to use for authentication if Type is set to password. + Passwords []*string `min:"1" type:"list"` + + // Specifies the authentication type. Possible options are IAM authentication, + // password and no password. + Type *string `type:"string" enum:"InputAuthenticationType"` +} + +// 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 AuthenticationMode) 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 AuthenticationMode) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AuthenticationMode) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AuthenticationMode"} + if s.Passwords != nil && len(s.Passwords) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Passwords", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPasswords sets the Passwords field's value. +func (s *AuthenticationMode) SetPasswords(v []*string) *AuthenticationMode { + s.Passwords = v + return s +} + +// SetType sets the Type field's value. +func (s *AuthenticationMode) SetType(v string) *AuthenticationMode { + s.Type = &v + return s +} + // Represents the input of an AuthorizeCacheSecurityGroupIngress operation. type AuthorizeCacheSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -11521,6 +11576,9 @@ type CreateUserInput struct { // AccessString is a required field AccessString *string `type:"string" required:"true"` + // Specifies how to authenticate the user. + AuthenticationMode *AuthenticationMode `type:"structure"` + // The current supported value is Redis. // // Engine is a required field @@ -11590,6 +11648,11 @@ func (s *CreateUserInput) Validate() error { if s.UserName != nil && len(*s.UserName) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserName", 1)) } + if s.AuthenticationMode != nil { + if err := s.AuthenticationMode.Validate(); err != nil { + invalidParams.AddNested("AuthenticationMode", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -11603,6 +11666,12 @@ func (s *CreateUserInput) SetAccessString(v string) *CreateUserInput { return s } +// SetAuthenticationMode sets the AuthenticationMode field's value. +func (s *CreateUserInput) SetAuthenticationMode(v *AuthenticationMode) *CreateUserInput { + s.AuthenticationMode = v + return s +} + // SetEngine sets the Engine field's value. func (s *CreateUserInput) SetEngine(v string) *CreateUserInput { s.Engine = &v @@ -18089,6 +18158,9 @@ type ModifyUserInput struct { // Adds additional user permissions to the access string. AppendAccessString *string `type:"string"` + // Specifies how to authenticate the user. + AuthenticationMode *AuthenticationMode `type:"structure"` + // Indicates no password is required for the user. NoPasswordRequired *bool `type:"boolean"` @@ -18131,6 +18203,11 @@ func (s *ModifyUserInput) Validate() error { if s.UserId != nil && len(*s.UserId) < 1 { invalidParams.Add(request.NewErrParamMinLen("UserId", 1)) } + if s.AuthenticationMode != nil { + if err := s.AuthenticationMode.Validate(); err != nil { + invalidParams.AddNested("AuthenticationMode", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -18150,6 +18227,12 @@ func (s *ModifyUserInput) SetAppendAccessString(v string) *ModifyUserInput { return s } +// SetAuthenticationMode sets the AuthenticationMode field's value. +func (s *ModifyUserInput) SetAuthenticationMode(v *AuthenticationMode) *ModifyUserInput { + s.AuthenticationMode = v + return s +} + // SetNoPasswordRequired sets the NoPasswordRequired field's value. func (s *ModifyUserInput) SetNoPasswordRequired(v bool) *ModifyUserInput { s.NoPasswordRequired = &v @@ -22272,6 +22355,9 @@ const ( // AuthenticationTypeNoPassword is a AuthenticationType enum value AuthenticationTypeNoPassword = "no-password" + + // AuthenticationTypeIam is a AuthenticationType enum value + AuthenticationTypeIam = "iam" ) // AuthenticationType_Values returns all elements of the AuthenticationType enum @@ -22279,6 +22365,7 @@ func AuthenticationType_Values() []string { return []string{ AuthenticationTypePassword, AuthenticationTypeNoPassword, + AuthenticationTypeIam, } } @@ -22354,6 +22441,26 @@ func DestinationType_Values() []string { } } +const ( + // InputAuthenticationTypePassword is a InputAuthenticationType enum value + InputAuthenticationTypePassword = "password" + + // InputAuthenticationTypeNoPasswordRequired is a InputAuthenticationType enum value + InputAuthenticationTypeNoPasswordRequired = "no-password-required" + + // InputAuthenticationTypeIam is a InputAuthenticationType enum value + InputAuthenticationTypeIam = "iam" +) + +// InputAuthenticationType_Values returns all elements of the InputAuthenticationType enum +func InputAuthenticationType_Values() []string { + return []string{ + InputAuthenticationTypePassword, + InputAuthenticationTypeNoPasswordRequired, + InputAuthenticationTypeIam, + } +} + const ( // IpDiscoveryIpv4 is a IpDiscovery enum value IpDiscoveryIpv4 = "ipv4" diff --git a/service/iottwinmaker/api.go b/service/iottwinmaker/api.go index 550c0a1145f..90e8b7403fd 100644 --- a/service/iottwinmaker/api.go +++ b/service/iottwinmaker/api.go @@ -861,6 +861,160 @@ func (c *IoTTwinMaker) DeleteWorkspaceWithContext(ctx aws.Context, input *Delete return out, req.Send() } +const opExecuteQuery = "ExecuteQuery" + +// ExecuteQueryRequest generates a "aws/request.Request" representing the +// client's request for the ExecuteQuery 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 ExecuteQuery for more information on using the ExecuteQuery +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ExecuteQueryRequest method. +// req, resp := client.ExecuteQueryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ExecuteQuery +func (c *IoTTwinMaker) ExecuteQueryRequest(input *ExecuteQueryInput) (req *request.Request, output *ExecuteQueryOutput) { + op := &request.Operation{ + Name: opExecuteQuery, + HTTPMethod: "POST", + HTTPPath: "/queries/execution", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ExecuteQueryInput{} + } + + output = &ExecuteQueryOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("api.", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// ExecuteQuery API operation for AWS IoT TwinMaker. +// +// Run queries to access information from your knowledge graph of entities within +// individual 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 AWS IoT TwinMaker's +// API operation ExecuteQuery for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. +// +// - QueryTimeoutException +// The query timeout exception. +// +// - ThrottlingException +// The rate exceeds the limit. +// +// - ValidationException +// Failed +// +// - ServiceQuotaExceededException +// The service quota was exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ExecuteQuery +func (c *IoTTwinMaker) ExecuteQuery(input *ExecuteQueryInput) (*ExecuteQueryOutput, error) { + req, out := c.ExecuteQueryRequest(input) + return out, req.Send() +} + +// ExecuteQueryWithContext is the same as ExecuteQuery with the addition of +// the ability to pass a context and additional request options. +// +// See ExecuteQuery for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoTTwinMaker) ExecuteQueryWithContext(ctx aws.Context, input *ExecuteQueryInput, opts ...request.Option) (*ExecuteQueryOutput, error) { + req, out := c.ExecuteQueryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ExecuteQueryPages iterates over the pages of a ExecuteQuery operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ExecuteQuery 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 ExecuteQuery operation. +// pageNum := 0 +// err := client.ExecuteQueryPages(params, +// func(page *iottwinmaker.ExecuteQueryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *IoTTwinMaker) ExecuteQueryPages(input *ExecuteQueryInput, fn func(*ExecuteQueryOutput, bool) bool) error { + return c.ExecuteQueryPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ExecuteQueryPagesWithContext same as ExecuteQueryPages 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 *IoTTwinMaker) ExecuteQueryPagesWithContext(ctx aws.Context, input *ExecuteQueryInput, fn func(*ExecuteQueryOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ExecuteQueryInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ExecuteQueryRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ExecuteQueryOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetComponentType = "GetComponentType" // GetComponentTypeRequest generates a "aws/request.Request" representing the @@ -929,6 +1083,9 @@ func (c *IoTTwinMaker) GetComponentTypeRequest(input *GetComponentTypeInput) (re // - ThrottlingException // The rate exceeds the limit. // +// - ValidationException +// Failed +// // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetComponentType func (c *IoTTwinMaker) GetComponentType(input *GetComponentTypeInput) (*GetComponentTypeOutput, error) { req, out := c.GetComponentTypeRequest(input) @@ -1044,6 +1201,96 @@ func (c *IoTTwinMaker) GetEntityWithContext(ctx aws.Context, input *GetEntityInp return out, req.Send() } +const opGetPricingPlan = "GetPricingPlan" + +// GetPricingPlanRequest generates a "aws/request.Request" representing the +// client's request for the GetPricingPlan 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 GetPricingPlan for more information on using the GetPricingPlan +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetPricingPlanRequest method. +// req, resp := client.GetPricingPlanRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetPricingPlan +func (c *IoTTwinMaker) GetPricingPlanRequest(input *GetPricingPlanInput) (req *request.Request, output *GetPricingPlanOutput) { + op := &request.Operation{ + Name: opGetPricingPlan, + HTTPMethod: "GET", + HTTPPath: "/pricingplan", + } + + if input == nil { + input = &GetPricingPlanInput{} + } + + output = &GetPricingPlanOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("api.", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// GetPricingPlan API operation for AWS IoT TwinMaker. +// +// Gets the pricing plan. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT TwinMaker's +// API operation GetPricingPlan for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. +// +// - ThrottlingException +// The rate exceeds the limit. +// +// - ValidationException +// Failed +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetPricingPlan +func (c *IoTTwinMaker) GetPricingPlan(input *GetPricingPlanInput) (*GetPricingPlanOutput, error) { + req, out := c.GetPricingPlanRequest(input) + return out, req.Send() +} + +// GetPricingPlanWithContext is the same as GetPricingPlan with the addition of +// the ability to pass a context and additional request options. +// +// See GetPricingPlan for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoTTwinMaker) GetPricingPlanWithContext(ctx aws.Context, input *GetPricingPlanInput, opts ...request.Option) (*GetPricingPlanOutput, error) { + req, out := c.GetPricingPlanRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetPropertyValue = "GetPropertyValue" // GetPropertyValueRequest generates a "aws/request.Request" representing the @@ -1074,6 +1321,12 @@ func (c *IoTTwinMaker) GetPropertyValueRequest(input *GetPropertyValueInput) (re Name: opGetPropertyValue, HTTPMethod: "POST", HTTPPath: "/workspaces/{workspaceId}/entity-properties/value", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -1146,6 +1399,57 @@ func (c *IoTTwinMaker) GetPropertyValueWithContext(ctx aws.Context, input *GetPr return out, req.Send() } +// GetPropertyValuePages iterates over the pages of a GetPropertyValue operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetPropertyValue 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 GetPropertyValue operation. +// pageNum := 0 +// err := client.GetPropertyValuePages(params, +// func(page *iottwinmaker.GetPropertyValueOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *IoTTwinMaker) GetPropertyValuePages(input *GetPropertyValueInput, fn func(*GetPropertyValueOutput, bool) bool) error { + return c.GetPropertyValuePagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetPropertyValuePagesWithContext same as GetPropertyValuePages 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 *IoTTwinMaker) GetPropertyValuePagesWithContext(ctx aws.Context, input *GetPropertyValueInput, fn func(*GetPropertyValueOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetPropertyValueInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetPropertyValueRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetPropertyValueOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetPropertyValueHistory = "GetPropertyValueHistory" // GetPropertyValueHistoryRequest generates a "aws/request.Request" representing the @@ -2533,59 +2837,59 @@ func (c *IoTTwinMaker) UpdateEntityWithContext(ctx aws.Context, input *UpdateEnt return out, req.Send() } -const opUpdateScene = "UpdateScene" +const opUpdatePricingPlan = "UpdatePricingPlan" -// UpdateSceneRequest generates a "aws/request.Request" representing the -// client's request for the UpdateScene operation. The "output" return +// UpdatePricingPlanRequest generates a "aws/request.Request" representing the +// client's request for the UpdatePricingPlan 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 UpdateScene for more information on using the UpdateScene +// See UpdatePricingPlan for more information on using the UpdatePricingPlan // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateSceneRequest method. -// req, resp := client.UpdateSceneRequest(params) +// // Example sending a request using the UpdatePricingPlanRequest method. +// req, resp := client.UpdatePricingPlanRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateScene -func (c *IoTTwinMaker) UpdateSceneRequest(input *UpdateSceneInput) (req *request.Request, output *UpdateSceneOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdatePricingPlan +func (c *IoTTwinMaker) UpdatePricingPlanRequest(input *UpdatePricingPlanInput) (req *request.Request, output *UpdatePricingPlanOutput) { op := &request.Operation{ - Name: opUpdateScene, - HTTPMethod: "PUT", - HTTPPath: "/workspaces/{workspaceId}/scenes/{sceneId}", + Name: opUpdatePricingPlan, + HTTPMethod: "POST", + HTTPPath: "/pricingplan", } if input == nil { - input = &UpdateSceneInput{} + input = &UpdatePricingPlanInput{} } - output = &UpdateSceneOutput{} + output = &UpdatePricingPlanOutput{} req = c.newRequest(op, input, output) req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("api.", nil)) req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) return } -// UpdateScene API operation for AWS IoT TwinMaker. +// UpdatePricingPlan API operation for AWS IoT TwinMaker. // -// Updates a scene. +// Update the pricing plan. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS IoT TwinMaker's -// API operation UpdateScene for usage and error information. +// API operation UpdatePricingPlan for usage and error information. // // Returned Error Types: // @@ -2595,18 +2899,108 @@ func (c *IoTTwinMaker) UpdateSceneRequest(input *UpdateSceneInput) (req *request // - AccessDeniedException // Access is denied. // -// - ResourceNotFoundException -// The resource wasn't found. -// // - ThrottlingException // The rate exceeds the limit. // // - ValidationException // Failed // -// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateScene -func (c *IoTTwinMaker) UpdateScene(input *UpdateSceneInput) (*UpdateSceneOutput, error) { - req, out := c.UpdateSceneRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdatePricingPlan +func (c *IoTTwinMaker) UpdatePricingPlan(input *UpdatePricingPlanInput) (*UpdatePricingPlanOutput, error) { + req, out := c.UpdatePricingPlanRequest(input) + return out, req.Send() +} + +// UpdatePricingPlanWithContext is the same as UpdatePricingPlan with the addition of +// the ability to pass a context and additional request options. +// +// See UpdatePricingPlan for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoTTwinMaker) UpdatePricingPlanWithContext(ctx aws.Context, input *UpdatePricingPlanInput, opts ...request.Option) (*UpdatePricingPlanOutput, error) { + req, out := c.UpdatePricingPlanRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateScene = "UpdateScene" + +// UpdateSceneRequest generates a "aws/request.Request" representing the +// client's request for the UpdateScene 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 UpdateScene for more information on using the UpdateScene +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateSceneRequest method. +// req, resp := client.UpdateSceneRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateScene +func (c *IoTTwinMaker) UpdateSceneRequest(input *UpdateSceneInput) (req *request.Request, output *UpdateSceneOutput) { + op := &request.Operation{ + Name: opUpdateScene, + HTTPMethod: "PUT", + HTTPPath: "/workspaces/{workspaceId}/scenes/{sceneId}", + } + + if input == nil { + input = &UpdateSceneInput{} + } + + output = &UpdateSceneOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("api.", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// UpdateScene API operation for AWS IoT TwinMaker. +// +// Updates a scene. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT TwinMaker's +// API operation UpdateScene for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. +// +// - ResourceNotFoundException +// The resource wasn't found. +// +// - ThrottlingException +// The rate exceeds the limit. +// +// - ValidationException +// Failed +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateScene +func (c *IoTTwinMaker) UpdateScene(input *UpdateSceneInput) (*UpdateSceneOutput, error) { + req, out := c.UpdateSceneRequest(input) return out, req.Send() } @@ -2989,6 +3383,196 @@ func (s *BatchPutPropertyValuesOutput) SetErrorEntries(v []*BatchPutPropertyErro return s } +// Information about pricing bundle. +type BundleInformation struct { + _ struct{} `type:"structure"` + + // The bundle names. + // + // BundleNames is a required field + BundleNames []*string `locationName:"bundleNames" min:"1" type:"list" required:"true"` + + // The pricing tier. + PricingTier *string `locationName:"pricingTier" type:"string" enum:"PricingTier"` +} + +// 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 BundleInformation) 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 BundleInformation) GoString() string { + return s.String() +} + +// SetBundleNames sets the BundleNames field's value. +func (s *BundleInformation) SetBundleNames(v []*string) *BundleInformation { + s.BundleNames = v + return s +} + +// SetPricingTier sets the PricingTier field's value. +func (s *BundleInformation) SetPricingTier(v string) *BundleInformation { + s.PricingTier = &v + return s +} + +// A description of the column in the query results. +type ColumnDescription struct { + _ struct{} `type:"structure"` + + // The name of the column description. + Name *string `locationName:"name" type:"string"` + + // The type of the column description. + Type *string `locationName:"type" type:"string" enum:"ColumnType"` +} + +// 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 ColumnDescription) 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 ColumnDescription) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *ColumnDescription) SetName(v string) *ColumnDescription { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *ColumnDescription) SetType(v string) *ColumnDescription { + s.Type = &v + return s +} + +type ComponentPropertyGroupRequest struct { + _ struct{} `type:"structure"` + + // The group type. + GroupType *string `locationName:"groupType" type:"string" enum:"GroupType"` + + // The property names. + PropertyNames []*string `locationName:"propertyNames" type:"list"` + + // The update type. + UpdateType *string `locationName:"updateType" type:"string" enum:"PropertyGroupUpdateType"` +} + +// 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 ComponentPropertyGroupRequest) 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 ComponentPropertyGroupRequest) GoString() string { + return s.String() +} + +// SetGroupType sets the GroupType field's value. +func (s *ComponentPropertyGroupRequest) SetGroupType(v string) *ComponentPropertyGroupRequest { + s.GroupType = &v + return s +} + +// SetPropertyNames sets the PropertyNames field's value. +func (s *ComponentPropertyGroupRequest) SetPropertyNames(v []*string) *ComponentPropertyGroupRequest { + s.PropertyNames = v + return s +} + +// SetUpdateType sets the UpdateType field's value. +func (s *ComponentPropertyGroupRequest) SetUpdateType(v string) *ComponentPropertyGroupRequest { + s.UpdateType = &v + return s +} + +// The component property group response. +type ComponentPropertyGroupResponse struct { + _ struct{} `type:"structure"` + + // The group type. + // + // GroupType is a required field + GroupType *string `locationName:"groupType" type:"string" required:"true" enum:"GroupType"` + + // A Boolean value that specifies whether the property group is inherited from + // a parent entity + // + // IsInherited is a required field + IsInherited *bool `locationName:"isInherited" type:"boolean" required:"true"` + + // The names of properties + // + // PropertyNames is a required field + PropertyNames []*string `locationName:"propertyNames" type:"list" 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 ComponentPropertyGroupResponse) 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 ComponentPropertyGroupResponse) GoString() string { + return s.String() +} + +// SetGroupType sets the GroupType field's value. +func (s *ComponentPropertyGroupResponse) SetGroupType(v string) *ComponentPropertyGroupResponse { + s.GroupType = &v + return s +} + +// SetIsInherited sets the IsInherited field's value. +func (s *ComponentPropertyGroupResponse) SetIsInherited(v bool) *ComponentPropertyGroupResponse { + s.IsInherited = &v + return s +} + +// SetPropertyNames sets the PropertyNames field's value. +func (s *ComponentPropertyGroupResponse) SetPropertyNames(v []*string) *ComponentPropertyGroupResponse { + s.PropertyNames = v + return s +} + // An object that sets information about a component type create or update request. type ComponentRequest struct { _ struct{} `type:"structure"` @@ -3002,6 +3586,9 @@ type ComponentRequest struct { // An object that maps strings to the properties to set in the component type. // Each string in the mapping must be unique to this object. Properties map[string]*PropertyRequest `locationName:"properties" type:"map"` + + // The property groups. + PropertyGroups map[string]*ComponentPropertyGroupRequest `locationName:"propertyGroups" type:"map"` } // String returns the string representation. @@ -3063,6 +3650,12 @@ func (s *ComponentRequest) SetProperties(v map[string]*PropertyRequest) *Compone return s } +// SetPropertyGroups sets the PropertyGroups field's value. +func (s *ComponentRequest) SetPropertyGroups(v map[string]*ComponentPropertyGroupRequest) *ComponentRequest { + s.PropertyGroups = v + return s +} + // An object that returns information about a component type create or update // request. type ComponentResponse struct { @@ -3084,6 +3677,9 @@ type ComponentResponse struct { // Each string in the mapping must be unique to this object. Properties map[string]*PropertyResponse `locationName:"properties" type:"map"` + // The property groups. + PropertyGroups map[string]*ComponentPropertyGroupResponse `locationName:"propertyGroups" type:"map"` + // The status of the component type. Status *Status `locationName:"status" type:"structure"` } @@ -3136,6 +3732,12 @@ func (s *ComponentResponse) SetProperties(v map[string]*PropertyResponse) *Compo return s } +// SetPropertyGroups sets the PropertyGroups field's value. +func (s *ComponentResponse) SetPropertyGroups(v map[string]*ComponentPropertyGroupResponse) *ComponentResponse { + s.PropertyGroups = v + return s +} + // SetStatus sets the Status field's value. func (s *ComponentResponse) SetStatus(v *Status) *ComponentResponse { s.Status = v @@ -3237,6 +3839,9 @@ type ComponentUpdateRequest struct { // The description of the component type. Description *string `locationName:"description" type:"string"` + // The property group updates. + PropertyGroupUpdates map[string]*ComponentPropertyGroupRequest `locationName:"propertyGroupUpdates" type:"map"` + // An object that maps strings to the properties to set in the component type // update. Each string in the mapping must be unique to this object. PropertyUpdates map[string]*PropertyRequest `locationName:"propertyUpdates" type:"map"` @@ -3298,6 +3903,12 @@ func (s *ComponentUpdateRequest) SetDescription(v string) *ComponentUpdateReques return s } +// SetPropertyGroupUpdates sets the PropertyGroupUpdates field's value. +func (s *ComponentUpdateRequest) SetPropertyGroupUpdates(v map[string]*ComponentPropertyGroupRequest) *ComponentUpdateRequest { + s.PropertyGroupUpdates = v + return s +} + // SetPropertyUpdates sets the PropertyUpdates field's value. func (s *ComponentUpdateRequest) SetPropertyUpdates(v map[string]*PropertyRequest) *ComponentUpdateRequest { s.PropertyUpdates = v @@ -3528,6 +4139,8 @@ type CreateComponentTypeInput struct { // type. Each string in the mapping must be unique to this object. PropertyDefinitions map[string]*PropertyDefinitionRequest `locationName:"propertyDefinitions" type:"map"` + PropertyGroups map[string]*PropertyGroupRequest `locationName:"propertyGroups" type:"map"` + // Metadata that you can use to manage the component type. Tags map[string]*string `locationName:"tags" type:"map"` @@ -3633,6 +4246,12 @@ func (s *CreateComponentTypeInput) SetPropertyDefinitions(v map[string]*Property return s } +// SetPropertyGroups sets the PropertyGroups field's value. +func (s *CreateComponentTypeInput) SetPropertyGroups(v map[string]*PropertyGroupRequest) *CreateComponentTypeInput { + s.PropertyGroups = v + return s +} + // SetTags sets the Tags field's value. func (s *CreateComponentTypeInput) SetTags(v map[string]*string) *CreateComponentTypeInput { s.Tags = v @@ -5103,18 +5722,26 @@ func (s *ErrorDetails) SetMessage(v string) *ErrorDetails { return s } -// The function request body. -type FunctionRequest struct { +type ExecuteQueryInput struct { _ struct{} `type:"structure"` - // The data connector. - ImplementedBy *DataConnector `locationName:"implementedBy" type:"structure"` + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` - // The required properties of the function. - RequiredProperties []*string `locationName:"requiredProperties" type:"list"` + // The string that specifies the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` - // The scope of the function. - Scope *string `locationName:"scope" type:"string" enum:"Scope"` + // The query statement. + // + // QueryStatement is a required field + QueryStatement *string `locationName:"queryStatement" min:"1" type:"string" required:"true"` + + // The ID of the workspace. + // + // WorkspaceId is a required field + WorkspaceId *string `locationName:"workspaceId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -5122,7 +5749,7 @@ type FunctionRequest 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 FunctionRequest) String() string { +func (s ExecuteQueryInput) String() string { return awsutil.Prettify(s) } @@ -5131,15 +5758,145 @@ func (s FunctionRequest) 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 FunctionRequest) GoString() string { +func (s ExecuteQueryInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *FunctionRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FunctionRequest"} - if s.ImplementedBy != nil { - if err := s.ImplementedBy.Validate(); err != nil { +func (s *ExecuteQueryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ExecuteQueryInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.QueryStatement == nil { + invalidParams.Add(request.NewErrParamRequired("QueryStatement")) + } + if s.QueryStatement != nil && len(*s.QueryStatement) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueryStatement", 1)) + } + if s.WorkspaceId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkspaceId")) + } + if s.WorkspaceId != nil && len(*s.WorkspaceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkspaceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ExecuteQueryInput) SetMaxResults(v int64) *ExecuteQueryInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ExecuteQueryInput) SetNextToken(v string) *ExecuteQueryInput { + s.NextToken = &v + return s +} + +// SetQueryStatement sets the QueryStatement field's value. +func (s *ExecuteQueryInput) SetQueryStatement(v string) *ExecuteQueryInput { + s.QueryStatement = &v + return s +} + +// SetWorkspaceId sets the WorkspaceId field's value. +func (s *ExecuteQueryInput) SetWorkspaceId(v string) *ExecuteQueryInput { + s.WorkspaceId = &v + return s +} + +type ExecuteQueryOutput struct { + _ struct{} `type:"structure"` + + // A list of ColumnDescription objects. + ColumnDescriptions []*ColumnDescription `locationName:"columnDescriptions" type:"list"` + + // The string that specifies the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Represents a single row in the query results. + Rows []*Row `locationName:"rows" 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 ExecuteQueryOutput) 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 ExecuteQueryOutput) GoString() string { + return s.String() +} + +// SetColumnDescriptions sets the ColumnDescriptions field's value. +func (s *ExecuteQueryOutput) SetColumnDescriptions(v []*ColumnDescription) *ExecuteQueryOutput { + s.ColumnDescriptions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ExecuteQueryOutput) SetNextToken(v string) *ExecuteQueryOutput { + s.NextToken = &v + return s +} + +// SetRows sets the Rows field's value. +func (s *ExecuteQueryOutput) SetRows(v []*Row) *ExecuteQueryOutput { + s.Rows = v + return s +} + +// The function request body. +type FunctionRequest struct { + _ struct{} `type:"structure"` + + // The data connector. + ImplementedBy *DataConnector `locationName:"implementedBy" type:"structure"` + + // The required properties of the function. + RequiredProperties []*string `locationName:"requiredProperties" type:"list"` + + // The scope of the function. + Scope *string `locationName:"scope" type:"string" enum:"Scope"` +} + +// 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 FunctionRequest) 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 FunctionRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FunctionRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FunctionRequest"} + if s.ImplementedBy != nil { + if err := s.ImplementedBy.Validate(); err != nil { invalidParams.AddNested("ImplementedBy", err.(request.ErrInvalidParams)) } } @@ -5336,6 +6093,11 @@ type GetComponentTypeOutput struct { // type. Each string in the mapping must be unique to this object. PropertyDefinitions map[string]*PropertyDefinitionResponse `locationName:"propertyDefinitions" type:"map"` + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. + PropertyGroups map[string]*PropertyGroupResponse `locationName:"propertyGroups" type:"map"` + // The current status of the component type. Status *Status `locationName:"status" type:"structure"` @@ -5428,6 +6190,12 @@ func (s *GetComponentTypeOutput) SetPropertyDefinitions(v map[string]*PropertyDe return s } +// SetPropertyGroups sets the PropertyGroups field's value. +func (s *GetComponentTypeOutput) SetPropertyGroups(v map[string]*PropertyGroupResponse) *GetComponentTypeOutput { + s.PropertyGroups = v + return s +} + // SetStatus sets the Status field's value. func (s *GetComponentTypeOutput) SetStatus(v *Status) *GetComponentTypeOutput { s.Status = v @@ -5652,6 +6420,70 @@ func (s *GetEntityOutput) SetWorkspaceId(v string) *GetEntityOutput { return s } +type GetPricingPlanInput struct { + _ struct{} `type:"structure" nopayload:"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 GetPricingPlanInput) 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 GetPricingPlanInput) GoString() string { + return s.String() +} + +type GetPricingPlanOutput struct { + _ struct{} `type:"structure"` + + // The chosen pricing plan for the current billing cycle. + // + // CurrentPricingPlan is a required field + CurrentPricingPlan *PricingPlan `locationName:"currentPricingPlan" type:"structure" required:"true"` + + // The pending pricing plan. + PendingPricingPlan *PricingPlan `locationName:"pendingPricingPlan" 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 GetPricingPlanOutput) 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 GetPricingPlanOutput) GoString() string { + return s.String() +} + +// SetCurrentPricingPlan sets the CurrentPricingPlan field's value. +func (s *GetPricingPlanOutput) SetCurrentPricingPlan(v *PricingPlan) *GetPricingPlanOutput { + s.CurrentPricingPlan = v + return s +} + +// SetPendingPricingPlan sets the PendingPricingPlan field's value. +func (s *GetPricingPlanOutput) SetPendingPricingPlan(v *PricingPlan) *GetPricingPlanOutput { + s.PendingPricingPlan = v + return s +} + type GetPropertyValueHistoryInput struct { _ struct{} `type:"structure"` @@ -5669,7 +6501,7 @@ type GetPropertyValueHistoryInput struct { // The ISO8601 DateTime of the latest property value to return. // // For more information about the ISO8601 DateTime format, see the data type - // PropertyValue (https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html). + // PropertyValue (https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/API_PropertyValue.html). EndTime *string `locationName:"endTime" min:"20" type:"string"` // The ID of the entity. @@ -5679,7 +6511,9 @@ type GetPropertyValueHistoryInput struct { // to interpolate data. Interpolation *InterpolationParameters `locationName:"interpolation" type:"structure"` - // The maximum number of results to return. + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The string that specifies the next page of results. @@ -5704,7 +6538,7 @@ type GetPropertyValueHistoryInput struct { // The ISO8601 DateTime of the earliest property value to return. // // For more information about the ISO8601 DateTime format, see the data type - // PropertyValue (https://docs.aws.amazon.com/roci/latest/roci-api/API_PropertyValue.html). + // PropertyValue (https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/API_PropertyValue.html). StartTime *string `locationName:"startTime" min:"20" type:"string"` // The ID of the workspace. @@ -5920,11 +6754,25 @@ type GetPropertyValueInput struct { // The ID of the entity whose property values the operation returns. EntityId *string `locationName:"entityId" min:"1" type:"string"` + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // The string that specifies the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The property group name. + PropertyGroupName *string `locationName:"propertyGroupName" min:"1" type:"string"` + // The properties whose values the operation returns. // // SelectedProperties is a required field SelectedProperties []*string `locationName:"selectedProperties" min:"1" type:"list" required:"true"` + // The tabular conditions. + TabularConditions *TabularConditions `locationName:"tabularConditions" type:"structure"` + // The ID of the workspace whose values the operation returns. // // WorkspaceId is a required field @@ -5961,6 +6809,9 @@ func (s *GetPropertyValueInput) Validate() error { if s.EntityId != nil && len(*s.EntityId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EntityId", 1)) } + if s.PropertyGroupName != nil && len(*s.PropertyGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PropertyGroupName", 1)) + } if s.SelectedProperties == nil { invalidParams.Add(request.NewErrParamRequired("SelectedProperties")) } @@ -5973,6 +6824,11 @@ func (s *GetPropertyValueInput) Validate() error { if s.WorkspaceId != nil && len(*s.WorkspaceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("WorkspaceId", 1)) } + if s.TabularConditions != nil { + if err := s.TabularConditions.Validate(); err != nil { + invalidParams.AddNested("TabularConditions", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5998,12 +6854,36 @@ func (s *GetPropertyValueInput) SetEntityId(v string) *GetPropertyValueInput { return s } +// SetMaxResults sets the MaxResults field's value. +func (s *GetPropertyValueInput) SetMaxResults(v int64) *GetPropertyValueInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetPropertyValueInput) SetNextToken(v string) *GetPropertyValueInput { + s.NextToken = &v + return s +} + +// SetPropertyGroupName sets the PropertyGroupName field's value. +func (s *GetPropertyValueInput) SetPropertyGroupName(v string) *GetPropertyValueInput { + s.PropertyGroupName = &v + return s +} + // SetSelectedProperties sets the SelectedProperties field's value. func (s *GetPropertyValueInput) SetSelectedProperties(v []*string) *GetPropertyValueInput { s.SelectedProperties = v return s } +// SetTabularConditions sets the TabularConditions field's value. +func (s *GetPropertyValueInput) SetTabularConditions(v *TabularConditions) *GetPropertyValueInput { + s.TabularConditions = v + return s +} + // SetWorkspaceId sets the WorkspaceId field's value. func (s *GetPropertyValueInput) SetWorkspaceId(v string) *GetPropertyValueInput { s.WorkspaceId = &v @@ -6013,11 +6893,15 @@ func (s *GetPropertyValueInput) SetWorkspaceId(v string) *GetPropertyValueInput type GetPropertyValueOutput struct { _ struct{} `type:"structure"` + // The string that specifies the next page of results. + NextToken *string `locationName:"nextToken" type:"string"` + // An object that maps strings to the properties and latest property values // in the response. Each string in the mapping must be unique to this object. - // - // PropertyValues is a required field - PropertyValues map[string]*PropertyLatestValue `locationName:"propertyValues" type:"map" required:"true"` + PropertyValues map[string]*PropertyLatestValue `locationName:"propertyValues" type:"map"` + + // A table of property values. + TabularPropertyValues [][]map[string]*DataValue `locationName:"tabularPropertyValues" type:"list"` } // String returns the string representation. @@ -6038,12 +6922,24 @@ func (s GetPropertyValueOutput) GoString() string { return s.String() } +// SetNextToken sets the NextToken field's value. +func (s *GetPropertyValueOutput) SetNextToken(v string) *GetPropertyValueOutput { + s.NextToken = &v + return s +} + // SetPropertyValues sets the PropertyValues field's value. func (s *GetPropertyValueOutput) SetPropertyValues(v map[string]*PropertyLatestValue) *GetPropertyValueOutput { s.PropertyValues = v return s } +// SetTabularPropertyValues sets the TabularPropertyValues field's value. +func (s *GetPropertyValueOutput) SetTabularPropertyValues(v [][]map[string]*DataValue) *GetPropertyValueOutput { + s.TabularPropertyValues = v + return s +} + type GetSceneInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -6593,7 +7489,9 @@ type ListComponentTypesInput struct { // A list of objects that filter the request. Filters []*ListComponentTypesFilter `locationName:"filters" type:"list"` - // The maximum number of results to display. + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The string that specifies the next page of results. @@ -6813,7 +7711,9 @@ type ListEntitiesInput struct { // Only one object is accepted as a valid input. Filters []*ListEntitiesFilter `locationName:"filters" type:"list"` - // The maximum number of results to display. + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The string that specifies the next page of results. @@ -7043,7 +7943,9 @@ func (s *ListScenesOutput) SetSceneSummaries(v []*SceneSummary) *ListScenesOutpu type ListTagsForResourceInput struct { _ struct{} `type:"structure"` - // The maximum number of results to display. + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The string that specifies the next page of results. @@ -7150,7 +8052,9 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe type ListWorkspacesInput struct { _ struct{} `type:"structure"` - // The maximum number of results to display. + // The maximum number of results to return at one time. The default is 25. + // + // Valid Range: Minimum value of 1. Maximum value of 250. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The string that specifies the next page of results. @@ -7227,6 +8131,66 @@ func (s *ListWorkspacesOutput) SetWorkspaceSummaries(v []*WorkspaceSummary) *Lis return s } +// Filter criteria that orders the return output. It can be sorted in ascending +// or descending order. +type OrderBy struct { + _ struct{} `type:"structure"` + + // The set order that filters results. + Order *string `locationName:"order" type:"string" enum:"Order"` + + // The property name. + // + // PropertyName is a required field + PropertyName *string `locationName:"propertyName" 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 OrderBy) 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 OrderBy) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *OrderBy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OrderBy"} + if s.PropertyName == nil { + invalidParams.Add(request.NewErrParamRequired("PropertyName")) + } + if s.PropertyName != nil && len(*s.PropertyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PropertyName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOrder sets the Order field's value. +func (s *OrderBy) SetOrder(v string) *OrderBy { + s.Order = &v + return s +} + +// SetPropertyName sets the PropertyName field's value. +func (s *OrderBy) SetPropertyName(v string) *OrderBy { + s.PropertyName = &v + return s +} + // The parent entity update request. type ParentEntityUpdateRequest struct { _ struct{} `type:"structure"` @@ -7286,14 +8250,99 @@ func (s *ParentEntityUpdateRequest) SetUpdateType(v string) *ParentEntityUpdateR return s } -// An object that sets information about a property. -type PropertyDefinitionRequest struct { +// The pricing plan. +type PricingPlan struct { _ struct{} `type:"structure"` - // A mapping that specifies configuration information about the property. Use - // this field to specify information that you read from and write to an external - // source. - Configuration map[string]*string `locationName:"configuration" type:"map"` + // The billable entity count. + BillableEntityCount *int64 `locationName:"billableEntityCount" type:"long"` + + // The pricing plan's bundle information. + BundleInformation *BundleInformation `locationName:"bundleInformation" type:"structure"` + + // The effective date and time of the pricing plan. + // + // EffectiveDateTime is a required field + EffectiveDateTime *time.Time `locationName:"effectiveDateTime" type:"timestamp" required:"true"` + + // The pricing mode. + // + // PricingMode is a required field + PricingMode *string `locationName:"pricingMode" type:"string" required:"true" enum:"PricingMode"` + + // The set date and time for updating a pricing plan. + // + // UpdateDateTime is a required field + UpdateDateTime *time.Time `locationName:"updateDateTime" type:"timestamp" required:"true"` + + // The update reason, for changing a pricing plan. + // + // UpdateReason is a required field + UpdateReason *string `locationName:"updateReason" type:"string" required:"true" enum:"UpdateReason"` +} + +// 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 PricingPlan) 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 PricingPlan) GoString() string { + return s.String() +} + +// SetBillableEntityCount sets the BillableEntityCount field's value. +func (s *PricingPlan) SetBillableEntityCount(v int64) *PricingPlan { + s.BillableEntityCount = &v + return s +} + +// SetBundleInformation sets the BundleInformation field's value. +func (s *PricingPlan) SetBundleInformation(v *BundleInformation) *PricingPlan { + s.BundleInformation = v + return s +} + +// SetEffectiveDateTime sets the EffectiveDateTime field's value. +func (s *PricingPlan) SetEffectiveDateTime(v time.Time) *PricingPlan { + s.EffectiveDateTime = &v + return s +} + +// SetPricingMode sets the PricingMode field's value. +func (s *PricingPlan) SetPricingMode(v string) *PricingPlan { + s.PricingMode = &v + return s +} + +// SetUpdateDateTime sets the UpdateDateTime field's value. +func (s *PricingPlan) SetUpdateDateTime(v time.Time) *PricingPlan { + s.UpdateDateTime = &v + return s +} + +// SetUpdateReason sets the UpdateReason field's value. +func (s *PricingPlan) SetUpdateReason(v string) *PricingPlan { + s.UpdateReason = &v + return s +} + +// An object that sets information about a property. +type PropertyDefinitionRequest struct { + _ struct{} `type:"structure"` + + // A mapping that specifies configuration information about the property. Use + // this field to specify information that you read from and write to an external + // source. + Configuration map[string]*string `locationName:"configuration" type:"map"` // An object that contains information about the data type. DataType *DataType `locationName:"dataType" type:"structure"` @@ -7600,6 +8649,103 @@ func (s *PropertyFilter) SetValue(v *DataValue) *PropertyFilter { return s } +type PropertyGroupRequest struct { + _ struct{} `type:"structure"` + + // The group type. + GroupType *string `locationName:"groupType" type:"string" enum:"GroupType"` + + // The names of properties. + PropertyNames []*string `locationName:"propertyNames" 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 PropertyGroupRequest) 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 PropertyGroupRequest) GoString() string { + return s.String() +} + +// SetGroupType sets the GroupType field's value. +func (s *PropertyGroupRequest) SetGroupType(v string) *PropertyGroupRequest { + s.GroupType = &v + return s +} + +// SetPropertyNames sets the PropertyNames field's value. +func (s *PropertyGroupRequest) SetPropertyNames(v []*string) *PropertyGroupRequest { + s.PropertyNames = v + return s +} + +// The property group response +type PropertyGroupResponse struct { + _ struct{} `type:"structure"` + + // The group types. + // + // GroupType is a required field + GroupType *string `locationName:"groupType" type:"string" required:"true" enum:"GroupType"` + + // A Boolean value that specifies whether the property group is inherited from + // a parent entity + // + // IsInherited is a required field + IsInherited *bool `locationName:"isInherited" type:"boolean" required:"true"` + + // The names of properties. + // + // PropertyNames is a required field + PropertyNames []*string `locationName:"propertyNames" type:"list" 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 PropertyGroupResponse) 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 PropertyGroupResponse) GoString() string { + return s.String() +} + +// SetGroupType sets the GroupType field's value. +func (s *PropertyGroupResponse) SetGroupType(v string) *PropertyGroupResponse { + s.GroupType = &v + return s +} + +// SetIsInherited sets the IsInherited field's value. +func (s *PropertyGroupResponse) SetIsInherited(v bool) *PropertyGroupResponse { + s.IsInherited = &v + return s +} + +// SetPropertyNames sets the PropertyNames field's value. +func (s *PropertyGroupResponse) SetPropertyNames(v []*string) *PropertyGroupResponse { + s.PropertyNames = v + return s +} + // The latest value of the property. type PropertyLatestValue struct { _ struct{} `type:"structure"` @@ -7972,6 +9118,70 @@ func (s *PropertyValueHistory) SetValues(v []*PropertyValue) *PropertyValueHisto return s } +// The query timeout exception. +type QueryTimeoutException 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 QueryTimeoutException) 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 QueryTimeoutException) GoString() string { + return s.String() +} + +func newErrorQueryTimeoutException(v protocol.ResponseMetadata) error { + return &QueryTimeoutException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *QueryTimeoutException) Code() string { + return "QueryTimeoutException" +} + +// Message returns the exception's message. +func (s *QueryTimeoutException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *QueryTimeoutException) OrigErr() error { + return nil +} + +func (s *QueryTimeoutException) 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 *QueryTimeoutException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *QueryTimeoutException) RequestID() string { + return s.RespMetadata.RequestID +} + // An object that specifies a relationship with another component type. type Relationship struct { _ struct{} `type:"structure"` @@ -8150,6 +9360,29 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// Represents a single row in the query results. +type Row 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 Row) 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 Row) GoString() string { + return s.String() +} + // An object that contains information about a scene. type SceneSummary struct { _ struct{} `type:"structure"` @@ -8343,6 +9576,87 @@ func (s *Status) SetState(v string) *Status { return s } +// The tabular conditions. +type TabularConditions struct { + _ struct{} `type:"structure"` + + // Filter criteria that orders the output. It can be sorted in ascending or + // descending order. + OrderBy []*OrderBy `locationName:"orderBy" min:"1" type:"list"` + + // You can filter the request using various logical operators and a key-value + // format. For example: + // + // {"key": "serverType", "value": "webServer"} + PropertyFilters []*PropertyFilter `locationName:"propertyFilters" min:"1" 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 TabularConditions) 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 TabularConditions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TabularConditions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TabularConditions"} + if s.OrderBy != nil && len(s.OrderBy) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OrderBy", 1)) + } + if s.PropertyFilters != nil && len(s.PropertyFilters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PropertyFilters", 1)) + } + if s.OrderBy != nil { + for i, v := range s.OrderBy { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OrderBy", i), err.(request.ErrInvalidParams)) + } + } + } + if s.PropertyFilters != nil { + for i, v := range s.PropertyFilters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PropertyFilters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOrderBy sets the OrderBy field's value. +func (s *TabularConditions) SetOrderBy(v []*OrderBy) *TabularConditions { + s.OrderBy = v + return s +} + +// SetPropertyFilters sets the PropertyFilters field's value. +func (s *TabularConditions) SetPropertyFilters(v []*PropertyFilter) *TabularConditions { + s.PropertyFilters = v + return s +} + type TagResourceInput struct { _ struct{} `type:"structure"` @@ -8668,6 +9982,9 @@ type UpdateComponentTypeInput struct { // type. Each string in the mapping must be unique to this object. PropertyDefinitions map[string]*PropertyDefinitionRequest `locationName:"propertyDefinitions" type:"map"` + // The property groups + PropertyGroups map[string]*PropertyGroupRequest `locationName:"propertyGroups" type:"map"` + // The ID of the workspace that contains the component type. // // WorkspaceId is a required field @@ -8770,6 +10087,12 @@ func (s *UpdateComponentTypeInput) SetPropertyDefinitions(v map[string]*Property return s } +// SetPropertyGroups sets the PropertyGroups field's value. +func (s *UpdateComponentTypeInput) SetPropertyGroups(v map[string]*PropertyGroupRequest) *UpdateComponentTypeInput { + s.PropertyGroups = v + return s +} + // SetWorkspaceId sets the WorkspaceId field's value. func (s *UpdateComponentTypeInput) SetWorkspaceId(v string) *UpdateComponentTypeInput { s.WorkspaceId = &v @@ -9007,6 +10330,106 @@ func (s *UpdateEntityOutput) SetUpdateDateTime(v time.Time) *UpdateEntityOutput return s } +type UpdatePricingPlanInput struct { + _ struct{} `type:"structure"` + + // The bundle names. + BundleNames []*string `locationName:"bundleNames" min:"1" type:"list"` + + // The pricing mode. + // + // PricingMode is a required field + PricingMode *string `locationName:"pricingMode" type:"string" required:"true" enum:"PricingMode"` +} + +// 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 UpdatePricingPlanInput) 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 UpdatePricingPlanInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdatePricingPlanInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdatePricingPlanInput"} + if s.BundleNames != nil && len(s.BundleNames) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BundleNames", 1)) + } + if s.PricingMode == nil { + invalidParams.Add(request.NewErrParamRequired("PricingMode")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBundleNames sets the BundleNames field's value. +func (s *UpdatePricingPlanInput) SetBundleNames(v []*string) *UpdatePricingPlanInput { + s.BundleNames = v + return s +} + +// SetPricingMode sets the PricingMode field's value. +func (s *UpdatePricingPlanInput) SetPricingMode(v string) *UpdatePricingPlanInput { + s.PricingMode = &v + return s +} + +type UpdatePricingPlanOutput struct { + _ struct{} `type:"structure"` + + // Update the current pricing plan. + // + // CurrentPricingPlan is a required field + CurrentPricingPlan *PricingPlan `locationName:"currentPricingPlan" type:"structure" required:"true"` + + // Update the pending pricing plan. + PendingPricingPlan *PricingPlan `locationName:"pendingPricingPlan" 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 UpdatePricingPlanOutput) 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 UpdatePricingPlanOutput) GoString() string { + return s.String() +} + +// SetCurrentPricingPlan sets the CurrentPricingPlan field's value. +func (s *UpdatePricingPlanOutput) SetCurrentPricingPlan(v *PricingPlan) *UpdatePricingPlanOutput { + s.CurrentPricingPlan = v + return s +} + +// SetPendingPricingPlan sets the PendingPricingPlan field's value. +func (s *UpdatePricingPlanOutput) SetPendingPricingPlan(v *PricingPlan) *UpdatePricingPlanOutput { + s.PendingPricingPlan = v + return s +} + type UpdateSceneInput struct { _ struct{} `type:"structure"` @@ -9376,6 +10799,26 @@ func (s *WorkspaceSummary) SetWorkspaceId(v string) *WorkspaceSummary { return s } +const ( + // ColumnTypeNode is a ColumnType enum value + ColumnTypeNode = "NODE" + + // ColumnTypeEdge is a ColumnType enum value + ColumnTypeEdge = "EDGE" + + // ColumnTypeValue is a ColumnType enum value + ColumnTypeValue = "VALUE" +) + +// ColumnType_Values returns all elements of the ColumnType enum +func ColumnType_Values() []string { + return []string{ + ColumnTypeNode, + ColumnTypeEdge, + ColumnTypeValue, + } +} + const ( // ComponentUpdateTypeCreate is a ComponentUpdateType enum value ComponentUpdateTypeCreate = "CREATE" @@ -9412,6 +10855,18 @@ func ErrorCode_Values() []string { } } +const ( + // GroupTypeTabular is a GroupType enum value + GroupTypeTabular = "TABULAR" +) + +// GroupType_Values returns all elements of the GroupType enum +func GroupType_Values() []string { + return []string{ + GroupTypeTabular, + } +} + const ( // InterpolationTypeLinear is a InterpolationType enum value InterpolationTypeLinear = "LINEAR" @@ -9424,6 +10879,22 @@ func InterpolationType_Values() []string { } } +const ( + // OrderAscending is a Order enum value + OrderAscending = "ASCENDING" + + // OrderDescending is a Order enum value + OrderDescending = "DESCENDING" +) + +// Order_Values returns all elements of the Order enum +func Order_Values() []string { + return []string{ + OrderAscending, + OrderDescending, + } +} + const ( // OrderByTimeAscending is a OrderByTime enum value OrderByTimeAscending = "ASCENDING" @@ -9456,6 +10927,70 @@ func ParentEntityUpdateType_Values() []string { } } +const ( + // PricingModeBasic is a PricingMode enum value + PricingModeBasic = "BASIC" + + // PricingModeStandard is a PricingMode enum value + PricingModeStandard = "STANDARD" + + // PricingModeTieredBundle is a PricingMode enum value + PricingModeTieredBundle = "TIERED_BUNDLE" +) + +// PricingMode_Values returns all elements of the PricingMode enum +func PricingMode_Values() []string { + return []string{ + PricingModeBasic, + PricingModeStandard, + PricingModeTieredBundle, + } +} + +const ( + // PricingTierTier1 is a PricingTier enum value + PricingTierTier1 = "TIER_1" + + // PricingTierTier2 is a PricingTier enum value + PricingTierTier2 = "TIER_2" + + // PricingTierTier3 is a PricingTier enum value + PricingTierTier3 = "TIER_3" + + // PricingTierTier4 is a PricingTier enum value + PricingTierTier4 = "TIER_4" +) + +// PricingTier_Values returns all elements of the PricingTier enum +func PricingTier_Values() []string { + return []string{ + PricingTierTier1, + PricingTierTier2, + PricingTierTier3, + PricingTierTier4, + } +} + +const ( + // PropertyGroupUpdateTypeUpdate is a PropertyGroupUpdateType enum value + PropertyGroupUpdateTypeUpdate = "UPDATE" + + // PropertyGroupUpdateTypeDelete is a PropertyGroupUpdateType enum value + PropertyGroupUpdateTypeDelete = "DELETE" + + // PropertyGroupUpdateTypeCreate is a PropertyGroupUpdateType enum value + PropertyGroupUpdateTypeCreate = "CREATE" +) + +// PropertyGroupUpdateType_Values returns all elements of the PropertyGroupUpdateType enum +func PropertyGroupUpdateType_Values() []string { + return []string{ + PropertyGroupUpdateTypeUpdate, + PropertyGroupUpdateTypeDelete, + PropertyGroupUpdateTypeCreate, + } +} + const ( // PropertyUpdateTypeUpdate is a PropertyUpdateType enum value PropertyUpdateTypeUpdate = "UPDATE" @@ -9559,3 +11094,31 @@ func Type_Values() []string { TypeMap, } } + +const ( + // UpdateReasonDefault is a UpdateReason enum value + UpdateReasonDefault = "DEFAULT" + + // UpdateReasonPricingTierUpdate is a UpdateReason enum value + UpdateReasonPricingTierUpdate = "PRICING_TIER_UPDATE" + + // UpdateReasonEntityCountUpdate is a UpdateReason enum value + UpdateReasonEntityCountUpdate = "ENTITY_COUNT_UPDATE" + + // UpdateReasonPricingModeUpdate is a UpdateReason enum value + UpdateReasonPricingModeUpdate = "PRICING_MODE_UPDATE" + + // UpdateReasonOverwritten is a UpdateReason enum value + UpdateReasonOverwritten = "OVERWRITTEN" +) + +// UpdateReason_Values returns all elements of the UpdateReason enum +func UpdateReason_Values() []string { + return []string{ + UpdateReasonDefault, + UpdateReasonPricingTierUpdate, + UpdateReasonEntityCountUpdate, + UpdateReasonPricingModeUpdate, + UpdateReasonOverwritten, + } +} diff --git a/service/iottwinmaker/errors.go b/service/iottwinmaker/errors.go index 2294956c765..7c97706a250 100644 --- a/service/iottwinmaker/errors.go +++ b/service/iottwinmaker/errors.go @@ -38,6 +38,12 @@ const ( // An unexpected error has occurred. ErrCodeInternalServerException = "InternalServerException" + // ErrCodeQueryTimeoutException for service response error code + // "QueryTimeoutException". + // + // The query timeout exception. + ErrCodeQueryTimeoutException = "QueryTimeoutException" + // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // @@ -75,6 +81,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ConnectorFailureException": newErrorConnectorFailureException, "ConnectorTimeoutException": newErrorConnectorTimeoutException, "InternalServerException": newErrorInternalServerException, + "QueryTimeoutException": newErrorQueryTimeoutException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, "ThrottlingException": newErrorThrottlingException, diff --git a/service/iottwinmaker/iottwinmakeriface/interface.go b/service/iottwinmaker/iottwinmakeriface/interface.go index 27ae1d5514e..3e713005c39 100644 --- a/service/iottwinmaker/iottwinmakeriface/interface.go +++ b/service/iottwinmaker/iottwinmakeriface/interface.go @@ -96,6 +96,13 @@ type IoTTwinMakerAPI interface { DeleteWorkspaceWithContext(aws.Context, *iottwinmaker.DeleteWorkspaceInput, ...request.Option) (*iottwinmaker.DeleteWorkspaceOutput, error) DeleteWorkspaceRequest(*iottwinmaker.DeleteWorkspaceInput) (*request.Request, *iottwinmaker.DeleteWorkspaceOutput) + ExecuteQuery(*iottwinmaker.ExecuteQueryInput) (*iottwinmaker.ExecuteQueryOutput, error) + ExecuteQueryWithContext(aws.Context, *iottwinmaker.ExecuteQueryInput, ...request.Option) (*iottwinmaker.ExecuteQueryOutput, error) + ExecuteQueryRequest(*iottwinmaker.ExecuteQueryInput) (*request.Request, *iottwinmaker.ExecuteQueryOutput) + + ExecuteQueryPages(*iottwinmaker.ExecuteQueryInput, func(*iottwinmaker.ExecuteQueryOutput, bool) bool) error + ExecuteQueryPagesWithContext(aws.Context, *iottwinmaker.ExecuteQueryInput, func(*iottwinmaker.ExecuteQueryOutput, bool) bool, ...request.Option) error + GetComponentType(*iottwinmaker.GetComponentTypeInput) (*iottwinmaker.GetComponentTypeOutput, error) GetComponentTypeWithContext(aws.Context, *iottwinmaker.GetComponentTypeInput, ...request.Option) (*iottwinmaker.GetComponentTypeOutput, error) GetComponentTypeRequest(*iottwinmaker.GetComponentTypeInput) (*request.Request, *iottwinmaker.GetComponentTypeOutput) @@ -104,10 +111,17 @@ type IoTTwinMakerAPI interface { GetEntityWithContext(aws.Context, *iottwinmaker.GetEntityInput, ...request.Option) (*iottwinmaker.GetEntityOutput, error) GetEntityRequest(*iottwinmaker.GetEntityInput) (*request.Request, *iottwinmaker.GetEntityOutput) + GetPricingPlan(*iottwinmaker.GetPricingPlanInput) (*iottwinmaker.GetPricingPlanOutput, error) + GetPricingPlanWithContext(aws.Context, *iottwinmaker.GetPricingPlanInput, ...request.Option) (*iottwinmaker.GetPricingPlanOutput, error) + GetPricingPlanRequest(*iottwinmaker.GetPricingPlanInput) (*request.Request, *iottwinmaker.GetPricingPlanOutput) + GetPropertyValue(*iottwinmaker.GetPropertyValueInput) (*iottwinmaker.GetPropertyValueOutput, error) GetPropertyValueWithContext(aws.Context, *iottwinmaker.GetPropertyValueInput, ...request.Option) (*iottwinmaker.GetPropertyValueOutput, error) GetPropertyValueRequest(*iottwinmaker.GetPropertyValueInput) (*request.Request, *iottwinmaker.GetPropertyValueOutput) + GetPropertyValuePages(*iottwinmaker.GetPropertyValueInput, func(*iottwinmaker.GetPropertyValueOutput, bool) bool) error + GetPropertyValuePagesWithContext(aws.Context, *iottwinmaker.GetPropertyValueInput, func(*iottwinmaker.GetPropertyValueOutput, bool) bool, ...request.Option) error + GetPropertyValueHistory(*iottwinmaker.GetPropertyValueHistoryInput) (*iottwinmaker.GetPropertyValueHistoryOutput, error) GetPropertyValueHistoryWithContext(aws.Context, *iottwinmaker.GetPropertyValueHistoryInput, ...request.Option) (*iottwinmaker.GetPropertyValueHistoryOutput, error) GetPropertyValueHistoryRequest(*iottwinmaker.GetPropertyValueHistoryInput) (*request.Request, *iottwinmaker.GetPropertyValueHistoryOutput) @@ -171,6 +185,10 @@ type IoTTwinMakerAPI interface { UpdateEntityWithContext(aws.Context, *iottwinmaker.UpdateEntityInput, ...request.Option) (*iottwinmaker.UpdateEntityOutput, error) UpdateEntityRequest(*iottwinmaker.UpdateEntityInput) (*request.Request, *iottwinmaker.UpdateEntityOutput) + UpdatePricingPlan(*iottwinmaker.UpdatePricingPlanInput) (*iottwinmaker.UpdatePricingPlanOutput, error) + UpdatePricingPlanWithContext(aws.Context, *iottwinmaker.UpdatePricingPlanInput, ...request.Option) (*iottwinmaker.UpdatePricingPlanOutput, error) + UpdatePricingPlanRequest(*iottwinmaker.UpdatePricingPlanInput) (*request.Request, *iottwinmaker.UpdatePricingPlanOutput) + UpdateScene(*iottwinmaker.UpdateSceneInput) (*iottwinmaker.UpdateSceneOutput, error) UpdateSceneWithContext(aws.Context, *iottwinmaker.UpdateSceneInput, ...request.Option) (*iottwinmaker.UpdateSceneOutput, error) UpdateSceneRequest(*iottwinmaker.UpdateSceneInput) (*request.Request, *iottwinmaker.UpdateSceneOutput) diff --git a/service/personalizeevents/api.go b/service/personalizeevents/api.go index a86562de0b7..9d352bf231f 100644 --- a/service/personalizeevents/api.go +++ b/service/personalizeevents/api.go @@ -269,7 +269,7 @@ func (c *PersonalizeEvents) PutUsersWithContext(ctx aws.Context, input *PutUsers // Represents user interaction event information sent using the PutEvents API. type Event struct { - _ struct{} `type:"structure"` + _ struct{} `type:"structure" sensitive:"true"` // An ID associated with the event. If an event ID is not provided, Amazon Personalize // generates a unique ID for the event. An event ID is not used as an input @@ -290,12 +290,23 @@ type Event struct { EventValue *float64 `locationName:"eventValue" type:"float"` // A list of item IDs that represents the sequence of items you have shown the - // user. For example, ["itemId1", "itemId2", "itemId3"]. + // user. For example, ["itemId1", "itemId2", "itemId3"]. Provide a list of items + // to manually record impressions data for an event. For more information on + // recording impressions data, see Recording impressions data (https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html#putevents-including-impressions-data). Impression []*string `locationName:"impression" min:"1" type:"list"` // The item ID key that corresponds to the ITEM_ID field of the Interactions // schema. - ItemId *string `locationName:"itemId" min:"1" type:"string"` + // + // ItemId is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by Event's + // String and GoString methods. + ItemId *string `locationName:"itemId" min:"1" type:"string" sensitive:"true"` + + // Contains information about the metric attribution associated with an event. + // For more information about metric attributions, see Measuring impact of recommendations + // (https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html). + MetricAttribution *MetricAttribution `locationName:"metricAttribution" type:"structure"` // A string map of event-specific data that you might choose to record. For // example, if a user rates a movie on your site, other than movie ID (itemId) @@ -311,7 +322,16 @@ type Event struct { // field defined in the Interactions schema. Properties aws.JSONValue `locationName:"properties" type:"jsonvalue"` - // The ID of the recommendation. + // The ID of the list of recommendations that contains the item the user interacted + // with. Provide a recommendationId to have Amazon Personalize implicitly record + // the recommendations you show your user as impressions data. Or provide a + // recommendationId if you use a metric attribution to measure the impact of + // recommendations. + // + // For more information on recording impressions data, see Recording impressions + // data (https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html#putevents-including-impressions-data). + // For more information on creating a metric attribution see Measuring impact + // of recommendations (https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html). RecommendationId *string `locationName:"recommendationId" min:"1" type:"string"` // The timestamp (in Unix time) on the client side when the event occurred. @@ -362,6 +382,11 @@ func (s *Event) Validate() error { if s.SentAt == nil { invalidParams.Add(request.NewErrParamRequired("SentAt")) } + if s.MetricAttribution != nil { + if err := s.MetricAttribution.Validate(); err != nil { + invalidParams.AddNested("MetricAttribution", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -399,6 +424,12 @@ func (s *Event) SetItemId(v string) *Event { return s } +// SetMetricAttribution sets the MetricAttribution field's value. +func (s *Event) SetMetricAttribution(v *MetricAttribution) *Event { + s.MetricAttribution = v + return s +} + // SetProperties sets the Properties field's value. func (s *Event) SetProperties(v aws.JSONValue) *Event { s.Properties = v @@ -548,6 +579,55 @@ func (s *Item) SetProperties(v aws.JSONValue) *Item { return s } +// Contains information about a metric attribution associated with an event. +// For more information about metric attributions, see Measuring impact of recommendations +// (https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html). +type MetricAttribution struct { + _ struct{} `type:"structure"` + + // The source of the event, such as a third party. + // + // EventAttributionSource is a required field + EventAttributionSource *string `locationName:"eventAttributionSource" 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 MetricAttribution) 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 MetricAttribution) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MetricAttribution) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MetricAttribution"} + if s.EventAttributionSource == nil { + invalidParams.Add(request.NewErrParamRequired("EventAttributionSource")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEventAttributionSource sets the EventAttributionSource field's value. +func (s *MetricAttribution) SetEventAttributionSource(v string) *MetricAttribution { + s.EventAttributionSource = &v + return s +} + type PutEventsInput struct { _ struct{} `type:"structure"` @@ -572,7 +652,11 @@ type PutEventsInput struct { TrackingId *string `locationName:"trackingId" min:"1" type:"string" required:"true"` // The user associated with the event. - UserId *string `locationName:"userId" min:"1" type:"string"` + // + // UserId is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PutEventsInput's + // String and GoString methods. + UserId *string `locationName:"userId" min:"1" type:"string" sensitive:"true"` } // String returns the string representation. diff --git a/service/proton/api.go b/service/proton/api.go index c217b96df1b..63cf19d564d 100644 --- a/service/proton/api.go +++ b/service/proton/api.go @@ -695,18 +695,13 @@ func (c *Proton) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *r // // You can provision environments using the following methods: // -// - Amazon Web Services-managed provisioning – Proton makes direct calls +// - Amazon Web Services-managed provisioning: Proton makes direct calls // to provision your resources. // -// - Self-managed provisioning – Proton makes pull requests on your repository +// - Self-managed provisioning: Proton makes pull requests on your repository // to provide compiled infrastructure as code (IaC) files that your IaC engine // uses to provision resources. // -// - CodeBuild-based provisioning – Proton uses CodeBuild to run shell -// commands that you provide. Your commands can read inputs that Proton provides, -// and are responsible for provisioning or deprovisioning infrastructure -// and generating output values. -// // For more information, see Environments (https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html) // and Provisioning methods (https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html) // in the Proton User Guide. @@ -5880,7 +5875,8 @@ func (c *Proton) ListServiceInstancesRequest(input *ListServiceInstancesInput) ( // ListServiceInstances API operation for AWS Proton. // -// List service instances with summary data. +// List service instances with summary data. This action lists service instances +// of all services in the Amazon Web Services account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6914,11 +6910,11 @@ func (c *Proton) NotifyResourceDeploymentStatusChangeRequest(input *NotifyResour // NotifyResourceDeploymentStatusChange API operation for AWS Proton. // -// Notify Proton of the following information related to a provisioned resource -// (environment, service instance, or service pipeline): +// Notify Proton of status changes to a provisioned resource when you use self-managed +// provisioning. // -// - For CodeBuild-based provisioning (https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-codebuild), -// provide your provisioned resource output values to Proton. +// For more information, see Self-managed provisioning (https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self) +// in the Proton User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7526,8 +7522,8 @@ func (c *Proton) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *r // Update an environment. // // If the environment is associated with an environment account connection, -// don't update or include the protonServiceRoleArn, codebuildRoleArn, and provisioningRepository -// parameters. +// don't update or include the protonServiceRoleArn and provisioningRepository +// parameter to update or connect to an environment account connection. // // You can only update to a new environment account connection if that connection // was created in the same environment account that the current environment @@ -7539,15 +7535,15 @@ func (c *Proton) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *r // can't update or connect the environment to an environment account connection // if it isn't already associated with an environment connection. // -// You can update either environmentAccountConnectionId or one or more of protonServiceRoleArn, -// codebuildRoleArn, and provisioningRepository. +// You can update either the environmentAccountConnectionId or protonServiceRoleArn +// parameter and value. You can’t update both. // -// If the environment was configured for Amazon Web Services-managed or CodeBuild-based -// provisioning, omit the provisioningRepository parameter. +// If the environment was configured for Amazon Web Services-managed provisioning, +// omit the provisioningRepository parameter. // // If the environment was configured for self-managed provisioning, specify -// the provisioningRepository parameter and omit the protonServiceRoleArn, codebuildRoleArn, -// and provisioningRepository parameters. +// the provisioningRepository parameter and omit the protonServiceRoleArn and +// environmentAccountConnectionId parameters. // // For more information, see Environments (https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html) // and Provisioning methods (https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html) @@ -8708,8 +8704,9 @@ type AccountSettings struct { // For more information, see CreateRepository. PipelineProvisioningRepository *RepositoryBranch `locationName:"pipelineProvisioningRepository" type:"structure"` - // The Amazon Resource Name (ARN) of the service role that Proton uses for provisioning - // pipelines. Proton assumes this role for Amazon Web Services-managed provisioning. + // The Amazon Resource Name (ARN) of the service role you want to use for provisioning + // pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, + // and by customer-owned automation for self-managed provisioning. PipelineServiceRoleArn *string `locationName:"pipelineServiceRoleArn" type:"string"` } @@ -9824,10 +9821,10 @@ type CreateEnvironmentAccountConnectionInput struct { // CodeBuild-based provisioning in the associated environment account. CodebuildRoleArn *string `locationName:"codebuildRoleArn" min:"1" type:"string"` - // The Amazon Resource Name (ARN) of an IAM service role in the environment - // account. Proton uses this role to provision directly defined components in - // the associated environment account. It determines the scope of infrastructure - // that a component can provision in the account. + // The Amazon Resource Name (ARN) of the IAM service role that Proton uses when + // provisioning directly defined components in the associated environment account. + // It determines the scope of infrastructure that a component can provision + // in the account. // // You must specify componentRoleArn to allow directly defined components to // be associated with any environments running in this account. @@ -9851,10 +9848,9 @@ type CreateEnvironmentAccountConnectionInput struct { // ManagementAccountId is a required field ManagementAccountId *string `locationName:"managementAccountId" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of an IAM service role in the environment - // account. Proton uses this role to provision infrastructure resources using - // Amazon Web Services-managed provisioning and CloudFormation in the associated - // environment account. + // The Amazon Resource Name (ARN) of the IAM service role that's created in + // the environment account. Proton uses this role to provision infrastructure + // resources in the associated environment account. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` @@ -10030,14 +10026,14 @@ type CreateEnvironmentInput struct { // String and GoString methods. Description *string `locationName:"description" type:"string" sensitive:"true"` - // The ID of the environment account connection that you provide if you want - // Proton to provision infrastructure resources for your environment or for - // any of the service instances running in it in an environment account. For + // The ID of the environment account connection that you provide if you're provisioning + // your environment infrastructure resources to an environment account. For // more information, see Environment account connections (https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html) // in the Proton User guide. // - // If you specify the environmentAccountConnectionId parameter, don't specify - // protonServiceRoleArn, codebuildRoleArn, or provisioningRepository. + // To use Amazon Web Services-managed provisioning for the environment, specify + // either the environmentAccountConnectionId or protonServiceRoleArn parameter + // and omit the provisioningRepository parameter. EnvironmentAccountConnectionId *string `locationName:"environmentAccountConnectionId" type:"string"` // The name of the environment. @@ -10045,21 +10041,20 @@ type CreateEnvironmentInput struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of the IAM service role that allows Proton - // to provision infrastructure using Amazon Web Services-managed provisioning - // and CloudFormation on your behalf. + // The Amazon Resource Name (ARN) of the Proton service role that allows Proton + // to make calls to other services on your behalf. // - // To use Amazon Web Services-managed provisioning for the environment or for - // any service instance running in the environment, specify either the environmentAccountConnectionId - // or protonServiceRoleArn parameter. + // To use Amazon Web Services-managed provisioning for the environment, specify + // either the environmentAccountConnectionId or protonServiceRoleArn parameter + // and omit the provisioningRepository parameter. ProtonServiceRoleArn *string `locationName:"protonServiceRoleArn" min:"1" type:"string"` // The linked repository that you use to host your rendered infrastructure templates // for self-managed provisioning. A linked repository is a repository that has // been registered with Proton. For more information, see CreateRepository. // - // To use self-managed provisioning for the environment or for any service instance - // running in the environment, specify this parameter. + // To use self-managed provisioning for the environment, specify this parameter + // and omit the environmentAccountConnectionId and protonServiceRoleArn parameters. ProvisioningRepository *RepositoryBranchInput_ `locationName:"provisioningRepository" type:"structure"` // A YAML formatted string that provides inputs as defined in the environment @@ -12444,8 +12439,8 @@ type Environment struct { // String and GoString methods. Description *string `locationName:"description" type:"string" sensitive:"true"` - // The ID of the environment account connection that Proton uses to provision - // infrastructure resources in an environment account. + // The ID of the environment account connection that's used to provision infrastructure + // resources in an environment account. EnvironmentAccountConnectionId *string `locationName:"environmentAccountConnectionId" type:"string"` // The ID of the environment account that the environment infrastructure resources @@ -12467,9 +12462,8 @@ type Environment struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of the IAM service role that allows Proton - // to provision infrastructure using Amazon Web Services-managed provisioning - // and CloudFormation on your behalf. + // The Amazon Resource Name (ARN) of the Proton service role that allows Proton + // to make calls to other services on your behalf. ProtonServiceRoleArn *string `locationName:"protonServiceRoleArn" min:"1" type:"string"` // When included, indicates that the environment template is for customer provisioned @@ -12695,10 +12689,7 @@ type EnvironmentAccountConnection struct { // RequestedAt is a required field RequestedAt *time.Time `locationName:"requestedAt" type:"timestamp" required:"true"` - // The Amazon Resource Name (ARN) of an IAM service role in the environment - // account. Proton uses this role to provision infrastructure resources using - // Amazon Web Services-managed provisioning and CloudFormation in the associated - // environment account. + // The IAM service role that's associated with the environment account connection. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` @@ -16616,9 +16607,59 @@ func (s *ListServiceInstanceProvisionedResourcesOutput) SetProvisionedResources( return s } +// A filtering criterion to scope down the result list of the ListServiceInstances +// action. +type ListServiceInstancesFilter struct { + _ struct{} `type:"structure"` + + // The name of a filtering criterion. + Key *string `locationName:"key" type:"string" enum:"ListServiceInstancesFilterBy"` + + // A value to filter by. + // + // With the date/time keys (*At{Before,After}), the value is a valid RFC 3339 + // (https://datatracker.ietf.org/doc/html/rfc3339.html) string with no UTC offset + // and with an optional fractional precision (for example, 1985-04-12T23:20:50.52Z). + Value *string `locationName:"value" 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 ListServiceInstancesFilter) 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 ListServiceInstancesFilter) GoString() string { + return s.String() +} + +// SetKey sets the Key field's value. +func (s *ListServiceInstancesFilter) SetKey(v string) *ListServiceInstancesFilter { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *ListServiceInstancesFilter) SetValue(v string) *ListServiceInstancesFilter { + s.Value = &v + return s +} + type ListServiceInstancesInput struct { _ struct{} `type:"structure"` + // An array of filtering criteria that scope down the result list. By default, + // all service instances in the Amazon Web Services account are returned. + Filters []*ListServiceInstancesFilter `locationName:"filters" type:"list"` + // The maximum number of service instances to list. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` @@ -16628,6 +16669,19 @@ type ListServiceInstancesInput struct { // The name of the service that the service instance belongs to. ServiceName *string `locationName:"serviceName" min:"1" type:"string"` + + // The field that the result list is sorted by. + // + // When you choose to sort by serviceName, service instances within each service + // are sorted by service instance name. + // + // Default: serviceName + SortBy *string `locationName:"sortBy" type:"string" enum:"ListServiceInstancesSortBy"` + + // Result list sort order. + // + // Default: ASCENDING + SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"` } // String returns the string representation. @@ -16664,6 +16718,12 @@ func (s *ListServiceInstancesInput) Validate() error { return nil } +// SetFilters sets the Filters field's value. +func (s *ListServiceInstancesInput) SetFilters(v []*ListServiceInstancesFilter) *ListServiceInstancesInput { + s.Filters = v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *ListServiceInstancesInput) SetMaxResults(v int64) *ListServiceInstancesInput { s.MaxResults = &v @@ -16682,6 +16742,18 @@ func (s *ListServiceInstancesInput) SetServiceName(v string) *ListServiceInstanc return s } +// SetSortBy sets the SortBy field's value. +func (s *ListServiceInstancesInput) SetSortBy(v string) *ListServiceInstancesInput { + s.SortBy = &v + return s +} + +// SetSortOrder sets the SortOrder field's value. +func (s *ListServiceInstancesInput) SetSortOrder(v string) *ListServiceInstancesInput { + s.SortOrder = &v + return s +} + type ListServiceInstancesOutput struct { _ struct{} `type:"structure"` @@ -17373,15 +17445,13 @@ func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput type NotifyResourceDeploymentStatusChangeInput struct { _ struct{} `type:"structure"` - // The deployment ID for your provisioned resource. Proton uses it to disambiguate - // different deployments of the resource. Applicable to self-managed provisioning - // (https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self). + // The deployment ID for your provisioned resource. DeploymentId *string `locationName:"deploymentId" type:"string"` - // The output values generated by your provisioned resource. + // The provisioned resource state change detail data that's returned by Proton. Outputs []*Output_ `locationName:"outputs" type:"list"` - // The Amazon Resource Name (ARN) of your provisioned resource. + // The provisioned resource Amazon Resource Name (ARN). // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` @@ -20662,10 +20732,8 @@ type UpdateEnvironmentAccountConnectionInput struct { // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of an IAM service role in the environment - // account. Proton uses this role to provision infrastructure resources using - // Amazon Web Services-managed provisioning and CloudFormation in the associated - // environment account. + // The Amazon Resource Name (ARN) of the IAM service role that's associated + // with the environment account connection to update. RoleArn *string `locationName:"roleArn" min:"1" type:"string"` } @@ -20822,11 +20890,7 @@ type UpdateEnvironmentInput struct { // String and GoString methods. Description *string `locationName:"description" type:"string" sensitive:"true"` - // The ID of the environment account connection that you provide if you want - // Proton to provision infrastructure resources for your environment or for - // any of the service instances running in it in an environment account. For - // more information, see Environment account connections (https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html) - // in the Proton User guide. + // The ID of the environment account connection. // // You can only update to a new environment account connection if it was created // in the same environment account that the current environment account connection @@ -20838,9 +20902,8 @@ type UpdateEnvironmentInput struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of the IAM service role that allows Proton - // to provision infrastructure using Amazon Web Services-managed provisioning - // and CloudFormation on your behalf. + // The Amazon Resource Name (ARN) of the Proton service role that allows Proton + // to make API calls to other services your behalf. ProtonServiceRoleArn *string `locationName:"protonServiceRoleArn" min:"1" type:"string"` // The linked repository that you use to host your rendered infrastructure templates @@ -22366,6 +22429,90 @@ func EnvironmentAccountConnectionStatus_Values() []string { } } +const ( + // ListServiceInstancesFilterByName is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByName = "name" + + // ListServiceInstancesFilterByDeploymentStatus is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByDeploymentStatus = "deploymentStatus" + + // ListServiceInstancesFilterByTemplateName is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByTemplateName = "templateName" + + // ListServiceInstancesFilterByServiceName is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByServiceName = "serviceName" + + // ListServiceInstancesFilterByDeployedTemplateVersionStatus is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByDeployedTemplateVersionStatus = "deployedTemplateVersionStatus" + + // ListServiceInstancesFilterByEnvironmentName is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByEnvironmentName = "environmentName" + + // ListServiceInstancesFilterByLastDeploymentAttemptedAtBefore is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByLastDeploymentAttemptedAtBefore = "lastDeploymentAttemptedAtBefore" + + // ListServiceInstancesFilterByLastDeploymentAttemptedAtAfter is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByLastDeploymentAttemptedAtAfter = "lastDeploymentAttemptedAtAfter" + + // ListServiceInstancesFilterByCreatedAtBefore is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByCreatedAtBefore = "createdAtBefore" + + // ListServiceInstancesFilterByCreatedAtAfter is a ListServiceInstancesFilterBy enum value + ListServiceInstancesFilterByCreatedAtAfter = "createdAtAfter" +) + +// ListServiceInstancesFilterBy_Values returns all elements of the ListServiceInstancesFilterBy enum +func ListServiceInstancesFilterBy_Values() []string { + return []string{ + ListServiceInstancesFilterByName, + ListServiceInstancesFilterByDeploymentStatus, + ListServiceInstancesFilterByTemplateName, + ListServiceInstancesFilterByServiceName, + ListServiceInstancesFilterByDeployedTemplateVersionStatus, + ListServiceInstancesFilterByEnvironmentName, + ListServiceInstancesFilterByLastDeploymentAttemptedAtBefore, + ListServiceInstancesFilterByLastDeploymentAttemptedAtAfter, + ListServiceInstancesFilterByCreatedAtBefore, + ListServiceInstancesFilterByCreatedAtAfter, + } +} + +const ( + // ListServiceInstancesSortByName is a ListServiceInstancesSortBy enum value + ListServiceInstancesSortByName = "name" + + // ListServiceInstancesSortByDeploymentStatus is a ListServiceInstancesSortBy enum value + ListServiceInstancesSortByDeploymentStatus = "deploymentStatus" + + // ListServiceInstancesSortByTemplateName is a ListServiceInstancesSortBy enum value + ListServiceInstancesSortByTemplateName = "templateName" + + // ListServiceInstancesSortByServiceName is a ListServiceInstancesSortBy enum value + ListServiceInstancesSortByServiceName = "serviceName" + + // ListServiceInstancesSortByEnvironmentName is a ListServiceInstancesSortBy enum value + ListServiceInstancesSortByEnvironmentName = "environmentName" + + // ListServiceInstancesSortByLastDeploymentAttemptedAt is a ListServiceInstancesSortBy enum value + ListServiceInstancesSortByLastDeploymentAttemptedAt = "lastDeploymentAttemptedAt" + + // ListServiceInstancesSortByCreatedAt is a ListServiceInstancesSortBy enum value + ListServiceInstancesSortByCreatedAt = "createdAt" +) + +// ListServiceInstancesSortBy_Values returns all elements of the ListServiceInstancesSortBy enum +func ListServiceInstancesSortBy_Values() []string { + return []string{ + ListServiceInstancesSortByName, + ListServiceInstancesSortByDeploymentStatus, + ListServiceInstancesSortByTemplateName, + ListServiceInstancesSortByServiceName, + ListServiceInstancesSortByEnvironmentName, + ListServiceInstancesSortByLastDeploymentAttemptedAt, + ListServiceInstancesSortByCreatedAt, + } +} + // List of provisioning engines const ( // ProvisionedResourceEngineCloudformation is a ProvisionedResourceEngine enum value @@ -22564,6 +22711,22 @@ func ServiceTemplateSupportedComponentSourceType_Values() []string { } } +const ( + // SortOrderAscending is a SortOrder enum value + SortOrderAscending = "ASCENDING" + + // SortOrderDescending is a SortOrder enum value + SortOrderDescending = "DESCENDING" +) + +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAscending, + SortOrderDescending, + } +} + const ( // SyncTypeTemplateSync is a SyncType enum value SyncTypeTemplateSync = "TEMPLATE_SYNC" diff --git a/service/rds/api.go b/service/rds/api.go index d9066bbb4d2..e3c7fcd430a 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -16595,6 +16595,15 @@ func (s *CloudwatchLogsExportConfiguration) SetEnableLogTypes(v []*string) *Clou type ClusterPendingModifiedValues struct { _ struct{} `type:"structure"` + // The allocated storage size in gibibytes (GiB) for all database engines except + // Amazon Aurora. For Aurora, AllocatedStorage always returns 1, because Aurora + // DB cluster storage size isn't fixed, but instead automatically adjusts as + // needed. + AllocatedStorage *int64 `type:"integer"` + + // The number of days for which automatic DB snapshots are retained. + BackupRetentionPeriod *int64 `type:"integer"` + // The DBClusterIdentifier value for the DB cluster. DBClusterIdentifier *string `type:"string"` @@ -16605,6 +16614,10 @@ type ClusterPendingModifiedValues struct { // Access Management (IAM) accounts to database accounts is enabled. IAMDatabaseAuthenticationEnabled *bool `type:"boolean"` + // The Provisioned IOPS (I/O operations per second) value. This setting is only + // for non-Aurora Multi-AZ DB clusters. + Iops *int64 `type:"integer"` + // The master credentials for the DB cluster. MasterUserPassword *string `type:"string"` @@ -16631,6 +16644,18 @@ func (s ClusterPendingModifiedValues) GoString() string { return s.String() } +// SetAllocatedStorage sets the AllocatedStorage field's value. +func (s *ClusterPendingModifiedValues) SetAllocatedStorage(v int64) *ClusterPendingModifiedValues { + s.AllocatedStorage = &v + return s +} + +// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. +func (s *ClusterPendingModifiedValues) SetBackupRetentionPeriod(v int64) *ClusterPendingModifiedValues { + s.BackupRetentionPeriod = &v + return s +} + // SetDBClusterIdentifier sets the DBClusterIdentifier field's value. func (s *ClusterPendingModifiedValues) SetDBClusterIdentifier(v string) *ClusterPendingModifiedValues { s.DBClusterIdentifier = &v @@ -16649,6 +16674,12 @@ func (s *ClusterPendingModifiedValues) SetIAMDatabaseAuthenticationEnabled(v boo return s } +// SetIops sets the Iops field's value. +func (s *ClusterPendingModifiedValues) SetIops(v int64) *ClusterPendingModifiedValues { + s.Iops = &v + return s +} + // SetMasterUserPassword sets the MasterUserPassword field's value. func (s *ClusterPendingModifiedValues) SetMasterUserPassword(v string) *ClusterPendingModifiedValues { s.MasterUserPassword = &v @@ -17990,6 +18021,14 @@ type CreateCustomDBEngineVersionOutput struct { // The creation time of the DB engine version. CreateTime *time.Time `type:"timestamp"` + // JSON string that lists the installation files and parameters that RDS Custom + // uses to create a custom engine version (CEV). RDS Custom applies the patches + // in the order in which they're listed in the manifest. You can set the Oracle + // home, Oracle base, and UNIX/Linux user and group using the installation parameters. + // For more information, see JSON fields in the CEV manifest (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + // in the Amazon RDS User Guide. + CustomDBEngineVersionManifest *string `min:"1" type:"string"` + // The description of the database engine. DBEngineDescription *string `type:"string"` @@ -18119,6 +18158,12 @@ func (s *CreateCustomDBEngineVersionOutput) SetCreateTime(v time.Time) *CreateCu return s } +// SetCustomDBEngineVersionManifest sets the CustomDBEngineVersionManifest field's value. +func (s *CreateCustomDBEngineVersionOutput) SetCustomDBEngineVersionManifest(v string) *CreateCustomDBEngineVersionOutput { + s.CustomDBEngineVersionManifest = &v + return s +} + // SetDBEngineDescription sets the DBEngineDescription field's value. func (s *CreateCustomDBEngineVersionOutput) SetDBEngineDescription(v string) *CreateCustomDBEngineVersionOutput { s.DBEngineDescription = &v @@ -18626,6 +18671,9 @@ type CreateDBClusterInput struct { // Valid for: Aurora DB clusters and Multi-AZ DB clusters DBSubnetGroupName *string `type:"string"` + // Reserved for future use. + DBSystemId *string `type:"string"` + // The name for your database of up to 64 alphanumeric characters. If you do // not provide a name, Amazon RDS doesn't create a database in the DB cluster // you are creating. @@ -19283,6 +19331,12 @@ func (s *CreateDBClusterInput) SetDBSubnetGroupName(v string) *CreateDBClusterIn return s } +// SetDBSystemId sets the DBSystemId field's value. +func (s *CreateDBClusterInput) SetDBSystemId(v string) *CreateDBClusterInput { + s.DBSystemId = &v + return s +} + // SetDatabaseName sets the DatabaseName field's value. func (s *CreateDBClusterInput) SetDatabaseName(v string) *CreateDBClusterInput { s.DatabaseName = &v @@ -23448,6 +23502,9 @@ type DBCluster struct { // including the name, description, and subnets in the subnet group. DBSubnetGroup *string `type:"string"` + // Reserved for future use. + DBSystemId *string `type:"string"` + // Contains the name of the initial database of this DB cluster that was provided // at create time, if one was specified when the DB cluster was created. This // same name is returned for the life of the DB cluster. @@ -23876,6 +23933,12 @@ func (s *DBCluster) SetDBSubnetGroup(v string) *DBCluster { return s } +// SetDBSystemId sets the DBSystemId field's value. +func (s *DBCluster) SetDBSystemId(v string) *DBCluster { + s.DBSystemId = &v + return s +} + // SetDatabaseName sets the DatabaseName field's value. func (s *DBCluster) SetDatabaseName(v string) *DBCluster { s.DatabaseName = &v @@ -24570,6 +24633,9 @@ type DBClusterSnapshot struct { // Specifies the identifier for the DB cluster snapshot. DBClusterSnapshotIdentifier *string `type:"string"` + // Reserved for future use. + DBSystemId *string `type:"string"` + // Specifies the name of the database engine for this DB cluster snapshot. Engine *string `type:"string"` @@ -24690,6 +24756,12 @@ func (s *DBClusterSnapshot) SetDBClusterSnapshotIdentifier(v string) *DBClusterS return s } +// SetDBSystemId sets the DBSystemId field's value. +func (s *DBClusterSnapshot) SetDBSystemId(v string) *DBClusterSnapshot { + s.DBSystemId = &v + return s +} + // SetEngine sets the Engine field's value. func (s *DBClusterSnapshot) SetEngine(v string) *DBClusterSnapshot { s.Engine = &v @@ -24895,6 +24967,14 @@ type DBEngineVersion struct { // The creation time of the DB engine version. CreateTime *time.Time `type:"timestamp"` + // JSON string that lists the installation files and parameters that RDS Custom + // uses to create a custom engine version (CEV). RDS Custom applies the patches + // in the order in which they're listed in the manifest. You can set the Oracle + // home, Oracle base, and UNIX/Linux user and group using the installation parameters. + // For more information, see JSON fields in the CEV manifest (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + // in the Amazon RDS User Guide. + CustomDBEngineVersionManifest *string `min:"1" type:"string"` + // The description of the database engine. DBEngineDescription *string `type:"string"` @@ -25024,6 +25104,12 @@ func (s *DBEngineVersion) SetCreateTime(v time.Time) *DBEngineVersion { return s } +// SetCustomDBEngineVersionManifest sets the CustomDBEngineVersionManifest field's value. +func (s *DBEngineVersion) SetCustomDBEngineVersionManifest(v string) *DBEngineVersion { + s.CustomDBEngineVersionManifest = &v + return s +} + // SetDBEngineDescription sets the DBEngineDescription field's value. func (s *DBEngineVersion) SetDBEngineDescription(v string) *DBEngineVersion { s.DBEngineDescription = &v @@ -25340,6 +25426,10 @@ type DBInstance struct { // including the name, description, and subnets in the subnet group. DBSubnetGroup *DBSubnetGroup `type:"structure"` + // The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle + // SID is also the name of the CDB. This setting is valid for RDS Custom only. + DBSystemId *string `type:"string"` + // Specifies the port that the DB instance listens on. If the DB instance is // part of a DB cluster, this can be a different port than the DB cluster port. DbInstancePort *int64 `type:"integer"` @@ -25794,6 +25884,12 @@ func (s *DBInstance) SetDBSubnetGroup(v *DBSubnetGroup) *DBInstance { return s } +// SetDBSystemId sets the DBSystemId field's value. +func (s *DBInstance) SetDBSystemId(v string) *DBInstance { + s.DBSystemId = &v + return s +} + // SetDbInstancePort sets the DbInstancePort field's value. func (s *DBInstance) SetDbInstancePort(v int64) *DBInstance { s.DbInstancePort = &v @@ -27996,6 +28092,14 @@ type DeleteCustomDBEngineVersionOutput struct { // The creation time of the DB engine version. CreateTime *time.Time `type:"timestamp"` + // JSON string that lists the installation files and parameters that RDS Custom + // uses to create a custom engine version (CEV). RDS Custom applies the patches + // in the order in which they're listed in the manifest. You can set the Oracle + // home, Oracle base, and UNIX/Linux user and group using the installation parameters. + // For more information, see JSON fields in the CEV manifest (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + // in the Amazon RDS User Guide. + CustomDBEngineVersionManifest *string `min:"1" type:"string"` + // The description of the database engine. DBEngineDescription *string `type:"string"` @@ -28125,6 +28229,12 @@ func (s *DeleteCustomDBEngineVersionOutput) SetCreateTime(v time.Time) *DeleteCu return s } +// SetCustomDBEngineVersionManifest sets the CustomDBEngineVersionManifest field's value. +func (s *DeleteCustomDBEngineVersionOutput) SetCustomDBEngineVersionManifest(v string) *DeleteCustomDBEngineVersionOutput { + s.CustomDBEngineVersionManifest = &v + return s +} + // SetDBEngineDescription sets the DBEngineDescription field's value. func (s *DeleteCustomDBEngineVersionOutput) SetDBEngineDescription(v string) *DeleteCustomDBEngineVersionOutput { s.DBEngineDescription = &v @@ -37767,6 +37877,14 @@ type ModifyCustomDBEngineVersionOutput struct { // The creation time of the DB engine version. CreateTime *time.Time `type:"timestamp"` + // JSON string that lists the installation files and parameters that RDS Custom + // uses to create a custom engine version (CEV). RDS Custom applies the patches + // in the order in which they're listed in the manifest. You can set the Oracle + // home, Oracle base, and UNIX/Linux user and group using the installation parameters. + // For more information, see JSON fields in the CEV manifest (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + // in the Amazon RDS User Guide. + CustomDBEngineVersionManifest *string `min:"1" type:"string"` + // The description of the database engine. DBEngineDescription *string `type:"string"` @@ -37896,6 +38014,12 @@ func (s *ModifyCustomDBEngineVersionOutput) SetCreateTime(v time.Time) *ModifyCu return s } +// SetCustomDBEngineVersionManifest sets the CustomDBEngineVersionManifest field's value. +func (s *ModifyCustomDBEngineVersionOutput) SetCustomDBEngineVersionManifest(v string) *ModifyCustomDBEngineVersionOutput { + s.CustomDBEngineVersionManifest = &v + return s +} + // SetDBEngineDescription sets the DBEngineDescription field's value. func (s *ModifyCustomDBEngineVersionOutput) SetDBEngineDescription(v string) *ModifyCustomDBEngineVersionOutput { s.DBEngineDescription = &v diff --git a/service/ssm/api.go b/service/ssm/api.go index 0cd1b61ce80..6009e02d02c 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -1076,6 +1076,11 @@ func (c *SSM) CreateOpsItemRequest(input *CreateOpsItemInput) (req *request.Requ // A specified parameter argument isn't valid. Verify the available arguments // and try again. // +// - OpsItemAccessDeniedException +// You don't have permission to view OpsItems in the specified account. Verify +// that your account is configured either as a Systems Manager delegated administrator +// or that you are logged into the Organizations management account. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItem func (c *SSM) CreateOpsItem(input *CreateOpsItemInput) (*CreateOpsItemOutput, error) { req, out := c.CreateOpsItemRequest(input) @@ -2298,6 +2303,100 @@ func (c *SSM) DeleteResourceDataSyncWithContext(ctx aws.Context, input *DeleteRe return out, req.Send() } +const opDeleteResourcePolicy = "DeleteResourcePolicy" + +// DeleteResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteResourcePolicy 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 DeleteResourcePolicy for more information on using the DeleteResourcePolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourcePolicy +func (c *SSM) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { + op := &request.Operation{ + Name: opDeleteResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteResourcePolicyInput{} + } + + output = &DeleteResourcePolicyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteResourcePolicy API operation for Amazon Simple Systems Manager (SSM). +// +// Deletes a Systems Manager resource policy. A resource policy helps you to +// define the IAM entity (for example, an Amazon Web Services account) that +// can manage your Systems Manager resources. Currently, OpsItemGroup is the +// only resource that supports Systems Manager resource policies. The resource +// policy for OpsItemGroup enables Amazon Web Services accounts to view and +// interact with OpsCenter operational work items (OpsItems). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s +// API operation DeleteResourcePolicy for usage and error information. +// +// Returned Error Types: +// +// - InternalServerError +// An error occurred on the server side. +// +// - ResourcePolicyInvalidParameterException +// One or more parameters specified for the call aren't valid. Verify the parameters +// and their values and try again. +// +// - ResourcePolicyConflictException +// The hash provided in the call doesn't match the stored hash. This exception +// is thrown when trying to update an obsolete policy version or when multiple +// requests to update a policy are sent. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourcePolicy +func (c *SSM) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + return out, req.Send() +} + +// DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteResourcePolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SSM) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeregisterManagedInstance = "DeregisterManagedInstance" // DeregisterManagedInstanceRequest generates a "aws/request.Request" representing the @@ -8686,6 +8785,11 @@ func (c *SSM) GetOpsItemRequest(input *GetOpsItemInput) (req *request.Request, o // - OpsItemNotFoundException // The specified OpsItem ID doesn't exist. Verify the ID and try again. // +// - OpsItemAccessDeniedException +// You don't have permission to view OpsItems in the specified account. Verify +// that your account is configured either as a Systems Manager delegated administrator +// or that you are logged into the Organizations management account. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem func (c *SSM) GetOpsItem(input *GetOpsItemInput) (*GetOpsItemOutput, error) { req, out := c.GetOpsItemRequest(input) @@ -9608,6 +9712,146 @@ func (c *SSM) GetPatchBaselineForPatchGroupWithContext(ctx aws.Context, input *G return out, req.Send() } +const opGetResourcePolicies = "GetResourcePolicies" + +// GetResourcePoliciesRequest generates a "aws/request.Request" representing the +// client's request for the GetResourcePolicies 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 GetResourcePolicies for more information on using the GetResourcePolicies +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetResourcePoliciesRequest method. +// req, resp := client.GetResourcePoliciesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetResourcePolicies +func (c *SSM) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput) { + op := &request.Operation{ + Name: opGetResourcePolicies, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetResourcePoliciesInput{} + } + + output = &GetResourcePoliciesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetResourcePolicies API operation for Amazon Simple Systems Manager (SSM). +// +// Returns an array of the Policy object. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s +// API operation GetResourcePolicies for usage and error information. +// +// Returned Error Types: +// +// - InternalServerError +// An error occurred on the server side. +// +// - ResourcePolicyInvalidParameterException +// One or more parameters specified for the call aren't valid. Verify the parameters +// and their values and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetResourcePolicies +func (c *SSM) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error) { + req, out := c.GetResourcePoliciesRequest(input) + return out, req.Send() +} + +// GetResourcePoliciesWithContext is the same as GetResourcePolicies with the addition of +// the ability to pass a context and additional request options. +// +// See GetResourcePolicies for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SSM) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, opts ...request.Option) (*GetResourcePoliciesOutput, error) { + req, out := c.GetResourcePoliciesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetResourcePoliciesPages iterates over the pages of a GetResourcePolicies operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetResourcePolicies 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 GetResourcePolicies operation. +// pageNum := 0 +// err := client.GetResourcePoliciesPages(params, +// func(page *ssm.GetResourcePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *SSM) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error { + return c.GetResourcePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetResourcePoliciesPagesWithContext same as GetResourcePoliciesPages 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 *SSM) GetResourcePoliciesPagesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetResourcePoliciesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetResourcePoliciesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetResourcePoliciesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetServiceSetting = "GetServiceSetting" // GetServiceSettingRequest generates a "aws/request.Request" representing the @@ -12554,6 +12798,104 @@ func (c *SSM) PutParameterWithContext(ctx aws.Context, input *PutParameterInput, return out, req.Send() } +const opPutResourcePolicy = "PutResourcePolicy" + +// PutResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutResourcePolicy 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 PutResourcePolicy for more information on using the PutResourcePolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutResourcePolicy +func (c *SSM) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { + op := &request.Operation{ + Name: opPutResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutResourcePolicyInput{} + } + + output = &PutResourcePolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutResourcePolicy API operation for Amazon Simple Systems Manager (SSM). +// +// Creates or updates a Systems Manager resource policy. A resource policy helps +// you to define the IAM entity (for example, an Amazon Web Services account) +// that can manage your Systems Manager resources. Currently, OpsItemGroup is +// the only resource that supports Systems Manager resource policies. The resource +// policy for OpsItemGroup enables Amazon Web Services accounts to view and +// interact with OpsCenter operational work items (OpsItems). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s +// API operation PutResourcePolicy for usage and error information. +// +// Returned Error Types: +// +// - InternalServerError +// An error occurred on the server side. +// +// - ResourcePolicyInvalidParameterException +// One or more parameters specified for the call aren't valid. Verify the parameters +// and their values and try again. +// +// - ResourcePolicyLimitExceededException +// The PutResourcePolicy API action enforces two limits. A policy can't be greater +// than 1024 bytes in size. And only one policy can be attached to OpsItemGroup. +// Verify these limits and try again. +// +// - ResourcePolicyConflictException +// The hash provided in the call doesn't match the stored hash. This exception +// is thrown when trying to update an obsolete policy version or when multiple +// requests to update a policy are sent. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutResourcePolicy +func (c *SSM) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) + return out, req.Send() +} + +// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See PutResourcePolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SSM) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRegisterDefaultPatchBaseline = "RegisterDefaultPatchBaseline" // RegisterDefaultPatchBaselineRequest generates a "aws/request.Request" representing the @@ -15154,6 +15496,11 @@ func (c *SSM) UpdateOpsItemRequest(input *UpdateOpsItemInput) (req *request.Requ // A specified parameter argument isn't valid. Verify the available arguments // and try again. // +// - OpsItemAccessDeniedException +// You don't have permission to view OpsItems in the specified account. Verify +// that your account is configured either as a Systems Manager delegated administrator +// or that you are logged into the Organizations management account. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem func (c *SSM) UpdateOpsItem(input *UpdateOpsItemInput) (*UpdateOpsItemOutput, error) { req, out := c.UpdateOpsItemRequest(input) @@ -20913,6 +21260,9 @@ type CreateActivationInput struct { // (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html) // in the Amazon Web Services Systems Manager User Guide. // + // You can't specify an IAM service-linked role for this parameter. You must + // create a unique role. + // // IamRole is a required field IamRole *string `type:"string" required:"true"` @@ -22440,6 +22790,13 @@ func (s *CreateMaintenanceWindowOutput) SetWindowId(v string) *CreateMaintenance type CreateOpsItemInput struct { _ struct{} `type:"structure"` + // The target Amazon Web Services account where you want to create an OpsItem. + // To make this call, your account must be configured to work with OpsItems + // across accounts. For more information, see Setting up OpsCenter to work with + // OpsItems across accounts (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-OpsCenter-multiple-accounts.html) + // in the Amazon Web Services Systems Manager User Guide. + AccountId *string `type:"string"` + // The time a runbook workflow ended. Currently reported only for the OpsItem // type /aws/changerequest. ActualEndTime *time.Time `type:"timestamp"` @@ -22483,8 +22840,17 @@ type CreateOpsItemInput struct { // in the Amazon Web Services Systems Manager User Guide. OperationalData map[string]*OpsItemDataValue `type:"map"` - // The type of OpsItem to create. Currently, the only valid values are /aws/changerequest - // and /aws/issue. + // The type of OpsItem to create. Systems Manager supports the following types + // of OpsItems: + // + // * /aws/issue This type of OpsItem is used for default OpsItems created + // by OpsCenter. + // + // * /aws/changerequest This type of OpsItem is used by Change Manager for + // reviewing and approving or rejecting change requests. + // + // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating + // and reporting on duplicate OpsItems. OpsItemType *string `type:"string"` // The time specified in a change request for a runbook workflow to end. Currently @@ -22609,6 +22975,12 @@ func (s *CreateOpsItemInput) Validate() error { return nil } +// SetAccountId sets the AccountId field's value. +func (s *CreateOpsItemInput) SetAccountId(v string) *CreateOpsItemInput { + s.AccountId = &v + return s +} + // SetActualEndTime sets the ActualEndTime field's value. func (s *CreateOpsItemInput) SetActualEndTime(v time.Time) *CreateOpsItemInput { s.ActualEndTime = &v @@ -22702,6 +23074,9 @@ func (s *CreateOpsItemInput) SetTitle(v string) *CreateOpsItemInput { type CreateOpsItemOutput struct { _ struct{} `type:"structure"` + // The OpsItem Amazon Resource Name (ARN). + OpsItemArn *string `min:"20" type:"string"` + // The ID of the OpsItem. OpsItemId *string `type:"string"` } @@ -22724,6 +23099,12 @@ func (s CreateOpsItemOutput) GoString() string { return s.String() } +// SetOpsItemArn sets the OpsItemArn field's value. +func (s *CreateOpsItemOutput) SetOpsItemArn(v string) *CreateOpsItemOutput { + s.OpsItemArn = &v + return s +} + // SetOpsItemId sets the OpsItemId field's value. func (s *CreateOpsItemOutput) SetOpsItemId(v string) *CreateOpsItemOutput { s.OpsItemId = &v @@ -24177,6 +24558,106 @@ func (s DeleteResourceDataSyncOutput) GoString() string { return s.String() } +type DeleteResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // ID of the current policy version. The hash helps to prevent multiple calls + // from attempting to overwrite a policy. + // + // PolicyHash is a required field + PolicyHash *string `type:"string" required:"true"` + + // The policy ID. + // + // PolicyId is a required field + PolicyId *string `type:"string" required:"true"` + + // Amazon Resource Name (ARN) of the resource to which the policies are attached. + // + // ResourceArn is a required field + ResourceArn *string `min:"20" 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 DeleteResourcePolicyInput) 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 DeleteResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"} + if s.PolicyHash == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyHash")) + } + if s.PolicyId == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyId")) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyHash sets the PolicyHash field's value. +func (s *DeleteResourcePolicyInput) SetPolicyHash(v string) *DeleteResourcePolicyInput { + s.PolicyHash = &v + return s +} + +// SetPolicyId sets the PolicyId field's value. +func (s *DeleteResourcePolicyInput) SetPolicyId(v string) *DeleteResourcePolicyInput { + s.PolicyId = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type DeleteResourcePolicyOutput 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 DeleteResourcePolicyOutput) 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 DeleteResourcePolicyOutput) GoString() string { + return s.String() +} + type DeregisterManagedInstanceInput struct { _ struct{} `type:"structure"` @@ -33316,6 +33797,9 @@ func (s *GetMaintenanceWindowTaskOutput) SetWindowTaskId(v string) *GetMaintenan type GetOpsItemInput struct { _ struct{} `type:"structure"` + // The OpsItem Amazon Resource Name (ARN). + OpsItemArn *string `min:"20" type:"string"` + // The ID of the OpsItem that you want to get. // // OpsItemId is a required field @@ -33343,6 +33827,9 @@ func (s GetOpsItemInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *GetOpsItemInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetOpsItemInput"} + if s.OpsItemArn != nil && len(*s.OpsItemArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("OpsItemArn", 20)) + } if s.OpsItemId == nil { invalidParams.Add(request.NewErrParamRequired("OpsItemId")) } @@ -33353,6 +33840,12 @@ func (s *GetOpsItemInput) Validate() error { return nil } +// SetOpsItemArn sets the OpsItemArn field's value. +func (s *GetOpsItemInput) SetOpsItemArn(v string) *GetOpsItemInput { + s.OpsItemArn = &v + return s +} + // SetOpsItemId sets the OpsItemId field's value. func (s *GetOpsItemInput) SetOpsItemId(v string) *GetOpsItemInput { s.OpsItemId = &v @@ -34499,6 +34992,179 @@ func (s *GetPatchBaselineOutput) SetSources(v []*PatchSource) *GetPatchBaselineO return s } +type GetResourcePoliciesInput struct { + _ struct{} `type:"structure"` + + // The maximum number of items to return for this call. The call also returns + // a token that you can specify in a subsequent call to get the next set of + // results. + MaxResults *int64 `min:"1" type:"integer"` + + // A token to start the list. Use this token to get the next set of results. + NextToken *string `type:"string"` + + // Amazon Resource Name (ARN) of the resource to which the policies are attached. + // + // ResourceArn is a required field + ResourceArn *string `min:"20" 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 GetResourcePoliciesInput) 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 GetResourcePoliciesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetResourcePoliciesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetResourcePoliciesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetResourcePoliciesInput) SetMaxResults(v int64) *GetResourcePoliciesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetResourcePoliciesInput) SetNextToken(v string) *GetResourcePoliciesInput { + s.NextToken = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *GetResourcePoliciesInput) SetResourceArn(v string) *GetResourcePoliciesInput { + s.ResourceArn = &v + return s +} + +type GetResourcePoliciesOutput struct { + _ struct{} `type:"structure"` + + // The token for the next set of items to return. Use this token to get the + // next set of results. + NextToken *string `type:"string"` + + // An array of the Policy object. + Policies []*GetResourcePoliciesResponseEntry `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 GetResourcePoliciesOutput) 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 GetResourcePoliciesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetResourcePoliciesOutput) SetNextToken(v string) *GetResourcePoliciesOutput { + s.NextToken = &v + return s +} + +// SetPolicies sets the Policies field's value. +func (s *GetResourcePoliciesOutput) SetPolicies(v []*GetResourcePoliciesResponseEntry) *GetResourcePoliciesOutput { + s.Policies = v + return s +} + +// A resource policy helps you to define the IAM entity (for example, an Amazon +// Web Services account) that can manage your Systems Manager resources. Currently, +// OpsItemGroup is the only resource that supports Systems Manager resource +// policies. The resource policy for OpsItemGroup enables Amazon Web Services +// accounts to view and interact with OpsCenter operational work items (OpsItems). +type GetResourcePoliciesResponseEntry struct { + _ struct{} `type:"structure"` + + // A resource policy helps you to define the IAM entity (for example, an Amazon + // Web Services account) that can manage your Systems Manager resources. Currently, + // OpsItemGroup is the only resource that supports Systems Manager resource + // policies. The resource policy for OpsItemGroup enables Amazon Web Services + // accounts to view and interact with OpsCenter operational work items (OpsItems). + Policy *string `type:"string"` + + // ID of the current policy version. The hash helps to prevent a situation where + // multiple users attempt to overwrite a policy. You must provide this hash + // when updating or deleting a policy. + PolicyHash *string `type:"string"` + + // A policy ID. + PolicyId *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 GetResourcePoliciesResponseEntry) 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 GetResourcePoliciesResponseEntry) GoString() string { + return s.String() +} + +// SetPolicy sets the Policy field's value. +func (s *GetResourcePoliciesResponseEntry) SetPolicy(v string) *GetResourcePoliciesResponseEntry { + s.Policy = &v + return s +} + +// SetPolicyHash sets the PolicyHash field's value. +func (s *GetResourcePoliciesResponseEntry) SetPolicyHash(v string) *GetResourcePoliciesResponseEntry { + s.PolicyHash = &v + return s +} + +// SetPolicyId sets the PolicyId field's value. +func (s *GetResourcePoliciesResponseEntry) SetPolicyId(v string) *GetResourcePoliciesResponseEntry { + s.PolicyId = &v + return s +} + // The request body of the GetServiceSetting API operation. type GetServiceSettingInput struct { _ struct{} `type:"structure"` @@ -44604,11 +45270,22 @@ type OpsItem struct { // in the Amazon Web Services Systems Manager User Guide. OperationalData map[string]*OpsItemDataValue `type:"map"` + // The OpsItem Amazon Resource Name (ARN). + OpsItemArn *string `min:"20" type:"string"` + // The ID of the OpsItem. OpsItemId *string `type:"string"` - // The type of OpsItem. Currently, the only valid values are /aws/changerequest - // and /aws/issue. + // The type of OpsItem. Systems Manager supports the following types of OpsItems: + // + // * /aws/issue This type of OpsItem is used for default OpsItems created + // by OpsCenter. + // + // * /aws/changerequest This type of OpsItem is used by Change Manager for + // reviewing and approving or rejecting change requests. + // + // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating + // and reporting on duplicate OpsItems. OpsItemType *string `type:"string"` // The time specified in a change request for a runbook workflow to end. Currently @@ -44726,6 +45403,12 @@ func (s *OpsItem) SetOperationalData(v map[string]*OpsItemDataValue) *OpsItem { return s } +// SetOpsItemArn sets the OpsItemArn field's value. +func (s *OpsItem) SetOpsItemArn(v string) *OpsItem { + s.OpsItemArn = &v + return s +} + // SetOpsItemId sets the OpsItemId field's value. func (s *OpsItem) SetOpsItemId(v string) *OpsItem { s.OpsItemId = &v @@ -44792,6 +45475,72 @@ func (s *OpsItem) SetVersion(v string) *OpsItem { return s } +// You don't have permission to view OpsItems in the specified account. Verify +// that your account is configured either as a Systems Manager delegated administrator +// or that you are logged into the Organizations management account. +type OpsItemAccessDeniedException 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 OpsItemAccessDeniedException) 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 OpsItemAccessDeniedException) GoString() string { + return s.String() +} + +func newErrorOpsItemAccessDeniedException(v protocol.ResponseMetadata) error { + return &OpsItemAccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *OpsItemAccessDeniedException) Code() string { + return "OpsItemAccessDeniedException" +} + +// Message returns the exception's message. +func (s *OpsItemAccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *OpsItemAccessDeniedException) OrigErr() error { + return nil +} + +func (s *OpsItemAccessDeniedException) 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 *OpsItemAccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *OpsItemAccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + // The OpsItem already exists. type OpsItemAlreadyExistsException struct { _ struct{} `type:"structure"` @@ -45755,8 +46504,16 @@ type OpsItemSummary struct { // The ID of the OpsItem. OpsItemId *string `type:"string"` - // The type of OpsItem. Currently, the only valid values are /aws/changerequest - // and /aws/issue. + // The type of OpsItem. Systems Manager supports the following types of OpsItems: + // + // * /aws/issue This type of OpsItem is used for default OpsItems created + // by OpsCenter. + // + // * /aws/changerequest This type of OpsItem is used by Change Manager for + // reviewing and approving or rejecting change requests. + // + // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating + // and reporting on duplicate OpsItems. OpsItemType *string `type:"string"` // The time specified in a change request for a runbook workflow to end. Currently @@ -49395,6 +50152,130 @@ func (s *PutParameterOutput) SetVersion(v int64) *PutParameterOutput { return s } +type PutResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // A policy you want to associate with a resource. + // + // Policy is a required field + Policy *string `type:"string" required:"true"` + + // ID of the current policy version. The hash helps to prevent a situation where + // multiple users attempt to overwrite a policy. + PolicyHash *string `type:"string"` + + // The policy ID. + PolicyId *string `type:"string"` + + // Amazon Resource Name (ARN) of the resource to which the policies are attached. + // + // ResourceArn is a required field + ResourceArn *string `min:"20" 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 PutResourcePolicyInput) 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 PutResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"} + if s.Policy == nil { + invalidParams.Add(request.NewErrParamRequired("Policy")) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicy sets the Policy field's value. +func (s *PutResourcePolicyInput) SetPolicy(v string) *PutResourcePolicyInput { + s.Policy = &v + return s +} + +// SetPolicyHash sets the PolicyHash field's value. +func (s *PutResourcePolicyInput) SetPolicyHash(v string) *PutResourcePolicyInput { + s.PolicyHash = &v + return s +} + +// SetPolicyId sets the PolicyId field's value. +func (s *PutResourcePolicyInput) SetPolicyId(v string) *PutResourcePolicyInput { + s.PolicyId = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type PutResourcePolicyOutput struct { + _ struct{} `type:"structure"` + + // ID of the current policy version. The hash helps to prevent a situation where + // multiple users attempt to overwrite a policy. You must provide this hash + // when updating or deleting a policy. + PolicyHash *string `type:"string"` + + // The policy ID. To update a policy, you must specify PolicyId and PolicyHash. + PolicyId *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 PutResourcePolicyOutput) 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 PutResourcePolicyOutput) GoString() string { + return s.String() +} + +// SetPolicyHash sets the PolicyHash field's value. +func (s *PutResourcePolicyOutput) SetPolicyHash(v string) *PutResourcePolicyOutput { + s.PolicyHash = &v + return s +} + +// SetPolicyId sets the PolicyId field's value. +func (s *PutResourcePolicyOutput) SetPolicyId(v string) *PutResourcePolicyOutput { + s.PolicyId = &v + return s +} + type RegisterDefaultPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -51700,6 +52581,209 @@ func (s *ResourceLimitExceededException) RequestID() string { return s.RespMetadata.RequestID } +// The hash provided in the call doesn't match the stored hash. This exception +// is thrown when trying to update an obsolete policy version or when multiple +// requests to update a policy are sent. +type ResourcePolicyConflictException 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 ResourcePolicyConflictException) 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 ResourcePolicyConflictException) GoString() string { + return s.String() +} + +func newErrorResourcePolicyConflictException(v protocol.ResponseMetadata) error { + return &ResourcePolicyConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourcePolicyConflictException) Code() string { + return "ResourcePolicyConflictException" +} + +// Message returns the exception's message. +func (s *ResourcePolicyConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourcePolicyConflictException) OrigErr() error { + return nil +} + +func (s *ResourcePolicyConflictException) 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 *ResourcePolicyConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourcePolicyConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +// One or more parameters specified for the call aren't valid. Verify the parameters +// and their values and try again. +type ResourcePolicyInvalidParameterException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + ParameterNames []*string `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 ResourcePolicyInvalidParameterException) 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 ResourcePolicyInvalidParameterException) GoString() string { + return s.String() +} + +func newErrorResourcePolicyInvalidParameterException(v protocol.ResponseMetadata) error { + return &ResourcePolicyInvalidParameterException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourcePolicyInvalidParameterException) Code() string { + return "ResourcePolicyInvalidParameterException" +} + +// Message returns the exception's message. +func (s *ResourcePolicyInvalidParameterException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourcePolicyInvalidParameterException) OrigErr() error { + return nil +} + +func (s *ResourcePolicyInvalidParameterException) 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 *ResourcePolicyInvalidParameterException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourcePolicyInvalidParameterException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The PutResourcePolicy API action enforces two limits. A policy can't be greater +// than 1024 bytes in size. And only one policy can be attached to OpsItemGroup. +// Verify these limits and try again. +type ResourcePolicyLimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Limit *int64 `type:"integer"` + + LimitType *string `type:"string"` + + 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 ResourcePolicyLimitExceededException) 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 ResourcePolicyLimitExceededException) GoString() string { + return s.String() +} + +func newErrorResourcePolicyLimitExceededException(v protocol.ResponseMetadata) error { + return &ResourcePolicyLimitExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourcePolicyLimitExceededException) Code() string { + return "ResourcePolicyLimitExceededException" +} + +// Message returns the exception's message. +func (s *ResourcePolicyLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourcePolicyLimitExceededException) OrigErr() error { + return nil +} + +func (s *ResourcePolicyLimitExceededException) 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 *ResourcePolicyLimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourcePolicyLimitExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + // The inventory item result attribute. type ResultAttribute struct { _ struct{} `type:"structure"` @@ -57654,7 +58738,15 @@ func (s *UpdateMaintenanceWindowTaskOutput) SetWindowTaskId(v string) *UpdateMai type UpdateManagedInstanceRoleInput struct { _ struct{} `type:"structure"` - // The IAM role you want to assign or change. + // The name of the Identity and Access Management (IAM) role that you want to + // assign to the managed node. This IAM role must provide AssumeRole permissions + // for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com. + // For more information, see Create an IAM service role for a hybrid environment + // (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html) + // in the Amazon Web Services Systems Manager User Guide. + // + // You can't specify an IAM service-linked role for this parameter. You must + // create a unique role. // // IamRole is a required field IamRole *string `type:"string" required:"true"` @@ -57787,6 +58879,9 @@ type UpdateOpsItemInput struct { // Keys that you want to remove from the OperationalData map. OperationalDataToDelete []*string `type:"list"` + // The OpsItem Amazon Resource Name (ARN). + OpsItemArn *string `min:"20" type:"string"` + // The ID of the OpsItem. // // OpsItemId is a required field @@ -57848,6 +58943,9 @@ func (s *UpdateOpsItemInput) Validate() error { if s.Description != nil && len(*s.Description) < 1 { invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } + if s.OpsItemArn != nil && len(*s.OpsItemArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("OpsItemArn", 20)) + } if s.OpsItemId == nil { invalidParams.Add(request.NewErrParamRequired("OpsItemId")) } @@ -57919,6 +59017,12 @@ func (s *UpdateOpsItemInput) SetOperationalDataToDelete(v []*string) *UpdateOpsI return s } +// SetOpsItemArn sets the OpsItemArn field's value. +func (s *UpdateOpsItemInput) SetOpsItemArn(v string) *UpdateOpsItemInput { + s.OpsItemArn = &v + return s +} + // SetOpsItemId sets the OpsItemId field's value. func (s *UpdateOpsItemInput) SetOpsItemId(v string) *UpdateOpsItemInput { s.OpsItemId = &v @@ -60131,6 +61235,9 @@ const ( // OpsItemFilterKeyInsightByType is a OpsItemFilterKey enum value OpsItemFilterKeyInsightByType = "InsightByType" + + // OpsItemFilterKeyAccountId is a OpsItemFilterKey enum value + OpsItemFilterKeyAccountId = "AccountId" ) // OpsItemFilterKey_Values returns all elements of the OpsItemFilterKey enum @@ -60163,6 +61270,7 @@ func OpsItemFilterKey_Values() []string { OpsItemFilterKeyChangeRequestByTemplate, OpsItemFilterKeyChangeRequestByTargetsResourceGroup, OpsItemFilterKeyInsightByType, + OpsItemFilterKeyAccountId, } } diff --git a/service/ssm/errors.go b/service/ssm/errors.go index 0fd5a08c9c2..fe84c7a1585 100644 --- a/service/ssm/errors.go +++ b/service/ssm/errors.go @@ -572,6 +572,14 @@ const ( // The size limit of a document is 64 KB. ErrCodeMaxDocumentSizeExceeded = "MaxDocumentSizeExceeded" + // ErrCodeOpsItemAccessDeniedException for service response error code + // "OpsItemAccessDeniedException". + // + // You don't have permission to view OpsItems in the specified account. Verify + // that your account is configured either as a Systems Manager delegated administrator + // or that you are logged into the Organizations management account. + ErrCodeOpsItemAccessDeniedException = "OpsItemAccessDeniedException" + // ErrCodeOpsItemAlreadyExistsException for service response error code // "OpsItemAlreadyExistsException". // @@ -769,6 +777,29 @@ const ( // in the Amazon Web Services General Reference. ErrCodeResourceLimitExceededException = "ResourceLimitExceededException" + // ErrCodeResourcePolicyConflictException for service response error code + // "ResourcePolicyConflictException". + // + // The hash provided in the call doesn't match the stored hash. This exception + // is thrown when trying to update an obsolete policy version or when multiple + // requests to update a policy are sent. + ErrCodeResourcePolicyConflictException = "ResourcePolicyConflictException" + + // ErrCodeResourcePolicyInvalidParameterException for service response error code + // "ResourcePolicyInvalidParameterException". + // + // One or more parameters specified for the call aren't valid. Verify the parameters + // and their values and try again. + ErrCodeResourcePolicyInvalidParameterException = "ResourcePolicyInvalidParameterException" + + // ErrCodeResourcePolicyLimitExceededException for service response error code + // "ResourcePolicyLimitExceededException". + // + // The PutResourcePolicy API action enforces two limits. A policy can't be greater + // than 1024 bytes in size. And only one policy can be attached to OpsItemGroup. + // Verify these limits and try again. + ErrCodeResourcePolicyLimitExceededException = "ResourcePolicyLimitExceededException" + // ErrCodeServiceSettingNotFound for service response error code // "ServiceSettingNotFound". // @@ -963,6 +994,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ItemContentMismatchException": newErrorItemContentMismatchException, "ItemSizeLimitExceededException": newErrorItemSizeLimitExceededException, "MaxDocumentSizeExceeded": newErrorMaxDocumentSizeExceeded, + "OpsItemAccessDeniedException": newErrorOpsItemAccessDeniedException, "OpsItemAlreadyExistsException": newErrorOpsItemAlreadyExistsException, "OpsItemInvalidParameterException": newErrorOpsItemInvalidParameterException, "OpsItemLimitExceededException": newErrorOpsItemLimitExceededException, @@ -990,6 +1022,9 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ResourceDataSyncNotFoundException": newErrorResourceDataSyncNotFoundException, "ResourceInUseException": newErrorResourceInUseException, "ResourceLimitExceededException": newErrorResourceLimitExceededException, + "ResourcePolicyConflictException": newErrorResourcePolicyConflictException, + "ResourcePolicyInvalidParameterException": newErrorResourcePolicyInvalidParameterException, + "ResourcePolicyLimitExceededException": newErrorResourcePolicyLimitExceededException, "ServiceSettingNotFound": newErrorServiceSettingNotFound, "StatusUnchanged": newErrorStatusUnchanged, "SubTypeCountLimitExceededException": newErrorSubTypeCountLimitExceededException, diff --git a/service/ssm/ssmiface/interface.go b/service/ssm/ssmiface/interface.go index 8a3c34ee5bb..de479b10e92 100644 --- a/service/ssm/ssmiface/interface.go +++ b/service/ssm/ssmiface/interface.go @@ -152,6 +152,10 @@ type SSMAPI interface { DeleteResourceDataSyncWithContext(aws.Context, *ssm.DeleteResourceDataSyncInput, ...request.Option) (*ssm.DeleteResourceDataSyncOutput, error) DeleteResourceDataSyncRequest(*ssm.DeleteResourceDataSyncInput) (*request.Request, *ssm.DeleteResourceDataSyncOutput) + DeleteResourcePolicy(*ssm.DeleteResourcePolicyInput) (*ssm.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyWithContext(aws.Context, *ssm.DeleteResourcePolicyInput, ...request.Option) (*ssm.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyRequest(*ssm.DeleteResourcePolicyInput) (*request.Request, *ssm.DeleteResourcePolicyOutput) + DeregisterManagedInstance(*ssm.DeregisterManagedInstanceInput) (*ssm.DeregisterManagedInstanceOutput, error) DeregisterManagedInstanceWithContext(aws.Context, *ssm.DeregisterManagedInstanceInput, ...request.Option) (*ssm.DeregisterManagedInstanceOutput, error) DeregisterManagedInstanceRequest(*ssm.DeregisterManagedInstanceInput) (*request.Request, *ssm.DeregisterManagedInstanceOutput) @@ -491,6 +495,13 @@ type SSMAPI interface { GetPatchBaselineForPatchGroupWithContext(aws.Context, *ssm.GetPatchBaselineForPatchGroupInput, ...request.Option) (*ssm.GetPatchBaselineForPatchGroupOutput, error) GetPatchBaselineForPatchGroupRequest(*ssm.GetPatchBaselineForPatchGroupInput) (*request.Request, *ssm.GetPatchBaselineForPatchGroupOutput) + GetResourcePolicies(*ssm.GetResourcePoliciesInput) (*ssm.GetResourcePoliciesOutput, error) + GetResourcePoliciesWithContext(aws.Context, *ssm.GetResourcePoliciesInput, ...request.Option) (*ssm.GetResourcePoliciesOutput, error) + GetResourcePoliciesRequest(*ssm.GetResourcePoliciesInput) (*request.Request, *ssm.GetResourcePoliciesOutput) + + GetResourcePoliciesPages(*ssm.GetResourcePoliciesInput, func(*ssm.GetResourcePoliciesOutput, bool) bool) error + GetResourcePoliciesPagesWithContext(aws.Context, *ssm.GetResourcePoliciesInput, func(*ssm.GetResourcePoliciesOutput, bool) bool, ...request.Option) error + GetServiceSetting(*ssm.GetServiceSettingInput) (*ssm.GetServiceSettingOutput, error) GetServiceSettingWithContext(aws.Context, *ssm.GetServiceSettingInput, ...request.Option) (*ssm.GetServiceSettingOutput, error) GetServiceSettingRequest(*ssm.GetServiceSettingInput) (*request.Request, *ssm.GetServiceSettingOutput) @@ -618,6 +629,10 @@ type SSMAPI interface { PutParameterWithContext(aws.Context, *ssm.PutParameterInput, ...request.Option) (*ssm.PutParameterOutput, error) PutParameterRequest(*ssm.PutParameterInput) (*request.Request, *ssm.PutParameterOutput) + PutResourcePolicy(*ssm.PutResourcePolicyInput) (*ssm.PutResourcePolicyOutput, error) + PutResourcePolicyWithContext(aws.Context, *ssm.PutResourcePolicyInput, ...request.Option) (*ssm.PutResourcePolicyOutput, error) + PutResourcePolicyRequest(*ssm.PutResourcePolicyInput) (*request.Request, *ssm.PutResourcePolicyOutput) + RegisterDefaultPatchBaseline(*ssm.RegisterDefaultPatchBaselineInput) (*ssm.RegisterDefaultPatchBaselineOutput, error) RegisterDefaultPatchBaselineWithContext(aws.Context, *ssm.RegisterDefaultPatchBaselineInput, ...request.Option) (*ssm.RegisterDefaultPatchBaselineOutput, error) RegisterDefaultPatchBaselineRequest(*ssm.RegisterDefaultPatchBaselineInput) (*request.Request, *ssm.RegisterDefaultPatchBaselineOutput) diff --git a/service/ssmincidents/api.go b/service/ssmincidents/api.go index 5bb8a0a5f19..6c8ef2612a8 100644 --- a/service/ssmincidents/api.go +++ b/service/ssmincidents/api.go @@ -3651,6 +3651,9 @@ type CreateResponsePlanInput struct { // IncidentTemplate is a required field IncidentTemplate *IncidentTemplate `locationName:"incidentTemplate" type:"structure" required:"true"` + // Information about third-party services integrated into the response plan. + Integrations []*Integration `locationName:"integrations" type:"list"` + // The short format name of the response plan. Can't include spaces. // // Name is a required field @@ -3713,6 +3716,16 @@ func (s *CreateResponsePlanInput) Validate() error { invalidParams.AddNested("IncidentTemplate", err.(request.ErrInvalidParams)) } } + if s.Integrations != nil { + for i, v := range s.Integrations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Integrations", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -3756,6 +3769,12 @@ func (s *CreateResponsePlanInput) SetIncidentTemplate(v *IncidentTemplate) *Crea return s } +// SetIntegrations sets the Integrations field's value. +func (s *CreateResponsePlanInput) SetIntegrations(v []*Integration) *CreateResponsePlanInput { + s.Integrations = v + return s +} + // SetName sets the Name field's value. func (s *CreateResponsePlanInput) SetName(v string) *CreateResponsePlanInput { s.Name = &v @@ -4966,6 +4985,10 @@ type GetResponsePlanOutput struct { // IncidentTemplate is a required field IncidentTemplate *IncidentTemplate `locationName:"incidentTemplate" type:"structure" required:"true"` + // Information about third-party services integrated into the Incident Manager + // response plan. + Integrations []*Integration `locationName:"integrations" type:"list"` + // The short format name of the response plan. The name can't contain spaces. // // Name is a required field @@ -5026,6 +5049,12 @@ func (s *GetResponsePlanOutput) SetIncidentTemplate(v *IncidentTemplate) *GetRes return s } +// SetIntegrations sets the Integrations field's value. +func (s *GetResponsePlanOutput) SetIntegrations(v []*Integration) *GetResponsePlanOutput { + s.Integrations = v + return s +} + // SetName sets the Name field's value. func (s *GetResponsePlanOutput) SetName(v string) *GetResponsePlanOutput { s.Name = &v @@ -5568,6 +5597,54 @@ func (s *IncidentTemplate) SetTitle(v string) *IncidentTemplate { return s } +// Information about third-party services integrated into a response plan. +type Integration struct { + _ struct{} `type:"structure"` + + // Information about the PagerDuty service where the response plan creates an + // incident. + PagerDutyConfiguration *PagerDutyConfiguration `locationName:"pagerDutyConfiguration" 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 Integration) 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 Integration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Integration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Integration"} + if s.PagerDutyConfiguration != nil { + if err := s.PagerDutyConfiguration.Validate(); err != nil { + invalidParams.AddNested("PagerDutyConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPagerDutyConfiguration sets the PagerDutyConfiguration field's value. +func (s *Integration) SetPagerDutyConfiguration(v *PagerDutyConfiguration) *Integration { + s.PagerDutyConfiguration = v + return s +} + // The request processing has failed because of an unknown error, exception // or failure. type InternalServerException struct { @@ -5675,6 +5752,11 @@ func (s *ItemIdentifier) Validate() error { if s.Value == nil { invalidParams.Add(request.NewErrParamRequired("Value")) } + if s.Value != nil { + if err := s.Value.Validate(); err != nil { + invalidParams.AddNested("Value", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5705,6 +5787,9 @@ type ItemValue struct { // The metric definition, if the related item is a metric in Amazon CloudWatch. MetricDefinition *string `locationName:"metricDefinition" type:"string"` + // Details about an incident that is associated with a PagerDuty incident. + PagerDutyIncidentDetail *PagerDutyIncidentDetail `locationName:"pagerDutyIncidentDetail" type:"structure"` + // The URL, if the related item is a non-Amazon Web Services resource. Url *string `locationName:"url" type:"string"` } @@ -5727,6 +5812,21 @@ func (s ItemValue) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *ItemValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ItemValue"} + if s.PagerDutyIncidentDetail != nil { + if err := s.PagerDutyIncidentDetail.Validate(); err != nil { + invalidParams.AddNested("PagerDutyIncidentDetail", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetArn sets the Arn field's value. func (s *ItemValue) SetArn(v string) *ItemValue { s.Arn = &v @@ -5739,6 +5839,12 @@ func (s *ItemValue) SetMetricDefinition(v string) *ItemValue { return s } +// SetPagerDutyIncidentDetail sets the PagerDutyIncidentDetail field's value. +func (s *ItemValue) SetPagerDutyIncidentDetail(v *PagerDutyIncidentDetail) *ItemValue { + s.PagerDutyIncidentDetail = v + return s +} + // SetUrl sets the Url field's value. func (s *ItemValue) SetUrl(v string) *ItemValue { s.Url = &v @@ -6454,6 +6560,221 @@ func (s *NotificationTargetItem) SetSnsTopicArn(v string) *NotificationTargetIte return s } +// Details about the PagerDuty configuration for a response plan. +type PagerDutyConfiguration struct { + _ struct{} `type:"structure"` + + // The name of the PagerDuty configuration. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Details about the PagerDuty service associated with the configuration. + // + // PagerDutyIncidentConfiguration is a required field + PagerDutyIncidentConfiguration *PagerDutyIncidentConfiguration `locationName:"pagerDutyIncidentConfiguration" type:"structure" required:"true"` + + // The ID of the Amazon Web Services Secrets Manager secret that stores your + // PagerDuty key, either a General Access REST API Key or User Token REST API + // Key, and other user credentials. + // + // SecretId is a required field + SecretId *string `locationName:"secretId" 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 PagerDutyConfiguration) 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 PagerDutyConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PagerDutyConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PagerDutyConfiguration"} + 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.PagerDutyIncidentConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("PagerDutyIncidentConfiguration")) + } + if s.SecretId == nil { + invalidParams.Add(request.NewErrParamRequired("SecretId")) + } + if s.SecretId != nil && len(*s.SecretId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretId", 1)) + } + if s.PagerDutyIncidentConfiguration != nil { + if err := s.PagerDutyIncidentConfiguration.Validate(); err != nil { + invalidParams.AddNested("PagerDutyIncidentConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *PagerDutyConfiguration) SetName(v string) *PagerDutyConfiguration { + s.Name = &v + return s +} + +// SetPagerDutyIncidentConfiguration sets the PagerDutyIncidentConfiguration field's value. +func (s *PagerDutyConfiguration) SetPagerDutyIncidentConfiguration(v *PagerDutyIncidentConfiguration) *PagerDutyConfiguration { + s.PagerDutyIncidentConfiguration = v + return s +} + +// SetSecretId sets the SecretId field's value. +func (s *PagerDutyConfiguration) SetSecretId(v string) *PagerDutyConfiguration { + s.SecretId = &v + return s +} + +// Details about the PagerDuty service where the response plan creates an incident. +type PagerDutyIncidentConfiguration struct { + _ struct{} `type:"structure"` + + // The ID of the PagerDuty service that the response plan associates with an + // incident when it launches. + // + // ServiceId is a required field + ServiceId *string `locationName:"serviceId" 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 PagerDutyIncidentConfiguration) 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 PagerDutyIncidentConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PagerDutyIncidentConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PagerDutyIncidentConfiguration"} + if s.ServiceId == nil { + invalidParams.Add(request.NewErrParamRequired("ServiceId")) + } + if s.ServiceId != nil && len(*s.ServiceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServiceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetServiceId sets the ServiceId field's value. +func (s *PagerDutyIncidentConfiguration) SetServiceId(v string) *PagerDutyIncidentConfiguration { + s.ServiceId = &v + return s +} + +// Details about the PagerDuty incident associated with an incident created +// by an Incident Manager response plan. +type PagerDutyIncidentDetail struct { + _ struct{} `type:"structure"` + + // Indicates whether to resolve the PagerDuty incident when you resolve the + // associated Incident Manager incident. + AutoResolve *bool `locationName:"autoResolve" type:"boolean"` + + // The ID of the incident associated with the PagerDuty service for the response + // plan. + // + // Id is a required field + Id *string `locationName:"id" min:"1" type:"string" required:"true"` + + // The ID of the Amazon Web Services Secrets Manager secret that stores your + // PagerDuty key, either a General Access REST API Key or User Token REST API + // Key, and other user credentials. + SecretId *string `locationName:"secretId" 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 PagerDutyIncidentDetail) 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 PagerDutyIncidentDetail) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PagerDutyIncidentDetail) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PagerDutyIncidentDetail"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.SecretId != nil && len(*s.SecretId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAutoResolve sets the AutoResolve field's value. +func (s *PagerDutyIncidentDetail) SetAutoResolve(v bool) *PagerDutyIncidentDetail { + s.AutoResolve = &v + return s +} + +// SetId sets the Id field's value. +func (s *PagerDutyIncidentDetail) SetId(v string) *PagerDutyIncidentDetail { + s.Id = &v + return s +} + +// SetSecretId sets the SecretId field's value. +func (s *PagerDutyIncidentDetail) SetSecretId(v string) *PagerDutyIncidentDetail { + s.SecretId = &v + return s +} + type PutResourcePolicyInput struct { _ struct{} `type:"structure"` @@ -8436,6 +8757,9 @@ type UpdateResponsePlanInput struct { // The short format name of the incident. The title can't contain spaces. IncidentTemplateTitle *string `locationName:"incidentTemplateTitle" type:"string"` + + // Information about third-party services integrated into the response plan. + Integrations []*Integration `locationName:"integrations" type:"list"` } // String returns the string representation. @@ -8480,6 +8804,16 @@ func (s *UpdateResponsePlanInput) Validate() error { invalidParams.AddNested("ChatChannel", err.(request.ErrInvalidParams)) } } + if s.Integrations != nil { + for i, v := range s.Integrations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Integrations", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -8559,6 +8893,12 @@ func (s *UpdateResponsePlanInput) SetIncidentTemplateTitle(v string) *UpdateResp return s } +// SetIntegrations sets the Integrations field's value. +func (s *UpdateResponsePlanInput) SetIntegrations(v []*Integration) *UpdateResponsePlanInput { + s.Integrations = v + return s +} + type UpdateResponsePlanOutput struct { _ struct{} `type:"structure"` } diff --git a/service/transfer/api.go b/service/transfer/api.go index 10dbf729969..23ab9253b3d 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -191,6 +191,9 @@ func (c *Transfer) CreateAgreementRequest(input *CreateAgreementInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAgreement func (c *Transfer) CreateAgreement(input *CreateAgreementInput) (*CreateAgreementOutput, error) { req, out := c.CreateAgreementRequest(input) @@ -288,6 +291,9 @@ func (c *Transfer) CreateConnectorRequest(input *CreateConnectorInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateConnector func (c *Transfer) CreateConnector(input *CreateConnectorInput) (*CreateConnectorOutput, error) { req, out := c.CreateConnectorRequest(input) @@ -379,6 +385,9 @@ func (c *Transfer) CreateProfileRequest(input *CreateProfileInput) (req *request // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateProfile func (c *Transfer) CreateProfile(input *CreateProfileInput) (*CreateProfileOutput, error) { req, out := c.CreateProfileRequest(input) @@ -5492,6 +5501,9 @@ func (c *Transfer) UpdateAccessRequest(input *UpdateAccessInput) (req *request.R // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAccess func (c *Transfer) UpdateAccess(input *UpdateAccessInput) (*UpdateAccessOutput, error) { req, out := c.UpdateAccessRequest(input) @@ -5588,6 +5600,9 @@ func (c *Transfer) UpdateAgreementRequest(input *UpdateAgreementInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAgreement func (c *Transfer) UpdateAgreement(input *UpdateAgreementInput) (*UpdateAgreementOutput, error) { req, out := c.UpdateAgreementRequest(input) @@ -5679,6 +5694,9 @@ func (c *Transfer) UpdateCertificateRequest(input *UpdateCertificateInput) (req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateCertificate func (c *Transfer) UpdateCertificate(input *UpdateCertificateInput) (*UpdateCertificateOutput, error) { req, out := c.UpdateCertificateRequest(input) @@ -5775,6 +5793,9 @@ func (c *Transfer) UpdateConnectorRequest(input *UpdateConnectorInput) (req *req // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateConnector func (c *Transfer) UpdateConnector(input *UpdateConnectorInput) (*UpdateConnectorOutput, error) { req, out := c.UpdateConnectorRequest(input) @@ -5963,6 +5984,9 @@ func (c *Transfer) UpdateProfileRequest(input *UpdateProfileInput) (req *request // This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer // Family service. // +// - ThrottlingException +// The request was denied due to request throttling. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateProfile func (c *Transfer) UpdateProfile(input *UpdateProfileInput) (*UpdateProfileOutput, error) { req, out := c.UpdateProfileRequest(input) diff --git a/service/xray/api.go b/service/xray/api.go index 4f1fe85dbec..b7fd05b0b6e 100644 --- a/service/xray/api.go +++ b/service/xray/api.go @@ -411,6 +411,94 @@ func (c *XRay) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, return out, req.Send() } +const opDeleteResourcePolicy = "DeleteResourcePolicy" + +// DeleteResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteResourcePolicy 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 DeleteResourcePolicy for more information on using the DeleteResourcePolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteResourcePolicy +func (c *XRay) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { + op := &request.Operation{ + Name: opDeleteResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/DeleteResourcePolicy", + } + + if input == nil { + input = &DeleteResourcePolicyInput{} + } + + output = &DeleteResourcePolicyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteResourcePolicy API operation for AWS X-Ray. +// +// Deletes a resource policy from the target Amazon Web Services account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS X-Ray's +// API operation DeleteResourcePolicy for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - InvalidPolicyRevisionIdException +// A policy revision id was provided which does not match the latest policy +// revision. This exception is also if a policy revision id of 0 is provided +// via PutResourcePolicy and a policy with the same name already exists. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteResourcePolicy +func (c *XRay) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + return out, req.Send() +} + +// DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteResourcePolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *XRay) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteSamplingRule = "DeleteSamplingRule" // DeleteSamplingRuleRequest generates a "aws/request.Request" representing the @@ -2182,6 +2270,145 @@ func (c *XRay) GetTraceSummariesPagesWithContext(ctx aws.Context, input *GetTrac return p.Err() } +const opListResourcePolicies = "ListResourcePolicies" + +// ListResourcePoliciesRequest generates a "aws/request.Request" representing the +// client's request for the ListResourcePolicies 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 ListResourcePolicies for more information on using the ListResourcePolicies +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListResourcePoliciesRequest method. +// req, resp := client.ListResourcePoliciesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListResourcePolicies +func (c *XRay) ListResourcePoliciesRequest(input *ListResourcePoliciesInput) (req *request.Request, output *ListResourcePoliciesOutput) { + op := &request.Operation{ + Name: opListResourcePolicies, + HTTPMethod: "POST", + HTTPPath: "/ListResourcePolicies", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListResourcePoliciesInput{} + } + + output = &ListResourcePoliciesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListResourcePolicies API operation for AWS X-Ray. +// +// Returns the list of resource policies in the target Amazon Web Services account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS X-Ray's +// API operation ListResourcePolicies for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListResourcePolicies +func (c *XRay) ListResourcePolicies(input *ListResourcePoliciesInput) (*ListResourcePoliciesOutput, error) { + req, out := c.ListResourcePoliciesRequest(input) + return out, req.Send() +} + +// ListResourcePoliciesWithContext is the same as ListResourcePolicies with the addition of +// the ability to pass a context and additional request options. +// +// See ListResourcePolicies for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *XRay) ListResourcePoliciesWithContext(ctx aws.Context, input *ListResourcePoliciesInput, opts ...request.Option) (*ListResourcePoliciesOutput, error) { + req, out := c.ListResourcePoliciesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListResourcePoliciesPages iterates over the pages of a ListResourcePolicies operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListResourcePolicies 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 ListResourcePolicies operation. +// pageNum := 0 +// err := client.ListResourcePoliciesPages(params, +// func(page *xray.ListResourcePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *XRay) ListResourcePoliciesPages(input *ListResourcePoliciesInput, fn func(*ListResourcePoliciesOutput, bool) bool) error { + return c.ListResourcePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListResourcePoliciesPagesWithContext same as ListResourcePoliciesPages 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 *XRay) ListResourcePoliciesPagesWithContext(ctx aws.Context, input *ListResourcePoliciesInput, fn func(*ListResourcePoliciesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListResourcePoliciesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListResourcePoliciesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListResourcePoliciesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -2212,6 +2439,12 @@ func (c *XRay) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req Name: opListTagsForResource, HTTPMethod: "POST", HTTPPath: "/ListTagsForResource", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "", + TruncationToken: "", + }, } if input == nil { @@ -2269,6 +2502,57 @@ func (c *XRay) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsFo return out, req.Send() } +// ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTagsForResource 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 ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *xray.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *XRay) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { + return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTagsForResourcePagesWithContext same as ListTagsForResourcePages 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 *XRay) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTagsForResourceInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTagsForResourceRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTagsForResourceOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opPutEncryptionConfig = "PutEncryptionConfig" // PutEncryptionConfigRequest generates a "aws/request.Request" representing the @@ -2351,116 +2635,218 @@ func (c *XRay) PutEncryptionConfigWithContext(ctx aws.Context, input *PutEncrypt return out, req.Send() } -const opPutTelemetryRecords = "PutTelemetryRecords" +const opPutResourcePolicy = "PutResourcePolicy" -// PutTelemetryRecordsRequest generates a "aws/request.Request" representing the -// client's request for the PutTelemetryRecords operation. The "output" return +// PutResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutResourcePolicy 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 PutTelemetryRecords for more information on using the PutTelemetryRecords +// See PutResourcePolicy for more information on using the PutResourcePolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the PutTelemetryRecordsRequest method. -// req, resp := client.PutTelemetryRecordsRequest(params) +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords -func (c *XRay) PutTelemetryRecordsRequest(input *PutTelemetryRecordsInput) (req *request.Request, output *PutTelemetryRecordsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutResourcePolicy +func (c *XRay) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { op := &request.Operation{ - Name: opPutTelemetryRecords, + Name: opPutResourcePolicy, HTTPMethod: "POST", - HTTPPath: "/TelemetryRecords", + HTTPPath: "/PutResourcePolicy", } if input == nil { - input = &PutTelemetryRecordsInput{} + input = &PutResourcePolicyInput{} } - output = &PutTelemetryRecordsOutput{} + output = &PutResourcePolicyOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// PutTelemetryRecords API operation for AWS X-Ray. +// PutResourcePolicy API operation for AWS X-Ray. // -// Used by the Amazon Web Services X-Ray daemon to upload telemetry. +// Sets the resource policy to grant one or more Amazon Web Services services +// and accounts permissions to access X-Ray. Each resource policy will be associated +// with a specific Amazon Web Services account. Each Amazon Web Services account +// can have a maximum of 5 resource policies, and each policy name must be unique +// within that account. The maximum size of each resource policy is 5KB. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS X-Ray's -// API operation PutTelemetryRecords for usage and error information. +// API operation PutResourcePolicy for usage and error information. // // Returned Error Types: // -// - InvalidRequestException -// The request is missing required parameters or has invalid parameters. +// - MalformedPolicyDocumentException +// Invalid policy document provided in request. +// +// - LockoutPreventionException +// The provided resource policy would prevent the caller of this request from +// calling PutResourcePolicy in the future. +// +// - InvalidPolicyRevisionIdException +// A policy revision id was provided which does not match the latest policy +// revision. This exception is also if a policy revision id of 0 is provided +// via PutResourcePolicy and a policy with the same name already exists. +// +// - PolicySizeLimitExceededException +// Exceeded the maximum size for a resource policy. +// +// - PolicyCountLimitExceededException +// Exceeded the maximum number of resource policies for a target Amazon Web +// Services account. // // - ThrottledException // The request exceeds the maximum number of requests per second. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords -func (c *XRay) PutTelemetryRecords(input *PutTelemetryRecordsInput) (*PutTelemetryRecordsOutput, error) { - req, out := c.PutTelemetryRecordsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutResourcePolicy +func (c *XRay) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) return out, req.Send() } -// PutTelemetryRecordsWithContext is the same as PutTelemetryRecords with the addition of +// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of // the ability to pass a context and additional request options. // -// See PutTelemetryRecords for details on how to use this API operation. +// See PutResourcePolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *XRay) PutTelemetryRecordsWithContext(ctx aws.Context, input *PutTelemetryRecordsInput, opts ...request.Option) (*PutTelemetryRecordsOutput, error) { - req, out := c.PutTelemetryRecordsRequest(input) +func (c *XRay) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPutTraceSegments = "PutTraceSegments" +const opPutTelemetryRecords = "PutTelemetryRecords" -// PutTraceSegmentsRequest generates a "aws/request.Request" representing the -// client's request for the PutTraceSegments operation. The "output" return +// PutTelemetryRecordsRequest generates a "aws/request.Request" representing the +// client's request for the PutTelemetryRecords 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 PutTraceSegments for more information on using the PutTraceSegments +// See PutTelemetryRecords for more information on using the PutTelemetryRecords // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the PutTraceSegmentsRequest method. -// req, resp := client.PutTraceSegmentsRequest(params) +// // Example sending a request using the PutTelemetryRecordsRequest method. +// req, resp := client.PutTelemetryRecordsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegments -func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) (req *request.Request, output *PutTraceSegmentsOutput) { - op := &request.Operation{ +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords +func (c *XRay) PutTelemetryRecordsRequest(input *PutTelemetryRecordsInput) (req *request.Request, output *PutTelemetryRecordsOutput) { + op := &request.Operation{ + Name: opPutTelemetryRecords, + HTTPMethod: "POST", + HTTPPath: "/TelemetryRecords", + } + + if input == nil { + input = &PutTelemetryRecordsInput{} + } + + output = &PutTelemetryRecordsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutTelemetryRecords API operation for AWS X-Ray. +// +// Used by the Amazon Web Services X-Ray daemon to upload telemetry. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS X-Ray's +// API operation PutTelemetryRecords for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords +func (c *XRay) PutTelemetryRecords(input *PutTelemetryRecordsInput) (*PutTelemetryRecordsOutput, error) { + req, out := c.PutTelemetryRecordsRequest(input) + return out, req.Send() +} + +// PutTelemetryRecordsWithContext is the same as PutTelemetryRecords with the addition of +// the ability to pass a context and additional request options. +// +// See PutTelemetryRecords for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *XRay) PutTelemetryRecordsWithContext(ctx aws.Context, input *PutTelemetryRecordsInput, opts ...request.Option) (*PutTelemetryRecordsOutput, error) { + req, out := c.PutTelemetryRecordsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opPutTraceSegments = "PutTraceSegments" + +// PutTraceSegmentsRequest generates a "aws/request.Request" representing the +// client's request for the PutTraceSegments 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 PutTraceSegments for more information on using the PutTraceSegments +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the PutTraceSegmentsRequest method. +// req, resp := client.PutTraceSegmentsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegments +func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) (req *request.Request, output *PutTraceSegmentsOutput) { + op := &request.Operation{ Name: opPutTraceSegments, HTTPMethod: "POST", HTTPPath: "/TraceSegments", @@ -3257,7 +3643,7 @@ type CreateGroupInput struct { // * The InsightsEnabled boolean can be set to true to enable insights for // the new group or false to disable insights for the new group. // - // * The NotifcationsEnabled boolean can be set to true to enable insights + // * The NotificationsEnabled boolean can be set to true to enable insights // notifications for the new group. Notifications may only be enabled on // a group with InsightsEnabled set to true. InsightsConfiguration *InsightsConfiguration `type:"structure"` @@ -3585,6 +3971,89 @@ func (s DeleteGroupOutput) GoString() string { return s.String() } +type DeleteResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // The name of the resource policy to delete. + // + // PolicyName is a required field + PolicyName *string `min:"1" type:"string" required:"true"` + + // Specifies a specific policy revision to delete. Provide a PolicyRevisionId + // to ensure an atomic delete operation. If the provided revision id does not + // match the latest policy revision id, an InvalidPolicyRevisionIdException + // exception is returned. + PolicyRevisionId *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 DeleteResourcePolicyInput) 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 DeleteResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteResourcePolicyInput"} + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicyName sets the PolicyName field's value. +func (s *DeleteResourcePolicyInput) SetPolicyName(v string) *DeleteResourcePolicyInput { + s.PolicyName = &v + return s +} + +// SetPolicyRevisionId sets the PolicyRevisionId field's value. +func (s *DeleteResourcePolicyInput) SetPolicyRevisionId(v string) *DeleteResourcePolicyInput { + s.PolicyRevisionId = &v + return s +} + +type DeleteResourcePolicyOutput 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 DeleteResourcePolicyOutput) 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 DeleteResourcePolicyOutput) GoString() string { + return s.String() +} + type DeleteSamplingRuleInput struct { _ struct{} `type:"structure"` @@ -6745,7 +7214,356 @@ type InstanceIdDetail 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 InstanceIdDetail) String() string { +func (s InstanceIdDetail) 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 InstanceIdDetail) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *InstanceIdDetail) SetId(v string) *InstanceIdDetail { + s.Id = &v + return s +} + +// A policy revision id was provided which does not match the latest policy +// revision. This exception is also if a policy revision id of 0 is provided +// via PutResourcePolicy and a policy with the same name already exists. +type InvalidPolicyRevisionIdException 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 InvalidPolicyRevisionIdException) 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 InvalidPolicyRevisionIdException) GoString() string { + return s.String() +} + +func newErrorInvalidPolicyRevisionIdException(v protocol.ResponseMetadata) error { + return &InvalidPolicyRevisionIdException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidPolicyRevisionIdException) Code() string { + return "InvalidPolicyRevisionIdException" +} + +// Message returns the exception's message. +func (s *InvalidPolicyRevisionIdException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidPolicyRevisionIdException) OrigErr() error { + return nil +} + +func (s *InvalidPolicyRevisionIdException) 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 *InvalidPolicyRevisionIdException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidPolicyRevisionIdException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The request is missing required parameters or has invalid parameters. +type InvalidRequestException 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 InvalidRequestException) 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 InvalidRequestException) GoString() string { + return s.String() +} + +func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { + return &InvalidRequestException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidRequestException) Code() string { + return "InvalidRequestException" +} + +// Message returns the exception's message. +func (s *InvalidRequestException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidRequestException) OrigErr() error { + return nil +} + +func (s *InvalidRequestException) 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 *InvalidRequestException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidRequestException) RequestID() string { + return s.RespMetadata.RequestID +} + +type ListResourcePoliciesInput struct { + _ struct{} `type:"structure"` + + // Not currently supported. + 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 ListResourcePoliciesInput) 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 ListResourcePoliciesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListResourcePoliciesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListResourcePoliciesInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourcePoliciesInput) SetNextToken(v string) *ListResourcePoliciesInput { + s.NextToken = &v + return s +} + +type ListResourcePoliciesOutput struct { + _ struct{} `type:"structure"` + + // Pagination token. Not currently supported. + NextToken *string `min:"1" type:"string"` + + // The list of resource policies in the target Amazon Web Services account. + ResourcePolicies []*ResourcePolicy `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 ListResourcePoliciesOutput) 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 ListResourcePoliciesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListResourcePoliciesOutput) SetNextToken(v string) *ListResourcePoliciesOutput { + s.NextToken = &v + return s +} + +// SetResourcePolicies sets the ResourcePolicies field's value. +func (s *ListResourcePoliciesOutput) SetResourcePolicies(v []*ResourcePolicy) *ListResourcePoliciesOutput { + s.ResourcePolicies = v + return s +} + +type ListTagsForResourceInput struct { + _ struct{} `type:"structure"` + + // A pagination token. If multiple pages of results are returned, use the NextToken + // value returned with the current page of results as the value of this parameter + // to get the next page of results. + NextToken *string `type:"string"` + + // The Amazon Resource Number (ARN) of an X-Ray group or sampling rule. + // + // ResourceARN is a required field + ResourceARN *string `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 ListTagsForResourceInput) 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 ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceARN")) + } + if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput { + s.NextToken = &v + return s +} + +// SetResourceARN sets the ResourceARN field's value. +func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput { + s.ResourceARN = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // A pagination token. If multiple pages of results are returned, use the NextToken + // value returned with the current page of results to get the next page of results. + NextToken *string `type:"string"` + + // A list of tags, as key and value pairs, that is associated with the specified + // X-Ray group or sampling rule. + 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 ListTagsForResourceOutput) 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 ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput { + s.NextToken = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput { + s.Tags = v + return s +} + +// The provided resource policy would prevent the caller of this request from +// calling PutResourcePolicy in the future. +type LockoutPreventionException 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 LockoutPreventionException) String() string { return awsutil.Prettify(s) } @@ -6754,18 +7572,50 @@ func (s InstanceIdDetail) 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 InstanceIdDetail) GoString() string { +func (s LockoutPreventionException) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *InstanceIdDetail) SetId(v string) *InstanceIdDetail { - s.Id = &v - return s +func newErrorLockoutPreventionException(v protocol.ResponseMetadata) error { + return &LockoutPreventionException{ + RespMetadata: v, + } } -// The request is missing required parameters or has invalid parameters. -type InvalidRequestException struct { +// Code returns the exception type name. +func (s *LockoutPreventionException) Code() string { + return "LockoutPreventionException" +} + +// Message returns the exception's message. +func (s *LockoutPreventionException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *LockoutPreventionException) OrigErr() error { + return nil +} + +func (s *LockoutPreventionException) 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 *LockoutPreventionException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *LockoutPreventionException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Invalid policy document provided in request. +type MalformedPolicyDocumentException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -6777,7 +7627,7 @@ type InvalidRequestException 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 InvalidRequestException) String() string { +func (s MalformedPolicyDocumentException) String() string { return awsutil.Prettify(s) } @@ -6786,23 +7636,23 @@ func (s InvalidRequestException) 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 InvalidRequestException) GoString() string { +func (s MalformedPolicyDocumentException) GoString() string { return s.String() } -func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { - return &InvalidRequestException{ +func newErrorMalformedPolicyDocumentException(v protocol.ResponseMetadata) error { + return &MalformedPolicyDocumentException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InvalidRequestException) Code() string { - return "InvalidRequestException" +func (s *MalformedPolicyDocumentException) Code() string { + return "MalformedPolicyDocumentException" } // Message returns the exception's message. -func (s *InvalidRequestException) Message() string { +func (s *MalformedPolicyDocumentException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -6810,36 +7660,31 @@ func (s *InvalidRequestException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidRequestException) OrigErr() error { +func (s *MalformedPolicyDocumentException) OrigErr() error { return nil } -func (s *InvalidRequestException) Error() string { +func (s *MalformedPolicyDocumentException) 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 *InvalidRequestException) StatusCode() int { +func (s *MalformedPolicyDocumentException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *InvalidRequestException) RequestID() string { +func (s *MalformedPolicyDocumentException) RequestID() string { return s.RespMetadata.RequestID } -type ListTagsForResourceInput struct { - _ struct{} `type:"structure"` - - // A pagination token. If multiple pages of results are returned, use the NextToken - // value returned with the current page of results as the value of this parameter - // to get the next page of results. - NextToken *string `type:"string"` +// Exceeded the maximum number of resource policies for a target Amazon Web +// Services account. +type PolicyCountLimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The Amazon Resource Number (ARN) of an X-Ray group or sampling rule. - // - // ResourceARN is a required field - ResourceARN *string `min:"1" type:"string" required:"true"` + Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. @@ -6847,7 +7692,7 @@ type ListTagsForResourceInput 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 ListTagsForResourceInput) String() string { +func (s PolicyCountLimitExceededException) String() string { return awsutil.Prettify(s) } @@ -6856,48 +7701,54 @@ func (s ListTagsForResourceInput) 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 ListTagsForResourceInput) GoString() string { +func (s PolicyCountLimitExceededException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListTagsForResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} - if s.ResourceARN == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceARN")) - } - if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) +func newErrorPolicyCountLimitExceededException(v protocol.ResponseMetadata) error { + return &PolicyCountLimitExceededException{ + RespMetadata: v, } +} - if invalidParams.Len() > 0 { - return invalidParams +// Code returns the exception type name. +func (s *PolicyCountLimitExceededException) Code() string { + return "PolicyCountLimitExceededException" +} + +// Message returns the exception's message. +func (s *PolicyCountLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *PolicyCountLimitExceededException) OrigErr() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput { - s.NextToken = &v - return s +func (s *PolicyCountLimitExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetResourceARN sets the ResourceARN field's value. -func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput { - s.ResourceARN = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *PolicyCountLimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode } -type ListTagsForResourceOutput struct { - _ struct{} `type:"structure"` +// RequestID returns the service's response RequestID for request. +func (s *PolicyCountLimitExceededException) RequestID() string { + return s.RespMetadata.RequestID +} - // A pagination token. If multiple pages of results are returned, use the NextToken - // value returned with the current page of results to get the next page of results. - NextToken *string `type:"string"` +// Exceeded the maximum size for a resource policy. +type PolicySizeLimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // A list of tags, as key and value pairs, that is associated with the specified - // X-Ray group or sampling rule. - Tags []*Tag `type:"list"` + Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. @@ -6905,7 +7756,7 @@ type ListTagsForResourceOutput 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 ListTagsForResourceOutput) String() string { +func (s PolicySizeLimitExceededException) String() string { return awsutil.Prettify(s) } @@ -6914,20 +7765,46 @@ func (s ListTagsForResourceOutput) 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 ListTagsForResourceOutput) GoString() string { +func (s PolicySizeLimitExceededException) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput { - s.NextToken = &v - return s +func newErrorPolicySizeLimitExceededException(v protocol.ResponseMetadata) error { + return &PolicySizeLimitExceededException{ + RespMetadata: v, + } } -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput { - s.Tags = v - return s +// Code returns the exception type name. +func (s *PolicySizeLimitExceededException) Code() string { + return "PolicySizeLimitExceededException" +} + +// Message returns the exception's message. +func (s *PolicySizeLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *PolicySizeLimitExceededException) OrigErr() error { + return nil +} + +func (s *PolicySizeLimitExceededException) 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 *PolicySizeLimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *PolicySizeLimitExceededException) RequestID() string { + return s.RespMetadata.RequestID } type PutEncryptionConfigInput struct { @@ -7031,6 +7908,137 @@ func (s *PutEncryptionConfigOutput) SetEncryptionConfig(v *EncryptionConfig) *Pu return s } +type PutResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // A flag to indicate whether to bypass the resource policy lockout safety check. + // + // Setting this value to true increases the risk that the policy becomes unmanageable. + // Do not set this value to true indiscriminately. + // + // Use this parameter only when you include a policy in the request and you + // intend to prevent the principal that is making the request from making a + // subsequent PutResourcePolicy request. + // + // The default value is false. + BypassPolicyLockoutCheck *bool `type:"boolean"` + + // The resource policy document, which can be up to 5kb in size. + // + // PolicyDocument is a required field + PolicyDocument *string `type:"string" required:"true"` + + // The name of the resource policy. Must be unique within a specific Amazon + // Web Services account. + // + // PolicyName is a required field + PolicyName *string `min:"1" type:"string" required:"true"` + + // Specifies a specific policy revision, to ensure an atomic create operation. + // By default the resource policy is created if it does not exist, or updated + // with an incremented revision id. The revision id is unique to each policy + // in the account. + // + // If the policy revision id does not match the latest revision id, the operation + // will fail with an InvalidPolicyRevisionIdException exception. You can also + // provide a PolicyRevisionId of 0. In this case, the operation will fail with + // an InvalidPolicyRevisionIdException exception if a resource policy with the + // same name already exists. + PolicyRevisionId *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 PutResourcePolicyInput) 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 PutResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"} + if s.PolicyDocument == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyDocument")) + } + if s.PolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyName")) + } + if s.PolicyName != nil && len(*s.PolicyName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PolicyName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBypassPolicyLockoutCheck sets the BypassPolicyLockoutCheck field's value. +func (s *PutResourcePolicyInput) SetBypassPolicyLockoutCheck(v bool) *PutResourcePolicyInput { + s.BypassPolicyLockoutCheck = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *PutResourcePolicyInput) SetPolicyDocument(v string) *PutResourcePolicyInput { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *PutResourcePolicyInput) SetPolicyName(v string) *PutResourcePolicyInput { + s.PolicyName = &v + return s +} + +// SetPolicyRevisionId sets the PolicyRevisionId field's value. +func (s *PutResourcePolicyInput) SetPolicyRevisionId(v string) *PutResourcePolicyInput { + s.PolicyRevisionId = &v + return s +} + +type PutResourcePolicyOutput struct { + _ struct{} `type:"structure"` + + // The resource policy document, as provided in the PutResourcePolicyRequest. + ResourcePolicy *ResourcePolicy `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 PutResourcePolicyOutput) 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 PutResourcePolicyOutput) GoString() string { + return s.String() +} + +// SetResourcePolicy sets the ResourcePolicy field's value. +func (s *PutResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *PutResourcePolicyOutput { + s.ResourcePolicy = v + return s +} + type PutTelemetryRecordsInput struct { _ struct{} `type:"structure"` @@ -7357,6 +8365,68 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// A resource policy grants one or more Amazon Web Services services and accounts +// permissions to access X-Ray. Each resource policy is associated with a specific +// Amazon Web Services account. +type ResourcePolicy struct { + _ struct{} `type:"structure"` + + // When the policy was last updated, in Unix time seconds. + LastUpdatedTime *time.Time `type:"timestamp"` + + // The resource policy document, which can be up to 5kb in size. + PolicyDocument *string `type:"string"` + + // The name of the resource policy. Must be unique within a specific Amazon + // Web Services account. + PolicyName *string `min:"1" type:"string"` + + // Returns the current policy revision id for this policy name. + PolicyRevisionId *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 ResourcePolicy) 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 ResourcePolicy) GoString() string { + return s.String() +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *ResourcePolicy) SetLastUpdatedTime(v time.Time) *ResourcePolicy { + s.LastUpdatedTime = &v + return s +} + +// SetPolicyDocument sets the PolicyDocument field's value. +func (s *ResourcePolicy) SetPolicyDocument(v string) *ResourcePolicy { + s.PolicyDocument = &v + return s +} + +// SetPolicyName sets the PolicyName field's value. +func (s *ResourcePolicy) SetPolicyName(v string) *ResourcePolicy { + s.PolicyName = &v + return s +} + +// SetPolicyRevisionId sets the PolicyRevisionId field's value. +func (s *ResourcePolicy) SetPolicyRevisionId(v string) *ResourcePolicy { + s.PolicyRevisionId = &v + return s +} + // The root cause information for a response time warning. type ResponseTimeRootCause struct { _ struct{} `type:"structure"` @@ -9671,7 +10741,7 @@ type UpdateGroupInput struct { // * The InsightsEnabled boolean can be set to true to enable insights for // the group or false to disable insights for the group. // - // * The NotifcationsEnabled boolean can be set to true to enable insights + // * The NotificationsEnabled boolean can be set to true to enable insights // notifications for the group. Notifications can only be enabled on a group // with InsightsEnabled set to true. InsightsConfiguration *InsightsConfiguration `type:"structure"` diff --git a/service/xray/errors.go b/service/xray/errors.go index 7ee15afb6aa..ca3853834e0 100644 --- a/service/xray/errors.go +++ b/service/xray/errors.go @@ -8,12 +8,46 @@ import ( const ( + // ErrCodeInvalidPolicyRevisionIdException for service response error code + // "InvalidPolicyRevisionIdException". + // + // A policy revision id was provided which does not match the latest policy + // revision. This exception is also if a policy revision id of 0 is provided + // via PutResourcePolicy and a policy with the same name already exists. + ErrCodeInvalidPolicyRevisionIdException = "InvalidPolicyRevisionIdException" + // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // The request is missing required parameters or has invalid parameters. ErrCodeInvalidRequestException = "InvalidRequestException" + // ErrCodeLockoutPreventionException for service response error code + // "LockoutPreventionException". + // + // The provided resource policy would prevent the caller of this request from + // calling PutResourcePolicy in the future. + ErrCodeLockoutPreventionException = "LockoutPreventionException" + + // ErrCodeMalformedPolicyDocumentException for service response error code + // "MalformedPolicyDocumentException". + // + // Invalid policy document provided in request. + ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocumentException" + + // ErrCodePolicyCountLimitExceededException for service response error code + // "PolicyCountLimitExceededException". + // + // Exceeded the maximum number of resource policies for a target Amazon Web + // Services account. + ErrCodePolicyCountLimitExceededException = "PolicyCountLimitExceededException" + + // ErrCodePolicySizeLimitExceededException for service response error code + // "PolicySizeLimitExceededException". + // + // Exceeded the maximum size for a resource policy. + ErrCodePolicySizeLimitExceededException = "PolicySizeLimitExceededException" + // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // @@ -41,9 +75,14 @@ const ( ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ - "InvalidRequestException": newErrorInvalidRequestException, - "ResourceNotFoundException": newErrorResourceNotFoundException, - "RuleLimitExceededException": newErrorRuleLimitExceededException, - "ThrottledException": newErrorThrottledException, - "TooManyTagsException": newErrorTooManyTagsException, + "InvalidPolicyRevisionIdException": newErrorInvalidPolicyRevisionIdException, + "InvalidRequestException": newErrorInvalidRequestException, + "LockoutPreventionException": newErrorLockoutPreventionException, + "MalformedPolicyDocumentException": newErrorMalformedPolicyDocumentException, + "PolicyCountLimitExceededException": newErrorPolicyCountLimitExceededException, + "PolicySizeLimitExceededException": newErrorPolicySizeLimitExceededException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "RuleLimitExceededException": newErrorRuleLimitExceededException, + "ThrottledException": newErrorThrottledException, + "TooManyTagsException": newErrorTooManyTagsException, } diff --git a/service/xray/xrayiface/interface.go b/service/xray/xrayiface/interface.go index 8d61de5cbc7..128cf7610f1 100644 --- a/service/xray/xrayiface/interface.go +++ b/service/xray/xrayiface/interface.go @@ -79,6 +79,10 @@ type XRayAPI interface { DeleteGroupWithContext(aws.Context, *xray.DeleteGroupInput, ...request.Option) (*xray.DeleteGroupOutput, error) DeleteGroupRequest(*xray.DeleteGroupInput) (*request.Request, *xray.DeleteGroupOutput) + DeleteResourcePolicy(*xray.DeleteResourcePolicyInput) (*xray.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyWithContext(aws.Context, *xray.DeleteResourcePolicyInput, ...request.Option) (*xray.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyRequest(*xray.DeleteResourcePolicyInput) (*request.Request, *xray.DeleteResourcePolicyOutput) + DeleteSamplingRule(*xray.DeleteSamplingRuleInput) (*xray.DeleteSamplingRuleOutput, error) DeleteSamplingRuleWithContext(aws.Context, *xray.DeleteSamplingRuleInput, ...request.Option) (*xray.DeleteSamplingRuleOutput, error) DeleteSamplingRuleRequest(*xray.DeleteSamplingRuleInput) (*request.Request, *xray.DeleteSamplingRuleOutput) @@ -166,14 +170,28 @@ type XRayAPI interface { GetTraceSummariesPages(*xray.GetTraceSummariesInput, func(*xray.GetTraceSummariesOutput, bool) bool) error GetTraceSummariesPagesWithContext(aws.Context, *xray.GetTraceSummariesInput, func(*xray.GetTraceSummariesOutput, bool) bool, ...request.Option) error + ListResourcePolicies(*xray.ListResourcePoliciesInput) (*xray.ListResourcePoliciesOutput, error) + ListResourcePoliciesWithContext(aws.Context, *xray.ListResourcePoliciesInput, ...request.Option) (*xray.ListResourcePoliciesOutput, error) + ListResourcePoliciesRequest(*xray.ListResourcePoliciesInput) (*request.Request, *xray.ListResourcePoliciesOutput) + + ListResourcePoliciesPages(*xray.ListResourcePoliciesInput, func(*xray.ListResourcePoliciesOutput, bool) bool) error + ListResourcePoliciesPagesWithContext(aws.Context, *xray.ListResourcePoliciesInput, func(*xray.ListResourcePoliciesOutput, bool) bool, ...request.Option) error + ListTagsForResource(*xray.ListTagsForResourceInput) (*xray.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *xray.ListTagsForResourceInput, ...request.Option) (*xray.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*xray.ListTagsForResourceInput) (*request.Request, *xray.ListTagsForResourceOutput) + ListTagsForResourcePages(*xray.ListTagsForResourceInput, func(*xray.ListTagsForResourceOutput, bool) bool) error + ListTagsForResourcePagesWithContext(aws.Context, *xray.ListTagsForResourceInput, func(*xray.ListTagsForResourceOutput, bool) bool, ...request.Option) error + PutEncryptionConfig(*xray.PutEncryptionConfigInput) (*xray.PutEncryptionConfigOutput, error) PutEncryptionConfigWithContext(aws.Context, *xray.PutEncryptionConfigInput, ...request.Option) (*xray.PutEncryptionConfigOutput, error) PutEncryptionConfigRequest(*xray.PutEncryptionConfigInput) (*request.Request, *xray.PutEncryptionConfigOutput) + PutResourcePolicy(*xray.PutResourcePolicyInput) (*xray.PutResourcePolicyOutput, error) + PutResourcePolicyWithContext(aws.Context, *xray.PutResourcePolicyInput, ...request.Option) (*xray.PutResourcePolicyOutput, error) + PutResourcePolicyRequest(*xray.PutResourcePolicyInput) (*request.Request, *xray.PutResourcePolicyOutput) + PutTelemetryRecords(*xray.PutTelemetryRecordsInput) (*xray.PutTelemetryRecordsOutput, error) PutTelemetryRecordsWithContext(aws.Context, *xray.PutTelemetryRecordsInput, ...request.Option) (*xray.PutTelemetryRecordsOutput, error) PutTelemetryRecordsRequest(*xray.PutTelemetryRecordsInput) (*request.Request, *xray.PutTelemetryRecordsOutput)