diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f915e57b37..29e734898b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +Release v1.46.0 (2023-10-19) +=== + +### Service Client Updates +* `service/ec2`: Updates service API + * Amazon EC2 C7a instances, powered by 4th generation AMD EPYC processors, are ideal for high performance, compute-intensive workloads such as high performance computing. Amazon EC2 R7i instances are next-generation memory optimized and powered by custom 4th Generation Intel Xeon Scalable processors. +* `service/managedblockchain-query`: Updates service API +* `service/neptunedata`: Updates service documentation +* `service/omics`: Updates service API and documentation +* `service/opensearch`: Updates service API, documentation, and paginators +* `service/quicksight`: Updates service API and documentation + * This release adds the following: 1) Trino and Starburst Database Connectors 2) Custom total for tables and pivot tables 3) Enable restricted folders 4) Add rolling dates for time equality filters 5) Refine DataPathValue and introduce DataPathType 6) Add SeriesType to ReferenceLineDataConfiguration +* `service/secretsmanager`: Updates service documentation + * Documentation updates for Secrets Manager +* `service/servicecatalog`: Updates service API and documentation + * Introduce support for EXTERNAL product and provisioning artifact type in CreateProduct and CreateProvisioningArtifact APIs. +* `service/verifiedpermissions`: Updates service API and documentation +* `service/workspaces`: Updates service documentation + * Documentation updates for WorkSpaces + +### SDK Features +* `service/gamesparks`: Deprecate Gamesparks + * This change removes the gamesparks service, since it is deprecated. + Release v1.45.28 (2023-10-18) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 7088521e181..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,6 +1,4 @@ ### SDK Features -* `service/gamesparks`: Deprecate Gamesparks - * This change removes the gamesparks service, since it is deprecated. ### SDK Enhancements diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index a4cb4b1d742..f833a86863b 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -13443,16 +13443,6 @@ var awsPartition = partition{ }: endpoint{}, }, }, - "gamesparks": service{ - Endpoints: serviceEndpoints{ - endpointKey{ - Region: "ap-northeast-1", - }: endpoint{}, - endpointKey{ - Region: "us-east-1", - }: endpoint{}, - }, - }, "geo": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -39072,6 +39062,46 @@ var awsusgovPartition = partition{ }, }, }, + "resiliencehub": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "fips-us-gov-east-1", + }: endpoint{ + Hostname: "resiliencehub-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-gov-west-1", + }: endpoint{ + Hostname: "resiliencehub-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "us-gov-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "resiliencehub-fips.us-gov-east-1.amazonaws.com", + }, + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "resiliencehub-fips.us-gov-west-1.amazonaws.com", + }, + }, + }, "resource-explorer-2": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{ diff --git a/aws/version.go b/aws/version.go index 323020e929f..713d5769224 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.45.28" +const SDKVersion = "1.46.0" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index cd163de93bc..d7b0c02e489 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -27568,7 +27568,29 @@ "r7iz.8xlarge", "r7iz.12xlarge", "r7iz.16xlarge", - "r7iz.32xlarge" + "r7iz.32xlarge", + "c7a.medium", + "c7a.large", + "c7a.xlarge", + "c7a.2xlarge", + "c7a.4xlarge", + "c7a.8xlarge", + "c7a.12xlarge", + "c7a.16xlarge", + "c7a.24xlarge", + "c7a.32xlarge", + "c7a.48xlarge", + "c7a.metal-48xl", + "r7a.metal-48xl", + "r7i.large", + "r7i.xlarge", + "r7i.2xlarge", + "r7i.4xlarge", + "r7i.8xlarge", + "r7i.12xlarge", + "r7i.16xlarge", + "r7i.24xlarge", + "r7i.48xlarge" ] }, "InstanceTypeHypervisor":{ diff --git a/models/apis/ec2/2016-11-15/endpoint-rule-set-1.json b/models/apis/ec2/2016-11-15/endpoint-rule-set-1.json index 287f71554ec..8384816a1fd 100644 --- a/models/apis/ec2/2016-11-15/endpoint-rule-set-1.json +++ b/models/apis/ec2/2016-11-15/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/managedblockchain-query/2023-05-04/api-2.json b/models/apis/managedblockchain-query/2023-05-04/api-2.json index 0bdccff4324..420aa4a84cf 100644 --- a/models/apis/managedblockchain-query/2023-05-04/api-2.json +++ b/models/apis/managedblockchain-query/2023-05-04/api-2.json @@ -548,7 +548,8 @@ "enum":[ "ETHEREUM_MAINNET", "BITCOIN_MAINNET", - "BITCOIN_TESTNET" + "BITCOIN_TESTNET", + "ETHEREUM_SEPOLIA_TESTNET" ] }, "QueryTokenId":{ diff --git a/models/apis/managedblockchain-query/2023-05-04/endpoint-rule-set-1.json b/models/apis/managedblockchain-query/2023-05-04/endpoint-rule-set-1.json index 1f94e43d857..92521932287 100644 --- a/models/apis/managedblockchain-query/2023-05-04/endpoint-rule-set-1.json +++ b/models/apis/managedblockchain-query/2023-05-04/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/neptunedata/2023-08-01/docs-2.json b/models/apis/neptunedata/2023-08-01/docs-2.json index b3e63fb3398..ff596f69445 100644 --- a/models/apis/neptunedata/2023-08-01/docs-2.json +++ b/models/apis/neptunedata/2023-08-01/docs-2.json @@ -2,49 +2,49 @@ "version": "2.0", "service": "

Neptune Data API

The Amazon Neptune data API provides SDK support for more than 40 of Neptune's data operations, including data loading, query execution, data inquiry, and machine learning. It supports the Gremlin and openCypher query languages, and is available in all SDK languages. It automatically signs API requests and greatly simplifies integrating Neptune into your applications.

", "operations": { - "CancelGremlinQuery": "

Cancels a Gremlin query. See Gremlin query cancellation for more information.

", - "CancelLoaderJob": "

Cancels a specified load job. This is an HTTP DELETE request.

See Neptune Loader Get-Status API for more information.

", - "CancelMLDataProcessingJob": "

Cancels a Neptune ML data processing job. See The dataprocessing command.

", - "CancelMLModelTrainingJob": "

Cancels a Neptune ML model training job. See Model training using the modeltraining command.

", - "CancelMLModelTransformJob": "

Cancels a specified model transform job. See Use a trained model to generate new model artifacts.

", - "CancelOpenCypherQuery": "

Cancels a specified openCypher query. See Neptune openCypher status endpoint for more information.

", - "CreateMLEndpoint": "

Creates a new Neptune ML inference endpoint that lets you query one specific model that the model-training process constructed. See Managing inference endpoints using the endpoints command.

", - "DeleteMLEndpoint": "

Cancels the creation of a Neptune ML inference endpoint. See Managing inference endpoints using the endpoints command.

", - "DeletePropertygraphStatistics": "

Deletes statistics for Gremlin and openCypher (property graph) data.

", - "DeleteSparqlStatistics": "

Deletes SPARQL statistics

", - "ExecuteFastReset": "

The fast reset REST API lets you reset a Neptune graph quicky and easily, removing all of its data.

Neptune fast reset is a two-step process. First you call ExecuteFastReset with action set to initiateDatabaseReset. This returns a UUID token which you then include when calling ExecuteFastReset again with action set to performDatabaseReset. See Empty an Amazon Neptune DB cluster using the fast reset API.

", - "ExecuteGremlinExplainQuery": "

Executes a Gremlin Explain query.

Amazon Neptune has added a Gremlin feature named explain that provides is a self-service tool for understanding the execution approach being taken by the Neptune engine for the query. You invoke it by adding an explain parameter to an HTTP call that submits a Gremlin query.

The explain feature provides information about the logical structure of query execution plans. You can use this information to identify potential evaluation and execution bottlenecks and to tune your query, as explained in Tuning Gremlin queries. You can also use query hints to improve query execution plans.

", - "ExecuteGremlinProfileQuery": "

Executes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output. See Gremlin profile API in Neptune for details.

", - "ExecuteGremlinQuery": "

This commands executes a Gremlin query. Amazon Neptune is compatible with Apache TinkerPop3 and Gremlin, so you can use the Gremlin traversal language to query the graph, as described under The Graph in the Apache TinkerPop3 documentation. More details can also be found in Accessing a Neptune graph with Gremlin.

", - "ExecuteOpenCypherExplainQuery": "

Executes an openCypher explain request. See The openCypher explain feature for more information.

", - "ExecuteOpenCypherQuery": "

Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information.

Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs.

The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license.

", - "GetEngineStatus": "

Check the status of the graph database on the host.

", - "GetGremlinQueryStatus": "

Gets the status of a specified Gremlin query.

", - "GetLoaderJobStatus": "

Gets status information about a specified load job. Neptune keeps track of the most recent 1,024 bulk load jobs, and stores the last 10,000 error details per job.

See Neptune Loader Get-Status API for more information.

", - "GetMLDataProcessingJob": "

Retrieves information about a specified data processing job. See The dataprocessing command.

", - "GetMLEndpoint": "

Retrieves details about an inference endpoint. See Managing inference endpoints using the endpoints command.

", - "GetMLModelTrainingJob": "

Retrieves information about a Neptune ML model training job. See Model training using the modeltraining command.

", - "GetMLModelTransformJob": "

Gets information about a specified model transform job. See Use a trained model to generate new model artifacts.

", - "GetOpenCypherQueryStatus": "

Retrieves the status of a specified openCypher query.

", - "GetPropertygraphStatistics": "

Gets property graph statistics (Gremlin and openCypher).

", - "GetPropertygraphStream": "

Gets a stream for a property graph.

With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph.

The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1.

See Capturing graph changes in real time using Neptune streams.

", - "GetPropertygraphSummary": "

Gets a graph summary for a property graph.

", - "GetRDFGraphSummary": "

Gets a graph summary for an RDF graph.

", + "CancelGremlinQuery": "

Cancels a Gremlin query. See Gremlin query cancellation for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelQuery IAM action in that cluster.

", + "CancelLoaderJob": "

Cancels a specified load job. This is an HTTP DELETE request. See Neptune Loader Get-Status API for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelLoaderJob IAM action in that cluster..

", + "CancelMLDataProcessingJob": "

Cancels a Neptune ML data processing job. See The dataprocessing command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelMLDataProcessingJob IAM action in that cluster.

", + "CancelMLModelTrainingJob": "

Cancels a Neptune ML model training job. See Model training using the modeltraining command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelMLModelTrainingJob IAM action in that cluster.

", + "CancelMLModelTransformJob": "

Cancels a specified model transform job. See Use a trained model to generate new model artifacts.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelMLModelTransformJob IAM action in that cluster.

", + "CancelOpenCypherQuery": "

Cancels a specified openCypher query. See Neptune openCypher status endpoint for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CancelQuery IAM action in that cluster.

", + "CreateMLEndpoint": "

Creates a new Neptune ML inference endpoint that lets you query one specific model that the model-training process constructed. See Managing inference endpoints using the endpoints command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:CreateMLEndpoint IAM action in that cluster.

", + "DeleteMLEndpoint": "

Cancels the creation of a Neptune ML inference endpoint. See Managing inference endpoints using the endpoints command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:DeleteMLEndpoint IAM action in that cluster.

", + "DeletePropertygraphStatistics": "

Deletes statistics for Gremlin and openCypher (property graph) data.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:DeleteStatistics IAM action in that cluster.

", + "DeleteSparqlStatistics": "

Deletes SPARQL statistics

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:DeleteStatistics IAM action in that cluster.

", + "ExecuteFastReset": "

The fast reset REST API lets you reset a Neptune graph quicky and easily, removing all of its data.

Neptune fast reset is a two-step process. First you call ExecuteFastReset with action set to initiateDatabaseReset. This returns a UUID token which you then include when calling ExecuteFastReset again with action set to performDatabaseReset. See Empty an Amazon Neptune DB cluster using the fast reset API.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ResetDatabase IAM action in that cluster.

", + "ExecuteGremlinExplainQuery": "

Executes a Gremlin Explain query.

Amazon Neptune has added a Gremlin feature named explain that provides is a self-service tool for understanding the execution approach being taken by the Neptune engine for the query. You invoke it by adding an explain parameter to an HTTP call that submits a Gremlin query.

The explain feature provides information about the logical structure of query execution plans. You can use this information to identify potential evaluation and execution bottlenecks and to tune your query, as explained in Tuning Gremlin queries. You can also use query hints to improve query execution plans.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ExecuteGremlinProfileQuery": "

Executes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output. See Gremlin profile API in Neptune for details.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ExecuteGremlinQuery": "

This commands executes a Gremlin query. Amazon Neptune is compatible with Apache TinkerPop3 and Gremlin, so you can use the Gremlin traversal language to query the graph, as described under The Graph in the Apache TinkerPop3 documentation. More details can also be found in Accessing a Neptune graph with Gremlin.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions in that cluster, depending on the query:

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ExecuteOpenCypherExplainQuery": "

Executes an openCypher explain request. See The openCypher explain feature for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ExecuteOpenCypherQuery": "

Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information.

Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs.

The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license.

Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:

Note also that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "GetEngineStatus": "

Retrieves the status of the graph database on the host.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetEngineStatus IAM action in that cluster.

", + "GetGremlinQueryStatus": "

Gets the status of a specified Gremlin query.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "GetLoaderJobStatus": "

Gets status information about a specified load job. Neptune keeps track of the most recent 1,024 bulk load jobs, and stores the last 10,000 error details per job.

See Neptune Loader Get-Status API for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetLoaderJobStatus IAM action in that cluster..

", + "GetMLDataProcessingJob": "

Retrieves information about a specified data processing job. See The dataprocessing command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:neptune-db:GetMLDataProcessingJobStatus IAM action in that cluster.

", + "GetMLEndpoint": "

Retrieves details about an inference endpoint. See Managing inference endpoints using the endpoints command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLEndpointStatus IAM action in that cluster.

", + "GetMLModelTrainingJob": "

Retrieves information about a Neptune ML model training job. See Model training using the modeltraining command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTrainingJobStatus IAM action in that cluster.

", + "GetMLModelTransformJob": "

Gets information about a specified model transform job. See Use a trained model to generate new model artifacts.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTransformJobStatus IAM action in that cluster.

", + "GetOpenCypherQueryStatus": "

Retrieves the status of a specified openCypher query.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "GetPropertygraphStatistics": "

Gets property graph statistics (Gremlin and openCypher).

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStatisticsStatus IAM action in that cluster.

", + "GetPropertygraphStream": "

Gets a stream for a property graph.

With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph.

The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1.

See Capturing graph changes in real time using Neptune streams.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query:

Note that you can restrict property-graph queries using the following IAM context keys:

See Condition keys available in Neptune IAM data-access policy statements).

", + "GetPropertygraphSummary": "

Gets a graph summary for a property graph.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetGraphSummary IAM action in that cluster.

", + "GetRDFGraphSummary": "

Gets a graph summary for an RDF graph.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetGraphSummary IAM action in that cluster.

", "GetSparqlStatistics": "

Gets RDF statistics (SPARQL).

", - "GetSparqlStream": "

Gets a stream for an RDF graph.

With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetSparqlStream lets you collect these change-log entries for an RDF graph.

The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1.

See Capturing graph changes in real time using Neptune streams.

", - "ListGremlinQueries": "

Lists active Gremlin queries. See Gremlin query status API for details about the output.

", - "ListLoaderJobs": "

Retrieves a list of the loadIds for all active loader jobs.

", - "ListMLDataProcessingJobs": "

Returns a list of Neptune ML data processing jobs. See Listing active data-processing jobs using the Neptune ML dataprocessing command.

", - "ListMLEndpoints": "

Lists existing inference endpoints. See Managing inference endpoints using the endpoints command.

", - "ListMLModelTrainingJobs": "

Lists Neptune ML model-training jobs. See Model training using the modeltraining command.

", - "ListMLModelTransformJobs": "

Returns a list of model transform job IDs. See Use a trained model to generate new model artifacts.

", - "ListOpenCypherQueries": "

Lists active openCypher queries. See Neptune openCypher status endpoint for more information.

", - "ManagePropertygraphStatistics": "

Manages the generation and use of property graph statistics.

", - "ManageSparqlStatistics": "

Manages the generation and use of RDF graph statistics.

", - "StartLoaderJob": "

Starts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance. See Using the Amazon Neptune Bulk Loader to Ingest Data.

", - "StartMLDataProcessingJob": "

Creates a new Neptune ML data processing job for processing the graph data exported from Neptune for training. See The dataprocessing command.

", - "StartMLModelTrainingJob": "

Creates a new Neptune ML model training job. See Model training using the modeltraining command.

", - "StartMLModelTransformJob": "

Creates a new model transform job. See Use a trained model to generate new model artifacts.

" + "GetSparqlStream": "

Gets a stream for an RDF graph.

With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetSparqlStream lets you collect these change-log entries for an RDF graph.

The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1.

See Capturing graph changes in real time using Neptune streams.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Sparql IAM condition key can be used in the policy document to restrict the use of SPARQL queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ListGremlinQueries": "

Lists active Gremlin queries. See Gremlin query status API for details about the output.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ListLoaderJobs": "

Retrieves a list of the loadIds for all active loader jobs.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListLoaderJobs IAM action in that cluster..

", + "ListMLDataProcessingJobs": "

Returns a list of Neptune ML data processing jobs. See Listing active data-processing jobs using the Neptune ML dataprocessing command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLDataProcessingJobs IAM action in that cluster.

", + "ListMLEndpoints": "

Lists existing inference endpoints. See Managing inference endpoints using the endpoints command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLEndpoints IAM action in that cluster.

", + "ListMLModelTrainingJobs": "

Lists Neptune ML model-training jobs. See Model training using the modeltraining command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:neptune-db:ListMLModelTrainingJobs IAM action in that cluster.

", + "ListMLModelTransformJobs": "

Returns a list of model transform job IDs. See Use a trained model to generate new model artifacts.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ListMLModelTransformJobs IAM action in that cluster.

", + "ListOpenCypherQueries": "

Lists active openCypher queries. See Neptune openCypher status endpoint for more information.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.

Note that the neptune-db:QueryLanguage:Opencypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

", + "ManagePropertygraphStatistics": "

Manages the generation and use of property graph statistics.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ManageStatistics IAM action in that cluster.

", + "ManageSparqlStatistics": "

Manages the generation and use of RDF graph statistics.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ManageStatistics IAM action in that cluster.

", + "StartLoaderJob": "

Starts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance. See Using the Amazon Neptune Bulk Loader to Ingest Data.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartLoaderJob IAM action in that cluster.

", + "StartMLDataProcessingJob": "

Creates a new Neptune ML data processing job for processing the graph data exported from Neptune for training. See The dataprocessing command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartMLModelDataProcessingJob IAM action in that cluster.

", + "StartMLModelTrainingJob": "

Creates a new Neptune ML model training job. See Model training using the modeltraining command.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartMLModelTrainingJob IAM action in that cluster.

", + "StartMLModelTransformJob": "

Creates a new model transform job. See Use a trained model to generate new model artifacts.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:StartMLModelTransformJob IAM action in that cluster.

" }, "shapes": { "AccessDeniedException": { @@ -973,7 +973,7 @@ "RDFGraphSummary": { "base": "

The RDF graph summary API returns a read-only list of classes and predicate keys, along with counts of quads, subjects, and predicates.

", "refs": { - "RDFGraphSummaryValueMap$graphSummary": "

The graph summary of an RDF graph. See Graph summary response for an RDF graph.

" + "RDFGraphSummaryValueMap$graphSummary": "

The graph summary of an RDF graph. See Graph summary response for an RDF graph.

" } }, "RDFGraphSummaryValueMap": { @@ -1217,9 +1217,9 @@ "GetOpenCypherQueryStatusInput$queryId": "

The unique ID of the openCypher query for which to retrieve the query status.

", "GetOpenCypherQueryStatusOutput$queryId": "

The unique ID of the query for which status is being returned.

", "GetOpenCypherQueryStatusOutput$queryString": "

The openCypher query string.

", - "GetPropertygraphStatisticsOutput$status": "

The HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.

", + "GetPropertygraphStatisticsOutput$status": "

The HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.

", "GetPropertygraphStreamOutput$format": "

Serialization format for the change records being returned. Currently, the only supported value is PG_JSON.

", - "GetSparqlStatisticsOutput$status": "

The HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.

", + "GetSparqlStatisticsOutput$status": "

The HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStatisticsStatus IAM action in that cluster.

", "GetSparqlStreamOutput$format": "

Serialization format for the change records being returned. Currently, the only supported value is NQUADS.

", "GremlinQueryStatus$queryId": "

The ID of the Gremlin query.

", "GremlinQueryStatus$queryString": "

The query string of the Gremlin query.

", diff --git a/models/apis/neptunedata/2023-08-01/endpoint-rule-set-1.json b/models/apis/neptunedata/2023-08-01/endpoint-rule-set-1.json index 8775e2ea8eb..98ea8f17a68 100644 --- a/models/apis/neptunedata/2023-08-01/endpoint-rule-set-1.json +++ b/models/apis/neptunedata/2023-08-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/omics/2022-11-28/api-2.json b/models/apis/omics/2022-11-28/api-2.json index 26d85b9be3b..e577c349a61 100644 --- a/models/apis/omics/2022-11-28/api-2.json +++ b/models/apis/omics/2022-11-28/api-2.json @@ -4572,6 +4572,10 @@ ], "type": "string" }, + "EngineLogStream": { + "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", + "type": "string" + }, "EscapeChar": { "max": 1, "min": 1, @@ -5591,12 +5595,18 @@ "digest": { "shape": "WorkflowDigest" }, + "failureReason": { + "shape": "RunFailureReason" + }, "id": { "shape": "RunId" }, "logLevel": { "shape": "RunLogLevel" }, + "logLocation": { + "shape": "RunLogLocation" + }, "name": { "shape": "RunName" }, @@ -5690,6 +5700,9 @@ "creationTime": { "shape": "TaskTimestamp" }, + "failureReason": { + "shape": "TaskFailureReason" + }, "gpus": { "shape": "GetRunTaskResponseGpusInteger" }, @@ -8001,6 +8014,12 @@ "min": 0, "type": "list" }, + "RunFailureReason": { + "max": 64, + "min": 1, + "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", + "type": "string" + }, "RunGroupArn": { "max": 128, "min": 1, @@ -8173,6 +8192,21 @@ "min": 1, "type": "string" }, + "RunLogLocation": { + "members": { + "engineLogStream": { + "shape": "EngineLogStream" + }, + "runLogStream": { + "shape": "RunLogStream" + } + }, + "type": "structure" + }, + "RunLogStream": { + "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", + "type": "string" + }, "RunName": { "max": 128, "min": 1, @@ -8180,7 +8214,7 @@ "type": "string" }, "RunOutputUri": { - "max": 128, + "max": 750, "min": 1, "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", "type": "string" @@ -9078,6 +9112,12 @@ "min": 0, "type": "string" }, + "TaskFailureReason": { + "max": 64, + "min": 1, + "pattern": "[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+", + "type": "string" + }, "TaskId": { "max": 18, "min": 1, diff --git a/models/apis/omics/2022-11-28/docs-2.json b/models/apis/omics/2022-11-28/docs-2.json index 5c68f2f88d0..037e17da8a7 100644 --- a/models/apis/omics/2022-11-28/docs-2.json +++ b/models/apis/omics/2022-11-28/docs-2.json @@ -660,6 +660,12 @@ "SseConfig$type": "

The encryption type.

" } }, + "EngineLogStream": { + "base": null, + "refs": { + "RunLogLocation$engineLogStream": "

The log stream ARN for the engine log.

" + } + }, "EscapeChar": { "base": null, "refs": { @@ -2192,6 +2198,12 @@ "GetRunRequest$export": "

The run's export format.

" } }, + "RunFailureReason": { + "base": null, + "refs": { + "GetRunResponse$failureReason": "

The reason a run has failed.

" + } + }, "RunGroupArn": { "base": null, "refs": { @@ -2288,7 +2300,7 @@ "GetRunRequest$id": "

The run's ID.

", "GetRunResponse$id": "

The run's ID.

", "GetRunResponse$runId": "

The run's ID.

", - "GetRunTaskRequest$id": "

The task's ID.

", + "GetRunTaskRequest$id": "

The workflow run ID.

", "ListRunTasksRequest$id": "

The run's ID.

", "RunListItem$id": "

The run's ID.

", "StartRunRequest$runId": "

The ID of a run to duplicate.

", @@ -2344,6 +2356,18 @@ "StartRunRequest$logLevel": "

A log level for the run.

" } }, + "RunLogLocation": { + "base": "

The URI for the run log.

", + "refs": { + "GetRunResponse$logLocation": "

The location of the run log.

" + } + }, + "RunLogStream": { + "base": null, + "refs": { + "RunLogLocation$runLogStream": "

The log stream ARN for the run log.

" + } + }, "RunName": { "base": null, "refs": { @@ -3072,6 +3096,12 @@ "TagResourceRequestTagsMap$value": null } }, + "TaskFailureReason": { + "base": null, + "refs": { + "GetRunTaskResponse$failureReason": "

The reason a task has failed.

" + } + }, "TaskId": { "base": null, "refs": { diff --git a/models/apis/omics/2022-11-28/endpoint-rule-set-1.json b/models/apis/omics/2022-11-28/endpoint-rule-set-1.json index 76599609af3..9804a00b9c9 100644 --- a/models/apis/omics/2022-11-28/endpoint-rule-set-1.json +++ b/models/apis/omics/2022-11-28/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index db267d31aa3..b529378646b 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -488,6 +488,22 @@ {"shape":"InternalException"} ] }, + "GetDomainMaintenanceStatus":{ + "name":"GetDomainMaintenanceStatus", + "http":{ + "method":"GET", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance" + }, + "input":{"shape":"GetDomainMaintenanceStatusRequest"}, + "output":{"shape":"GetDomainMaintenanceStatusResponse"}, + "errors":[ + {"shape":"BaseException"}, + {"shape":"InternalException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"DisabledOperationException"} + ] + }, "GetPackageVersionHistory":{ "name":"GetPackageVersionHistory", "http":{ @@ -536,6 +552,22 @@ {"shape":"InternalException"} ] }, + "ListDomainMaintenances":{ + "name":"ListDomainMaintenances", + "http":{ + "method":"GET", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/domainMaintenances" + }, + "input":{"shape":"ListDomainMaintenancesRequest"}, + "output":{"shape":"ListDomainMaintenancesResponse"}, + "errors":[ + {"shape":"BaseException"}, + {"shape":"InternalException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"DisabledOperationException"} + ] + }, "ListDomainNames":{ "name":"ListDomainNames", "http":{ @@ -745,6 +777,22 @@ {"shape":"BaseException"} ] }, + "StartDomainMaintenance":{ + "name":"StartDomainMaintenance", + "http":{ + "method":"POST", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance" + }, + "input":{"shape":"StartDomainMaintenanceRequest"}, + "output":{"shape":"StartDomainMaintenanceResponse"}, + "errors":[ + {"shape":"BaseException"}, + {"shape":"InternalException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"DisabledOperationException"} + ] + }, "StartServiceSoftwareUpdate":{ "name":"StartServiceSoftwareUpdate", "http":{ @@ -1833,7 +1881,8 @@ }, "DescribePackagesFilterValues":{ "type":"list", - "member":{"shape":"DescribePackagesFilterValue"} + "member":{"shape":"DescribePackagesFilterValue"}, + "min":1 }, "DescribePackagesRequest":{ "type":"structure", @@ -2036,6 +2085,23 @@ "AWSDomainInformation":{"shape":"AWSDomainInformation"} } }, + "DomainMaintenanceDetails":{ + "type":"structure", + "members":{ + "MaintenanceId":{"shape":"RequestId"}, + "DomainName":{"shape":"DomainName"}, + "Action":{"shape":"MaintenanceType"}, + "NodeId":{"shape":"NodeId"}, + "Status":{"shape":"MaintenanceStatus"}, + "StatusMessage":{"shape":"MaintenanceStatusMessage"}, + "CreatedAt":{"shape":"UpdateTimestamp"}, + "UpdatedAt":{"shape":"UpdateTimestamp"} + } + }, + "DomainMaintenanceList":{ + "type":"list", + "member":{"shape":"DomainMaintenanceDetails"} + }, "DomainName":{ "type":"string", "max":28, @@ -2302,6 +2368,36 @@ "CompatibleVersions":{"shape":"CompatibleVersionsList"} } }, + "GetDomainMaintenanceStatusRequest":{ + "type":"structure", + "required":[ + "DomainName", + "MaintenanceId" + ], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "MaintenanceId":{ + "shape":"RequestId", + "location":"querystring", + "locationName":"maintenanceId" + } + } + }, + "GetDomainMaintenanceStatusResponse":{ + "type":"structure", + "members":{ + "Status":{"shape":"MaintenanceStatus"}, + "StatusMessage":{"shape":"MaintenanceStatusMessage"}, + "NodeId":{"shape":"NodeId"}, + "Action":{"shape":"MaintenanceType"}, + "CreatedAt":{"shape":"UpdateTimestamp"}, + "UpdatedAt":{"shape":"UpdateTimestamp"} + } + }, "GetPackageVersionHistoryRequest":{ "type":"structure", "required":["PackageID"], @@ -2524,6 +2620,44 @@ "key":{"shape":"InstanceRole"}, "value":{"shape":"Limits"} }, + "ListDomainMaintenancesRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "Action":{ + "shape":"MaintenanceType", + "location":"querystring", + "locationName":"action" + }, + "Status":{ + "shape":"MaintenanceStatus", + "location":"querystring", + "locationName":"status" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListDomainMaintenancesResponse":{ + "type":"structure", + "members":{ + "DomainMaintenances":{"shape":"DomainMaintenanceList"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListDomainNamesRequest":{ "type":"structure", "members":{ @@ -2810,6 +2944,30 @@ ] }, "Long":{"type":"long"}, + "MaintenanceStatus":{ + "type":"string", + "enum":[ + "PENDING", + "IN_PROGRESS", + "COMPLETED", + "FAILED", + "TIMED_OUT" + ] + }, + "MaintenanceStatusMessage":{ + "type":"string", + "max":1000, + "min":0, + "pattern":"^([\\s\\S]*)$" + }, + "MaintenanceType":{ + "type":"string", + "enum":[ + "REBOOT_NODE", + "RESTART_SEARCH_PROCESS", + "RESTART_DASHBOARD" + ] + }, "MasterNodeStatus":{ "type":"string", "enum":[ @@ -3283,6 +3441,12 @@ "TagKeys":{"shape":"StringList"} } }, + "RequestId":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^([\\s\\S]*)$" + }, "ReservationToken":{ "type":"string", "max":64, @@ -3565,6 +3729,28 @@ } }, "StartAt":{"type":"timestamp"}, + "StartDomainMaintenanceRequest":{ + "type":"structure", + "required":[ + "DomainName", + "Action" + ], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "Action":{"shape":"MaintenanceType"}, + "NodeId":{"shape":"NodeId"} + } + }, + "StartDomainMaintenanceResponse":{ + "type":"structure", + "members":{ + "MaintenanceId":{"shape":"RequestId"} + } + }, "StartServiceSoftwareUpdateRequest":{ "type":"structure", "required":["DomainName"], diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index 76fe7d31b21..6821c07ed28 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -33,9 +33,11 @@ "DescribeVpcEndpoints": "

Describes one or more Amazon OpenSearch Service-managed VPC endpoints.

", "DissociatePackage": "

Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.

", "GetCompatibleVersions": "

Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.

", + "GetDomainMaintenanceStatus": "

Get the status of the maintenance action.

", "GetPackageVersionHistory": "

Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.

", "GetUpgradeHistory": "

Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch Service domain.

", "GetUpgradeStatus": "

Returns the most recent status of the last upgrade or upgrade eligibility check performed on an Amazon OpenSearch Service domain.

", + "ListDomainMaintenances": "

Get the list of the maintenance action.

", "ListDomainNames": "

Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.

", "ListDomainsForPackage": "

Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.

", "ListInstanceTypeDetails": "

Lists all instance types and available features for a given OpenSearch or Elasticsearch version.

", @@ -50,6 +52,7 @@ "RejectInboundConnection": "

Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster connection request.

", "RemoveTags": "

Removes the specified set of tags from an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.

", "RevokeVpcEndpointAccess": "

Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.

", + "StartDomainMaintenance": "

Starts the node maintenance (Node restart, Node reboot, Opensearch/Elasticsearch process restart, Dashboard/kibana restart) on the data node.

", "StartServiceSoftwareUpdate": "

Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.

", "UpdateDomainConfig": "

Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.

", "UpdatePackage": "

Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.

", @@ -950,6 +953,18 @@ "OutboundConnection$RemoteDomainInfo": "

Information about the destination (remote) domain.

" } }, + "DomainMaintenanceDetails": { + "base": "

Container for the domain maintenance details.

", + "refs": { + "DomainMaintenanceList$member": null + } + }, + "DomainMaintenanceList": { + "base": null, + "refs": { + "ListDomainMaintenancesResponse$DomainMaintenances": "

List of the submitted maintenance actions.

" + } + }, "DomainName": { "base": "

The name of an OpenSearch Service domain. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.

", "refs": { @@ -969,18 +984,22 @@ "DescribeInstanceTypeLimitsRequest$DomainName": "

The name of the domain. Only specify if you need the limits for an existing domain.

", "DissociatePackageRequest$DomainName": "

Name of the domain to dissociate the package from.

", "DomainInfo$DomainName": "

Name of the domain.

", + "DomainMaintenanceDetails$DomainName": "

The name of the domain.

", "DomainNameList$member": null, "DomainPackageDetails$DomainName": "

Name of the domain that the package is associated with.

", "DomainStatus$DomainName": "

Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.

", "GetCompatibleVersionsRequest$DomainName": "

The name of an existing domain. Provide this parameter to limit the results to a single domain.

", + "GetDomainMaintenanceStatusRequest$DomainName": "

The name of the domain.

", "GetUpgradeHistoryRequest$DomainName": "

The name of an existing domain.

", "GetUpgradeStatusRequest$DomainName": "

The domain of the domain to get upgrade status information for.

", + "ListDomainMaintenancesRequest$DomainName": "

The name of the domain.

", "ListInstanceTypeDetailsRequest$DomainName": "

The name of the domain.

", "ListPackagesForDomainRequest$DomainName": "

The name of the domain for which you want to list associated packages.

", "ListScheduledActionsRequest$DomainName": "

The name of the domain.

", "ListVpcEndpointAccessRequest$DomainName": "

The name of the OpenSearch Service domain to retrieve access information for.

", "ListVpcEndpointsForDomainRequest$DomainName": "

The name of the domain to list associated VPC endpoints for.

", "RevokeVpcEndpointAccessRequest$DomainName": "

The name of the OpenSearch Service domain.

", + "StartDomainMaintenanceRequest$DomainName": "

The name of the domain.

", "StartServiceSoftwareUpdateRequest$DomainName": "

The name of the domain that you want to update to the latest service software.

", "UpdateDomainConfigRequest$DomainName": "

The name of the domain that you're updating.

", "UpdateScheduledActionRequest$DomainName": "

The name of the domain to reschedule an action for.

", @@ -1231,6 +1250,16 @@ "refs": { } }, + "GetDomainMaintenanceStatusRequest": { + "base": "

Container for the parameters to the GetDomainMaintenanceStatus operation.

", + "refs": { + } + }, + "GetDomainMaintenanceStatusResponse": { + "base": "

The result of a GetDomainMaintenanceStatus request. Contains information about the requested action.

", + "refs": { + } + }, "GetPackageVersionHistoryRequest": { "base": "

Container for the request parameters to the GetPackageVersionHistory operation.

", "refs": { @@ -1354,7 +1383,7 @@ "IntegerClass": { "base": null, "refs": { - "ClusterConfig$InstanceCount": "

Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.

", + "ClusterConfig$InstanceCount": "

Number of data nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.

", "ClusterConfig$DedicatedMasterCount": "

Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4, otherwise you receive a validation exception.

", "ClusterConfig$WarmCount": "

The number of warm nodes in the cluster.

", "EBSOptions$VolumeSize": "

Specifies the size (in GiB) of EBS volumes attached to data nodes.

", @@ -1444,6 +1473,16 @@ "DescribeInstanceTypeLimitsResponse$LimitsByRole": "

Map that contains all applicable instance type limits.data refers to data nodes.master refers to dedicated master nodes.

" } }, + "ListDomainMaintenancesRequest": { + "base": "

Container for the parameters to the ListDomainMaintenances operation.

", + "refs": { + } + }, + "ListDomainMaintenancesResponse": { + "base": "

The result of a ListDomainMaintenances request. Contains information about the requested actions.

", + "refs": { + } + }, "ListDomainNamesRequest": { "base": "

Container for the parameters to the ListDomainNames operation.

", "refs": { @@ -1581,6 +1620,30 @@ "UpdateScheduledActionRequest$DesiredStartTime": "

The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set ScheduleAt to TIMESTAMP.

" } }, + "MaintenanceStatus": { + "base": null, + "refs": { + "DomainMaintenanceDetails$Status": "

The status of the action.

", + "GetDomainMaintenanceStatusResponse$Status": "

Contains status of the maintenance action.

", + "ListDomainMaintenancesRequest$Status": "

The status of the action.

" + } + }, + "MaintenanceStatusMessage": { + "base": null, + "refs": { + "DomainMaintenanceDetails$StatusMessage": "

The status message of the action.

", + "GetDomainMaintenanceStatusResponse$StatusMessage": "

Contains status message of the maintenance action.

" + } + }, + "MaintenanceType": { + "base": null, + "refs": { + "DomainMaintenanceDetails$Action": "

The name of the action.

", + "GetDomainMaintenanceStatusResponse$Action": "

Contains action name.

", + "ListDomainMaintenancesRequest$Action": "

The name of the action.

", + "StartDomainMaintenanceRequest$Action": "

The name of the action.

" + } + }, "MasterNodeStatus": { "base": null, "refs": { @@ -1604,6 +1667,7 @@ "DescribeReservedInstancesRequest$MaxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", "GetPackageVersionHistoryRequest$MaxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", "GetUpgradeHistoryRequest$MaxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", + "ListDomainMaintenancesRequest$MaxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", "ListDomainsForPackageRequest$MaxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", "ListInstanceTypeDetailsRequest$MaxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", "ListPackagesForDomainRequest$MaxResults": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", @@ -1645,6 +1709,8 @@ "DescribeReservedInstancesRequest$NextToken": "

If your initial DescribeReservedInstances operation returns a nextToken, you can include the returned nextToken in subsequent DescribeReservedInstances operations, which returns results in the next page.

", "GetPackageVersionHistoryRequest$NextToken": "

If your initial GetPackageVersionHistory operation returns a nextToken, you can include the returned nextToken in subsequent GetPackageVersionHistory operations, which returns results in the next page.

", "GetUpgradeHistoryRequest$NextToken": "

If your initial GetUpgradeHistory operation returns a nextToken, you can include the returned nextToken in subsequent GetUpgradeHistory operations, which returns results in the next page.

", + "ListDomainMaintenancesRequest$NextToken": "

If your initial ListDomainMaintenances operation returns a nextToken, you can include the returned nextToken in subsequent ListDomainMaintenances operations, which returns results in the next page.

", + "ListDomainMaintenancesResponse$NextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", "ListDomainsForPackageRequest$NextToken": "

If your initial ListDomainsForPackage operation returns a nextToken, you can include the returned nextToken in subsequent ListDomainsForPackage operations, which returns results in the next page.

", "ListInstanceTypeDetailsRequest$NextToken": "

If your initial ListInstanceTypeDetails operation returns a nextToken, you can include the returned nextToken in subsequent ListInstanceTypeDetails operations, which returns results in the next page.

", "ListInstanceTypeDetailsResponse$NextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", @@ -1664,7 +1730,10 @@ "NodeId": { "base": null, "refs": { - "DomainNodesStatus$NodeId": "

The ID of the node.

" + "DomainMaintenanceDetails$NodeId": "

Id of the data node.

", + "DomainNodesStatus$NodeId": "

The ID of the node.

", + "GetDomainMaintenanceStatusResponse$NodeId": "

Contains node id of maintenance action.

", + "StartDomainMaintenanceRequest$NodeId": "

Id of the data node.

" } }, "NodeStatus": { @@ -2019,6 +2088,14 @@ "refs": { } }, + "RequestId": { + "base": null, + "refs": { + "DomainMaintenanceDetails$MaintenanceId": "

Id of the requested action.

", + "GetDomainMaintenanceStatusRequest$MaintenanceId": "

The request id of the maintenance action.

", + "StartDomainMaintenanceResponse$MaintenanceId": "

Contains request id of requested action.

" + } + }, "ReservationToken": { "base": null, "refs": { @@ -2251,6 +2328,16 @@ "AutoTuneMaintenanceSchedule$StartAt": "

The Epoch timestamp at which the Auto-Tune maintenance schedule starts.

" } }, + "StartDomainMaintenanceRequest": { + "base": "

Container for the parameters to the StartDomainMaintenance operation.

", + "refs": { + } + }, + "StartDomainMaintenanceResponse": { + "base": "

The result of a StartDomainMaintenance request. Contains information about the requested action.

", + "refs": { + } + }, "StartServiceSoftwareUpdateRequest": { "base": "

Container for the request parameters to the StartServiceSoftwareUpdate operation.

", "refs": { @@ -2465,6 +2552,10 @@ "AutoTuneStatus$CreationDate": "

Date and time when Auto-Tune was enabled for the domain.

", "AutoTuneStatus$UpdateDate": "

Date and time when the Auto-Tune options were last updated for the domain.

", "ChangeProgressStatusDetails$StartTime": "

The time at which the configuration change is made on the domain.

", + "DomainMaintenanceDetails$CreatedAt": "

Contains time at which action created.

", + "DomainMaintenanceDetails$UpdatedAt": "

Contains time at which action updated.

", + "GetDomainMaintenanceStatusResponse$CreatedAt": "

Contains time at which action created.

", + "GetDomainMaintenanceStatusResponse$UpdatedAt": "

Contains time at which action updated.

", "OptionStatus$CreationDate": "

The timestamp when the entity was created.

", "OptionStatus$UpdateDate": "

The timestamp of the last time the entity was updated.

", "ReservedInstance$StartTime": "

The date and time when the reservation was purchased.

" diff --git a/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json b/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json index 4d07181f862..992998e7af5 100644 --- a/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json +++ b/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/opensearch/2021-01-01/paginators-1.json b/models/apis/opensearch/2021-01-01/paginators-1.json index cd834352dc8..d4ea79e70fc 100644 --- a/models/apis/opensearch/2021-01-01/paginators-1.json +++ b/models/apis/opensearch/2021-01-01/paginators-1.json @@ -40,6 +40,11 @@ "output_token": "NextToken", "limit_key": "MaxResults" }, + "ListDomainMaintenances": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListDomainsForPackage": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index ec9fcdc3e33..2418eae3d13 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -5019,7 +5019,8 @@ "ThemeArn":{"shape":"Arn"}, "Tags":{"shape":"TagList"}, "Definition":{"shape":"AnalysisDefinition"}, - "ValidationStrategy":{"shape":"ValidationStrategy"} + "ValidationStrategy":{"shape":"ValidationStrategy"}, + "FolderArns":{"shape":"FolderArnList"} } }, "CreateAnalysisResponse":{ @@ -5069,7 +5070,8 @@ "DashboardPublishOptions":{"shape":"DashboardPublishOptions"}, "ThemeArn":{"shape":"Arn"}, "Definition":{"shape":"DashboardVersionDefinition"}, - "ValidationStrategy":{"shape":"ValidationStrategy"} + "ValidationStrategy":{"shape":"ValidationStrategy"}, + "FolderArns":{"shape":"FolderArnList"} } }, "CreateDashboardResponse":{ @@ -5114,7 +5116,8 @@ "ColumnLevelPermissionRules":{"shape":"ColumnLevelPermissionRuleList"}, "Tags":{"shape":"TagList"}, "DataSetUsageConfiguration":{"shape":"DataSetUsageConfiguration"}, - "DatasetParameters":{"shape":"DatasetParameterList"} + "DatasetParameters":{"shape":"DatasetParameterList"}, + "FolderArns":{"shape":"FolderArnList"} } }, "CreateDataSetResponse":{ @@ -5153,7 +5156,8 @@ "Permissions":{"shape":"ResourcePermissionList"}, "VpcConnectionProperties":{"shape":"VpcConnectionProperties"}, "SslProperties":{"shape":"SslProperties"}, - "Tags":{"shape":"TagList"} + "Tags":{"shape":"TagList"}, + "FolderArns":{"shape":"FolderArnList"} } }, "CreateDataSourceResponse":{ @@ -6276,15 +6280,18 @@ "SortPaths":{"shape":"DataPathValueList"} } }, + "DataPathType":{ + "type":"structure", + "members":{ + "PivotTableDataPathType":{"shape":"PivotTableDataPathType"} + } + }, "DataPathValue":{ "type":"structure", - "required":[ - "FieldId", - "FieldValue" - ], "members":{ "FieldId":{"shape":"FieldId"}, - "FieldValue":{"shape":"FieldValue"} + "FieldValue":{"shape":"FieldValue"}, + "DataPathType":{"shape":"DataPathType"} } }, "DataPathValueList":{ @@ -6553,7 +6560,9 @@ "TwitterParameters":{"shape":"TwitterParameters"}, "AmazonOpenSearchParameters":{"shape":"AmazonOpenSearchParameters"}, "ExasolParameters":{"shape":"ExasolParameters"}, - "DatabricksParameters":{"shape":"DatabricksParameters"} + "DatabricksParameters":{"shape":"DatabricksParameters"}, + "StarburstParameters":{"shape":"StarburstParameters"}, + "TrinoParameters":{"shape":"TrinoParameters"} } }, "DataSourceParametersList":{ @@ -9970,6 +9979,11 @@ "SharingModel":{"shape":"SharingModel"} } }, + "FolderArnList":{ + "type":"list", + "member":{"shape":"Arn"}, + "max":1 + }, "FolderColumnList":{ "type":"list", "member":{"shape":"String"}, @@ -10036,7 +10050,10 @@ }, "FolderType":{ "type":"string", - "enum":["SHARED"] + "enum":[ + "SHARED", + "RESTRICTED" + ] }, "Font":{ "type":"structure", @@ -14128,6 +14145,15 @@ "member":{"shape":"PivotTableDataPathOption"}, "max":100 }, + "PivotTableDataPathType":{ + "type":"string", + "enum":[ + "HIERARCHY_ROWS_LAYOUT_COLUMN", + "MULTIPLE_ROW_METRICS_COLUMN", + "EMPTY_COLUMN_HEADER", + "COUNT_METRIC_COLUMN" + ] + }, "PivotTableDimensionList":{ "type":"list", "member":{"shape":"DimensionField"}, @@ -14301,7 +14327,8 @@ "CustomLabel":{"shape":"String"}, "TotalCellStyle":{"shape":"TableCellStyle"}, "ValueCellStyle":{"shape":"TableCellStyle"}, - "MetricHeaderCellStyle":{"shape":"TableCellStyle"} + "MetricHeaderCellStyle":{"shape":"TableCellStyle"}, + "TotalAggregationOptions":{"shape":"TotalAggregationOptionList"} } }, "PixelLength":{"type":"string"}, @@ -14668,7 +14695,8 @@ "members":{ "StaticConfiguration":{"shape":"ReferenceLineStaticDataConfiguration"}, "DynamicConfiguration":{"shape":"ReferenceLineDynamicDataConfiguration"}, - "AxisBinding":{"shape":"AxisBinding"} + "AxisBinding":{"shape":"AxisBinding"}, + "SeriesType":{"shape":"ReferenceLineSeriesType"} } }, "ReferenceLineDynamicDataConfiguration":{ @@ -14722,6 +14750,13 @@ "DOTTED" ] }, + "ReferenceLineSeriesType":{ + "type":"string", + "enum":[ + "BAR", + "LINE" + ] + }, "ReferenceLineStaticDataConfiguration":{ "type":"structure", "required":["Value"], @@ -16124,6 +16159,17 @@ "MEDIAN" ] }, + "SimpleTotalAggregationFunction":{ + "type":"string", + "enum":[ + "DEFAULT", + "SUM", + "AVERAGE", + "MIN", + "MAX", + "NONE" + ] + }, "SiteBaseUrl":{ "type":"string", "max":1024, @@ -16436,6 +16482,27 @@ "DisableSsl":{"shape":"Boolean"} } }, + "StarburstParameters":{ + "type":"structure", + "required":[ + "Host", + "Port", + "Catalog" + ], + "members":{ + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "Catalog":{"shape":"Catalog"}, + "ProductType":{"shape":"StarburstProductType"} + } + }, + "StarburstProductType":{ + "type":"string", + "enum":[ + "GALAXY", + "ENTERPRISE" + ] + }, "StartAssetBundleExportJobRequest":{ "type":"structure", "required":[ @@ -17430,7 +17497,8 @@ "Column":{"shape":"ColumnIdentifier"}, "Value":{"shape":"Timestamp"}, "ParameterName":{"shape":"ParameterName"}, - "TimeGranularity":{"shape":"TimeGranularity"} + "TimeGranularity":{"shape":"TimeGranularity"}, + "RollingDate":{"shape":"RollingDateConfiguration"} } }, "TimeGranularity":{ @@ -17877,6 +17945,28 @@ "Value":{"shape":"MeasureField"} } }, + "TotalAggregationFunction":{ + "type":"structure", + "members":{ + "SimpleTotalAggregationFunction":{"shape":"SimpleTotalAggregationFunction"} + } + }, + "TotalAggregationOption":{ + "type":"structure", + "required":[ + "FieldId", + "TotalAggregationFunction" + ], + "members":{ + "FieldId":{"shape":"FieldId"}, + "TotalAggregationFunction":{"shape":"TotalAggregationFunction"} + } + }, + "TotalAggregationOptionList":{ + "type":"list", + "member":{"shape":"TotalAggregationOption"}, + "max":200 + }, "TotalOptions":{ "type":"structure", "members":{ @@ -17884,7 +17974,8 @@ "Placement":{"shape":"TableTotalsPlacement"}, "ScrollStatus":{"shape":"TableTotalsScrollStatus"}, "CustomLabel":{"shape":"String"}, - "TotalCellStyle":{"shape":"TableCellStyle"} + "TotalCellStyle":{"shape":"TableCellStyle"}, + "TotalAggregationOptions":{"shape":"TotalAggregationOptionList"} } }, "TransformOperation":{ @@ -17969,6 +18060,19 @@ "Visibility":{"shape":"Visibility"} } }, + "TrinoParameters":{ + "type":"structure", + "required":[ + "Host", + "Port", + "Catalog" + ], + "members":{ + "Host":{"shape":"Host"}, + "Port":{"shape":"Port"}, + "Catalog":{"shape":"Catalog"} + } + }, "TwitterParameters":{ "type":"structure", "required":[ diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index 96a33d4d0c3..0241f2a6361 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -579,6 +579,7 @@ "DescribeTopicRefreshScheduleResponse$DatasetArn": "

The Amazon Resource Name (ARN) of the dataset.

", "DescribeTopicResponse$Arn": "

The Amazon Resource Name (ARN) of the topic.

", "Folder$Arn": "

The Amazon Resource Name (ARN) for the folder.

", + "FolderArnList$member": null, "FolderSummary$Arn": "

The Amazon Resource Name (ARN) of the folder.

", "GenerateEmbedUrlForAnonymousUserResponse$AnonymousUserArn": "

The Amazon Resource Name (ARN) to use for the anonymous Amazon QuickSight user.

", "GenerateEmbedUrlForRegisteredUserRequest$UserArn": "

The Amazon Resource Name for the registered user.

", @@ -1303,7 +1304,7 @@ "DataFieldSeriesItem$AxisBinding": "

The axis that you are binding the field to.

", "FieldSeriesItem$AxisBinding": "

The axis that you are binding the field to.

", "LineChartDefaultSeriesSettings$AxisBinding": "

The axis to which you are binding all line series to.

", - "ReferenceLineDataConfiguration$AxisBinding": "

The axis binding type of the reference line. Choose one of the following options:

" + "ReferenceLineDataConfiguration$AxisBinding": "

The axis binding type of the reference line. Choose one of the following options:

" } }, "AxisDataOptions": { @@ -1700,7 +1701,9 @@ "Catalog": { "base": null, "refs": { - "PrestoParameters$Catalog": "

Catalog.

" + "PrestoParameters$Catalog": "

Catalog.

", + "StarburstParameters$Catalog": "

The catalog name for the Starburst data source.

", + "TrinoParameters$Catalog": "

The catalog name for the Trino data source.

" } }, "CategoricalAggregationFunction": { @@ -2935,6 +2938,12 @@ "PivotTableSortBy$DataPath": "

The data path sort (data path value, direction) for the pivot table sort by options.

" } }, + "DataPathType": { + "base": "

The type of the data path value.

", + "refs": { + "DataPathValue$DataPathType": "

The type configuration of the field.

" + } + }, "DataPathValue": { "base": "

The data path that needs to be sorted.

", "refs": { @@ -3223,9 +3232,9 @@ } }, "DatabricksParameters": { - "base": "

The required parameters that are needed to connect to a Databricks data source.

", + "base": "

The parameters that are required to connect to a Databricks data source.

", "refs": { - "DataSourceParameters$DatabricksParameters": "

The required parameters that are needed to connect to a Databricks data source.

" + "DataSourceParameters$DatabricksParameters": "

The parameters that are required to connect to a Databricks data source.

" } }, "DatasetMetadata": { @@ -4545,6 +4554,7 @@ "TableCellConditionalFormatting$FieldId": "

The field ID of the cell for conditional formatting.

", "TableFieldOption$FieldId": "

The field ID for a table field.

", "TableFieldOrderList$member": null, + "TotalAggregationOption$FieldId": "

The field id that's associated with the total aggregation option.

", "UnaggregatedField$FieldId": "

The custom field ID.

" } }, @@ -4855,6 +4865,15 @@ "DescribeFolderResponse$Folder": "

Information about the folder.

" } }, + "FolderArnList": { + "base": null, + "refs": { + "CreateAnalysisRequest$FolderArns": "

When you create the analysis, Amazon QuickSight adds the analysis to these folders.

", + "CreateDashboardRequest$FolderArns": "

When you create the dashboard, Amazon QuickSight adds the dashboard to these folders.

", + "CreateDataSetRequest$FolderArns": "

When you create the dataset, Amazon QuickSight adds the dataset to these folders.

", + "CreateDataSourceRequest$FolderArns": "

When you create the data source, Amazon QuickSight adds the data source to these folders.

" + } + }, "FolderColumnList": { "base": null, "refs": { @@ -5698,7 +5717,9 @@ "SnowflakeParameters$Host": "

Host.

", "SparkParameters$Host": "

Host.

", "SqlServerParameters$Host": "

Host.

", - "TeradataParameters$Host": "

Host.

" + "StarburstParameters$Host": "

The host name of the Starburst data source.

", + "TeradataParameters$Host": "

Host.

", + "TrinoParameters$Host": "

The host name of the Trino data source.

" } }, "IAMPolicyAssignment": { @@ -7457,7 +7478,7 @@ "RelativeDatesFilter$ParameterName": "

The parameter whose value should be used for the filter value.

", "SetParameterValueConfiguration$DestinationParameterName": "

The destination parameter name of the SetParameterValueConfiguration.

", "StringParameterDeclaration$Name": "

The name of the parameter that is being declared.

", - "TimeEqualityFilter$ParameterName": "

The parameter whose value should be used for the filter value.

This field is mutually exclusive to Value.

", + "TimeEqualityFilter$ParameterName": "

The parameter whose value should be used for the filter value.

This field is mutually exclusive to Value and RollingDate.

", "TimeRangeFilterValue$Parameter": "

The parameter type input value.

", "TopBottomFilter$ParameterName": "

The parameter whose value should be used for the filter value.

" } @@ -7719,6 +7740,12 @@ "PivotTableFieldOptions$DataPathOptions": "

The data path options for the pivot table field options.

" } }, + "PivotTableDataPathType": { + "base": null, + "refs": { + "DataPathType$PivotTableDataPathType": "

The type of data path value utilized in a pivot table. Choose one of the following options:

" + } + }, "PivotTableDimensionList": { "base": null, "refs": { @@ -7894,7 +7921,9 @@ "PrestoParameters$Port": "

Port.

", "SparkParameters$Port": "

Port.

", "SqlServerParameters$Port": "

Port.

", - "TeradataParameters$Port": "

Port.

" + "StarburstParameters$Port": "

The port for the Starburst data source.

", + "TeradataParameters$Port": "

Port.

", + "TrinoParameters$Port": "

The port for the Trino data source.

" } }, "PositiveInteger": { @@ -8201,6 +8230,12 @@ "ReferenceLineStyleConfiguration$Pattern": "

The pattern type of the line style. Choose one of the following options:

" } }, + "ReferenceLineSeriesType": { + "base": null, + "refs": { + "ReferenceLineDataConfiguration$SeriesType": "

The series type of the reference line data configuration. Choose one of the following options:

" + } + }, "ReferenceLineStaticDataConfiguration": { "base": "

The static data configuration of the reference line data configuration.

", "refs": { @@ -8596,6 +8631,7 @@ "base": "

The rolling date configuration of a date time filter.

", "refs": { "DateTimeDefaultValues$RollingDate": "

The rolling date of the DataTimeDefaultValues. The date is determined from the dataset based on input expression.

", + "TimeEqualityFilter$RollingDate": "

The rolling date input for the TimeEquality filter.

This field is mutually exclusive to Value and ParameterName.

", "TimeRangeFilterValue$RollingDate": "

The rolling date input value.

" } }, @@ -9587,6 +9623,12 @@ "NumericalAggregationFunction$SimpleNumericalAggregation": "

Built-in aggregation functions for numerical values.

" } }, + "SimpleTotalAggregationFunction": { + "base": null, + "refs": { + "TotalAggregationFunction$SimpleTotalAggregationFunction": "

A built in aggregation function for total values.

" + } + }, "SiteBaseUrl": { "base": null, "refs": { @@ -9869,6 +9911,18 @@ "UpdateDataSourceRequest$SslProperties": "

Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.

" } }, + "StarburstParameters": { + "base": "

The parameters that are required to connect to a Starburst data source.

", + "refs": { + "DataSourceParameters$StarburstParameters": "

The parameters that are required to connect to a Starburst data source.

" + } + }, + "StarburstProductType": { + "base": null, + "refs": { + "StarburstParameters$ProductType": "

The product type for the Starburst data source.

" + } + }, "StartAssetBundleExportJobRequest": { "base": null, "refs": { @@ -11297,7 +11351,7 @@ "ThemeSummary$LastUpdatedTime": "

The last date and time that this theme was updated.

", "ThemeVersion$CreatedTime": "

The date and time that this theme version was created.

", "ThemeVersionSummary$CreatedTime": "

The date and time that this theme version was created.

", - "TimeEqualityFilter$Value": "

The value of a TimeEquality filter.

This field is mutually exclusive to ParameterName.

", + "TimeEqualityFilter$Value": "

The value of a TimeEquality filter.

This field is mutually exclusive to RollingDate and ParameterName.

", "TimeRangeDrillDownFilter$RangeMinimum": "

The minimum value for the filter value range.

", "TimeRangeDrillDownFilter$RangeMaximum": "

The maximum value for the filter value range.

", "TimeRangeFilterValue$StaticValue": "

The static input value.

", @@ -11603,6 +11657,25 @@ "Computation$TotalAggregation": "

The total aggregation computation configuration.

" } }, + "TotalAggregationFunction": { + "base": "

An aggregation function that aggregates the total values of a measure.

", + "refs": { + "TotalAggregationOption$TotalAggregationFunction": "

The total aggregation function that you want to set for a specified field id.

" + } + }, + "TotalAggregationOption": { + "base": "

The total aggregation settings map of a field id.

", + "refs": { + "TotalAggregationOptionList$member": null + } + }, + "TotalAggregationOptionList": { + "base": null, + "refs": { + "PivotTotalOptions$TotalAggregationOptions": "

The total aggregation options for each value field.

", + "TotalOptions$TotalAggregationOptions": "

The total aggregation settings for each value field.

" + } + }, "TotalOptions": { "base": "

The total options for a table visual.

", "refs": { @@ -11670,6 +11743,12 @@ "KPIOptions$TrendArrows": "

The options that determine the presentation of trend arrows in a KPI visual.

" } }, + "TrinoParameters": { + "base": "

The parameters that are required to connect to a Trino data source.

", + "refs": { + "DataSourceParameters$TrinoParameters": "

The parameters that are required to connect to a Trino data source.

" + } + }, "TwitterParameters": { "base": "

The parameters for Twitter.

", "refs": { diff --git a/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json b/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json index 5694f5ea82a..108f09d33cd 100644 --- a/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json +++ b/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/secretsmanager/2017-10-17/docs-2.json b/models/apis/secretsmanager/2017-10-17/docs-2.json index e7b27e47c96..e2a4257109e 100644 --- a/models/apis/secretsmanager/2017-10-17/docs-2.json +++ b/models/apis/secretsmanager/2017-10-17/docs-2.json @@ -19,7 +19,7 @@ "RestoreSecret": "

Cancels the scheduled deletion of a secret by removing the DeletedDate time stamp. You can access a secret again after it has been restored.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:RestoreSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "RotateSecret": "

Configures and starts the asynchronous process of rotating the secret. For information about rotation, see Rotate secrets in the Secrets Manager User Guide. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret.

When rotation is successful, the AWSPENDING staging label might be attached to the same version as the AWSCURRENT version, or it might not be attached to any version. If the AWSPENDING staging label is present but not attached to the same version as AWSCURRENT, then any later invocation of RotateSecret assumes that a previous rotation request is still in progress and returns an error. When rotation is unsuccessful, the AWSPENDING staging label might be attached to an empty secret version. For more information, see Troubleshoot rotation in the Secrets Manager User Guide.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:RotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. You also need lambda:InvokeFunction permissions on the rotation function. For more information, see Permissions for rotation.

", "StopReplicationToReplica": "

Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.

You must call this operation from the Region in which you want to promote the replica to a primary secret.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:StopReplicationToReplica. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", - "TagResource": "

Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.

The following restrictions apply to tags:

If you use tags as part of your security strategy, then adding or removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:TagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", + "TagResource": "

Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.

For tag quotas and naming restrictions, see Service quotas for Tagging in the Amazon Web Services General Reference guide.

If you use tags as part of your security strategy, then adding or removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:TagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "UntagResource": "

Removes specific tags from a secret.

This operation is idempotent. If a requested tag is not attached to the secret, no error is returned and the secret metadata is unchanged.

If you use tags as part of your security strategy, then removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:UntagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", "UpdateSecret": "

Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue.

To change the rotation configuration of a secret, use RotateSecret instead.

To change a secret so that it is managed by another service, you need to recreate the secret in that service. See Secrets Manager secrets managed by other Amazon Web Services services.

We recommend you avoid calling UpdateSecret at a sustained rate of more than once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

If you include SecretString or SecretBinary to create a new secret version, Secrets Manager automatically moves the staging label AWSCURRENT to the new version. Then it attaches the label AWSPREVIOUS to the version that AWSCURRENT was removed from.

If you call this operation with a ClientRequestToken that matches an existing version's VersionId, the operation results in an error. You can't modify an existing version, you can only create a new version. To remove a version, remove all staging labels from it. See UpdateSecretVersionStage.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:UpdateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. If you use a customer managed key, you must also have kms:GenerateDataKey, kms:Encrypt, and kms:Decrypt permissions on the key. If you change the KMS key and you don't have kms:Encrypt permission to the new key, Secrets Manager does not re-ecrypt existing secret versions with the new key. For more information, see Secret encryption and decryption.

", "UpdateSecretVersionStage": "

Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to track a version as it progresses through the secret rotation process. Each staging label can be attached to only one version at a time. To add a staging label to a version when it is already attached to another version, Secrets Manager first removes it from the other version first and then attaches it to this one. For more information about versions and staging labels, see Concepts: Version.

The staging labels that you specify in the VersionStage parameter are added to the existing list of staging labels for the version.

You can move the AWSCURRENT staging label to this version by including it in this call.

Whenever you move AWSCURRENT, Secrets Manager automatically moves the label AWSPREVIOUS to the version that AWSCURRENT was removed from.

If this action results in the last label being removed from a version, then the version is considered to be 'deprecated' and can be deleted by Secrets Manager.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:UpdateSecretVersionStage. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

", @@ -65,10 +65,10 @@ "ClientRequestTokenType": { "base": null, "refs": { - "CreateSecretRequest$ClientRequestToken": "

If you include SecretString or SecretBinary, then Secrets Manager creates an initial version for the secret, and this parameter specifies the unique identifier for the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for the new version and include the value in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during a rotation. We recommend that you generate a UUID-type value to ensure uniqueness of your versions within the specified secret.

This value becomes the VersionId of the new version.

", - "PutSecretValueRequest$ClientRequestToken": "

A unique identifier for the new version of the secret.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty because they generate a random UUID for you. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for new versions and include that value in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during the Lambda rotation function processing. We recommend that you generate a UUID-type value to ensure uniqueness within the specified secret.

This value becomes the VersionId of the new version.

", - "RotateSecretRequest$ClientRequestToken": "

A unique identifier for the new version of the secret that helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during rotation. This value becomes the VersionId of the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDK to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes that in the request for this parameter. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for new versions and include that value in the request.

You only need to specify this value if you implement your own retry logic and you want to ensure that Secrets Manager doesn't attempt to create a secret version twice. We recommend that you generate a UUID-type value to ensure uniqueness within the specified secret.

", - "UpdateSecretRequest$ClientRequestToken": "

If you include SecretString or SecretBinary, then Secrets Manager creates a new version for the secret, and this parameter specifies the unique identifier for the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for the new version and include the value in the request.

This value becomes the VersionId of the new version.

" + "CreateSecretRequest$ClientRequestToken": "

If you include SecretString or SecretBinary, then Secrets Manager creates an initial version for the secret, and this parameter specifies the unique identifier for the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request.

If you generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken and include it in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during a rotation. We recommend that you generate a UUID-type value to ensure uniqueness of your versions within the specified secret.

This value becomes the VersionId of the new version.

", + "PutSecretValueRequest$ClientRequestToken": "

A unique identifier for the new version of the secret.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request.

If you generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken and include it in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during a rotation. We recommend that you generate a UUID-type value to ensure uniqueness of your versions within the specified secret.

This value becomes the VersionId of the new version.

", + "RotateSecretRequest$ClientRequestToken": "

A unique identifier for the new version of the secret. You only need to specify this value if you implement your own retry logic and you want to ensure that Secrets Manager doesn't attempt to create a secret version twice.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request.

If you generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken and include it in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during a rotation. We recommend that you generate a UUID-type value to ensure uniqueness of your versions within the specified secret.

", + "UpdateSecretRequest$ClientRequestToken": "

If you include SecretString or SecretBinary, then Secrets Manager creates a new version for the secret, and this parameter specifies the unique identifier for the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request.

If you generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken and include it in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during a rotation. We recommend that you generate a UUID-type value to ensure uniqueness of your versions within the specified secret.

" } }, "CreateSecretRequest": { @@ -776,7 +776,7 @@ "TagListType": { "base": null, "refs": { - "CreateSecretRequest$Tags": "

A list of tags to attach to the secret. Each tag is a key and value pair of strings in a JSON text string, for example:

[{\"Key\":\"CostCenter\",\"Value\":\"12345\"},{\"Key\":\"environment\",\"Value\":\"production\"}]

Secrets Manager tag key names are case sensitive. A tag with the key \"ABC\" is a different tag from one with key \"abc\".

If you check tags in permissions policies as part of your security strategy, then adding or removing a tag can change permissions. If the completion of this operation would result in you losing your permissions for this secret, then Secrets Manager blocks the operation and returns an Access Denied error. For more information, see Control access to secrets using tags and Limit access to identities with tags that match secrets' tags.

For information about how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters. If your command-line tool or SDK requires quotation marks around the parameter, you should use single quotes to avoid confusion with the double quotes required in the JSON text.

The following restrictions apply to tags:

", + "CreateSecretRequest$Tags": "

A list of tags to attach to the secret. Each tag is a key and value pair of strings in a JSON text string, for example:

[{\"Key\":\"CostCenter\",\"Value\":\"12345\"},{\"Key\":\"environment\",\"Value\":\"production\"}]

Secrets Manager tag key names are case sensitive. A tag with the key \"ABC\" is a different tag from one with key \"abc\".

If you check tags in permissions policies as part of your security strategy, then adding or removing a tag can change permissions. If the completion of this operation would result in you losing your permissions for this secret, then Secrets Manager blocks the operation and returns an Access Denied error. For more information, see Control access to secrets using tags and Limit access to identities with tags that match secrets' tags.

For information about how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters. If your command-line tool or SDK requires quotation marks around the parameter, you should use single quotes to avoid confusion with the double quotes required in the JSON text.

For tag quotas and naming restrictions, see Service quotas for Tagging in the Amazon Web Services General Reference guide.

", "DescribeSecretResponse$Tags": "

The list of tags attached to the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource.

", "SecretListEntry$Tags": "

The list of user-defined tags associated with the secret. To add tags to a secret, use TagResource . To remove tags, use UntagResource .

", "TagResourceRequest$Tags": "

The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a Key and a Value.

For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.

" diff --git a/models/apis/secretsmanager/2017-10-17/endpoint-rule-set-1.json b/models/apis/secretsmanager/2017-10-17/endpoint-rule-set-1.json index f4a901c5bd6..0cfc46a8094 100644 --- a/models/apis/secretsmanager/2017-10-17/endpoint-rule-set-1.json +++ b/models/apis/secretsmanager/2017-10-17/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://secretsmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://secretsmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://secretsmanager-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://secretsmanager-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://secretsmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://secretsmanager.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://secretsmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://secretsmanager.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/servicecatalog/2015-12-10/api-2.json b/models/apis/servicecatalog/2015-12-10/api-2.json index 90df52e0c4d..6ef77f20036 100644 --- a/models/apis/servicecatalog/2015-12-10/api-2.json +++ b/models/apis/servicecatalog/2015-12-10/api-2.json @@ -3119,7 +3119,8 @@ "CLOUD_FORMATION_TEMPLATE", "MARKETPLACE", "TERRAFORM_OPEN_SOURCE", - "TERRAFORM_CLOUD" + "TERRAFORM_CLOUD", + "EXTERNAL" ], "max":8191 }, @@ -3542,7 +3543,8 @@ "MARKETPLACE_AMI", "MARKETPLACE_CAR", "TERRAFORM_OPEN_SOURCE", - "TERRAFORM_CLOUD" + "TERRAFORM_CLOUD", + "EXTERNAL" ] }, "ProvisioningArtifactView":{ diff --git a/models/apis/servicecatalog/2015-12-10/docs-2.json b/models/apis/servicecatalog/2015-12-10/docs-2.json index ec3df51c8ff..fc5b846d848 100644 --- a/models/apis/servicecatalog/2015-12-10/docs-2.json +++ b/models/apis/servicecatalog/2015-12-10/docs-2.json @@ -4,7 +4,7 @@ "operations": { "AcceptPortfolioShare": "

Accepts an offer to share the specified portfolio.

", "AssociateBudgetWithResource": "

Associates the specified budget with the specified resource.

", - "AssociatePrincipalWithPortfolio": "

Associates the specified principal ARN with the specified portfolio.

If you share the portfolio with principal name sharing enabled, the PrincipalARN association is included in the share.

The PortfolioID, PrincipalARN, and PrincipalType parameters are required.

You can associate a maximum of 10 Principals with a portfolio using PrincipalType as IAM_PATTERN

When you associate a principal with portfolio, a potential privilege escalation path may occur when that portfolio is then shared with other accounts. For a user in a recipient account who is not an Service Catalog Admin, but still has the ability to create Principals (Users/Groups/Roles), that user could create a role that matches a principal name association for the portfolio. Although this user may not know which principal names are associated through Service Catalog, they may be able to guess the user. If this potential escalation path is a concern, then Service Catalog recommends using PrincipalType as IAM. With this configuration, the PrincipalARN must already exist in the recipient account before it can be associated.

", + "AssociatePrincipalWithPortfolio": "

Associates the specified principal ARN with the specified portfolio.

If you share the portfolio with principal name sharing enabled, the PrincipalARN association is included in the share.

The PortfolioID, PrincipalARN, and PrincipalType parameters are required.

You can associate a maximum of 10 Principals with a portfolio using PrincipalType as IAM_PATTERN.

When you associate a principal with portfolio, a potential privilege escalation path may occur when that portfolio is then shared with other accounts. For a user in a recipient account who is not an Service Catalog Admin, but still has the ability to create Principals (Users/Groups/Roles), that user could create a role that matches a principal name association for the portfolio. Although this user may not know which principal names are associated through Service Catalog, they may be able to guess the user. If this potential escalation path is a concern, then Service Catalog recommends using PrincipalType as IAM. With this configuration, the PrincipalARN must already exist in the recipient account before it can be associated.

", "AssociateProductWithPortfolio": "

Associates the specified product with the specified portfolio.

A delegated admin is authorized to invoke this command.

", "AssociateServiceActionWithProvisioningArtifact": "

Associates a self-service action with a provisioning artifact.

", "AssociateTagOptionWithResource": "

Associate the specified TagOption with the specified portfolio or product.

", @@ -2229,9 +2229,9 @@ "ProvisionedProductType": { "base": null, "refs": { - "ProvisionedProductAttribute$Type": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

", - "ProvisionedProductDetail$Type": "

The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET.

", - "RecordDetail$ProvisionedProductType": "

The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, and TERRAFORM_CLOUD.

" + "ProvisionedProductAttribute$Type": "

The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL.

", + "ProvisionedProductDetail$Type": "

The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL.

", + "RecordDetail$ProvisionedProductType": "

The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL.

" } }, "ProvisionedProductViewFilterBy": { @@ -2416,8 +2416,8 @@ "ProvisioningArtifactType": { "base": null, "refs": { - "ProvisioningArtifactDetail$Type": "

The type of provisioning artifact.

CLOUD_FORMATION_TEMPLATE - CloudFormation template

", - "ProvisioningArtifactProperties$Type": "

The type of provisioning artifact.

" + "ProvisioningArtifactDetail$Type": "

The type of provisioning artifact.

", + "ProvisioningArtifactProperties$Type": "

The type of provisioning artifact.

" } }, "ProvisioningArtifactView": { diff --git a/models/apis/servicecatalog/2015-12-10/endpoint-rule-set-1.json b/models/apis/servicecatalog/2015-12-10/endpoint-rule-set-1.json index 510eb10b1af..9fdb8c659c1 100644 --- a/models/apis/servicecatalog/2015-12-10/endpoint-rule-set-1.json +++ b/models/apis/servicecatalog/2015-12-10/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/verifiedpermissions/2021-12-01/api-2.json b/models/apis/verifiedpermissions/2021-12-01/api-2.json index 3441b67a476..b2ff394853c 100644 --- a/models/apis/verifiedpermissions/2021-12-01/api-2.json +++ b/models/apis/verifiedpermissions/2021-12-01/api-2.json @@ -24,6 +24,7 @@ "errors":[ {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, @@ -42,6 +43,7 @@ "errors":[ {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, @@ -60,6 +62,7 @@ "errors":[ {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, {"shape":"InternalServerException"} @@ -77,6 +80,7 @@ "errors":[ {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, diff --git a/models/apis/verifiedpermissions/2021-12-01/docs-2.json b/models/apis/verifiedpermissions/2021-12-01/docs-2.json index 28a511f99e6..f17a02166c8 100644 --- a/models/apis/verifiedpermissions/2021-12-01/docs-2.json +++ b/models/apis/verifiedpermissions/2021-12-01/docs-2.json @@ -4,7 +4,7 @@ "operations": { "CreateIdentitySource": "

Creates a reference to an Amazon Cognito user pool as an external identity provider (IdP).

After you create an identity source, you can use the identities provided by the IdP as proxies for the principal in authorization queries that use the IsAuthorizedWithToken operation. These identities take the form of tokens that contain claims about the user, such as IDs, attributes and group memberships. Amazon Cognito provides both identity tokens and access tokens, and Verified Permissions can use either or both. Any combination of identity and access tokens results in the same Cedar principal. Verified Permissions automatically translates the information about the identities into the standard Cedar attributes that can be evaluated by your policies. Because the Amazon Cognito identity and access tokens can contain different information, the tokens you choose to use determine which principal attributes are available to access when evaluating Cedar policies.

If you delete a Amazon Cognito user pool or user, tokens from that deleted pool or that deleted user continue to be usable until they expire.

To reference a user from this identity source in your Cedar policies, use the following syntax.

IdentityType::\"<CognitoUserPoolIdentifier>|<CognitoClientId>

Where IdentityType is the string that you provide to the PrincipalEntityType parameter for this operation. The CognitoUserPoolId and CognitoClientId are defined by the Amazon Cognito user pool.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", "CreatePolicy": "

Creates a Cedar policy and saves it in the specified policy store. You can create either a static policy or a policy linked to a policy template.

Creating a policy causes it to be validated against the schema in the policy store. If the policy doesn't pass validation, the operation fails and the policy isn't stored.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", - "CreatePolicyStore": "

Creates a policy store. A policy store is a container for policy resources.

Although Cedar supports multiple namespaces, Verified Permissions currently supports only one namespace per policy store.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", + "CreatePolicyStore": "

Creates a policy store. A policy store is a container for policy resources.

Although Cedar supports multiple namespaces, Verified Permissions currently supports only one namespace per policy store.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", "CreatePolicyTemplate": "

Creates a policy template. A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", "DeleteIdentitySource": "

Deletes an identity source that references an identity provider (IdP) such as Amazon Cognito. After you delete the identity source, you can no longer use tokens for identities from that identity source to represent principals in authorization queries made using IsAuthorizedWithToken. operations.

", "DeletePolicy": "

Deletes the specified policy from the policy store.

This operation is idempotent; if you specify a policy that doesn't exist, the request response returns a successful HTTP 200 status code.

", @@ -25,7 +25,7 @@ "UpdateIdentitySource": "

Updates the specified identity source to use a new identity provider (IdP) source, or to change the mapping of identities from the IdP to a different principal entity type.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", "UpdatePolicy": "

Modifies a Cedar static policy in the specified policy store. You can change only certain elements of the UpdatePolicyDefinition parameter. You can directly update only static policies. To change a template-linked policy, you must update the template instead, using UpdatePolicyTemplate.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", "UpdatePolicyStore": "

Modifies the validation setting for a policy store.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

", - "UpdatePolicyTemplate": "

Updates the specified policy template. You can update only the description and the some elements of the policyBody.

Changes you make to the policy template content are immediately reflected in authorization decisions that involve all template-linked policies instantiated from this template.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

" + "UpdatePolicyTemplate": "

Updates the specified policy template. You can update only the description and the some elements of the policyBody.

Changes you make to the policy template content are immediately (within the constraints of eventual consistency) reflected in authorization decisions that involve all template-linked policies instantiated from this template.

Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to be propagate through the service and be visible in the results of other Verified Permissions operations.

" }, "shapes": { "AccessDeniedException": { @@ -70,7 +70,7 @@ "BooleanAttribute": { "base": null, "refs": { - "AttributeValue$boolean": "

An attribute value of Boolean type.

Example: {\"boolean\": true}

" + "AttributeValue$boolean": "

An attribute value of Boolean type.

Example: {\"boolean\": true}

" } }, "ClientId": { @@ -489,7 +489,7 @@ "LongAttribute": { "base": null, "refs": { - "AttributeValue$long": "

An attribute value of Long type.

Example: {\"long\": 0}

" + "AttributeValue$long": "

An attribute value of Long type.

Example: {\"long\": 0}

" } }, "MaxResults": { @@ -725,7 +725,7 @@ "RecordAttribute": { "base": null, "refs": { - "AttributeValue$record": "

An attribute value of Record type.

Example: {\"record\": { \"keyName\": {} } }

" + "AttributeValue$record": "

An attribute value of Record type.

Example: {\"record\": { \"keyName\": {} } }

" } }, "ResourceArn": { @@ -783,7 +783,7 @@ "SetAttribute": { "base": null, "refs": { - "AttributeValue$set": "

An attribute value of Set type.

Example: {\"set\": [ {} ] }

" + "AttributeValue$set": "

An attribute value of Set type.

Example: {\"set\": [ {} ] }

" } }, "StaticPolicyDefinition": { @@ -841,7 +841,7 @@ "StringAttribute": { "base": null, "refs": { - "AttributeValue$string": "

An attribute value of String type.

Example: {\"string\": \"abc\"}

" + "AttributeValue$string": "

An attribute value of String type.

Example: {\"string\": \"abc\"}

" } }, "TemplateLinkedPolicyDefinition": { @@ -988,7 +988,7 @@ } }, "ValidationException": { - "base": "

The request failed because one or more input parameters don't satisfy their constraint requirements. The output is provided as a list of fields and a reason for each field that isn't valid.

The possible reasons include the following:

", + "base": "

The request failed because one or more input parameters don't satisfy their constraint requirements. The output is provided as a list of fields and a reason for each field that isn't valid.

The possible reasons include the following:

", "refs": { } }, diff --git a/models/apis/verifiedpermissions/2021-12-01/endpoint-rule-set-1.json b/models/apis/verifiedpermissions/2021-12-01/endpoint-rule-set-1.json index 17b9ad0a91f..739b82c8590 100644 --- a/models/apis/verifiedpermissions/2021-12-01/endpoint-rule-set-1.json +++ b/models/apis/verifiedpermissions/2021-12-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index efb9c0d9827..522666f2ef2 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -15,7 +15,7 @@ "CreateUpdatedWorkspaceImage": "

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

", "CreateWorkspaceBundle": "

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

", "CreateWorkspaceImage": "

Creates a new WorkSpace image from an existing WorkSpace.

", - "CreateWorkspaces": "

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

", + "CreateWorkspaces": "

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

", "DeleteClientBranding": "

Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you delete your customized client branding, your login portal reverts to the default client branding.

", "DeleteConnectClientAddIn": "

Deletes a client-add-in for Amazon Connect that is configured within a directory.

", "DeleteConnectionAlias": "

Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.

To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.

", diff --git a/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json b/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json index f07e0d5663c..8c5f0378c00 100644 --- a/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json +++ b/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 4b3a4413692..37f9c5d2fda 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -7718,12 +7718,6 @@ "us-west-2" : { } } }, - "gamesparks" : { - "endpoints" : { - "ap-northeast-1" : { }, - "us-east-1" : { } - } - }, "geo" : { "endpoints" : { "ap-northeast-1" : { }, @@ -23417,6 +23411,36 @@ } } }, + "resiliencehub" : { + "endpoints" : { + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "resiliencehub-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "resiliencehub-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "variants" : [ { + "hostname" : "resiliencehub-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "resiliencehub-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } + } + }, "resource-explorer-2" : { "defaults" : { "dnsSuffix" : "api.aws", diff --git a/service/ec2/api.go b/service/ec2/api.go index aa4b665e048..e25084e8b3e 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -188693,6 +188693,72 @@ const ( // InstanceTypeR7iz32xlarge is a InstanceType enum value InstanceTypeR7iz32xlarge = "r7iz.32xlarge" + + // InstanceTypeC7aMedium is a InstanceType enum value + InstanceTypeC7aMedium = "c7a.medium" + + // InstanceTypeC7aLarge is a InstanceType enum value + InstanceTypeC7aLarge = "c7a.large" + + // InstanceTypeC7aXlarge is a InstanceType enum value + InstanceTypeC7aXlarge = "c7a.xlarge" + + // InstanceTypeC7a2xlarge is a InstanceType enum value + InstanceTypeC7a2xlarge = "c7a.2xlarge" + + // InstanceTypeC7a4xlarge is a InstanceType enum value + InstanceTypeC7a4xlarge = "c7a.4xlarge" + + // InstanceTypeC7a8xlarge is a InstanceType enum value + InstanceTypeC7a8xlarge = "c7a.8xlarge" + + // InstanceTypeC7a12xlarge is a InstanceType enum value + InstanceTypeC7a12xlarge = "c7a.12xlarge" + + // InstanceTypeC7a16xlarge is a InstanceType enum value + InstanceTypeC7a16xlarge = "c7a.16xlarge" + + // InstanceTypeC7a24xlarge is a InstanceType enum value + InstanceTypeC7a24xlarge = "c7a.24xlarge" + + // InstanceTypeC7a32xlarge is a InstanceType enum value + InstanceTypeC7a32xlarge = "c7a.32xlarge" + + // InstanceTypeC7a48xlarge is a InstanceType enum value + InstanceTypeC7a48xlarge = "c7a.48xlarge" + + // InstanceTypeC7aMetal48xl is a InstanceType enum value + InstanceTypeC7aMetal48xl = "c7a.metal-48xl" + + // InstanceTypeR7aMetal48xl is a InstanceType enum value + InstanceTypeR7aMetal48xl = "r7a.metal-48xl" + + // InstanceTypeR7iLarge is a InstanceType enum value + InstanceTypeR7iLarge = "r7i.large" + + // InstanceTypeR7iXlarge is a InstanceType enum value + InstanceTypeR7iXlarge = "r7i.xlarge" + + // InstanceTypeR7i2xlarge is a InstanceType enum value + InstanceTypeR7i2xlarge = "r7i.2xlarge" + + // InstanceTypeR7i4xlarge is a InstanceType enum value + InstanceTypeR7i4xlarge = "r7i.4xlarge" + + // InstanceTypeR7i8xlarge is a InstanceType enum value + InstanceTypeR7i8xlarge = "r7i.8xlarge" + + // InstanceTypeR7i12xlarge is a InstanceType enum value + InstanceTypeR7i12xlarge = "r7i.12xlarge" + + // InstanceTypeR7i16xlarge is a InstanceType enum value + InstanceTypeR7i16xlarge = "r7i.16xlarge" + + // InstanceTypeR7i24xlarge is a InstanceType enum value + InstanceTypeR7i24xlarge = "r7i.24xlarge" + + // InstanceTypeR7i48xlarge is a InstanceType enum value + InstanceTypeR7i48xlarge = "r7i.48xlarge" ) // InstanceType_Values returns all elements of the InstanceType enum @@ -189447,6 +189513,28 @@ func InstanceType_Values() []string { InstanceTypeR7iz12xlarge, InstanceTypeR7iz16xlarge, InstanceTypeR7iz32xlarge, + InstanceTypeC7aMedium, + InstanceTypeC7aLarge, + InstanceTypeC7aXlarge, + InstanceTypeC7a2xlarge, + InstanceTypeC7a4xlarge, + InstanceTypeC7a8xlarge, + InstanceTypeC7a12xlarge, + InstanceTypeC7a16xlarge, + InstanceTypeC7a24xlarge, + InstanceTypeC7a32xlarge, + InstanceTypeC7a48xlarge, + InstanceTypeC7aMetal48xl, + InstanceTypeR7aMetal48xl, + InstanceTypeR7iLarge, + InstanceTypeR7iXlarge, + InstanceTypeR7i2xlarge, + InstanceTypeR7i4xlarge, + InstanceTypeR7i8xlarge, + InstanceTypeR7i12xlarge, + InstanceTypeR7i16xlarge, + InstanceTypeR7i24xlarge, + InstanceTypeR7i48xlarge, } } diff --git a/service/managedblockchainquery/api.go b/service/managedblockchainquery/api.go index ac7fcb9c123..a4fb290b2fd 100644 --- a/service/managedblockchainquery/api.go +++ b/service/managedblockchainquery/api.go @@ -3848,6 +3848,9 @@ const ( // QueryNetworkBitcoinTestnet is a QueryNetwork enum value QueryNetworkBitcoinTestnet = "BITCOIN_TESTNET" + + // QueryNetworkEthereumSepoliaTestnet is a QueryNetwork enum value + QueryNetworkEthereumSepoliaTestnet = "ETHEREUM_SEPOLIA_TESTNET" ) // QueryNetwork_Values returns all elements of the QueryNetwork enum @@ -3856,6 +3859,7 @@ func QueryNetwork_Values() []string { QueryNetworkEthereumMainnet, QueryNetworkBitcoinMainnet, QueryNetworkBitcoinTestnet, + QueryNetworkEthereumSepoliaTestnet, } } diff --git a/service/neptunedata/api.go b/service/neptunedata/api.go index ef96f961a4f..2e53d898b10 100644 --- a/service/neptunedata/api.go +++ b/service/neptunedata/api.go @@ -58,6 +58,11 @@ func (c *Neptunedata) CancelGremlinQueryRequest(input *CancelGremlinQueryInput) // Cancels a Gremlin query. See Gremlin query cancellation (https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-api-status-cancel.html) // for more information. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:CancelQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelquery) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -175,11 +180,15 @@ func (c *Neptunedata) CancelLoaderJobRequest(input *CancelLoaderJobInput) (req * // CancelLoaderJob API operation for Amazon NeptuneData. // -// Cancels a specified load job. This is an HTTP DELETE request. -// -// See Neptune Loader Get-Status API (https://docs.aws.amazon.com/neptune/latest/userguide/load-api-reference-status.htm) +// Cancels a specified load job. This is an HTTP DELETE request. See Neptune +// Loader Get-Status API (https://docs.aws.amazon.com/neptune/latest/userguide/load-api-reference-status.htm) // for more information. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:CancelLoaderJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelloaderjob) +// IAM action in that cluster.. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -296,6 +305,11 @@ func (c *Neptunedata) CancelMLDataProcessingJobRequest(input *CancelMLDataProces // Cancels a Neptune ML data processing job. See The dataprocessing command // (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-dataprocessing.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:CancelMLDataProcessingJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmldataprocessingjob) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -406,6 +420,11 @@ func (c *Neptunedata) CancelMLModelTrainingJobRequest(input *CancelMLModelTraini // Cancels a Neptune ML model training job. See Model training using the modeltraining // command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-modeltraining.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:CancelMLModelTrainingJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmlmodeltrainingjob) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -516,6 +535,11 @@ func (c *Neptunedata) CancelMLModelTransformJobRequest(input *CancelMLModelTrans // Cancels a specified model transform job. See Use a trained model to generate // new model artifacts (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-model-transform.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:CancelMLModelTransformJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmlmodeltransformjob) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -627,6 +651,11 @@ func (c *Neptunedata) CancelOpenCypherQueryRequest(input *CancelOpenCypherQueryI // (https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-opencypher-status.html) // for more information. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:CancelQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelquery) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -751,6 +780,11 @@ func (c *Neptunedata) CreateMLEndpointRequest(input *CreateMLEndpointInput) (req // model that the model-training process constructed. See Managing inference // endpoints using the endpoints command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-endpoints.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:CreateMLEndpoint (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#createmlendpoint) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -861,6 +895,11 @@ func (c *Neptunedata) DeleteMLEndpointRequest(input *DeleteMLEndpointInput) (req // Cancels the creation of a Neptune ML inference endpoint. See Managing inference // endpoints using the endpoints command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-endpoints.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:DeleteMLEndpoint (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletemlendpoint) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -970,6 +1009,11 @@ func (c *Neptunedata) DeletePropertygraphStatisticsRequest(input *DeleteProperty // // Deletes statistics for Gremlin and openCypher (property graph) data. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:DeleteStatistics (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletestatistics) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1085,6 +1129,11 @@ func (c *Neptunedata) DeleteSparqlStatisticsRequest(input *DeleteSparqlStatistic // // # Deletes SPARQL statistics // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:DeleteStatistics (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletestatistics) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1206,6 +1255,11 @@ func (c *Neptunedata) ExecuteFastResetRequest(input *ExecuteFastResetInput) (req // you then include when calling ExecuteFastReset again with action set to performDatabaseReset. // See Empty an Amazon Neptune DB cluster using the fast reset API (https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-fast-reset.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ResetDatabase (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#resetdatabase) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1333,6 +1387,22 @@ func (c *Neptunedata) ExecuteGremlinExplainQueryRequest(input *ExecuteGremlinExp // Gremlin queries (https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-traversal-tuning.html). // You can also use query hints to improve query execution plans. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows one of the following IAM actions in that cluster, depending on +// the query: +// +// - neptune-db:ReadDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery) +// +// - neptune-db:WriteDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#writedataviaquery) +// +// - neptune-db:DeleteDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletedataviaquery) +// +// Note that the neptune-db:QueryLanguage:Gremlin (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of Gremlin queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1476,6 +1546,16 @@ func (c *Neptunedata) ExecuteGremlinProfileQueryRequest(input *ExecuteGremlinPro // Gremlin profile API in Neptune (https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-profile-api.html) // for details. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ReadDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery) +// IAM action in that cluster. +// +// Note that the neptune-db:QueryLanguage:Gremlin (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of Gremlin queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1620,6 +1700,22 @@ func (c *Neptunedata) ExecuteGremlinQueryRequest(input *ExecuteGremlinQueryInput // in the Apache TinkerPop3 documentation. More details can also be found in // Accessing a Neptune graph with Gremlin (https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that enables one of the following IAM actions in that cluster, depending +// on the query: +// +// - neptune-db:ReadDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery) +// +// - neptune-db:WriteDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#writedataviaquery) +// +// - neptune-db:DeleteDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletedataviaquery) +// +// Note that the neptune-db:QueryLanguage:Gremlin (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of Gremlin queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1762,6 +1858,16 @@ func (c *Neptunedata) ExecuteOpenCypherExplainQueryRequest(input *ExecuteOpenCyp // (https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-opencypher-explain.html) // for more information. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ReadDataViaQuery (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery) +// IAM action in that cluster. +// +// Note that the neptune-db:QueryLanguage:Opencypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of openCypher queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1903,7 +2009,12 @@ func (c *Neptunedata) GetEngineStatusRequest(input *GetEngineStatusInput) (req * // GetEngineStatus API operation for Amazon NeptuneData. // -// Check the status of the graph database on the host. +// Retrieves the status of the graph database on the host. +// +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetEngineStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getenginestatus) +// IAM action in that cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2005,6 +2116,16 @@ func (c *Neptunedata) GetGremlinQueryStatusRequest(input *GetGremlinQueryStatusI // // Gets the status of a specified Gremlin query. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetQueryStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus) +// IAM action in that cluster. +// +// Note that the neptune-db:QueryLanguage:Gremlin (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of Gremlin queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2131,6 +2252,11 @@ func (c *Neptunedata) GetMLDataProcessingJobRequest(input *GetMLDataProcessingJo // Retrieves information about a specified data processing job. See The dataprocessing // command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-dataprocessing.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:neptune-db:GetMLDataProcessingJobStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmldataprocessingjobstatus) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2241,6 +2367,11 @@ func (c *Neptunedata) GetMLEndpointRequest(input *GetMLEndpointInput) (req *requ // Retrieves details about an inference endpoint. See Managing inference endpoints // using the endpoints command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-endpoints.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetMLEndpointStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlendpointstatus) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2351,6 +2482,11 @@ func (c *Neptunedata) GetMLModelTrainingJobRequest(input *GetMLModelTrainingJobI // Retrieves information about a Neptune ML model training job. See Model training // using the modeltraining command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-modeltraining.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetMLModelTrainingJobStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlmodeltrainingjobstatus) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2461,6 +2597,11 @@ func (c *Neptunedata) GetMLModelTransformJobRequest(input *GetMLModelTransformJo // Gets information about a specified model transform job. See Use a trained // model to generate new model artifacts (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-model-transform.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetMLModelTransformJobStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlmodeltransformjobstatus) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2570,6 +2711,16 @@ func (c *Neptunedata) GetOpenCypherQueryStatusRequest(input *GetOpenCypherQueryS // // Retrieves the status of a specified openCypher query. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetQueryStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus) +// IAM action in that cluster. +// +// Note that the neptune-db:QueryLanguage:Opencypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of openCypher queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2698,6 +2849,11 @@ func (c *Neptunedata) GetPropertygraphStatisticsRequest(input *GetPropertygraphS // // Gets property graph statistics (Gremlin and openCypher). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetStatisticsStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstatisticsstatus) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2813,6 +2969,11 @@ func (c *Neptunedata) GetPropertygraphSummaryRequest(input *GetPropertygraphSumm // // Gets a graph summary for a property graph. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetGraphSummary (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getgraphsummary) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2928,6 +3089,11 @@ func (c *Neptunedata) GetRDFGraphSummaryRequest(input *GetRDFGraphSummaryInput) // // Gets a graph summary for an RDF graph. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetGraphSummary (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getgraphsummary) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3169,6 +3335,16 @@ func (c *Neptunedata) GetSparqlStreamRequest(input *GetSparqlStreamInput) (req * // // See Capturing graph changes in real time using Neptune streams (https://docs.aws.amazon.com/neptune/latest/userguide/streams.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetStreamRecords (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstreamrecords) +// IAM action in that cluster. +// +// Note that the neptune-db:QueryLanguage:Sparql (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of SPARQL queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3284,6 +3460,16 @@ func (c *Neptunedata) ListGremlinQueriesRequest(input *ListGremlinQueriesInput) // Lists active Gremlin queries. See Gremlin query status API (https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-api-status.html) // for details about the output. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetQueryStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus) +// IAM action in that cluster. +// +// Note that the neptune-db:QueryLanguage:Gremlin (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of Gremlin queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3409,6 +3595,11 @@ func (c *Neptunedata) ListLoaderJobsRequest(input *ListLoaderJobsInput) (req *re // // Retrieves a list of the loadIds for all active loader jobs. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ListLoaderJobs (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listloaderjobs) +// IAM action in that cluster.. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3522,6 +3713,11 @@ func (c *Neptunedata) ListMLDataProcessingJobsRequest(input *ListMLDataProcessin // Returns a list of Neptune ML data processing jobs. See Listing active data-processing // jobs using the Neptune ML dataprocessing command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-dataprocessing.html#machine-learning-api-dataprocessing-list-jobs). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ListMLDataProcessingJobs (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmldataprocessingjobs) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3632,6 +3828,11 @@ func (c *Neptunedata) ListMLEndpointsRequest(input *ListMLEndpointsInput) (req * // Lists existing inference endpoints. See Managing inference endpoints using // the endpoints command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-endpoints.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ListMLEndpoints (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlendpoints) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3742,6 +3943,11 @@ func (c *Neptunedata) ListMLModelTrainingJobsRequest(input *ListMLModelTrainingJ // Lists Neptune ML model-training jobs. See Model training using the modeltraining // command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-modeltraining.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:neptune-db:ListMLModelTrainingJobs (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#neptune-db:listmlmodeltrainingjobs) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3852,6 +4058,11 @@ func (c *Neptunedata) ListMLModelTransformJobsRequest(input *ListMLModelTransfor // Returns a list of model transform job IDs. See Use a trained model to generate // new model artifacts (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-model-transform.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ListMLModelTransformJobs (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlmodeltransformjobs) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -3962,6 +4173,16 @@ func (c *Neptunedata) ListOpenCypherQueriesRequest(input *ListOpenCypherQueriesI // Lists active openCypher queries. See Neptune openCypher status endpoint (https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-opencypher-status.html) // for more information. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:GetQueryStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus) +// IAM action in that cluster. +// +// Note that the neptune-db:QueryLanguage:Opencypher (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys) +// IAM condition key can be used in the policy document to restrict the use +// of openCypher queries (see Condition keys available in Neptune IAM data-access +// policy statements (https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html)). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4090,6 +4311,11 @@ func (c *Neptunedata) ManagePropertygraphStatisticsRequest(input *ManageProperty // // Manages the generation and use of property graph statistics. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ManageStatistics (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#managestatistics) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4205,6 +4431,11 @@ func (c *Neptunedata) ManageSparqlStatisticsRequest(input *ManageSparqlStatistic // // Manages the generation and use of RDF graph statistics. // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:ManageStatistics (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#managestatistics) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4322,6 +4553,11 @@ func (c *Neptunedata) StartLoaderJobRequest(input *StartLoaderJobInput) (req *re // a Neptune DB instance. See Using the Amazon Neptune Bulk Loader to Ingest // Data (https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:StartLoaderJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startloaderjob) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4441,6 +4677,11 @@ func (c *Neptunedata) StartMLDataProcessingJobRequest(input *StartMLDataProcessi // Creates a new Neptune ML data processing job for processing the graph data // exported from Neptune for training. See The dataprocessing command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-dataprocessing.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:StartMLModelDataProcessingJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmlmodeldataprocessingjob) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4551,6 +4792,11 @@ func (c *Neptunedata) StartMLModelTrainingJobRequest(input *StartMLModelTraining // Creates a new Neptune ML model training job. See Model training using the // modeltraining command (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-api-modeltraining.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:StartMLModelTrainingJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmlmodeltrainingjob) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4661,6 +4907,11 @@ func (c *Neptunedata) StartMLModelTransformJobRequest(input *StartMLModelTransfo // Creates a new model transform job. See Use a trained model to generate new // model artifacts (https://docs.aws.amazon.com/neptune/latest/userguide/machine-learning-model-transform.html). // +// When invoking this operation in a Neptune cluster that has IAM authentication +// enabled, the IAM user or role making the request must have a policy attached +// that allows the neptune-db:StartMLModelTransformJob (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmlmodeltransformjob) +// IAM action in that cluster. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -8039,7 +8290,7 @@ type GetPropertygraphStatisticsOutput struct { Payload *Statistics `locationName:"payload" type:"structure" required:"true"` // The HTTP return code of the request. If the request succeeded, the code is - // 200. See Common error codes for DFE statistics request (docs.aws.amazon.comneptune/latest/userguide/neptune-dfe-statistics.html#neptune-dfe-statistics-errors) + // 200. See Common error codes for DFE statistics request (https://docs.aws.amazon.com/neptune/latest/userguide/neptune-dfe-statistics.html#neptune-dfe-statistics-errors) // for a list of common errors. // // Status is a required field @@ -8251,9 +8502,14 @@ type GetSparqlStatisticsOutput struct { Payload *Statistics `locationName:"payload" type:"structure" required:"true"` // The HTTP return code of the request. If the request succeeded, the code is - // 200. See Common error codes for DFE statistics request (docs.aws.amazon.comneptune/latest/userguide/neptune-dfe-statistics.html#neptune-dfe-statistics-errors) + // 200. See Common error codes for DFE statistics request (https://docs.aws.amazon.com/neptune/latest/userguide/neptune-dfe-statistics.html#neptune-dfe-statistics-errors) // for a list of common errors. // + // When invoking this operation in a Neptune cluster that has IAM authentication + // enabled, the IAM user or role making the request must have a policy attached + // that allows the neptune-db:GetStatisticsStatus (https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstatisticsstatus) + // IAM action in that cluster. + // // Status is a required field Status *string `locationName:"status" type:"string" required:"true"` } @@ -11145,7 +11401,7 @@ type RDFGraphSummaryValueMap struct { _ struct{} `type:"structure"` // The graph summary of an RDF graph. See Graph summary response for an RDF - // graph (https://docs.aws.amazon.com/neptune-graph-summary.html#neptune-graph-summary-rdf-response). + // graph (https://docs.aws.amazon.com/neptune/latest/userguide/neptune-graph-summary.html#neptune-graph-summary-rdf-response). GraphSummary *RDFGraphSummary `locationName:"graphSummary" type:"structure"` // The timestamp, in ISO 8601 format, of the time at which Neptune last computed diff --git a/service/omics/api.go b/service/omics/api.go index 0357a9e89b8..04237f2b77b 100644 --- a/service/omics/api.go +++ b/service/omics/api.go @@ -16176,12 +16176,18 @@ type GetRunOutput struct { // The run's digest. Digest *string `locationName:"digest" min:"1" type:"string"` + // The reason a run has failed. + FailureReason *string `locationName:"failureReason" min:"1" type:"string"` + // The run's ID. Id *string `locationName:"id" min:"1" type:"string"` // The run's log level. LogLevel *string `locationName:"logLevel" min:"1" type:"string" enum:"RunLogLevel"` + // The location of the run log. + LogLocation *RunLogLocation `locationName:"logLocation" type:"structure"` + // The run's name. Name *string `locationName:"name" min:"1" type:"string"` @@ -16282,6 +16288,12 @@ func (s *GetRunOutput) SetDigest(v string) *GetRunOutput { return s } +// SetFailureReason sets the FailureReason field's value. +func (s *GetRunOutput) SetFailureReason(v string) *GetRunOutput { + s.FailureReason = &v + return s +} + // SetId sets the Id field's value. func (s *GetRunOutput) SetId(v string) *GetRunOutput { s.Id = &v @@ -16294,6 +16306,12 @@ func (s *GetRunOutput) SetLogLevel(v string) *GetRunOutput { return s } +// SetLogLocation sets the LogLocation field's value. +func (s *GetRunOutput) SetLogLocation(v *RunLogLocation) *GetRunOutput { + s.LogLocation = v + return s +} + // SetName sets the Name field's value. func (s *GetRunOutput) SetName(v string) *GetRunOutput { s.Name = &v @@ -16399,7 +16417,7 @@ func (s *GetRunOutput) SetWorkflowType(v string) *GetRunOutput { type GetRunTaskInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The task's ID. + // The workflow run ID. // // Id is a required field Id *string `location:"uri" locationName:"id" min:"1" type:"string" required:"true"` @@ -16471,6 +16489,9 @@ type GetRunTaskOutput struct { // When the task was created. CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601"` + // The reason a task has failed. + FailureReason *string `locationName:"failureReason" min:"1" type:"string"` + // The number of Graphics Processing Units (GPU) specified in the task. Gpus *int64 `locationName:"gpus" type:"integer"` @@ -16532,6 +16553,12 @@ func (s *GetRunTaskOutput) SetCreationTime(v time.Time) *GetRunTaskOutput { return s } +// SetFailureReason sets the FailureReason field's value. +func (s *GetRunTaskOutput) SetFailureReason(v string) *GetRunTaskOutput { + s.FailureReason = &v + return s +} + // SetGpus sets the Gpus field's value. func (s *GetRunTaskOutput) SetGpus(v int64) *GetRunTaskOutput { s.Gpus = &v @@ -22409,6 +22436,47 @@ func (s *RunListItem) SetWorkflowId(v string) *RunListItem { return s } +// The URI for the run log. +type RunLogLocation struct { + _ struct{} `type:"structure"` + + // The log stream ARN for the engine log. + EngineLogStream *string `locationName:"engineLogStream" type:"string"` + + // The log stream ARN for the run log. + RunLogStream *string `locationName:"runLogStream" 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 RunLogLocation) 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 RunLogLocation) GoString() string { + return s.String() +} + +// SetEngineLogStream sets the EngineLogStream field's value. +func (s *RunLogLocation) SetEngineLogStream(v string) *RunLogLocation { + s.EngineLogStream = &v + return s +} + +// SetRunLogStream sets the RunLogStream field's value. +func (s *RunLogLocation) SetRunLogStream(v string) *RunLogLocation { + s.RunLogStream = &v + return s +} + // Details about a sequence. type SequenceInformation struct { _ struct{} `type:"structure"` diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 49c4c5f11dc..64f79624789 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -3213,6 +3213,98 @@ func (c *OpenSearchService) GetCompatibleVersionsWithContext(ctx aws.Context, in return out, req.Send() } +const opGetDomainMaintenanceStatus = "GetDomainMaintenanceStatus" + +// GetDomainMaintenanceStatusRequest generates a "aws/request.Request" representing the +// client's request for the GetDomainMaintenanceStatus 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 GetDomainMaintenanceStatus for more information on using the GetDomainMaintenanceStatus +// 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 GetDomainMaintenanceStatusRequest method. +// req, resp := client.GetDomainMaintenanceStatusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatus +func (c *OpenSearchService) GetDomainMaintenanceStatusRequest(input *GetDomainMaintenanceStatusInput) (req *request.Request, output *GetDomainMaintenanceStatusOutput) { + op := &request.Operation{ + Name: opGetDomainMaintenanceStatus, + HTTPMethod: "GET", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", + } + + if input == nil { + input = &GetDomainMaintenanceStatusInput{} + } + + output = &GetDomainMaintenanceStatusOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetDomainMaintenanceStatus API operation for Amazon OpenSearch Service. +// +// Get the status of the maintenance action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon OpenSearch Service's +// API operation GetDomainMaintenanceStatus for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// Request processing failed because of an unknown error, exception, or internal +// failure. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - ValidationException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - DisabledOperationException +// An error occured because the client wanted to access an unsupported operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatus +func (c *OpenSearchService) GetDomainMaintenanceStatus(input *GetDomainMaintenanceStatusInput) (*GetDomainMaintenanceStatusOutput, error) { + req, out := c.GetDomainMaintenanceStatusRequest(input) + return out, req.Send() +} + +// GetDomainMaintenanceStatusWithContext is the same as GetDomainMaintenanceStatus with the addition of +// the ability to pass a context and additional request options. +// +// See GetDomainMaintenanceStatus 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 *OpenSearchService) GetDomainMaintenanceStatusWithContext(ctx aws.Context, input *GetDomainMaintenanceStatusInput, opts ...request.Option) (*GetDomainMaintenanceStatusOutput, error) { + req, out := c.GetDomainMaintenanceStatusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetPackageVersionHistory = "GetPackageVersionHistory" // GetPackageVersionHistoryRequest generates a "aws/request.Request" representing the @@ -3608,6 +3700,155 @@ func (c *OpenSearchService) GetUpgradeStatusWithContext(ctx aws.Context, input * return out, req.Send() } +const opListDomainMaintenances = "ListDomainMaintenances" + +// ListDomainMaintenancesRequest generates a "aws/request.Request" representing the +// client's request for the ListDomainMaintenances 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 ListDomainMaintenances for more information on using the ListDomainMaintenances +// 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 ListDomainMaintenancesRequest method. +// req, resp := client.ListDomainMaintenancesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenances +func (c *OpenSearchService) ListDomainMaintenancesRequest(input *ListDomainMaintenancesInput) (req *request.Request, output *ListDomainMaintenancesOutput) { + op := &request.Operation{ + Name: opListDomainMaintenances, + HTTPMethod: "GET", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenances", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListDomainMaintenancesInput{} + } + + output = &ListDomainMaintenancesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListDomainMaintenances API operation for Amazon OpenSearch Service. +// +// Get the list of the maintenance action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon OpenSearch Service's +// API operation ListDomainMaintenances for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// Request processing failed because of an unknown error, exception, or internal +// failure. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - ValidationException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - DisabledOperationException +// An error occured because the client wanted to access an unsupported operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenances +func (c *OpenSearchService) ListDomainMaintenances(input *ListDomainMaintenancesInput) (*ListDomainMaintenancesOutput, error) { + req, out := c.ListDomainMaintenancesRequest(input) + return out, req.Send() +} + +// ListDomainMaintenancesWithContext is the same as ListDomainMaintenances with the addition of +// the ability to pass a context and additional request options. +// +// See ListDomainMaintenances 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 *OpenSearchService) ListDomainMaintenancesWithContext(ctx aws.Context, input *ListDomainMaintenancesInput, opts ...request.Option) (*ListDomainMaintenancesOutput, error) { + req, out := c.ListDomainMaintenancesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListDomainMaintenancesPages iterates over the pages of a ListDomainMaintenances operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListDomainMaintenances 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 ListDomainMaintenances operation. +// pageNum := 0 +// err := client.ListDomainMaintenancesPages(params, +// func(page *opensearchservice.ListDomainMaintenancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *OpenSearchService) ListDomainMaintenancesPages(input *ListDomainMaintenancesInput, fn func(*ListDomainMaintenancesOutput, bool) bool) error { + return c.ListDomainMaintenancesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListDomainMaintenancesPagesWithContext same as ListDomainMaintenancesPages 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 *OpenSearchService) ListDomainMaintenancesPagesWithContext(ctx aws.Context, input *ListDomainMaintenancesInput, fn func(*ListDomainMaintenancesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListDomainMaintenancesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListDomainMaintenancesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListDomainMaintenancesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListDomainNames = "ListDomainNames" // ListDomainNamesRequest generates a "aws/request.Request" representing the @@ -5155,6 +5396,99 @@ func (c *OpenSearchService) RevokeVpcEndpointAccessWithContext(ctx aws.Context, return out, req.Send() } +const opStartDomainMaintenance = "StartDomainMaintenance" + +// StartDomainMaintenanceRequest generates a "aws/request.Request" representing the +// client's request for the StartDomainMaintenance 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 StartDomainMaintenance for more information on using the StartDomainMaintenance +// 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 StartDomainMaintenanceRequest method. +// req, resp := client.StartDomainMaintenanceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenance +func (c *OpenSearchService) StartDomainMaintenanceRequest(input *StartDomainMaintenanceInput) (req *request.Request, output *StartDomainMaintenanceOutput) { + op := &request.Operation{ + Name: opStartDomainMaintenance, + HTTPMethod: "POST", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", + } + + if input == nil { + input = &StartDomainMaintenanceInput{} + } + + output = &StartDomainMaintenanceOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartDomainMaintenance API operation for Amazon OpenSearch Service. +// +// Starts the node maintenance (Node restart, Node reboot, Opensearch/Elasticsearch +// process restart, Dashboard/kibana restart) on the data node. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon OpenSearch Service's +// API operation StartDomainMaintenance for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// Request processing failed because of an unknown error, exception, or internal +// failure. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - ValidationException +// An exception for accessing or deleting a resource that doesn't exist. +// +// - DisabledOperationException +// An error occured because the client wanted to access an unsupported operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenance +func (c *OpenSearchService) StartDomainMaintenance(input *StartDomainMaintenanceInput) (*StartDomainMaintenanceOutput, error) { + req, out := c.StartDomainMaintenanceRequest(input) + return out, req.Send() +} + +// StartDomainMaintenanceWithContext is the same as StartDomainMaintenance with the addition of +// the ability to pass a context and additional request options. +// +// See StartDomainMaintenance 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 *OpenSearchService) StartDomainMaintenanceWithContext(ctx aws.Context, input *StartDomainMaintenanceInput, opts ...request.Option) (*StartDomainMaintenanceOutput, error) { + req, out := c.StartDomainMaintenanceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartServiceSoftwareUpdate = "StartServiceSoftwareUpdate" // StartServiceSoftwareUpdateRequest generates a "aws/request.Request" representing the @@ -7596,8 +7930,8 @@ type ClusterConfig struct { // OpenSearch Service instance type of the dedicated master nodes in the cluster. DedicatedMasterType *string `type:"string" enum:"OpenSearchPartitionInstanceType"` - // Number of dedicated master nodes in the cluster. This number must be greater - // than 1, otherwise you receive a validation exception. + // Number of data nodes in the cluster. This number must be greater than 1, + // otherwise you receive a validation exception. InstanceCount *int64 `type:"integer"` // Instance type of data nodes in the cluster. @@ -10621,7 +10955,7 @@ type DescribePackagesFilter struct { Name *string `type:"string" enum:"DescribePackagesFilterName"` // A non-empty list of values for the specified filter field. - Value []*string `type:"list"` + Value []*string `min:"1" type:"list"` } // String returns the string representation. @@ -10642,6 +10976,19 @@ func (s DescribePackagesFilter) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribePackagesFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribePackagesFilter"} + if s.Value != nil && len(s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetName sets the Name field's value. func (s *DescribePackagesFilter) SetName(v string) *DescribePackagesFilter { s.Name = &v @@ -10689,6 +11036,26 @@ func (s DescribePackagesInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribePackagesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribePackagesInput"} + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetFilters sets the Filters field's value. func (s *DescribePackagesInput) SetFilters(v []*DescribePackagesFilter) *DescribePackagesInput { s.Filters = v @@ -11634,6 +12001,101 @@ func (s *DomainInformationContainer) SetAWSDomainInformation(v *AWSDomainInforma return s } +// Container for the domain maintenance details. +type DomainMaintenanceDetails struct { + _ struct{} `type:"structure"` + + // The name of the action. + Action *string `type:"string" enum:"MaintenanceType"` + + // Contains time at which action created. + CreatedAt *time.Time `type:"timestamp"` + + // The name of the domain. + DomainName *string `min:"3" type:"string"` + + // Id of the requested action. + MaintenanceId *string `min:"1" type:"string"` + + // Id of the data node. + NodeId *string `min:"10" type:"string"` + + // The status of the action. + Status *string `type:"string" enum:"MaintenanceStatus"` + + // The status message of the action. + StatusMessage *string `type:"string"` + + // Contains time at which action updated. + UpdatedAt *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DomainMaintenanceDetails) 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 DomainMaintenanceDetails) GoString() string { + return s.String() +} + +// SetAction sets the Action field's value. +func (s *DomainMaintenanceDetails) SetAction(v string) *DomainMaintenanceDetails { + s.Action = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *DomainMaintenanceDetails) SetCreatedAt(v time.Time) *DomainMaintenanceDetails { + s.CreatedAt = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *DomainMaintenanceDetails) SetDomainName(v string) *DomainMaintenanceDetails { + s.DomainName = &v + return s +} + +// SetMaintenanceId sets the MaintenanceId field's value. +func (s *DomainMaintenanceDetails) SetMaintenanceId(v string) *DomainMaintenanceDetails { + s.MaintenanceId = &v + return s +} + +// SetNodeId sets the NodeId field's value. +func (s *DomainMaintenanceDetails) SetNodeId(v string) *DomainMaintenanceDetails { + s.NodeId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DomainMaintenanceDetails) SetStatus(v string) *DomainMaintenanceDetails { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *DomainMaintenanceDetails) SetStatusMessage(v string) *DomainMaintenanceDetails { + s.StatusMessage = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *DomainMaintenanceDetails) SetUpdatedAt(v time.Time) *DomainMaintenanceDetails { + s.UpdatedAt = &v + return s +} + // Container for information about nodes on the domain. type DomainNodesStatus struct { _ struct{} `type:"structure"` @@ -12741,6 +13203,151 @@ func (s *GetCompatibleVersionsOutput) SetCompatibleVersions(v []*CompatibleVersi return s } +// Container for the parameters to the GetDomainMaintenanceStatus operation. +type GetDomainMaintenanceStatusInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // The request id of the maintenance action. + // + // MaintenanceId is a required field + MaintenanceId *string `location:"querystring" locationName:"maintenanceId" 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 GetDomainMaintenanceStatusInput) 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 GetDomainMaintenanceStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDomainMaintenanceStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDomainMaintenanceStatusInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + if s.MaintenanceId == nil { + invalidParams.Add(request.NewErrParamRequired("MaintenanceId")) + } + if s.MaintenanceId != nil && len(*s.MaintenanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MaintenanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *GetDomainMaintenanceStatusInput) SetDomainName(v string) *GetDomainMaintenanceStatusInput { + s.DomainName = &v + return s +} + +// SetMaintenanceId sets the MaintenanceId field's value. +func (s *GetDomainMaintenanceStatusInput) SetMaintenanceId(v string) *GetDomainMaintenanceStatusInput { + s.MaintenanceId = &v + return s +} + +// The result of a GetDomainMaintenanceStatus request. Contains information +// about the requested action. +type GetDomainMaintenanceStatusOutput struct { + _ struct{} `type:"structure"` + + // Contains action name. + Action *string `type:"string" enum:"MaintenanceType"` + + // Contains time at which action created. + CreatedAt *time.Time `type:"timestamp"` + + // Contains node id of maintenance action. + NodeId *string `min:"10" type:"string"` + + // Contains status of the maintenance action. + Status *string `type:"string" enum:"MaintenanceStatus"` + + // Contains status message of the maintenance action. + StatusMessage *string `type:"string"` + + // Contains time at which action updated. + UpdatedAt *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDomainMaintenanceStatusOutput) 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 GetDomainMaintenanceStatusOutput) GoString() string { + return s.String() +} + +// SetAction sets the Action field's value. +func (s *GetDomainMaintenanceStatusOutput) SetAction(v string) *GetDomainMaintenanceStatusOutput { + s.Action = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetDomainMaintenanceStatusOutput) SetCreatedAt(v time.Time) *GetDomainMaintenanceStatusOutput { + s.CreatedAt = &v + return s +} + +// SetNodeId sets the NodeId field's value. +func (s *GetDomainMaintenanceStatusOutput) SetNodeId(v string) *GetDomainMaintenanceStatusOutput { + s.NodeId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetDomainMaintenanceStatusOutput) SetStatus(v string) *GetDomainMaintenanceStatusOutput { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *GetDomainMaintenanceStatusOutput) SetStatusMessage(v string) *GetDomainMaintenanceStatusOutput { + s.StatusMessage = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetDomainMaintenanceStatusOutput) SetUpdatedAt(v time.Time) *GetDomainMaintenanceStatusOutput { + s.UpdatedAt = &v + return s +} + // Container for the request parameters to the GetPackageVersionHistory operation. type GetPackageVersionHistoryInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -13691,6 +14298,139 @@ func (s *Limits) SetStorageTypes(v []*StorageType) *Limits { return s } +// Container for the parameters to the ListDomainMaintenances operation. +type ListDomainMaintenancesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the action. + Action *string `location:"querystring" locationName:"action" type:"string" enum:"MaintenanceType"` + + // The name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // If your initial ListDomainMaintenances operation returns a nextToken, you + // can include the returned nextToken in subsequent ListDomainMaintenances operations, + // which returns results in the next page. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The status of the action. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"MaintenanceStatus"` +} + +// 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 ListDomainMaintenancesInput) 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 ListDomainMaintenancesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDomainMaintenancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDomainMaintenancesInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAction sets the Action field's value. +func (s *ListDomainMaintenancesInput) SetAction(v string) *ListDomainMaintenancesInput { + s.Action = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *ListDomainMaintenancesInput) SetDomainName(v string) *ListDomainMaintenancesInput { + s.DomainName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDomainMaintenancesInput) SetMaxResults(v int64) *ListDomainMaintenancesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDomainMaintenancesInput) SetNextToken(v string) *ListDomainMaintenancesInput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListDomainMaintenancesInput) SetStatus(v string) *ListDomainMaintenancesInput { + s.Status = &v + return s +} + +// The result of a ListDomainMaintenances request. Contains information about +// the requested actions. +type ListDomainMaintenancesOutput struct { + _ struct{} `type:"structure"` + + // List of the submitted maintenance actions. + DomainMaintenances []*DomainMaintenanceDetails `type:"list"` + + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again + // using the returned token to retrieve the next page. + NextToken *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 ListDomainMaintenancesOutput) 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 ListDomainMaintenancesOutput) GoString() string { + return s.String() +} + +// SetDomainMaintenances sets the DomainMaintenances field's value. +func (s *ListDomainMaintenancesOutput) SetDomainMaintenances(v []*DomainMaintenanceDetails) *ListDomainMaintenancesOutput { + s.DomainMaintenances = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDomainMaintenancesOutput) SetNextToken(v string) *ListDomainMaintenancesOutput { + s.NextToken = &v + return s +} + // Container for the parameters to the ListDomainNames operation. type ListDomainNamesInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -17210,6 +17950,115 @@ func (s *SoftwareUpdateOptionsStatus) SetStatus(v *OptionStatus) *SoftwareUpdate return s } +// Container for the parameters to the StartDomainMaintenance operation. +type StartDomainMaintenanceInput struct { + _ struct{} `type:"structure"` + + // The name of the action. + // + // Action is a required field + Action *string `type:"string" required:"true" enum:"MaintenanceType"` + + // The name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // Id of the data node. + NodeId *string `min:"10" 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 StartDomainMaintenanceInput) 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 StartDomainMaintenanceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartDomainMaintenanceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartDomainMaintenanceInput"} + if s.Action == nil { + invalidParams.Add(request.NewErrParamRequired("Action")) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + if s.NodeId != nil && len(*s.NodeId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("NodeId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAction sets the Action field's value. +func (s *StartDomainMaintenanceInput) SetAction(v string) *StartDomainMaintenanceInput { + s.Action = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *StartDomainMaintenanceInput) SetDomainName(v string) *StartDomainMaintenanceInput { + s.DomainName = &v + return s +} + +// SetNodeId sets the NodeId field's value. +func (s *StartDomainMaintenanceInput) SetNodeId(v string) *StartDomainMaintenanceInput { + s.NodeId = &v + return s +} + +// The result of a StartDomainMaintenance request. Contains information about +// the requested action. +type StartDomainMaintenanceOutput struct { + _ struct{} `type:"structure"` + + // Contains request id of requested action. + MaintenanceId *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 StartDomainMaintenanceOutput) 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 StartDomainMaintenanceOutput) GoString() string { + return s.String() +} + +// SetMaintenanceId sets the MaintenanceId field's value. +func (s *StartDomainMaintenanceOutput) SetMaintenanceId(v string) *StartDomainMaintenanceOutput { + s.MaintenanceId = &v + return s +} + // Container for the request parameters to the StartServiceSoftwareUpdate operation. type StartServiceSoftwareUpdateInput struct { _ struct{} `type:"structure"` @@ -19511,6 +20360,54 @@ func LogType_Values() []string { } } +const ( + // MaintenanceStatusPending is a MaintenanceStatus enum value + MaintenanceStatusPending = "PENDING" + + // MaintenanceStatusInProgress is a MaintenanceStatus enum value + MaintenanceStatusInProgress = "IN_PROGRESS" + + // MaintenanceStatusCompleted is a MaintenanceStatus enum value + MaintenanceStatusCompleted = "COMPLETED" + + // MaintenanceStatusFailed is a MaintenanceStatus enum value + MaintenanceStatusFailed = "FAILED" + + // MaintenanceStatusTimedOut is a MaintenanceStatus enum value + MaintenanceStatusTimedOut = "TIMED_OUT" +) + +// MaintenanceStatus_Values returns all elements of the MaintenanceStatus enum +func MaintenanceStatus_Values() []string { + return []string{ + MaintenanceStatusPending, + MaintenanceStatusInProgress, + MaintenanceStatusCompleted, + MaintenanceStatusFailed, + MaintenanceStatusTimedOut, + } +} + +const ( + // MaintenanceTypeRebootNode is a MaintenanceType enum value + MaintenanceTypeRebootNode = "REBOOT_NODE" + + // MaintenanceTypeRestartSearchProcess is a MaintenanceType enum value + MaintenanceTypeRestartSearchProcess = "RESTART_SEARCH_PROCESS" + + // MaintenanceTypeRestartDashboard is a MaintenanceType enum value + MaintenanceTypeRestartDashboard = "RESTART_DASHBOARD" +) + +// MaintenanceType_Values returns all elements of the MaintenanceType enum +func MaintenanceType_Values() []string { + return []string{ + MaintenanceTypeRebootNode, + MaintenanceTypeRestartSearchProcess, + MaintenanceTypeRestartDashboard, + } +} + const ( // MasterNodeStatusAvailable is a MasterNodeStatus enum value MasterNodeStatusAvailable = "Available" diff --git a/service/opensearchservice/opensearchserviceiface/interface.go b/service/opensearchservice/opensearchserviceiface/interface.go index 292b34213ac..23a44c5959b 100644 --- a/service/opensearchservice/opensearchserviceiface/interface.go +++ b/service/opensearchservice/opensearchserviceiface/interface.go @@ -202,6 +202,10 @@ type OpenSearchServiceAPI interface { GetCompatibleVersionsWithContext(aws.Context, *opensearchservice.GetCompatibleVersionsInput, ...request.Option) (*opensearchservice.GetCompatibleVersionsOutput, error) GetCompatibleVersionsRequest(*opensearchservice.GetCompatibleVersionsInput) (*request.Request, *opensearchservice.GetCompatibleVersionsOutput) + GetDomainMaintenanceStatus(*opensearchservice.GetDomainMaintenanceStatusInput) (*opensearchservice.GetDomainMaintenanceStatusOutput, error) + GetDomainMaintenanceStatusWithContext(aws.Context, *opensearchservice.GetDomainMaintenanceStatusInput, ...request.Option) (*opensearchservice.GetDomainMaintenanceStatusOutput, error) + GetDomainMaintenanceStatusRequest(*opensearchservice.GetDomainMaintenanceStatusInput) (*request.Request, *opensearchservice.GetDomainMaintenanceStatusOutput) + GetPackageVersionHistory(*opensearchservice.GetPackageVersionHistoryInput) (*opensearchservice.GetPackageVersionHistoryOutput, error) GetPackageVersionHistoryWithContext(aws.Context, *opensearchservice.GetPackageVersionHistoryInput, ...request.Option) (*opensearchservice.GetPackageVersionHistoryOutput, error) GetPackageVersionHistoryRequest(*opensearchservice.GetPackageVersionHistoryInput) (*request.Request, *opensearchservice.GetPackageVersionHistoryOutput) @@ -220,6 +224,13 @@ type OpenSearchServiceAPI interface { GetUpgradeStatusWithContext(aws.Context, *opensearchservice.GetUpgradeStatusInput, ...request.Option) (*opensearchservice.GetUpgradeStatusOutput, error) GetUpgradeStatusRequest(*opensearchservice.GetUpgradeStatusInput) (*request.Request, *opensearchservice.GetUpgradeStatusOutput) + ListDomainMaintenances(*opensearchservice.ListDomainMaintenancesInput) (*opensearchservice.ListDomainMaintenancesOutput, error) + ListDomainMaintenancesWithContext(aws.Context, *opensearchservice.ListDomainMaintenancesInput, ...request.Option) (*opensearchservice.ListDomainMaintenancesOutput, error) + ListDomainMaintenancesRequest(*opensearchservice.ListDomainMaintenancesInput) (*request.Request, *opensearchservice.ListDomainMaintenancesOutput) + + ListDomainMaintenancesPages(*opensearchservice.ListDomainMaintenancesInput, func(*opensearchservice.ListDomainMaintenancesOutput, bool) bool) error + ListDomainMaintenancesPagesWithContext(aws.Context, *opensearchservice.ListDomainMaintenancesInput, func(*opensearchservice.ListDomainMaintenancesOutput, bool) bool, ...request.Option) error + ListDomainNames(*opensearchservice.ListDomainNamesInput) (*opensearchservice.ListDomainNamesOutput, error) ListDomainNamesWithContext(aws.Context, *opensearchservice.ListDomainNamesInput, ...request.Option) (*opensearchservice.ListDomainNamesOutput, error) ListDomainNamesRequest(*opensearchservice.ListDomainNamesInput) (*request.Request, *opensearchservice.ListDomainNamesOutput) @@ -291,6 +302,10 @@ type OpenSearchServiceAPI interface { RevokeVpcEndpointAccessWithContext(aws.Context, *opensearchservice.RevokeVpcEndpointAccessInput, ...request.Option) (*opensearchservice.RevokeVpcEndpointAccessOutput, error) RevokeVpcEndpointAccessRequest(*opensearchservice.RevokeVpcEndpointAccessInput) (*request.Request, *opensearchservice.RevokeVpcEndpointAccessOutput) + StartDomainMaintenance(*opensearchservice.StartDomainMaintenanceInput) (*opensearchservice.StartDomainMaintenanceOutput, error) + StartDomainMaintenanceWithContext(aws.Context, *opensearchservice.StartDomainMaintenanceInput, ...request.Option) (*opensearchservice.StartDomainMaintenanceOutput, error) + StartDomainMaintenanceRequest(*opensearchservice.StartDomainMaintenanceInput) (*request.Request, *opensearchservice.StartDomainMaintenanceOutput) + StartServiceSoftwareUpdate(*opensearchservice.StartServiceSoftwareUpdateInput) (*opensearchservice.StartServiceSoftwareUpdateOutput, error) StartServiceSoftwareUpdateWithContext(aws.Context, *opensearchservice.StartServiceSoftwareUpdateInput, ...request.Option) (*opensearchservice.StartServiceSoftwareUpdateOutput, error) StartServiceSoftwareUpdateRequest(*opensearchservice.StartServiceSoftwareUpdateInput) (*request.Request, *opensearchservice.StartServiceSoftwareUpdateOutput) diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 8954dd1896f..71797cb5381 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -28973,6 +28973,10 @@ type CreateAnalysisInput struct { // to be valid. Definition *AnalysisDefinition `type:"structure"` + // When you create the analysis, Amazon QuickSight adds the analysis to these + // folders. + FolderArns []*string `type:"list"` + // A descriptive name for the analysis that you're creating. This name displays // for the analysis in the Amazon QuickSight console. // @@ -29123,6 +29127,12 @@ func (s *CreateAnalysisInput) SetDefinition(v *AnalysisDefinition) *CreateAnalys return s } +// SetFolderArns sets the FolderArns field's value. +func (s *CreateAnalysisInput) SetFolderArns(v []*string) *CreateAnalysisInput { + s.FolderArns = v + return s +} + // SetName sets the Name field's value. func (s *CreateAnalysisInput) SetName(v string) *CreateAnalysisInput { s.Name = &v @@ -29330,6 +29340,10 @@ type CreateDashboardInput struct { // to be valid. Definition *DashboardVersionDefinition `type:"structure"` + // When you create the dashboard, Amazon QuickSight adds the dashboard to these + // folders. + FolderArns []*string `type:"list"` + // The display name of the dashboard. // // Name is a required field @@ -29502,6 +29516,12 @@ func (s *CreateDashboardInput) SetDefinition(v *DashboardVersionDefinition) *Cre return s } +// SetFolderArns sets the FolderArns field's value. +func (s *CreateDashboardInput) SetFolderArns(v []*string) *CreateDashboardInput { + s.FolderArns = v + return s +} + // SetName sets the Name field's value. func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput { s.Name = &v @@ -29658,6 +29678,10 @@ type CreateDataSetInput struct { // The folder that contains fields and nested subfolders for your dataset. FieldFolders map[string]*FieldFolder `type:"map"` + // When you create the dataset, Amazon QuickSight adds the dataset to these + // folders. + FolderArns []*string `type:"list"` + // Indicates whether you want to import the data into SPICE. // // ImportMode is a required field @@ -29881,6 +29905,12 @@ func (s *CreateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *CreateD return s } +// SetFolderArns sets the FolderArns field's value. +func (s *CreateDataSetInput) SetFolderArns(v []*string) *CreateDataSetInput { + s.FolderArns = v + return s +} + // SetImportMode sets the ImportMode field's value. func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput { s.ImportMode = &v @@ -30034,6 +30064,10 @@ type CreateDataSourceInput struct { // source. DataSourceParameters *DataSourceParameters `type:"structure"` + // When you create the data source, Amazon QuickSight adds the data source to + // these folders. + FolderArns []*string `type:"list"` + // A display name for the data source. // // Name is a required field @@ -30173,6 +30207,12 @@ func (s *CreateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) return s } +// SetFolderArns sets the FolderArns field's value. +func (s *CreateDataSourceInput) SetFolderArns(v []*string) *CreateDataSourceInput { + s.FolderArns = v + return s +} + // SetName sets the Name field's value. func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput { s.Name = &v @@ -36113,23 +36153,68 @@ func (s *DataPathSort) SetSortPaths(v []*DataPathValue) *DataPathSort { return s } +// The type of the data path value. +type DataPathType struct { + _ struct{} `type:"structure"` + + // The type of data path value utilized in a pivot table. Choose one of the + // following options: + // + // * HIERARCHY_ROWS_LAYOUT_COLUMN - The type of data path for the rows layout + // column, when RowsLayout is set to HIERARCHY. + // + // * MULTIPLE_ROW_METRICS_COLUMN - The type of data path for the metric column + // when the row is set to Metric Placement. + // + // * EMPTY_COLUMN_HEADER - The type of data path for the column with empty + // column header, when there is no field in ColumnsFieldWell and the row + // is set to Metric Placement. + // + // * COUNT_METRIC_COLUMN - The type of data path for the column with COUNT + // as the metric, when there is no field in the ValuesFieldWell. + PivotTableDataPathType *string `type:"string" enum:"PivotTableDataPathType"` +} + +// 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 DataPathType) 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 DataPathType) GoString() string { + return s.String() +} + +// SetPivotTableDataPathType sets the PivotTableDataPathType field's value. +func (s *DataPathType) SetPivotTableDataPathType(v string) *DataPathType { + s.PivotTableDataPathType = &v + return s +} + // The data path that needs to be sorted. type DataPathValue struct { _ struct{} `type:"structure"` + // The type configuration of the field. + DataPathType *DataPathType `type:"structure"` + // The field ID of the field that needs to be sorted. - // - // FieldId is a required field - FieldId *string `min:"1" type:"string" required:"true"` + FieldId *string `min:"1" type:"string"` // The actual value of the field that needs to be sorted. // // FieldValue is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DataPathValue's // String and GoString methods. - // - // FieldValue is a required field - FieldValue *string `type:"string" required:"true" sensitive:"true"` + FieldValue *string `type:"string" sensitive:"true"` } // String returns the string representation. @@ -36153,15 +36238,9 @@ func (s DataPathValue) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DataPathValue) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DataPathValue"} - if s.FieldId == nil { - invalidParams.Add(request.NewErrParamRequired("FieldId")) - } if s.FieldId != nil && len(*s.FieldId) < 1 { invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) } - if s.FieldValue == nil { - invalidParams.Add(request.NewErrParamRequired("FieldValue")) - } if invalidParams.Len() > 0 { return invalidParams @@ -36169,6 +36248,12 @@ func (s *DataPathValue) Validate() error { return nil } +// SetDataPathType sets the DataPathType field's value. +func (s *DataPathValue) SetDataPathType(v *DataPathType) *DataPathValue { + s.DataPathType = v + return s +} + // SetFieldId sets the FieldId field's value. func (s *DataPathValue) SetFieldId(v string) *DataPathValue { s.FieldId = &v @@ -37273,7 +37358,7 @@ type DataSourceParameters struct { // The parameters for IoT Analytics. AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"` - // The required parameters that are needed to connect to a Databricks data source. + // The parameters that are required to connect to a Databricks data source. DatabricksParameters *DatabricksParameters `type:"structure"` // The parameters for Exasol. @@ -37318,9 +37403,15 @@ type DataSourceParameters struct { // The parameters for SQL Server. SqlServerParameters *SqlServerParameters `type:"structure"` + // The parameters that are required to connect to a Starburst data source. + StarburstParameters *StarburstParameters `type:"structure"` + // The parameters for Teradata. TeradataParameters *TeradataParameters `type:"structure"` + // The parameters that are required to connect to a Trino data source. + TrinoParameters *TrinoParameters `type:"structure"` + // The parameters for Twitter. TwitterParameters *TwitterParameters `type:"structure"` } @@ -37451,11 +37542,21 @@ func (s *DataSourceParameters) Validate() error { invalidParams.AddNested("SqlServerParameters", err.(request.ErrInvalidParams)) } } + if s.StarburstParameters != nil { + if err := s.StarburstParameters.Validate(); err != nil { + invalidParams.AddNested("StarburstParameters", err.(request.ErrInvalidParams)) + } + } if s.TeradataParameters != nil { if err := s.TeradataParameters.Validate(); err != nil { invalidParams.AddNested("TeradataParameters", err.(request.ErrInvalidParams)) } } + if s.TrinoParameters != nil { + if err := s.TrinoParameters.Validate(); err != nil { + invalidParams.AddNested("TrinoParameters", err.(request.ErrInvalidParams)) + } + } if s.TwitterParameters != nil { if err := s.TwitterParameters.Validate(); err != nil { invalidParams.AddNested("TwitterParameters", err.(request.ErrInvalidParams)) @@ -37594,12 +37695,24 @@ func (s *DataSourceParameters) SetSqlServerParameters(v *SqlServerParameters) *D return s } +// SetStarburstParameters sets the StarburstParameters field's value. +func (s *DataSourceParameters) SetStarburstParameters(v *StarburstParameters) *DataSourceParameters { + s.StarburstParameters = v + return s +} + // SetTeradataParameters sets the TeradataParameters field's value. func (s *DataSourceParameters) SetTeradataParameters(v *TeradataParameters) *DataSourceParameters { s.TeradataParameters = v return s } +// SetTrinoParameters sets the TrinoParameters field's value. +func (s *DataSourceParameters) SetTrinoParameters(v *TrinoParameters) *DataSourceParameters { + s.TrinoParameters = v + return s +} + // SetTwitterParameters sets the TwitterParameters field's value. func (s *DataSourceParameters) SetTwitterParameters(v *TwitterParameters) *DataSourceParameters { s.TwitterParameters = v @@ -37791,7 +37904,7 @@ func (s *DataSourceSummary) SetType(v string) *DataSourceSummary { return s } -// The required parameters that are needed to connect to a Databricks data source. +// The parameters that are required to connect to a Databricks data source. type DatabricksParameters struct { _ struct{} `type:"structure"` @@ -73420,6 +73533,9 @@ type PivotTotalOptions struct { // The scroll status (pinned, scrolled) for the total cells. ScrollStatus *string `type:"string" enum:"TableTotalsScrollStatus"` + // The total aggregation options for each value field. + TotalAggregationOptions []*TotalAggregationOption `type:"list"` + // The cell styling options for the total cells. TotalCellStyle *TableCellStyle `type:"structure"` @@ -73456,6 +73572,16 @@ func (s *PivotTotalOptions) Validate() error { invalidParams.AddNested("MetricHeaderCellStyle", err.(request.ErrInvalidParams)) } } + if s.TotalAggregationOptions != nil { + for i, v := range s.TotalAggregationOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TotalAggregationOptions", i), err.(request.ErrInvalidParams)) + } + } + } if s.TotalCellStyle != nil { if err := s.TotalCellStyle.Validate(); err != nil { invalidParams.AddNested("TotalCellStyle", err.(request.ErrInvalidParams)) @@ -73497,6 +73623,12 @@ func (s *PivotTotalOptions) SetScrollStatus(v string) *PivotTotalOptions { return s } +// SetTotalAggregationOptions sets the TotalAggregationOptions field's value. +func (s *PivotTotalOptions) SetTotalAggregationOptions(v []*TotalAggregationOption) *PivotTotalOptions { + s.TotalAggregationOptions = v + return s +} + // SetTotalCellStyle sets the TotalCellStyle field's value. func (s *PivotTotalOptions) SetTotalCellStyle(v *TableCellStyle) *PivotTotalOptions { s.TotalCellStyle = v @@ -75213,6 +75345,14 @@ type ReferenceLineDataConfiguration struct { // The dynamic configuration of the reference line data configuration. DynamicConfiguration *ReferenceLineDynamicDataConfiguration `type:"structure"` + // The series type of the reference line data configuration. Choose one of the + // following options: + // + // * BAR + // + // * LINE + SeriesType *string `type:"string" enum:"ReferenceLineSeriesType"` + // The static data configuration of the reference line data configuration. StaticConfiguration *ReferenceLineStaticDataConfiguration `type:"structure"` } @@ -75267,6 +75407,12 @@ func (s *ReferenceLineDataConfiguration) SetDynamicConfiguration(v *ReferenceLin return s } +// SetSeriesType sets the SeriesType field's value. +func (s *ReferenceLineDataConfiguration) SetSeriesType(v string) *ReferenceLineDataConfiguration { + s.SeriesType = &v + return s +} + // SetStaticConfiguration sets the StaticConfiguration field's value. func (s *ReferenceLineDataConfiguration) SetStaticConfiguration(v *ReferenceLineStaticDataConfiguration) *ReferenceLineDataConfiguration { s.StaticConfiguration = v @@ -83594,6 +83740,96 @@ func (s *SslProperties) SetDisableSsl(v bool) *SslProperties { return s } +// The parameters that are required to connect to a Starburst data source. +type StarburstParameters struct { + _ struct{} `type:"structure"` + + // The catalog name for the Starburst data source. + // + // Catalog is a required field + Catalog *string `type:"string" required:"true"` + + // The host name of the Starburst data source. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` + + // The port for the Starburst data source. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` + + // The product type for the Starburst data source. + ProductType *string `type:"string" enum:"StarburstProductType"` +} + +// 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 StarburstParameters) 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 StarburstParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StarburstParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StarburstParameters"} + if s.Catalog == nil { + invalidParams.Add(request.NewErrParamRequired("Catalog")) + } + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCatalog sets the Catalog field's value. +func (s *StarburstParameters) SetCatalog(v string) *StarburstParameters { + s.Catalog = &v + return s +} + +// SetHost sets the Host field's value. +func (s *StarburstParameters) SetHost(v string) *StarburstParameters { + s.Host = &v + return s +} + +// SetPort sets the Port field's value. +func (s *StarburstParameters) SetPort(v int64) *StarburstParameters { + s.Port = &v + return s +} + +// SetProductType sets the ProductType field's value. +func (s *StarburstParameters) SetProductType(v string) *StarburstParameters { + s.ProductType = &v + return s +} + type StartAssetBundleExportJobInput struct { _ struct{} `type:"structure"` @@ -88781,15 +89017,20 @@ type TimeEqualityFilter struct { // The parameter whose value should be used for the filter value. // - // This field is mutually exclusive to Value. + // This field is mutually exclusive to Value and RollingDate. ParameterName *string `min:"1" type:"string"` + // The rolling date input for the TimeEquality filter. + // + // This field is mutually exclusive to Value and ParameterName. + RollingDate *RollingDateConfiguration `type:"structure"` + // The level of time precision that is used to aggregate DateTime values. TimeGranularity *string `type:"string" enum:"TimeGranularity"` // The value of a TimeEquality filter. // - // This field is mutually exclusive to ParameterName. + // This field is mutually exclusive to RollingDate and ParameterName. Value *time.Time `type:"timestamp"` } @@ -88831,6 +89072,11 @@ func (s *TimeEqualityFilter) Validate() error { invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } + if s.RollingDate != nil { + if err := s.RollingDate.Validate(); err != nil { + invalidParams.AddNested("RollingDate", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -88856,6 +89102,12 @@ func (s *TimeEqualityFilter) SetParameterName(v string) *TimeEqualityFilter { return s } +// SetRollingDate sets the RollingDate field's value. +func (s *TimeEqualityFilter) SetRollingDate(v *RollingDateConfiguration) *TimeEqualityFilter { + s.RollingDate = v + return s +} + // SetTimeGranularity sets the TimeGranularity field's value. func (s *TimeEqualityFilter) SetTimeGranularity(v string) *TimeEqualityFilter { s.TimeGranularity = &v @@ -91174,6 +91426,103 @@ func (s *TotalAggregationComputation) SetValue(v *MeasureField) *TotalAggregatio return s } +// An aggregation function that aggregates the total values of a measure. +type TotalAggregationFunction struct { + _ struct{} `type:"structure"` + + // A built in aggregation function for total values. + SimpleTotalAggregationFunction *string `type:"string" enum:"SimpleTotalAggregationFunction"` +} + +// 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 TotalAggregationFunction) 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 TotalAggregationFunction) GoString() string { + return s.String() +} + +// SetSimpleTotalAggregationFunction sets the SimpleTotalAggregationFunction field's value. +func (s *TotalAggregationFunction) SetSimpleTotalAggregationFunction(v string) *TotalAggregationFunction { + s.SimpleTotalAggregationFunction = &v + return s +} + +// The total aggregation settings map of a field id. +type TotalAggregationOption struct { + _ struct{} `type:"structure"` + + // The field id that's associated with the total aggregation option. + // + // FieldId is a required field + FieldId *string `min:"1" type:"string" required:"true"` + + // The total aggregation function that you want to set for a specified field + // id. + // + // TotalAggregationFunction is a required field + TotalAggregationFunction *TotalAggregationFunction `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TotalAggregationOption) 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 TotalAggregationOption) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TotalAggregationOption) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TotalAggregationOption"} + if s.FieldId == nil { + invalidParams.Add(request.NewErrParamRequired("FieldId")) + } + if s.FieldId != nil && len(*s.FieldId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldId", 1)) + } + if s.TotalAggregationFunction == nil { + invalidParams.Add(request.NewErrParamRequired("TotalAggregationFunction")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFieldId sets the FieldId field's value. +func (s *TotalAggregationOption) SetFieldId(v string) *TotalAggregationOption { + s.FieldId = &v + return s +} + +// SetTotalAggregationFunction sets the TotalAggregationFunction field's value. +func (s *TotalAggregationOption) SetTotalAggregationFunction(v *TotalAggregationFunction) *TotalAggregationOption { + s.TotalAggregationFunction = v + return s +} + // The total options for a table visual. type TotalOptions struct { _ struct{} `type:"structure"` @@ -91187,6 +91536,9 @@ type TotalOptions struct { // The scroll status (pinned, scrolled) for the total cells. ScrollStatus *string `type:"string" enum:"TableTotalsScrollStatus"` + // The total aggregation settings for each value field. + TotalAggregationOptions []*TotalAggregationOption `type:"list"` + // Cell styling options for the total cells. TotalCellStyle *TableCellStyle `type:"structure"` @@ -91215,6 +91567,16 @@ func (s TotalOptions) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *TotalOptions) Validate() error { invalidParams := request.ErrInvalidParams{Context: "TotalOptions"} + if s.TotalAggregationOptions != nil { + for i, v := range s.TotalAggregationOptions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TotalAggregationOptions", i), err.(request.ErrInvalidParams)) + } + } + } if s.TotalCellStyle != nil { if err := s.TotalCellStyle.Validate(); err != nil { invalidParams.AddNested("TotalCellStyle", err.(request.ErrInvalidParams)) @@ -91245,6 +91607,12 @@ func (s *TotalOptions) SetScrollStatus(v string) *TotalOptions { return s } +// SetTotalAggregationOptions sets the TotalAggregationOptions field's value. +func (s *TotalOptions) SetTotalAggregationOptions(v []*TotalAggregationOption) *TotalOptions { + s.TotalAggregationOptions = v + return s +} + // SetTotalCellStyle sets the TotalCellStyle field's value. func (s *TotalOptions) SetTotalCellStyle(v *TableCellStyle) *TotalOptions { s.TotalCellStyle = v @@ -91934,6 +92302,87 @@ func (s *TrendArrowOptions) SetVisibility(v string) *TrendArrowOptions { return s } +// The parameters that are required to connect to a Trino data source. +type TrinoParameters struct { + _ struct{} `type:"structure"` + + // The catalog name for the Trino data source. + // + // Catalog is a required field + Catalog *string `type:"string" required:"true"` + + // The host name of the Trino data source. + // + // Host is a required field + Host *string `min:"1" type:"string" required:"true"` + + // The port for the Trino data source. + // + // Port is a required field + Port *int64 `min:"1" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TrinoParameters) 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 TrinoParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TrinoParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TrinoParameters"} + if s.Catalog == nil { + invalidParams.Add(request.NewErrParamRequired("Catalog")) + } + if s.Host == nil { + invalidParams.Add(request.NewErrParamRequired("Host")) + } + if s.Host != nil && len(*s.Host) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Host", 1)) + } + if s.Port == nil { + invalidParams.Add(request.NewErrParamRequired("Port")) + } + if s.Port != nil && *s.Port < 1 { + invalidParams.Add(request.NewErrParamMinValue("Port", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCatalog sets the Catalog field's value. +func (s *TrinoParameters) SetCatalog(v string) *TrinoParameters { + s.Catalog = &v + return s +} + +// SetHost sets the Host field's value. +func (s *TrinoParameters) SetHost(v string) *TrinoParameters { + s.Host = &v + return s +} + +// SetPort sets the Port field's value. +func (s *TrinoParameters) SetPort(v int64) *TrinoParameters { + s.Port = &v + return s +} + // The parameters for Twitter. type TwitterParameters struct { _ struct{} `type:"structure"` @@ -102466,12 +102915,16 @@ func FolderFilterAttribute_Values() []string { const ( // FolderTypeShared is a FolderType enum value FolderTypeShared = "SHARED" + + // FolderTypeRestricted is a FolderType enum value + FolderTypeRestricted = "RESTRICTED" ) // FolderType_Values returns all elements of the FolderType enum func FolderType_Values() []string { return []string{ FolderTypeShared, + FolderTypeRestricted, } } @@ -103923,6 +104376,30 @@ func PivotTableConditionalFormattingScopeRole_Values() []string { } } +const ( + // PivotTableDataPathTypeHierarchyRowsLayoutColumn is a PivotTableDataPathType enum value + PivotTableDataPathTypeHierarchyRowsLayoutColumn = "HIERARCHY_ROWS_LAYOUT_COLUMN" + + // PivotTableDataPathTypeMultipleRowMetricsColumn is a PivotTableDataPathType enum value + PivotTableDataPathTypeMultipleRowMetricsColumn = "MULTIPLE_ROW_METRICS_COLUMN" + + // PivotTableDataPathTypeEmptyColumnHeader is a PivotTableDataPathType enum value + PivotTableDataPathTypeEmptyColumnHeader = "EMPTY_COLUMN_HEADER" + + // PivotTableDataPathTypeCountMetricColumn is a PivotTableDataPathType enum value + PivotTableDataPathTypeCountMetricColumn = "COUNT_METRIC_COLUMN" +) + +// PivotTableDataPathType_Values returns all elements of the PivotTableDataPathType enum +func PivotTableDataPathType_Values() []string { + return []string{ + PivotTableDataPathTypeHierarchyRowsLayoutColumn, + PivotTableDataPathTypeMultipleRowMetricsColumn, + PivotTableDataPathTypeEmptyColumnHeader, + PivotTableDataPathTypeCountMetricColumn, + } +} + const ( // PivotTableFieldCollapseStateCollapsed is a PivotTableFieldCollapseState enum value PivotTableFieldCollapseStateCollapsed = "COLLAPSED" @@ -104139,6 +104616,22 @@ func ReferenceLinePatternType_Values() []string { } } +const ( + // ReferenceLineSeriesTypeBar is a ReferenceLineSeriesType enum value + ReferenceLineSeriesTypeBar = "BAR" + + // ReferenceLineSeriesTypeLine is a ReferenceLineSeriesType enum value + ReferenceLineSeriesTypeLine = "LINE" +) + +// ReferenceLineSeriesType_Values returns all elements of the ReferenceLineSeriesType enum +func ReferenceLineSeriesType_Values() []string { + return []string{ + ReferenceLineSeriesTypeBar, + ReferenceLineSeriesTypeLine, + } +} + const ( // ReferenceLineValueLabelRelativePositionBeforeCustomLabel is a ReferenceLineValueLabelRelativePosition enum value ReferenceLineValueLabelRelativePositionBeforeCustomLabel = "BEFORE_CUSTOM_LABEL" @@ -104527,6 +105020,38 @@ func SimpleNumericalAggregationFunction_Values() []string { } } +const ( + // SimpleTotalAggregationFunctionDefault is a SimpleTotalAggregationFunction enum value + SimpleTotalAggregationFunctionDefault = "DEFAULT" + + // SimpleTotalAggregationFunctionSum is a SimpleTotalAggregationFunction enum value + SimpleTotalAggregationFunctionSum = "SUM" + + // SimpleTotalAggregationFunctionAverage is a SimpleTotalAggregationFunction enum value + SimpleTotalAggregationFunctionAverage = "AVERAGE" + + // SimpleTotalAggregationFunctionMin is a SimpleTotalAggregationFunction enum value + SimpleTotalAggregationFunctionMin = "MIN" + + // SimpleTotalAggregationFunctionMax is a SimpleTotalAggregationFunction enum value + SimpleTotalAggregationFunctionMax = "MAX" + + // SimpleTotalAggregationFunctionNone is a SimpleTotalAggregationFunction enum value + SimpleTotalAggregationFunctionNone = "NONE" +) + +// SimpleTotalAggregationFunction_Values returns all elements of the SimpleTotalAggregationFunction enum +func SimpleTotalAggregationFunction_Values() []string { + return []string{ + SimpleTotalAggregationFunctionDefault, + SimpleTotalAggregationFunctionSum, + SimpleTotalAggregationFunctionAverage, + SimpleTotalAggregationFunctionMin, + SimpleTotalAggregationFunctionMax, + SimpleTotalAggregationFunctionNone, + } +} + const ( // SmallMultiplesAxisPlacementOutside is a SmallMultiplesAxisPlacement enum value SmallMultiplesAxisPlacementOutside = "OUTSIDE" @@ -104655,6 +105180,22 @@ func SpecialValue_Values() []string { } } +const ( + // StarburstProductTypeGalaxy is a StarburstProductType enum value + StarburstProductTypeGalaxy = "GALAXY" + + // StarburstProductTypeEnterprise is a StarburstProductType enum value + StarburstProductTypeEnterprise = "ENTERPRISE" +) + +// StarburstProductType_Values returns all elements of the StarburstProductType enum +func StarburstProductType_Values() []string { + return []string{ + StarburstProductTypeGalaxy, + StarburstProductTypeEnterprise, + } +} + const ( // StatusEnabled is a Status enum value StatusEnabled = "ENABLED" diff --git a/service/secretsmanager/api.go b/service/secretsmanager/api.go index f38f07ffa44..5893068b042 100644 --- a/service/secretsmanager/api.go +++ b/service/secretsmanager/api.go @@ -2211,25 +2211,8 @@ func (c *SecretsManager) TagResourceRequest(input *TagResourceInput) (req *reque // part of the secret's metadata. They are not associated with specific versions // of the secret. This operation appends tags to the existing list of tags. // -// The following restrictions apply to tags: -// -// - Maximum number of tags per secret: 50 -// -// - Maximum key length: 127 Unicode characters in UTF-8 -// -// - Maximum value length: 255 Unicode characters in UTF-8 -// -// - Tag keys and values are case sensitive. -// -// - Do not use the aws: prefix in your tag names or values because Amazon -// Web Services reserves it for Amazon Web Services use. You can't edit or -// delete tag names or values with this prefix. Tags with this prefix do -// not count against your tags per secret limit. -// -// - If you use your tagging schema across multiple services and resources, -// other services might have restrictions on allowed characters. Generally -// allowed characters: letters, spaces, and numbers representable in UTF-8, -// plus the following special characters: + - = . _ : / @. +// For tag quotas and naming restrictions, see Service quotas for Tagging (https://docs.aws.amazon.com/general/latest/gr/arg.html#taged-reference-quotas) +// in the Amazon Web Services General Reference guide. // // If you use tags as part of your security strategy, then adding or removing // a tag can change permissions. If successfully completing this operation would @@ -2951,10 +2934,10 @@ type CreateSecretInput struct { // If you use the Amazon Web Services CLI or one of the Amazon Web Services // SDKs to call this operation, then you can leave this parameter empty. The // CLI or SDK generates a random UUID for you and includes it as the value for - // this parameter in the request. If you don't use the SDK and instead generate - // a raw HTTP request to the Secrets Manager service endpoint, then you must - // generate a ClientRequestToken yourself for the new version and include the - // value in the request. + // this parameter in the request. + // + // If you generate a raw HTTP request to the Secrets Manager service endpoint, + // then you must generate a ClientRequestToken and include it in the request. // // This value helps ensure idempotency. Secrets Manager uses this value to prevent // the accidental creation of duplicate versions if there are failures and retries @@ -3063,25 +3046,8 @@ type CreateSecretInput struct { // you should use single quotes to avoid confusion with the double quotes required // in the JSON text. // - // The following restrictions apply to tags: - // - // * Maximum number of tags per secret: 50 - // - // * Maximum key length: 127 Unicode characters in UTF-8 - // - // * Maximum value length: 255 Unicode characters in UTF-8 - // - // * Tag keys and values are case sensitive. - // - // * Do not use the aws: prefix in your tag names or values because Amazon - // Web Services reserves it for Amazon Web Services use. You can't edit or - // delete tag names or values with this prefix. Tags with this prefix do - // not count against your tags per secret limit. - // - // * If you use your tagging schema across multiple services and resources, - // other services might have restrictions on allowed characters. Generally - // allowed characters: letters, spaces, and numbers representable in UTF-8, - // plus the following special characters: + - = . _ : / @. + // For tag quotas and naming restrictions, see Service quotas for Tagging (https://docs.aws.amazon.com/general/latest/gr/arg.html#taged-reference-quotas) + // in the Amazon Web Services General Reference guide. Tags []*Tag `type:"list"` } @@ -5399,17 +5365,17 @@ type PutSecretValueInput struct { // A unique identifier for the new version of the secret. // // If you use the Amazon Web Services CLI or one of the Amazon Web Services - // SDKs to call this operation, then you can leave this parameter empty because - // they generate a random UUID for you. If you don't use the SDK and instead - // generate a raw HTTP request to the Secrets Manager service endpoint, then - // you must generate a ClientRequestToken yourself for new versions and include - // that value in the request. + // SDKs to call this operation, then you can leave this parameter empty. The + // CLI or SDK generates a random UUID for you and includes it as the value for + // this parameter in the request. + // + // If you generate a raw HTTP request to the Secrets Manager service endpoint, + // then you must generate a ClientRequestToken and include it in the request. // // This value helps ensure idempotency. Secrets Manager uses this value to prevent // the accidental creation of duplicate versions if there are failures and retries - // during the Lambda rotation function processing. We recommend that you generate - // a UUID-type (https://wikipedia.org/wiki/Universally_unique_identifier) value - // to ensure uniqueness within the specified secret. + // during a rotation. We recommend that you generate a UUID-type (https://wikipedia.org/wiki/Universally_unique_identifier) + // value to ensure uniqueness of your versions within the specified secret. // // * If the ClientRequestToken value isn't already associated with a version // of the secret then a new version of the secret is created. @@ -6195,23 +6161,22 @@ func (s *RestoreSecretOutput) SetName(v string) *RestoreSecretOutput { type RotateSecretInput struct { _ struct{} `type:"structure"` - // A unique identifier for the new version of the secret that helps ensure idempotency. - // Secrets Manager uses this value to prevent the accidental creation of duplicate - // versions if there are failures and retries during rotation. This value becomes - // the VersionId of the new version. + // A unique identifier for the new version of the secret. You only need to specify + // this value if you implement your own retry logic and you want to ensure that + // Secrets Manager doesn't attempt to create a secret version twice. // // If you use the Amazon Web Services CLI or one of the Amazon Web Services - // SDK to call this operation, then you can leave this parameter empty. The - // CLI or SDK generates a random UUID for you and includes that in the request - // for this parameter. If you don't use the SDK and instead generate a raw HTTP - // request to the Secrets Manager service endpoint, then you must generate a - // ClientRequestToken yourself for new versions and include that value in the - // request. - // - // You only need to specify this value if you implement your own retry logic - // and you want to ensure that Secrets Manager doesn't attempt to create a secret - // version twice. We recommend that you generate a UUID-type (https://wikipedia.org/wiki/Universally_unique_identifier) - // value to ensure uniqueness within the specified secret. + // SDKs to call this operation, then you can leave this parameter empty. The + // CLI or SDK generates a random UUID for you and includes it as the value for + // this parameter in the request. + // + // If you generate a raw HTTP request to the Secrets Manager service endpoint, + // then you must generate a ClientRequestToken and include it in the request. + // + // This value helps ensure idempotency. Secrets Manager uses this value to prevent + // the accidental creation of duplicate versions if there are failures and retries + // during a rotation. We recommend that you generate a UUID-type (https://wikipedia.org/wiki/Universally_unique_identifier) + // value to ensure uniqueness of your versions within the specified secret. ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` // Specifies whether to rotate the secret immediately or wait until the next @@ -7090,12 +7055,15 @@ type UpdateSecretInput struct { // If you use the Amazon Web Services CLI or one of the Amazon Web Services // SDKs to call this operation, then you can leave this parameter empty. The // CLI or SDK generates a random UUID for you and includes it as the value for - // this parameter in the request. If you don't use the SDK and instead generate - // a raw HTTP request to the Secrets Manager service endpoint, then you must - // generate a ClientRequestToken yourself for the new version and include the - // value in the request. + // this parameter in the request. // - // This value becomes the VersionId of the new version. + // If you generate a raw HTTP request to the Secrets Manager service endpoint, + // then you must generate a ClientRequestToken and include it in the request. + // + // This value helps ensure idempotency. Secrets Manager uses this value to prevent + // the accidental creation of duplicate versions if there are failures and retries + // during a rotation. We recommend that you generate a UUID-type (https://wikipedia.org/wiki/Universally_unique_identifier) + // value to ensure uniqueness of your versions within the specified secret. ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` // The description of the secret. diff --git a/service/servicecatalog/api.go b/service/servicecatalog/api.go index ed23ab94683..57fe49cc008 100644 --- a/service/servicecatalog/api.go +++ b/service/servicecatalog/api.go @@ -244,7 +244,7 @@ func (c *ServiceCatalog) AssociatePrincipalWithPortfolioRequest(input *Associate // The PortfolioID, PrincipalARN, and PrincipalType parameters are required. // // You can associate a maximum of 10 Principals with a portfolio using PrincipalType -// as IAM_PATTERN +// as IAM_PATTERN. // // When you associate a principal with portfolio, a potential privilege escalation // path may occur when that portfolio is then shared with other accounts. For @@ -20076,7 +20076,8 @@ type ProvisionedProductAttribute struct { // One or more tags. Tags []*Tag `type:"list"` - // The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET. + // The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, + // TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL. Type *string `type:"string"` // The Amazon Resource Name (ARN) of the user. @@ -20301,7 +20302,8 @@ type ProvisionedProductDetail struct { // The current status message of the provisioned product. StatusMessage *string `type:"string"` - // The type of provisioned product. The supported values are CFN_STACK and CFN_STACKSET. + // The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, + // TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL. Type *string `type:"string"` } @@ -20752,7 +20754,13 @@ type ProvisioningArtifactDetail struct { // The type of provisioning artifact. // - // CLOUD_FORMATION_TEMPLATE - CloudFormation template + // * CLOUD_FORMATION_TEMPLATE - CloudFormation template + // + // * TERRAFORM_OPEN_SOURCE - Terraform Open Source configuration file + // + // * TERRAFORM_CLOUD - Terraform Cloud configuration file + // + // * EXTERNAL - External configuration file Type *string `type:"string" enum:"ProvisioningArtifactType"` } @@ -21033,7 +21041,11 @@ type ProvisioningArtifactProperties struct { // // * CLOUD_FORMATION_TEMPLATE - CloudFormation template // - // * TERRAFORM_OPEN_SOURCE - Terraform open source configuration file + // * TERRAFORM_OPEN_SOURCE - Terraform Open Source configuration file + // + // * TERRAFORM_CLOUD - Terraform Cloud configuration file + // + // * EXTERNAL - External configuration file Type *string `type:"string" enum:"ProvisioningArtifactType"` } @@ -21461,7 +21473,7 @@ type RecordDetail struct { ProvisionedProductName *string `min:"1" type:"string"` // The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, - // TERRAFORM_OPEN_SOURCE, and TERRAFORM_CLOUD. + // TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL. ProvisionedProductType *string `type:"string"` // The identifier of the provisioning artifact. @@ -25795,6 +25807,9 @@ const ( // ProductTypeTerraformCloud is a ProductType enum value ProductTypeTerraformCloud = "TERRAFORM_CLOUD" + + // ProductTypeExternal is a ProductType enum value + ProductTypeExternal = "EXTERNAL" ) // ProductType_Values returns all elements of the ProductType enum @@ -25804,6 +25819,7 @@ func ProductType_Values() []string { ProductTypeMarketplace, ProductTypeTerraformOpenSource, ProductTypeTerraformCloud, + ProductTypeExternal, } } @@ -25994,6 +26010,9 @@ const ( // ProvisioningArtifactTypeTerraformCloud is a ProvisioningArtifactType enum value ProvisioningArtifactTypeTerraformCloud = "TERRAFORM_CLOUD" + + // ProvisioningArtifactTypeExternal is a ProvisioningArtifactType enum value + ProvisioningArtifactTypeExternal = "EXTERNAL" ) // ProvisioningArtifactType_Values returns all elements of the ProvisioningArtifactType enum @@ -26004,6 +26023,7 @@ func ProvisioningArtifactType_Values() []string { ProvisioningArtifactTypeMarketplaceCar, ProvisioningArtifactTypeTerraformOpenSource, ProvisioningArtifactTypeTerraformCloud, + ProvisioningArtifactTypeExternal, } } diff --git a/service/verifiedpermissions/api.go b/service/verifiedpermissions/api.go index 369dcf1a3ed..579fb9e6232 100644 --- a/service/verifiedpermissions/api.go +++ b/service/verifiedpermissions/api.go @@ -125,14 +125,14 @@ func (c *VerifiedPermissions) CreateIdentitySourceRequest(input *CreateIdentityS // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -149,6 +149,10 @@ func (c *VerifiedPermissions) CreateIdentitySourceRequest(input *CreateIdentityS // - ServiceQuotaExceededException // The request failed because it would cause a service quota to be exceeded. // +// - ConflictException +// The request failed because another request to modify a resource occurred +// at the same. +// // - AccessDeniedException // You don't have sufficient access to perform this action. // @@ -282,14 +286,14 @@ func (c *VerifiedPermissions) CreatePolicyRequest(input *CreatePolicyInput) (req // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -306,6 +310,10 @@ func (c *VerifiedPermissions) CreatePolicyRequest(input *CreatePolicyInput) (req // - ServiceQuotaExceededException // The request failed because it would cause a service quota to be exceeded. // +// - ConflictException +// The request failed because another request to modify a resource occurred +// at the same. +// // - AccessDeniedException // You don't have sufficient access to perform this action. // @@ -385,7 +393,7 @@ func (c *VerifiedPermissions) CreatePolicyStoreRequest(input *CreatePolicyStoreI // // Creates a policy store. A policy store is a container for policy resources. // -// Although Cedar supports multiple namespaces (https://docs.cedarpolicy.com/schema.html#namespace), +// Although Cedar supports multiple namespaces (https://docs.cedarpolicy.com/schema/schema.html#namespace), // Verified Permissions currently supports only one namespace per policy store. // // Verified Permissions is eventually consistent (https://wikipedia.org/wiki/Eventual_consistency) @@ -428,14 +436,14 @@ func (c *VerifiedPermissions) CreatePolicyStoreRequest(input *CreatePolicyStoreI // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -452,6 +460,10 @@ func (c *VerifiedPermissions) CreatePolicyStoreRequest(input *CreatePolicyStoreI // - ServiceQuotaExceededException // The request failed because it would cause a service quota to be exceeded. // +// - ConflictException +// The request failed because another request to modify a resource occurred +// at the same. +// // - AccessDeniedException // You don't have sufficient access to perform this action. // @@ -574,14 +586,14 @@ func (c *VerifiedPermissions) CreatePolicyTemplateRequest(input *CreatePolicyTem // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -598,6 +610,10 @@ func (c *VerifiedPermissions) CreatePolicyTemplateRequest(input *CreatePolicyTem // - ServiceQuotaExceededException // The request failed because it would cause a service quota to be exceeded. // +// - ConflictException +// The request failed because another request to modify a resource occurred +// at the same. +// // - AccessDeniedException // You don't have sufficient access to perform this action. // @@ -717,14 +733,14 @@ func (c *VerifiedPermissions) DeleteIdentitySourceRequest(input *DeleteIdentityS // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -860,14 +876,14 @@ func (c *VerifiedPermissions) DeletePolicyRequest(input *DeletePolicyInput) (req // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1004,14 +1020,14 @@ func (c *VerifiedPermissions) DeletePolicyStoreRequest(input *DeletePolicyStoreI // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1141,14 +1157,14 @@ func (c *VerifiedPermissions) DeletePolicyTemplateRequest(input *DeletePolicyTem // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1280,14 +1296,14 @@ func (c *VerifiedPermissions) GetIdentitySourceRequest(input *GetIdentitySourceI // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1415,14 +1431,14 @@ func (c *VerifiedPermissions) GetPolicyRequest(input *GetPolicyInput) (req *requ // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1550,14 +1566,14 @@ func (c *VerifiedPermissions) GetPolicyStoreRequest(input *GetPolicyStoreInput) // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1686,14 +1702,14 @@ func (c *VerifiedPermissions) GetPolicyTemplateRequest(input *GetPolicyTemplateI // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1821,14 +1837,14 @@ func (c *VerifiedPermissions) GetSchemaRequest(input *GetSchemaInput) (req *requ // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -1961,14 +1977,14 @@ func (c *VerifiedPermissions) IsAuthorizedRequest(input *IsAuthorizedInput) (req // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -2119,14 +2135,14 @@ func (c *VerifiedPermissions) IsAuthorizedWithTokenRequest(input *IsAuthorizedWi // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -2261,14 +2277,14 @@ func (c *VerifiedPermissions) ListIdentitySourcesRequest(input *ListIdentitySour // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -2453,14 +2469,14 @@ func (c *VerifiedPermissions) ListPoliciesRequest(input *ListPoliciesInput) (req // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -2646,14 +2662,14 @@ func (c *VerifiedPermissions) ListPolicyStoresRequest(input *ListPolicyStoresInp // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -2836,14 +2852,14 @@ func (c *VerifiedPermissions) ListPolicyTemplatesRequest(input *ListPolicyTempla // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -3032,14 +3048,14 @@ func (c *VerifiedPermissions) PutSchemaRequest(input *PutSchemaInput) (req *requ // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -3181,14 +3197,14 @@ func (c *VerifiedPermissions) UpdateIdentitySourceRequest(input *UpdateIdentityS // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -3343,14 +3359,14 @@ func (c *VerifiedPermissions) UpdatePolicyRequest(input *UpdatePolicyInput) (req // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -3490,14 +3506,14 @@ func (c *VerifiedPermissions) UpdatePolicyStoreRequest(input *UpdatePolicyStoreI // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -3595,9 +3611,9 @@ func (c *VerifiedPermissions) UpdatePolicyTemplateRequest(input *UpdatePolicyTem // Updates the specified policy template. You can update only the description // and the some elements of the policyBody (https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyTemplate.html#amazonverifiedpermissions-UpdatePolicyTemplate-request-policyBody). // -// Changes you make to the policy template content are immediately reflected -// in authorization decisions that involve all template-linked policies instantiated -// from this template. +// Changes you make to the policy template content are immediately (within the +// constraints of eventual consistency) reflected in authorization decisions +// that involve all template-linked policies instantiated from this template. // // Verified Permissions is eventually consistent (https://wikipedia.org/wiki/Eventual_consistency) // . It can take a few seconds for a new or changed element to be propagate @@ -3639,14 +3655,14 @@ func (c *VerifiedPermissions) UpdatePolicyTemplateRequest(input *UpdatePolicyTem // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always @@ -3856,7 +3872,7 @@ func (s *ActionIdentifier) SetActionType(v string) *ActionIdentifier { type AttributeValue struct { _ struct{} `type:"structure"` - // An attribute value of Boolean (https://docs.cedarpolicy.com/syntax-datatypes.html#boolean) + // An attribute value of Boolean (https://docs.cedarpolicy.com/policies/syntax-datatypes.html#boolean) // type. // // Example: {"boolean": true} @@ -3872,7 +3888,7 @@ type AttributeValue struct { // type>"} EntityIdentifier *EntityIdentifier `locationName:"entityIdentifier" type:"structure"` - // An attribute value of Long (https://docs.cedarpolicy.com/syntax-datatypes.html#long) + // An attribute value of Long (https://docs.cedarpolicy.com/policies/syntax-datatypes.html#long) // type. // // Example: {"long": 0} @@ -3882,19 +3898,19 @@ type AttributeValue struct { // String and GoString methods. Long *int64 `locationName:"long" type:"long" sensitive:"true"` - // An attribute value of Record (https://docs.cedarpolicy.com/syntax-datatypes.html#record) + // An attribute value of Record (https://docs.cedarpolicy.com/policies/syntax-datatypes.html#record) // type. // // Example: {"record": { "keyName": {} } } Record map[string]*AttributeValue `locationName:"record" type:"map"` - // An attribute value of Set (https://docs.cedarpolicy.com/syntax-datatypes.html#set) + // An attribute value of Set (https://docs.cedarpolicy.com/policies/syntax-datatypes.html#set) // type. // // Example: {"set": [ {} ] } Set []*AttributeValue `locationName:"set" type:"list"` - // An attribute value of String (https://docs.cedarpolicy.com/syntax-datatypes.html#string) + // An attribute value of String (https://docs.cedarpolicy.com/policies/syntax-datatypes.html#string) // type. // // Example: {"string": "abc"} @@ -10051,14 +10067,14 @@ func (s *UpdateStaticPolicyDefinition) SetStatement(v string) *UpdateStaticPolic // - MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see -// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) -// operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) +// operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // - ImpossiblePolicy Cedar has determined that a policy condition always diff --git a/service/verifiedpermissions/errors.go b/service/verifiedpermissions/errors.go index 2157d6b6d97..65cc62036b1 100644 --- a/service/verifiedpermissions/errors.go +++ b/service/verifiedpermissions/errors.go @@ -73,14 +73,14 @@ const ( // * MissingAttribute The policy attempts to access a record or entity attribute // that isn't specified in the schema. Test for the existence of the attribute // first before attempting to access its value. For more information, see - // the has (presence of attribute test) operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) + // the has (presence of attribute test) operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // * UnsafeOptionalAttributeAccess The policy attempts to access a record // or entity attribute that is optional and isn't guaranteed to be present. // Test for the existence of the attribute first before attempting to access // its value. For more information, see the has (presence of attribute test) - // operator (https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test) + // operator (https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test) // in the Cedar Policy Language Guide. // // * ImpossiblePolicy Cedar has determined that a policy condition always diff --git a/service/workspaces/api.go b/service/workspaces/api.go index c11bb770aeb..3082345f30a 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -1344,7 +1344,8 @@ func (c *WorkSpaces) CreateWorkspacesRequest(input *CreateWorkspacesInput) (req // Core. Contact your account team to be allow-listed to use this value. // For more information, see Amazon WorkSpaces Core (http://aws.amazon.com/workspaces/core/). // -// - PCoIP is only available for Windows bundles. +// - You don't need to specify the PCOIP protocol for Linux bundles because +// WSP is the default protocol for those bundles. // // 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