From 92466d91dff10f8a0bbd08410a17bb4ce36409cf Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:41:52 -0400 Subject: [PATCH] Release v1.51.22 (2024-04-16) (#5226) Release v1.51.22 (2024-04-16) === ### Service Client Updates * `service/bedrock-agent`: Updates service API and documentation * `service/emr-serverless`: Updates service API and documentation * `service/entityresolution`: Updates service API, documentation, and paginators * `service/iotwireless`: Updates service API and documentation * `service/lakeformation`: Updates service API and documentation * `service/m2`: Updates service API and documentation * `service/mediapackagev2`: Updates service API and documentation * `service/outposts`: Updates service API, documentation, and paginators * `service/wellarchitected`: Updates service API and documentation --- CHANGELOG.md | 14 + aws/endpoints/defaults.go | 19 + aws/version.go | 2 +- .../apis/bedrock-agent/2023-06-05/api-2.json | 5 +- .../apis/bedrock-agent/2023-06-05/docs-2.json | 66 +- .../apis/emr-serverless/2021-07-13/api-2.json | 7 +- .../emr-serverless/2021-07-13/docs-2.json | 6 + .../2021-07-13/endpoint-rule-set-1.json | 40 +- .../entityresolution/2018-05-10/api-2.json | 1087 +++- .../entityresolution/2018-05-10/docs-2.json | 410 +- .../2018-05-10/paginators-1.json | 6 + models/apis/iotwireless/2020-11-22/api-2.json | 27 +- .../apis/iotwireless/2020-11-22/docs-2.json | 115 +- .../apis/lakeformation/2017-03-31/api-2.json | 8 +- .../apis/lakeformation/2017-03-31/docs-2.json | 10 +- models/apis/m2/2021-04-28/api-2.json | 84 + models/apis/m2/2021-04-28/docs-2.json | 49 + .../apis/mediapackagev2/2022-12-25/api-2.json | 164 +- .../mediapackagev2/2022-12-25/docs-2.json | 133 + models/apis/outposts/2019-12-03/api-2.json | 315 + models/apis/outposts/2019-12-03/docs-2.json | 190 +- .../outposts/2019-12-03/paginators-1.json | 12 + .../wellarchitected/2020-03-31/api-2.json | 217 +- .../wellarchitected/2020-03-31/docs-2.json | 150 +- .../2020-03-31/endpoint-rule-set-1.json | 40 +- models/endpoints/endpoints.json | 11 +- service/bedrockagent/api.go | 256 +- service/bedrockagent/errors.go | 4 +- service/emrserverless/api.go | 11 + service/entityresolution/api.go | 5050 +++++++++++++---- .../entityresolutioniface/interface.go | 43 +- service/iotwireless/api.go | 316 +- service/lakeformation/api.go | 86 +- service/m2/api.go | 447 ++ service/m2/m2iface/interface.go | 4 + service/mediapackagev2/api.go | 676 +++ service/outposts/api.go | 1660 +++++- service/outposts/outpostsiface/interface.go | 30 +- service/wellarchitected/api.go | 1006 +++- .../wellarchitectediface/interface.go | 8 + 40 files changed, 11180 insertions(+), 1604 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2085df2b162..eeec1a0bf99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.51.22 (2024-04-16) +=== + +### Service Client Updates +* `service/bedrock-agent`: Updates service API and documentation +* `service/emr-serverless`: Updates service API and documentation +* `service/entityresolution`: Updates service API, documentation, and paginators +* `service/iotwireless`: Updates service API and documentation +* `service/lakeformation`: Updates service API and documentation +* `service/m2`: Updates service API and documentation +* `service/mediapackagev2`: Updates service API and documentation +* `service/outposts`: Updates service API, documentation, and paginators +* `service/wellarchitected`: Updates service API and documentation + Release v1.51.21 (2024-04-12) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 002261b0d85..ca021ad5fd4 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -6905,6 +6905,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -6932,6 +6935,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -7074,6 +7080,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -45397,6 +45406,9 @@ var awsisoPartition = partition{ endpointKey{ Region: "us-iso-east-1", }: endpoint{}, + endpointKey{ + Region: "us-iso-west-1", + }: endpoint{}, }, }, "sns": service{ @@ -45915,6 +45927,13 @@ var awsisobPartition = partition{ }: endpoint{}, }, }, + "firehose": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-isob-east-1", + }: endpoint{}, + }, + }, "glacier": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 1b7eb93718c..f2fe807095e 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.51.21" +const SDKVersion = "1.51.22" diff --git a/models/apis/bedrock-agent/2023-06-05/api-2.json b/models/apis/bedrock-agent/2023-06-05/api-2.json index 396d05735d6..be00edf7b52 100644 --- a/models/apis/bedrock-agent/2023-06-05/api-2.json +++ b/models/apis/bedrock-agent/2023-06-05/api-2.json @@ -1259,10 +1259,7 @@ }, "CreateAgentRequest":{ "type":"structure", - "required":[ - "agentName", - "agentResourceRoleArn" - ], + "required":["agentName"], "members":{ "agentName":{"shape":"Name"}, "agentResourceRoleArn":{"shape":"AgentRoleArn"}, diff --git a/models/apis/bedrock-agent/2023-06-05/docs-2.json b/models/apis/bedrock-agent/2023-06-05/docs-2.json index ae4e8c3e186..4f1dbe071b2 100644 --- a/models/apis/bedrock-agent/2023-06-05/docs-2.json +++ b/models/apis/bedrock-agent/2023-06-05/docs-2.json @@ -3,11 +3,11 @@ "service": "
Describes the API operations for creating and managing Amazon Bedrock agents.
", "operations": { "AssociateAgentKnowledgeBase": "Associates a knowledge base with an agent. If a knowledge base is associated and its indexState
is set to Enabled
, the agent queries the knowledge base for information to augment its response to the user.
Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
Specify the following fields for security purposes.
agentResourceRoleArn
– The ARN of the role with permissions to create an agent.
(Optional) customerEncryptionKeyArn
– The ARN of a KMS key to encrypt the creation of the agent.
(Optional) idleSessionTTLinSeconds
– Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent
request begins a new session.
To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration
object. For more information, see Advanced prompts.
If you agent fails to be created, the response returns a list of failureReasons
alongside a list of recommendedActions
for you to troubleshoot.
Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
Specify the following fields for security purposes.
agentResourceRoleArn
– The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.
(Optional) customerEncryptionKeyArn
– The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.
(Optional) idleSessionTTLinSeconds
– Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent
request begins a new session.
To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration
object. For more information, see Advanced prompts.
If you agent fails to be created, the response returns a list of failureReasons
alongside a list of recommendedActions
for you to troubleshoot.
Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.
To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature
field set to AMAZON.UserInput
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
Creates an alias of an agent that can be used to deploy the agent.
", "CreateDataSource": "Sets up a data source to be added to a knowledge base.
You can't change the chunkingConfiguration
after you create the data source.
Creates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion.
If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base.
Provide the name
and an optional description
.
Provide the ARN with permissions to create a knowledge base in the roleArn
field.
Provide the embedding model to use in the embeddingModelArn
field in the knowledgeBaseConfiguration
object.
Provide the configuration for your vector store in the storageConfiguration
object.
For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration
object. For more information, see Create a vector store in Amazon OpenSearch Service.
For an Amazon Aurora database, use the RdsConfiguration
object. For more information, see Create a vector store in Amazon Aurora.
For a Pinecone database, use the pineconeConfiguration
object. For more information, see Create a vector store in Pinecone.
For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration
object. For more information, see Create a vector store in Redis Enterprise Cloud.
Creates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion.
If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base.
Provide the name
and an optional description
.
Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn
field.
Provide the embedding model to use in the embeddingModelArn
field in the knowledgeBaseConfiguration
object.
Provide the configuration for your vector store in the storageConfiguration
object.
For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration
object. For more information, see Create a vector store in Amazon OpenSearch Service.
For an Amazon Aurora database, use the RdsConfiguration
object. For more information, see Create a vector store in Amazon Aurora.
For a Pinecone database, use the pineconeConfiguration
object. For more information, see Create a vector store in Pinecone.
For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration
object. For more information, see Create a vector store in Redis Enterprise Cloud.
Deletes an agent.
", "DeleteAgentActionGroup": "Deletes an action group in an agent.
", "DeleteAgentAlias": "Deletes an alias of an agent.
", @@ -60,9 +60,9 @@ "ActionGroupExecutor": { "base": "Contains details about the Lambda function containing the business logic that is carried out upon invoking the action.
", "refs": { - "AgentActionGroup$actionGroupExecutor": "The ARN of the Lambda function containing the business logic that is carried out upon invoking the action.
", - "CreateAgentActionGroupRequest$actionGroupExecutor": "The ARN of the Lambda function containing the business logic that is carried out upon invoking the action.
", - "UpdateAgentActionGroupRequest$actionGroupExecutor": "The ARN of the Lambda function containing the business logic that is carried out upon invoking the action.
" + "AgentActionGroup$actionGroupExecutor": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
", + "CreateAgentActionGroupRequest$actionGroupExecutor": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
", + "UpdateAgentActionGroupRequest$actionGroupExecutor": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
" } }, "ActionGroupSignature": { @@ -121,7 +121,7 @@ "AgentAliasArn": { "base": null, "refs": { - "AgentAlias$agentAliasArn": "The ARN of the alias of the agent.
" + "AgentAlias$agentAliasArn": "The Amazon Resource Name (ARN) of the alias of the agent.
" } }, "AgentAliasHistoryEvent": { @@ -186,8 +186,8 @@ "AgentArn": { "base": null, "refs": { - "Agent$agentArn": "The ARN of the agent.
", - "AgentVersion$agentArn": "The ARN of the agent that the version belongs to.
" + "Agent$agentArn": "The Amazon Resource Name (ARN) of the agent.
", + "AgentVersion$agentArn": "The Amazon Resource Name (ARN) of the agent that the version belongs to.
" } }, "AgentKnowledgeBase": { @@ -213,10 +213,10 @@ "AgentRoleArn": { "base": null, "refs": { - "Agent$agentResourceRoleArn": "The ARN of the IAM role with permissions to call API operations on the agent. The ARN must begin with AmazonBedrockExecutionRoleForAgents_
.
The ARN of the IAM role with permissions to invoke API operations on the agent. The ARN must begin with AmazonBedrockExecutionRoleForAgents_
.
The ARN of the IAM role with permissions to create the agent. The ARN must begin with AmazonBedrockExecutionRoleForAgents_
.
The ARN of the IAM role with permissions to update the agent. The ARN must begin with AmazonBedrockExecutionRoleForAgents_
.
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
", + "AgentVersion$agentResourceRoleArn": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
", + "CreateAgentRequest$agentResourceRoleArn": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
", + "UpdateAgentRequest$agentResourceRoleArn": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" } }, "AgentStatus": { @@ -280,7 +280,7 @@ "BedrockEmbeddingModelArn": { "base": null, "refs": { - "VectorKnowledgeBaseConfiguration$embeddingModelArn": "The ARN of the model used to create vector embeddings for the knowledge base.
" + "VectorKnowledgeBaseConfiguration$embeddingModelArn": "The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
" } }, "Boolean": { @@ -893,11 +893,11 @@ "KmsKeyArn": { "base": null, "refs": { - "Agent$customerEncryptionKeyArn": "The ARN of the KMS key that encrypts the agent.
", - "AgentVersion$customerEncryptionKeyArn": "The ARN of the KMS key that encrypts the agent.
", - "CreateAgentRequest$customerEncryptionKeyArn": "The ARN of the KMS key with which to encrypt the agent.
", - "ServerSideEncryptionConfiguration$kmsKeyArn": "The ARN of the KMS key used to encrypt the resource.
", - "UpdateAgentRequest$customerEncryptionKeyArn": "The ARN of the KMS key with which to encrypt the agent.
" + "Agent$customerEncryptionKeyArn": "The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
", + "AgentVersion$customerEncryptionKeyArn": "The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
", + "CreateAgentRequest$customerEncryptionKeyArn": "The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
", + "ServerSideEncryptionConfiguration$kmsKeyArn": "The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
", + "UpdateAgentRequest$customerEncryptionKeyArn": "The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
" } }, "KnowledgeBase": { @@ -911,7 +911,7 @@ "KnowledgeBaseArn": { "base": null, "refs": { - "KnowledgeBase$knowledgeBaseArn": "The ARN of the knowledge base.
" + "KnowledgeBase$knowledgeBaseArn": "The Amazon Resource Name (ARN) of the knowledge base.
" } }, "KnowledgeBaseConfiguration": { @@ -925,9 +925,9 @@ "KnowledgeBaseRoleArn": { "base": null, "refs": { - "CreateKnowledgeBaseRequest$roleArn": "The ARN of the IAM role with permissions to create the knowledge base.
", - "KnowledgeBase$roleArn": "The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
.
Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to modify the knowledge base.
" + "CreateKnowledgeBaseRequest$roleArn": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
", + "KnowledgeBase$roleArn": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
", + "UpdateKnowledgeBaseRequest$roleArn": "Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
" } }, "KnowledgeBaseState": { @@ -974,7 +974,7 @@ "LambdaArn": { "base": null, "refs": { - "ActionGroupExecutor$lambda": "The ARN of the Lambda function containing the business logic that is carried out upon invoking the action.
", + "ActionGroupExecutor$lambda": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
", "PromptOverrideConfiguration$overrideLambda": "The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the promptConfigurations
must contain a parserMode
value that is set to OVERRIDDEN
.
The ARN of the OpenSearch Service vector store.
" + "OpenSearchServerlessConfiguration$collectionArn": "The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
" } }, "OpenSearchServerlessConfiguration": { @@ -1279,7 +1279,7 @@ "RdsArn": { "base": null, "refs": { - "RdsConfiguration$resourceArn": "The ARN of the vector store.
" + "RdsConfiguration$resourceArn": "The Amazon Resource Name (ARN) of the vector store.
" } }, "RdsConfiguration": { @@ -1344,14 +1344,14 @@ } }, "ResourceNotFoundException": { - "base": "The specified resource ARN was not found. Check the ARN and try your request again.
", + "base": "The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
", "refs": { } }, "S3BucketArn": { "base": null, "refs": { - "S3DataSourceConfiguration$bucketArn": "The ARN of the bucket that contains the data source.
" + "S3DataSourceConfiguration$bucketArn": "The Amazon Resource Name (ARN) of the bucket that contains the data source.
" } }, "S3BucketName": { @@ -1393,9 +1393,9 @@ "SecretArn": { "base": null, "refs": { - "PineconeConfiguration$credentialsSecretArn": "The ARN of the secret that you created in Secrets Manager that is linked to your Pinecone API key.
", - "RdsConfiguration$credentialsSecretArn": "The ARN of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.
", - "RedisEnterpriseCloudConfiguration$credentialsSecretArn": "The ARN of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.
" + "PineconeConfiguration$credentialsSecretArn": "The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.
", + "RdsConfiguration$credentialsSecretArn": "The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.
", + "RedisEnterpriseCloudConfiguration$credentialsSecretArn": "The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.
" } }, "ServerSideEncryptionConfiguration": { @@ -1488,9 +1488,9 @@ "TaggableResourcesArn": { "base": null, "refs": { - "ListTagsForResourceRequest$resourceArn": "The ARN of the resource for which to list tags.
", - "TagResourceRequest$resourceArn": "The ARN of the resource to tag.
", - "UntagResourceRequest$resourceArn": "The ARN of the resource from which to remove tags.
" + "ListTagsForResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource for which to list tags.
", + "TagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource to tag.
", + "UntagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource from which to remove tags.
" } }, "TagsMap": { diff --git a/models/apis/emr-serverless/2021-07-13/api-2.json b/models/apis/emr-serverless/2021-07-13/api-2.json index 09272251620..2b64a347e8c 100644 --- a/models/apis/emr-serverless/2021-07-13/api-2.json +++ b/models/apis/emr-serverless/2021-07-13/api-2.json @@ -525,6 +525,10 @@ "min":1, "pattern":"[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)" }, + "DiskType":{ + "type":"string", + "pattern":"(SHUFFLE_OPTIMIZED|[Ss]huffle_[Oo]ptimized|STANDARD|[Ss]tandard)" + }, "Double":{ "type":"double", "box":true @@ -1352,7 +1356,8 @@ "members":{ "cpu":{"shape":"CpuSize"}, "memory":{"shape":"MemorySize"}, - "disk":{"shape":"DiskSize"} + "disk":{"shape":"DiskSize"}, + "diskType":{"shape":"DiskType"} } }, "WorkerTypeSpecification":{ diff --git a/models/apis/emr-serverless/2021-07-13/docs-2.json b/models/apis/emr-serverless/2021-07-13/docs-2.json index ffeaad36d71..876534c6936 100644 --- a/models/apis/emr-serverless/2021-07-13/docs-2.json +++ b/models/apis/emr-serverless/2021-07-13/docs-2.json @@ -232,6 +232,12 @@ "WorkerResourceConfig$disk": "The disk requirements for every worker instance of the worker type.
" } }, + "DiskType": { + "base": null, + "refs": { + "WorkerResourceConfig$diskType": "The disk type for every worker instance of the work type. Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is STANDARD
.
Welcome to the Entity Resolution API Reference.
Entity Resolution is an Amazon Web Services service that provides pre-configured entity resolution capabilities that enable developers and analysts at advertising and marketing companies to build an accurate and complete view of their consumers.
With Entity Resolution, you can match source records containing consumer identifiers, such as name, email address, and phone number. This is true even when these records have incomplete or conflicting identifiers. For example, Entity Resolution can effectively match a source record from a customer relationship management (CRM) system with a source record from a marketing system containing campaign information.
To learn more about Entity Resolution concepts, procedures, and best practices, see the Entity Resolution User Guide.
", "operations": { + "AddPolicyStatement": "Adds a policy statement object. To retrieve a list of existing policy statements, use the GetPolicy
API.
Creates an IdMappingWorkflow
object which stores the configuration of the data processing job to be run. Each IdMappingWorkflow
must have a unique workflow name. To modify an existing workflow, use the UpdateIdMappingWorkflow
API.
Creates an ID namespace object which will help customers provide metadata explaining their dataset and how to use it. Each ID namespace must have a unique name. To modify an existing ID namespace, use the UpdateIdNamespace
API.
Creates a MatchingWorkflow
object which stores the configuration of the data processing job to be run. It is important to note that there should not be a pre-existing MatchingWorkflow
with the same name. To modify an existing workflow, utilize the UpdateMatchingWorkflow
API.
Creates a schema mapping, which defines the schema of the input customer records table. The SchemaMapping
also provides Entity Resolution with some metadata about the table, such as the attribute types of the columns and which columns to match on.
Deletes the IdMappingWorkflow
with a given name. This operation will succeed even if a workflow with the given name does not exist.
Deletes the IdNamespace
with a given name.
Deletes the MatchingWorkflow
with a given name. This operation will succeed even if a workflow with the given name does not exist.
Deletes the policy statement.
", "DeleteSchemaMapping": "Deletes the SchemaMapping
with a given name. This operation will succeed even if a schema with the given name does not exist. This operation will fail if there is a MatchingWorkflow
object that references the SchemaMapping
in the workflow's InputSourceConfig
.
Gets the status, metrics, and errors (if there are any) that are associated with a job.
", "GetIdMappingWorkflow": "Returns the IdMappingWorkflow
with a given name, if it exists.
Returns the IdNamespace
with a given name, if it exists.
Returns the corresponding Match ID of a customer record if the record has been processed.
", "GetMatchingJob": "Gets the status, metrics, and errors (if there are any) that are associated with a job.
", "GetMatchingWorkflow": "Returns the MatchingWorkflow
with a given name, if it exists.
Returns the resource-based policy.
", "GetProviderService": "Returns the ProviderService
of a given name.
Returns the SchemaMapping of a given name.
", "ListIdMappingJobs": "Lists all ID mapping jobs for a given workflow.
", "ListIdMappingWorkflows": "Returns a list of all the IdMappingWorkflows
that have been created for an Amazon Web Services account.
Returns a list of all ID namespaces.
", "ListMatchingJobs": "Lists all jobs for a given workflow.
", "ListMatchingWorkflows": "Returns a list of all the MatchingWorkflows
that have been created for an Amazon Web Services account.
Returns a list of all the ProviderServices
that are available in this Amazon Web Services Region.
Returns a list of all the SchemaMappings
that have been created for an Amazon Web Services account.
Displays the tags associated with an Entity Resolution resource. In Entity Resolution, SchemaMapping
, and MatchingWorkflow
can be tagged.
Updates the resource-based policy.
", "StartIdMappingJob": "Starts the IdMappingJob
of a workflow. The workflow must have previously been created using the CreateIdMappingWorkflow
endpoint.
Starts the MatchingJob
of a workflow. The workflow must have previously been created using the CreateMatchingWorkflow
endpoint.
Assigns one or more tags (key-value pairs) to the specified Entity Resolution resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Entity Resolution, SchemaMapping
and MatchingWorkflow
can be tagged. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can use the TagResource
action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
Removes one or more tags from the specified Entity Resolution resource. In Entity Resolution, SchemaMapping
, and MatchingWorkflow
can be tagged.
Updates an existing IdMappingWorkflow
. This method is identical to CreateIdMappingWorkflow
, except it uses an HTTP PUT
request instead of a POST
request, and the IdMappingWorkflow
must already exist for the method to succeed.
Updates an existing ID namespace.
", "UpdateMatchingWorkflow": "Updates an existing MatchingWorkflow
. This method is identical to CreateMatchingWorkflow
, except it uses an HTTP PUT
request instead of a POST
request, and the MatchingWorkflow
must already exist for the method to succeed.
Updates a schema mapping.
A schema is immutable if it is being used by a workflow. Therefore, you can't update a schema mapping if it's associated with a workflow.
A name of a column to be written to the output. This must be an InputField
name in the schema mapping.
The field name.
", + "ProviderSchemaAttribute$subType": "The sub type of the provider schema attribute.
", "RuleMatchingKeysList$member": null, "SchemaInputAttribute$fieldName": "A string containing the field name.
", - "SchemaInputAttribute$groupName": "Instruct Entity Resolution to combine several columns into a unified column with the identical attribute type. For example, when working with columns such as first_name, middle_name, and last_name, assigning them a common GroupName
will prompt Entity Resolution to concatenate them into a single value.
A key that allows grouping of multiple input attributes into a unified matching group. For example, let's consider a scenario where the source table contains various addresses, such as business_address
and shipping_address
. By assigning the MatchKey
Address to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group. If no MatchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.
A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.
For example, when working with columns such as first_name
, middle_name
, and last_name
, assigning them a common groupName
will prompt Entity Resolution to concatenate them into a single value.
A key that allows grouping of multiple input attributes into a unified matching group. For example, consider a scenario where the source table contains various addresses, such as business_address
and shipping_address
. By assigning a matchKey
called address
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group. If no matchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.
The subtype of the attribute, selected from a list of values.
" } }, @@ -68,11 +89,13 @@ "Boolean": { "base": null, "refs": { + "GetMatchIdInput$applyNormalization": "Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType
of PHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.
Specifies whether output data from the provider is anonymized. A value of TRUE
means the output will be anonymized and you can't relate the data that comes back from the provider to the identifying input. A value of FALSE
means the output won't be anonymized and you can relate the data that comes back from the provider to your source data.
Specifies whether the schema mapping has been applied to a workflow.
", "InputSource$applyNormalization": "Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType
of PHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.
Enables the ability to hash the column values in the output.
", "OutputSource$applyNormalization": "Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType
of PHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.
The hashing attribute of the provider schema.
", "SchemaMappingSummary$hasWorkflows": "Specifies whether the schema mapping has been applied to a workflow.
" } }, @@ -91,6 +114,16 @@ "refs": { } }, + "CreateIdNamespaceInput": { + "base": null, + "refs": { + } + }, + "CreateIdNamespaceOutput": { + "base": null, + "refs": { + } + }, "CreateMatchingWorkflowInput": { "base": null, "refs": { @@ -121,6 +154,16 @@ "refs": { } }, + "DeleteIdNamespaceInput": { + "base": null, + "refs": { + } + }, + "DeleteIdNamespaceOutput": { + "base": null, + "refs": { + } + }, "DeleteMatchingWorkflowInput": { "base": null, "refs": { @@ -131,6 +174,16 @@ "refs": { } }, + "DeletePolicyStatementInput": { + "base": null, + "refs": { + } + }, + "DeletePolicyStatementOutput": { + "base": null, + "refs": { + } + }, "DeleteSchemaMappingInput": { "base": null, "refs": { @@ -146,15 +199,21 @@ "refs": { "CreateIdMappingWorkflowInput$description": "A description of the workflow.
", "CreateIdMappingWorkflowOutput$description": "A description of the workflow.
", + "CreateIdNamespaceInput$description": "The description of the ID namespace.
", + "CreateIdNamespaceOutput$description": "The description of the ID namespace.
", "CreateMatchingWorkflowInput$description": "A description of the workflow.
", "CreateMatchingWorkflowOutput$description": "A description of the workflow.
", "CreateSchemaMappingInput$description": "A description of the schema.
", "CreateSchemaMappingOutput$description": "A description of the schema.
", "GetIdMappingWorkflowOutput$description": "A description of the workflow.
", + "GetIdNamespaceOutput$description": "The description of the ID namespace.
", "GetMatchingWorkflowOutput$description": "A description of the workflow.
", "GetSchemaMappingOutput$description": "A description of the schema.
", + "IdNamespaceSummary$description": "The description of the ID namespace.
", "UpdateIdMappingWorkflowInput$description": "A description of the workflow.
", "UpdateIdMappingWorkflowOutput$description": "A description of the workflow.
", + "UpdateIdNamespaceInput$description": "The description of the ID namespace.
", + "UpdateIdNamespaceOutput$description": "The description of the ID namespace.
", "UpdateMatchingWorkflowInput$description": "A description of the workflow.
", "UpdateMatchingWorkflowOutput$description": "A description of the workflow.
", "UpdateSchemaMappingInput$description": "A description of the schema.
", @@ -166,6 +225,10 @@ "refs": { "GetProviderServiceOutput$providerConfigurationDefinition": "The definition of the provider configuration.
", "GetProviderServiceOutput$providerEntityOutputDefinition": "The definition of the provider entity output.
", + "GetProviderServiceOutput$providerJobConfiguration": "Provider service job configurations.
", + "NamespaceProviderProperties$providerConfiguration": "An object which defines any additional configurations required by the provider service.
", + "ProviderIdNameSpaceConfiguration$providerSourceConfigurationDefinition": "Configurations required for the source ID namespace.
", + "ProviderIdNameSpaceConfiguration$providerTargetConfigurationDefinition": "Configurations required for the target ID namespace.
", "ProviderProperties$providerConfiguration": "The required configuration fields to use with the provider service.
" } }, @@ -174,16 +237,19 @@ "refs": { "CreateIdMappingWorkflowInput$workflowName": "The name of the workflow. There can't be multiple IdMappingWorkflows
with the same name.
The name of the workflow.
", + "CreateIdNamespaceInput$idNamespaceName": "The name of the ID namespace.
", + "CreateIdNamespaceOutput$idNamespaceName": "The name of the ID namespace.
", "CreateMatchingWorkflowInput$workflowName": "The name of the workflow. There can't be multiple MatchingWorkflows
with the same name.
The name of the workflow.
", "CreateSchemaMappingInput$schemaName": "The name of the schema. There can't be multiple SchemaMappings
with the same name.
The name of the schema.
", "DeleteIdMappingWorkflowInput$workflowName": "The name of the workflow to be deleted.
", + "DeleteIdNamespaceInput$idNamespaceName": "The name of the ID namespace.
", "DeleteMatchingWorkflowInput$workflowName": "The name of the workflow to be retrieved.
", "DeleteSchemaMappingInput$schemaName": "The name of the schema to delete.
", - "GetIdMappingJobInput$workflowName": "The name of the workflow.
", "GetIdMappingWorkflowInput$workflowName": "The name of the workflow.
", "GetIdMappingWorkflowOutput$workflowName": "The name of the workflow.
", + "GetIdNamespaceOutput$idNamespaceName": "The name of the ID namespace.
", "GetMatchIdInput$workflowName": "The name of the workflow.
", "GetMatchingJobInput$workflowName": "The name of the workflow.
", "GetMatchingWorkflowInput$workflowName": "The name of the workflow.
", @@ -195,24 +261,40 @@ "GetSchemaMappingOutput$schemaName": "The name of the schema.
", "IdMappingWorkflowInputSource$schemaName": "The name of the schema to be retrieved.
", "IdMappingWorkflowSummary$workflowName": "The name of the workflow.
", + "IdNamespaceInputSource$schemaName": "The name of the schema.
", + "IdNamespaceSummary$idNamespaceName": "The name of the ID namespace.
", "InputSource$schemaName": "The name of the schema to be retrieved.
", - "ListIdMappingJobsInput$workflowName": "The name of the workflow to be retrieved.
", "ListMatchingJobsInput$workflowName": "The name of the workflow to be retrieved.
", "ListProviderServicesInput$providerName": "The name of the provider. This name is typically the company name.
", "MatchingWorkflowSummary$workflowName": "The name of the workflow.
", "ProviderServiceSummary$providerName": "The name of the provider. This name is typically the company name.
", "ProviderServiceSummary$providerServiceName": "The name of the product that the provider service provides.
", "SchemaMappingSummary$schemaName": "The name of the schema.
", - "StartIdMappingJobInput$workflowName": "The name of the ID mapping job to be retrieved.
", "StartMatchingJobInput$workflowName": "The name of the matching job to be retrieved.
", "UpdateIdMappingWorkflowInput$workflowName": "The name of the workflow.
", "UpdateIdMappingWorkflowOutput$workflowName": "The name of the workflow.
", + "UpdateIdNamespaceInput$idNamespaceName": "The name of the ID namespace.
", + "UpdateIdNamespaceOutput$idNamespaceName": "The name of the ID namespace.
", "UpdateMatchingWorkflowInput$workflowName": "The name of the workflow to be retrieved.
", "UpdateMatchingWorkflowOutput$workflowName": "The name of the workflow.
", "UpdateSchemaMappingInput$schemaName": "The name of the schema. There can't be multiple SchemaMappings
with the same name.
The name of the schema.
" } }, + "EntityNameOrIdMappingWorkflowArn": { + "base": null, + "refs": { + "GetIdMappingJobInput$workflowName": "The name of the workflow.
", + "ListIdMappingJobsInput$workflowName": "The name of the workflow to be retrieved.
", + "StartIdMappingJobInput$workflowName": "The name of the ID mapping job to be retrieved.
" + } + }, + "EntityNameOrIdNamespaceArn": { + "base": null, + "refs": { + "GetIdNamespaceInput$idNamespaceName": "The name of the ID namespace.
" + } + }, "ErrorDetails": { "base": "An object containing an error message, if there was an error.
", "refs": { @@ -258,6 +340,16 @@ "refs": { } }, + "GetIdNamespaceInput": { + "base": null, + "refs": { + } + }, + "GetIdNamespaceOutput": { + "base": null, + "refs": { + } + }, "GetMatchIdInput": { "base": null, "refs": { @@ -288,6 +380,16 @@ "refs": { } }, + "GetPolicyInput": { + "base": null, + "refs": { + } + }, + "GetPolicyOutput": { + "base": null, + "refs": { + } + }, "GetProviderServiceInput": { "base": null, "refs": { @@ -314,6 +416,20 @@ "GetIdMappingJobOutput$metrics": "Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
" } }, + "IdMappingJobOutputSource": { + "base": "An object containing KMSArn
, OutputS3Path
, and RoleARN
.
A list of OutputSource
objects.
A list of OutputSource
objects.
A list of OutputSource
objects.
An object which defines the ID mapping techniques and provider configurations.
", "refs": { @@ -327,7 +443,8 @@ "IdMappingType": { "base": null, "refs": { - "IdMappingTechniques$idMappingType": "The type of ID mapping.
" + "IdMappingTechniques$idMappingType": "The type of ID mapping.
", + "IdNamespaceIdMappingWorkflowProperties$idMappingType": "The type of ID mapping.
" } }, "IdMappingWorkflowArn": { @@ -336,11 +453,11 @@ "CreateIdMappingWorkflowOutput$workflowArn": "The ARN (Amazon Resource Name) that Entity Resolution generated for the IDMappingWorkflow
.
The ARN (Amazon Resource Name) that Entity Resolution generated for the IdMappingWorkflow
.
The ARN (Amazon Resource Name) that Entity Resolution generated for the IdMappingWorkflow
.
The Amazon Resource Name (ARN) of the workflow role. Entity Resolution assumes this role to access resources on your behalf.
" + "UpdateIdMappingWorkflowOutput$workflowArn": "The Amazon Resource Name (ARN) of the workflow role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
" } }, "IdMappingWorkflowInputSource": { - "base": "An object containing InputSourceARN
and SchemaName
.
An object containing InputSourceARN
, SchemaName
, and Type
.
An Gluetable ARN for the input source table.
" + "IdMappingWorkflowInputSource$inputSourceARN": "An Glue table ARN for the input source table.
" } }, "IdMappingWorkflowList": { @@ -389,6 +506,76 @@ "IdMappingWorkflowList$member": null } }, + "IdNamespaceArn": { + "base": null, + "refs": { + "CreateIdNamespaceOutput$idNamespaceArn": "The Amazon Resource Name (ARN) of the ID namespace.
", + "GetIdNamespaceOutput$idNamespaceArn": "The Amazon Resource Name (ARN) of the ID namespace.
", + "IdNamespaceSummary$idNamespaceArn": "The Amazon Resource Name (ARN) of the ID namespace.
", + "UpdateIdNamespaceOutput$idNamespaceArn": "The Amazon Resource Name (ARN) of the ID namespace.
" + } + }, + "IdNamespaceIdMappingWorkflowProperties": { + "base": "An object containing IdMappingType
and ProviderProperties
.
Determines the properties of IdMappingWorflow
where this IdNamespace
can be used as a Source
or a Target
.
Determines the properties of IdMappingWorkflow
where this IdNamespace
can be used as a Source
or a Target
.
Determines the properties of IdMappingWorkflow
where this IdNamespace
can be used as a Source
or a Target
.
Determines the properties of IdMappingWorkflow
where this IdNamespace
can be used as a Source
or a Target
.
Determines the properties of IdMappingWorkflow
where this IdNamespace
can be used as a Source
or a Target
.
An object containing InputSourceARN
and SchemaName
.
A list of InputSource
objects, which have the fields InputSourceARN
and SchemaName
.
A list of InputSource
objects, which have the fields InputSourceARN
and SchemaName
.
A list of InputSource
objects, which have the fields InputSourceARN
and SchemaName
.
A list of InputSource
objects, which have the fields InputSourceARN
and SchemaName
.
A list of InputSource
objects, which have the fields InputSourceARN
and SchemaName
.
An Glue table ARN for the input source table.
" + } + }, + "IdNamespaceList": { + "base": null, + "refs": { + "ListIdNamespacesOutput$idNamespaceSummaries": "A list of IdNamespaceSummaries
objects.
A summary of ID namespaces.
", + "refs": { + "IdNamespaceList$member": null + } + }, + "IdNamespaceType": { + "base": null, + "refs": { + "CreateIdNamespaceInput$type": "The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
An object which defines an incremental run type and has only incrementalRunType
as a field.
Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
" } }, + "JobOutputSource": { + "base": "An object containing KMSArn
, OutputS3Path
, and RoleArn
.
A list of OutputSource
objects.
Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
", "IdMappingWorkflowOutputSource$KMSArn": "Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
", + "JobOutputSource$KMSArn": "Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
", "OutputSource$KMSArn": "Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
" } }, @@ -529,6 +730,22 @@ "refs": { } }, + "ListIdNamespacesInput": { + "base": null, + "refs": { + } + }, + "ListIdNamespacesInputMaxResultsInteger": { + "base": null, + "refs": { + "ListIdNamespacesInput$maxResults": "The maximum number of IdNamespace
objects returned per page.
An object containing ProviderConfiguration
and ProviderServiceArn
.
An object which defines any additional configurations required by the provider service.
" + } + }, "NextToken": { "base": null, "refs": { @@ -630,6 +853,8 @@ "ListIdMappingJobsOutput$nextToken": "The pagination token from the previous API call.
", "ListIdMappingWorkflowsInput$nextToken": "The pagination token from the previous API call.
", "ListIdMappingWorkflowsOutput$nextToken": "The pagination token from the previous API call.
", + "ListIdNamespacesInput$nextToken": "The pagination token from the previous API call.
", + "ListIdNamespacesOutput$nextToken": "The pagination token from the previous API call.
", "ListMatchingJobsInput$nextToken": "The pagination token from the previous API call.
", "ListMatchingJobsOutput$nextToken": "The pagination token from the previous API call.
", "ListMatchingWorkflowsInput$nextToken": "The pagination token from the previous API call.
", @@ -668,12 +893,44 @@ "OutputSource$output": "A list of OutputAttribute
objects, each of which have the fields Name
and Hashed
. Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.
The resource-based policy.
", + "DeletePolicyStatementOutput$policy": "The resource-based policy.
", + "GetPolicyOutput$policy": "The resource-based policy.
", + "PutPolicyInput$policy": "The resource-based policy.
", + "PutPolicyOutput$policy": "The resource-based policy.
" + } + }, + "PolicyToken": { + "base": null, + "refs": { + "AddPolicyStatementOutput$token": "A unique identifier for the current revision of the policy.
", + "DeletePolicyStatementOutput$token": "A unique identifier for the deleted policy.
", + "GetPolicyOutput$token": "A unique identifier for the current revision of the policy.
", + "PutPolicyInput$token": "A unique identifier for the current revision of the policy.
", + "PutPolicyOutput$token": "A unique identifier for the current revision of the policy.
" + } + }, + "ProviderComponentSchema": { + "base": "The input schema supported by provider service.
", + "refs": { + "GetProviderServiceOutput$providerComponentSchema": "Input schema for the provider service.
" + } + }, "ProviderEndpointConfiguration": { "base": "The required configuration fields to use with the provider service.
", "refs": { "GetProviderServiceOutput$providerEndpointConfiguration": "The required configuration fields to use with the provider service.
" } }, + "ProviderIdNameSpaceConfiguration": { + "base": "The provider configuration required for different ID namespace types.
", + "refs": { + "GetProviderServiceOutput$providerIdNameSpaceConfiguration": "The provider configuration required for different ID namespace types.
" + } + }, "ProviderIntermediateDataAccessConfiguration": { "base": "The required configuration fields to give intermediate access to a provider service.
", "refs": { @@ -693,11 +950,24 @@ "ResolutionTechniques$providerProperties": "The properties of the provider service.
" } }, + "ProviderSchemaAttribute": { + "base": "The provider schema attribute.
", + "refs": { + "ProviderSchemaAttributes$member": null + } + }, + "ProviderSchemaAttributes": { + "base": null, + "refs": { + "ProviderComponentSchema$providerSchemaAttributes": "The provider schema attributes.
" + } + }, "ProviderServiceArn": { "base": null, "refs": { "GetProviderServiceInput$providerServiceName": "The ARN (Amazon Resource Name) of the product that the provider service provides.
", "GetProviderServiceOutput$providerServiceArn": "The ARN (Amazon Resource Name) that Entity Resolution generated for the provider service.
", + "NamespaceProviderProperties$providerServiceArn": "The Amazon Resource Name (ARN) of the provider service.
", "ProviderProperties$providerServiceArn": "The ARN of the provider service.
", "ProviderServiceSummary$providerServiceArn": "The ARN (Amazon Resource Name) that Entity Resolution generated for the providerService
.
The method that has been specified for data matching, either using matching provided by Entity Resolution or through a provider service.
", - "ResolutionTechniques$resolutionType": "The type of matching. There are two types of matching: RULE_MATCHING
and ML_MATCHING
.
The type of matching. There are three types of matching: RULE_MATCHING
, ML_MATCHING
, and PROVIDER
.
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
", "CreateIdMappingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
", - "GetIdMappingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access resources on your behalf.
", - "UpdateIdMappingWorkflowInput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access resources on your behalf.
", - "UpdateIdMappingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access resources on your behalf.
" + "CreateIdNamespaceInput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this IdNamespace
on your behalf as part of the workflow run.
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in inputSourceConfig
on your behalf as part of the workflow run.
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
", + "GetIdNamespaceOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this IdNamespace
on your behalf as part of a workflow run.
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf as part of workflow execution.
", + "JobOutputSource$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf as part of workflow execution.
", + "UpdateIdMappingWorkflowInput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
", + "UpdateIdMappingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
", + "UpdateIdNamespaceInput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this IdNamespace
on your behalf as part of a workflow run.
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this IdNamespace
on your behalf as part of a workflow run.
The S3 path to which Entity Resolution will write the output table.
", "IdMappingWorkflowOutputSource$outputS3Path": "The S3 path to which Entity Resolution will write the output table.
", "IntermediateSourceConfiguration$intermediateS3Path": "The Amazon S3 location (bucket and prefix). For example: s3://provider_bucket/DOC-EXAMPLE-BUCKET
The S3 path to which Entity Resolution will write the output table.
", "OutputSource$outputS3Path": "The S3 path to which Entity Resolution will write the output table.
" } }, "SchemaAttributeType": { "base": null, "refs": { + "ProviderSchemaAttribute$type": "The type of the provider schema attribute.
", "SchemaInputAttribute$type": "The type of the attribute, selected from a list of values.
" } }, "SchemaInputAttribute": { - "base": "An object containing FieldName
, Type
, GroupName
, and MatchKey
.
An object containing FieldName
, Type
, GroupName
, MatchKey
, and SubType
.
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.
Input schema for the provider service.
" + } + }, "ServiceType": { "base": null, "refs": { @@ -885,22 +1187,69 @@ "refs": { } }, + "StatementAction": { + "base": null, + "refs": { + "StatementActionList$member": null + } + }, + "StatementActionList": { + "base": null, + "refs": { + "AddPolicyStatementInput$action": "The action that the principal can use on the resource.
For example, entityresolution:GetIdMappingJob
, entityresolution:GetMatchingJob
.
A set of condition keys that you can use in key policies.
" + } + }, + "StatementEffect": { + "base": null, + "refs": { + "AddPolicyStatementInput$effect": "Determines whether the permissions specified in the policy are to be allowed (Allow
) or denied (Deny
).
A statement identifier that differentiates the statement from others in the same policy.
", + "DeletePolicyStatementInput$statementId": "A statement identifier that differentiates the statement from others in the same policy.
" + } + }, + "StatementPrincipal": { + "base": null, + "refs": { + "StatementPrincipalList$member": null + } + }, + "StatementPrincipalList": { + "base": null, + "refs": { + "AddPolicyStatementInput$principal": "The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.
" + } + }, "String": { "base": null, "refs": { "CreateMatchingWorkflowInput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
", "CreateMatchingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
", "DeleteIdMappingWorkflowOutput$message": "A successful operation message.
", + "DeleteIdNamespaceOutput$message": "A successful operation message.
", "DeleteMatchingWorkflowOutput$message": "A successful operation message.
", "DeleteSchemaMappingOutput$message": "A successful operation message.
", "ExceedsLimitException$quotaName": "The name of the quota that has been breached.
", "GetMatchIdOutput$matchId": "The unique identifiers for this group of match records.
", - "GetMatchingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access resources on your behalf.
", + "GetMatchIdOutput$matchRule": "The rule the record matched on.
", + "GetMatchingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
", + "ProviderIdNameSpaceConfiguration$description": "The description of the ID namespace.
", "ProviderMarketplaceConfiguration$assetId": "The asset ID on Data Exchange.
", "ProviderMarketplaceConfiguration$dataSetId": "The dataset ID on Data Exchange.
", "ProviderMarketplaceConfiguration$listingId": "The listing ID on Data Exchange.
", "ProviderMarketplaceConfiguration$revisionId": "The revision ID on Data Exchange.
", "RequiredBucketActionsList$member": null, + "SchemaList$member": null, "UpdateMatchingWorkflowInput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
", "UpdateMatchingWorkflowOutput$roleArn": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
" } @@ -922,9 +1271,12 @@ "base": null, "refs": { "CreateIdMappingWorkflowInput$tags": "The tags used to organize, track, or control access for this resource.
", + "CreateIdNamespaceInput$tags": "The tags used to organize, track, or control access for this resource.
", + "CreateIdNamespaceOutput$tags": "The tags used to organize, track, or control access for this resource.
", "CreateMatchingWorkflowInput$tags": "The tags used to organize, track, or control access for this resource.
", "CreateSchemaMappingInput$tags": "The tags used to organize, track, or control access for this resource.
", "GetIdMappingWorkflowOutput$tags": "The tags used to organize, track, or control access for this resource.
", + "GetIdNamespaceOutput$tags": "The tags used to organize, track, or control access for this resource.
", "GetMatchingWorkflowOutput$tags": "The tags used to organize, track, or control access for this resource.
", "GetSchemaMappingOutput$tags": "The tags used to organize, track, or control access for this resource.
", "ListTagsForResourceOutput$tags": "The tags used to organize, track, or control access for this resource.
", @@ -955,10 +1307,14 @@ "Timestamp": { "base": null, "refs": { + "CreateIdNamespaceOutput$createdAt": "The timestamp of when the ID namespace was created.
", + "CreateIdNamespaceOutput$updatedAt": "The timestamp of when the ID namespace was last updated.
", "GetIdMappingJobOutput$endTime": "The time at which the job has finished.
", "GetIdMappingJobOutput$startTime": "The time at which the job was started.
", "GetIdMappingWorkflowOutput$createdAt": "The timestamp of when the workflow was created.
", "GetIdMappingWorkflowOutput$updatedAt": "The timestamp of when the workflow was last updated.
", + "GetIdNamespaceOutput$createdAt": "The timestamp of when the ID namespace was created.
", + "GetIdNamespaceOutput$updatedAt": "The timestamp of when the ID namespace was last updated.
", "GetMatchingJobOutput$endTime": "The time at which the job has finished.
", "GetMatchingJobOutput$startTime": "The time at which the job was started.
", "GetMatchingWorkflowOutput$createdAt": "The timestamp of when the workflow was created.
", @@ -967,12 +1323,16 @@ "GetSchemaMappingOutput$updatedAt": "The timestamp of when the SchemaMapping
was last updated.
The timestamp of when the workflow was created.
", "IdMappingWorkflowSummary$updatedAt": "The timestamp of when the workflow was last updated.
", + "IdNamespaceSummary$createdAt": "The timestamp of when the ID namespace was created.
", + "IdNamespaceSummary$updatedAt": "The timestamp of when the ID namespace was last updated.
", "JobSummary$endTime": "The time at which the job has finished.
", "JobSummary$startTime": "The time at which the job was started.
", "MatchingWorkflowSummary$createdAt": "The timestamp of when the workflow was created.
", "MatchingWorkflowSummary$updatedAt": "The timestamp of when the workflow was last updated.
", "SchemaMappingSummary$createdAt": "The timestamp of when the SchemaMapping
was created.
The timestamp of when the SchemaMapping
was last updated.
The timestamp of when the SchemaMapping
was last updated.
The timestamp of when the ID namespace was created.
", + "UpdateIdNamespaceOutput$updatedAt": "The timestamp of when the ID namespace was last updated.
" } }, "UntagResourceInput": { @@ -995,6 +1355,16 @@ "refs": { } }, + "UpdateIdNamespaceInput": { + "base": null, + "refs": { + } + }, + "UpdateIdNamespaceOutput": { + "base": null, + "refs": { + } + }, "UpdateMatchingWorkflowInput": { "base": null, "refs": { @@ -1023,7 +1393,15 @@ "VeniceGlobalArn": { "base": null, "refs": { + "AddPolicyStatementInput$arn": "The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
", + "AddPolicyStatementOutput$arn": "The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
", + "DeletePolicyStatementInput$arn": "The ARN of the resource for which the policy need to be deleted.
", + "DeletePolicyStatementOutput$arn": "The ARN of the resource for which the policy need to be deleted.
", + "GetPolicyInput$arn": "The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
", + "GetPolicyOutput$arn": "The Entity Resolution resource ARN.
", "ListTagsForResourceInput$resourceArn": "The ARN of the resource for which you want to view tags.
", + "PutPolicyInput$arn": "The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.
", + "PutPolicyOutput$arn": "The Entity Resolution resource ARN.
", "TagResourceInput$resourceArn": "The ARN of the resource for which you want to view tags.
", "UntagResourceInput$resourceArn": "The ARN of the resource for which you want to untag.
" } diff --git a/models/apis/entityresolution/2018-05-10/paginators-1.json b/models/apis/entityresolution/2018-05-10/paginators-1.json index 592eca2bfad..4e4d4fc8811 100644 --- a/models/apis/entityresolution/2018-05-10/paginators-1.json +++ b/models/apis/entityresolution/2018-05-10/paginators-1.json @@ -12,6 +12,12 @@ "limit_key": "maxResults", "result_key": "workflowSummaries" }, + "ListIdNamespaces": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "idNamespaceSummaries" + }, "ListMatchingJobs": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/iotwireless/2020-11-22/api-2.json b/models/apis/iotwireless/2020-11-22/api-2.json index 5acc2bfd74a..d6121e5ec4a 100644 --- a/models/apis/iotwireless/2020-11-22/api-2.json +++ b/models/apis/iotwireless/2020-11-22/api-2.json @@ -3138,6 +3138,7 @@ "members":{ } }, + "DlAllowed":{"type":"boolean"}, "DlBucketSize":{ "type":"integer", "max":2147483647, @@ -4156,6 +4157,10 @@ "type":"string", "pattern":"^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$" }, + "Id":{ + "type":"string", + "max":256 + }, "Identifier":{ "type":"string", "max":256 @@ -4754,7 +4759,8 @@ "DataRate":{"shape":"Integer"}, "Frequency":{"shape":"Integer"}, "Timestamp":{"shape":"ISODateTimeString"}, - "Gateways":{"shape":"LoRaWANGatewayMetadataList"} + "Gateways":{"shape":"LoRaWANGatewayMetadataList"}, + "PublicGateways":{"shape":"LoRaWANPublicGatewayMetadataList"} } }, "LoRaWANDeviceProfile":{ @@ -4906,6 +4912,21 @@ "PingSlotPeriod":{"shape":"PingSlotPeriod"} } }, + "LoRaWANPublicGatewayMetadata":{ + "type":"structure", + "members":{ + "ProviderNetId":{"shape":"ProviderNetId"}, + "Id":{"shape":"Id"}, + "Rssi":{"shape":"Double"}, + "Snr":{"shape":"Double"}, + "RfRegion":{"shape":"RfRegion"}, + "DlAllowed":{"shape":"DlAllowed"} + } + }, + "LoRaWANPublicGatewayMetadataList":{ + "type":"list", + "member":{"shape":"LoRaWANPublicGatewayMetadata"} + }, "LoRaWANSendDataToDevice":{ "type":"structure", "members":{ @@ -5497,6 +5518,10 @@ "type":"list", "member":{"shape":"CertificateList"} }, + "ProviderNetId":{ + "type":"string", + "max":256 + }, "ProximityEventConfiguration":{ "type":"structure", "members":{ diff --git a/models/apis/iotwireless/2020-11-22/docs-2.json b/models/apis/iotwireless/2020-11-22/docs-2.json index 1c5b0632557..1203fd9fbcb 100644 --- a/models/apis/iotwireless/2020-11-22/docs-2.json +++ b/models/apis/iotwireless/2020-11-22/docs-2.json @@ -17,7 +17,7 @@ "CreateNetworkAnalyzerConfiguration": "Creates a new network analyzer configuration.
", "CreateServiceProfile": "Creates a new service profile.
", "CreateWirelessDevice": "Provisions a wireless device.
", - "CreateWirelessGateway": "Provisions a wireless gateway.
", + "CreateWirelessGateway": "Provisions a wireless gateway.
When provisioning a wireless gateway, you might run into duplication errors for the following reasons.
If you specify a GatewayEui
value that already exists.
If you used a ClientRequestToken
with the same parameters within the last 10 minutes.
To avoid this error, make sure that you use unique identifiers and parameters for each request within the specified time period.
Creates a task for a wireless gateway.
", "CreateWirelessGatewayTaskDefinition": "Creates a gateway task definition.
", "DeleteDestination": "Deletes a destination.
", @@ -29,7 +29,7 @@ "DeleteServiceProfile": "Deletes a service profile.
", "DeleteWirelessDevice": "Deletes a wireless device.
", "DeleteWirelessDeviceImportTask": "Delete an import task.
", - "DeleteWirelessGateway": "Deletes a wireless gateway.
", + "DeleteWirelessGateway": "Deletes a wireless gateway.
When deleting a wireless gateway, you might run into duplication errors for the following reasons.
If you specify a GatewayEui
value that already exists.
If you used a ClientRequestToken
with the same parameters within the last 10 minutes.
To avoid this error, make sure that you use unique identifiers and parameters for each request within the specified time period.
Deletes a wireless gateway task.
", "DeleteWirelessGatewayTaskDefinition": "Deletes a wireless gateway task definition. Deleting this task definition does not affect tasks that are currently in progress.
", "DeregisterWirelessDevice": "Deregister a wireless device from AWS IoT Wireless.
", @@ -45,8 +45,8 @@ "GetEventConfigurationByResourceTypes": "Get the event configuration based on resource types.
", "GetFuotaTask": "Gets information about a FUOTA task.
", "GetLogLevelsByResourceTypes": "Returns current default log levels or log levels by resource types. Based on resource types, log levels can be for wireless device log options or wireless gateway log options.
", - "GetMetricConfiguration": "Get the metric configuration status for this account.
", - "GetMetrics": "Get metrics.
", + "GetMetricConfiguration": "Get the metric configuration status for this AWS account.
", + "GetMetrics": "Get the summary metrics for this AWS account.
", "GetMulticastGroup": "Gets information about a multicast group.
", "GetMulticastGroupSession": "Gets information about a multicast group session.
", "GetNetworkAnalyzerConfiguration": "Get network analyzer configuration.
", @@ -104,7 +104,7 @@ "UpdateEventConfigurationByResourceTypes": "Update the event configuration based on resource types.
", "UpdateFuotaTask": "Updates properties of a FUOTA task.
", "UpdateLogLevelsByResourceTypes": "Set default log level, or log levels by resource types. This can be for wireless device log options or wireless gateways log options and is used to control the log messages that'll be displayed in CloudWatch.
", - "UpdateMetricConfiguration": "Update the metric configuration.
", + "UpdateMetricConfiguration": "Update the summary metric configuration.
", "UpdateMulticastGroup": "Updates properties of a multicast group session.
", "UpdateNetworkAnalyzerConfiguration": "Update network analyzer configuration.
", "UpdatePartnerAccount": "Updates properties of a partner account.
", @@ -161,7 +161,7 @@ "AggregationPeriod": { "base": null, "refs": { - "SummaryMetricQuery$AggregationPeriod": "The aggregation period of the metric.
", + "SummaryMetricQuery$AggregationPeriod": "The aggregation period of the summary metric.
", "SummaryMetricQueryResult$AggregationPeriod": "The aggregation period of the metric.
" } }, @@ -327,7 +327,7 @@ "Avg": { "base": null, "refs": { - "MetricQueryValue$Avg": "The average of the values of the all data points collected during the period.
" + "MetricQueryValue$Avg": "The average of the values of all data points collected during the aggregation period.
" } }, "BCCH": { @@ -497,18 +497,18 @@ } }, "ClientRequestToken": { - "base": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", + "base": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", "refs": { - "AssociateAwsAccountWithPartnerAccountRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", - "CreateDestinationRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", - "CreateDeviceProfileRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", + "AssociateAwsAccountWithPartnerAccountRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", + "CreateDestinationRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", + "CreateDeviceProfileRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", "CreateFuotaTaskRequest$ClientRequestToken": null, - "CreateMulticastGroupRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", + "CreateMulticastGroupRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", "CreateNetworkAnalyzerConfigurationRequest$ClientRequestToken": null, - "CreateServiceProfileRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", - "CreateWirelessDeviceRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", - "CreateWirelessGatewayRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", - "CreateWirelessGatewayTaskDefinitionRequest$ClientRequestToken": "Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
", + "CreateServiceProfileRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", + "CreateWirelessDeviceRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", + "CreateWirelessGatewayRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", + "CreateWirelessGatewayTaskDefinitionRequest$ClientRequestToken": "Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
", "StartSingleWirelessDeviceImportTaskRequest$ClientRequestToken": null, "StartWirelessDeviceImportTaskRequest$ClientRequestToken": null } @@ -1038,7 +1038,7 @@ "Dimensions": { "base": null, "refs": { - "SummaryMetricQuery$Dimensions": "The dimensions of the metric.
", + "SummaryMetricQuery$Dimensions": "The dimensions of the summary metric.
", "SummaryMetricQueryResult$Dimensions": "The dimensions of the metric.
" } }, @@ -1112,6 +1112,12 @@ "refs": { } }, + "DlAllowed": { + "base": null, + "refs": { + "LoRaWANPublicGatewayMetadata$DlAllowed": "Boolean that indicates whether downlink is allowed using the network.
" + } + }, "DlBucketSize": { "base": null, "refs": { @@ -1153,7 +1159,9 @@ "base": null, "refs": { "LoRaWANGatewayMetadata$Snr": "The SNR value.
", - "LoRaWANGatewayMetadata$Rssi": "The RSSI value.
" + "LoRaWANGatewayMetadata$Rssi": "The RSSI value.
", + "LoRaWANPublicGatewayMetadata$Rssi": "The RSSI (received signal strength indicator) value.
", + "LoRaWANPublicGatewayMetadata$Snr": "The SNR (signal to noise ratio) value.
" } }, "DownlinkFrequency": { @@ -1859,6 +1867,12 @@ "WirelessGatewayStatistics$LastUplinkReceivedAt": "The date and time when the most recent uplink was received.
This value is only valid for 3 months.
The ID of the gateways that are operated by the network provider.
" + } + }, "Identifier": { "base": null, "refs": { @@ -2319,6 +2333,18 @@ "StartMulticastGroupSessionRequest$LoRaWAN": null } }, + "LoRaWANPublicGatewayMetadata": { + "base": "LoRaWAN public gateway metadata.
", + "refs": { + "LoRaWANPublicGatewayMetadataList$member": null + } + }, + "LoRaWANPublicGatewayMetadataList": { + "base": null, + "refs": { + "LoRaWANDeviceMetadata$PublicGateways": "Information about the LoRaWAN public network accessed by the device.
" + } + }, "LoRaWANSendDataToDevice": { "base": "LoRaWAN router info.
", "refs": { @@ -2439,7 +2465,7 @@ "Max": { "base": null, "refs": { - "MetricQueryValue$Max": "The maximum of the values of the all data points collected during the period.
" + "MetricQueryValue$Max": "The maximum of the values of all the data points collected during the aggregation period.
" } }, "MaxAllowedSignature": { @@ -2532,40 +2558,40 @@ "base": null, "refs": { "SummaryMetricQuery$MetricName": "The name of the metric.
", - "SummaryMetricQueryResult$MetricName": "The name of the metric.
" + "SummaryMetricQueryResult$MetricName": "The name of the summary metric query result.
" } }, "MetricQueryEndTimestamp": { "base": null, "refs": { - "SummaryMetricQuery$EndTimestamp": "The end timestamp for summary metric query.
", - "SummaryMetricQueryResult$EndTimestamp": "The end timestamp for summary metric query.
" + "SummaryMetricQuery$EndTimestamp": "The end timestamp for the summary metric query.
", + "SummaryMetricQueryResult$EndTimestamp": "The end timestamp for the summary metric query.
" } }, "MetricQueryError": { "base": null, "refs": { - "SummaryMetricQueryResult$Error": "The error message for the summary metric query.
" + "SummaryMetricQueryResult$Error": "The error message for the summary metric query result.
" } }, "MetricQueryId": { "base": null, "refs": { - "SummaryMetricQuery$QueryId": "The id of the query.
", - "SummaryMetricQueryResult$QueryId": "The id of the query.
" + "SummaryMetricQuery$QueryId": "The id of the summary metric query.
", + "SummaryMetricQueryResult$QueryId": "The ID of the summary metric results query operation.
" } }, "MetricQueryStartTimestamp": { "base": null, "refs": { - "SummaryMetricQuery$StartTimestamp": "The start timestamp for summary metric query.
", - "SummaryMetricQueryResult$StartTimestamp": "The start timestamp for summary metric query.
" + "SummaryMetricQuery$StartTimestamp": "The start timestamp for the summary metric query.
", + "SummaryMetricQueryResult$StartTimestamp": "The start timestamp for the summary metric query.
" } }, "MetricQueryStatus": { "base": null, "refs": { - "SummaryMetricQueryResult$QueryStatus": "The status of the metric query.
" + "SummaryMetricQueryResult$QueryStatus": "The status of the summary metric query result.
" } }, "MetricQueryTimestamp": { @@ -2589,7 +2615,7 @@ "MetricQueryValues": { "base": null, "refs": { - "SummaryMetricQueryResult$Values": "The list of aggregated metrics.
" + "SummaryMetricQueryResult$Values": "The list of aggregated summary metric query results.
" } }, "MetricUnit": { @@ -2601,7 +2627,7 @@ "Min": { "base": null, "refs": { - "MetricQueryValue$Min": "The minimum of the values of the all data points collected during the period.
" + "MetricQueryValue$Min": "The minimum of the values of all data points collected during the aggregation period.
" } }, "MinGwDiversity": { @@ -2878,7 +2904,7 @@ "P90": { "base": null, "refs": { - "MetricQueryValue$P90": "The 90th percentile of the values of the all data points collected during the period.
" + "MetricQueryValue$P90": "The 90th percentile of the values of all data points collected during the aggregation period.
" } }, "PCI": { @@ -3110,6 +3136,12 @@ "SidewalkDevice$PrivateKeys": "The Sidewalk device private keys that will be used for onboarding the device.
" } }, + "ProviderNetId": { + "base": null, + "refs": { + "LoRaWANPublicGatewayMetadata$ProviderNetId": "The ID of the LoRaWAN public network provider.
" + } + }, "ProximityEventConfiguration": { "base": "Proximity event configuration object for enabling and disabling relevant topics.
", "refs": { @@ -3287,7 +3319,8 @@ "refs": { "LoRaWANDeviceProfile$RfRegion": "The frequency band (RFRegion) value.
", "LoRaWANFuotaTaskGetInfo$RfRegion": null, - "LoRaWANGateway$RfRegion": "The frequency band (RFRegion) value.
" + "LoRaWANGateway$RfRegion": "The frequency band (RFRegion) value.
", + "LoRaWANPublicGatewayMetadata$RfRegion": null } }, "Role": { @@ -3660,7 +3693,7 @@ "Std": { "base": null, "refs": { - "MetricQueryValue$Std": "The standard deviation of the values of the all data points collected during the period.
" + "MetricQueryValue$Std": "The standard deviation of the values of all data points collected during the aggregation period.
" } }, "SubBand": { @@ -3678,36 +3711,36 @@ "Sum": { "base": null, "refs": { - "MetricQueryValue$Sum": "The sum of the values of the all data points collected during the period.
" + "MetricQueryValue$Sum": "The sum of the values of all data points collected during the aggregation period.
" } }, "SummaryMetricConfiguration": { - "base": "The configuration of summary metric.
", + "base": "The configuration of summary metrics.
", "refs": { - "GetMetricConfigurationResponse$SummaryMetric": "The account's configuration status for summary metric aggregation.
", + "GetMetricConfigurationResponse$SummaryMetric": "The configuration status of the AWS account for summary metric aggregation.
", "UpdateMetricConfigurationRequest$SummaryMetric": "The value to be used to set summary metric configuration.
" } }, "SummaryMetricConfigurationStatus": { "base": null, "refs": { - "SummaryMetricConfiguration$Status": "The configuration of summary metric.
" + "SummaryMetricConfiguration$Status": "The status of the configuration of summary metrics.
" } }, "SummaryMetricQueries": { "base": null, "refs": { - "GetMetricsRequest$SummaryMetricQueries": "The list of queries to retrieve summary metrics.
" + "GetMetricsRequest$SummaryMetricQueries": "The list of queries to retrieve the summary metrics.
" } }, "SummaryMetricQuery": { - "base": "The metric query object.
", + "base": "The summary metric query object.
", "refs": { "SummaryMetricQueries$member": null } }, "SummaryMetricQueryResult": { - "base": "The result of metrics aggregation operation.
", + "base": "The result of the summary metrics aggregation operation.
", "refs": { "SummaryMetricQueryResults$member": null } @@ -3715,7 +3748,7 @@ "SummaryMetricQueryResults": { "base": null, "refs": { - "GetMetricsResponse$SummaryMetricQueryResults": "The list of retrieved metrics.
" + "GetMetricsResponse$SummaryMetricQueryResults": "The list of summary metrics that were retrieved.
" } }, "SupportedRfRegion": { diff --git a/models/apis/lakeformation/2017-03-31/api-2.json b/models/apis/lakeformation/2017-03-31/api-2.json index 58ac6ab55ba..0ab0686567c 100644 --- a/models/apis/lakeformation/2017-03-31/api-2.json +++ b/models/apis/lakeformation/2017-03-31/api-2.json @@ -1174,7 +1174,8 @@ "members":{ "CatalogId":{"shape":"CatalogIdString"}, "InstanceArn":{"shape":"IdentityCenterInstanceArn"}, - "ExternalFiltering":{"shape":"ExternalFilteringConfiguration"} + "ExternalFiltering":{"shape":"ExternalFilteringConfiguration"}, + "ShareRecipients":{"shape":"DataLakePrincipalList"} } }, "CreateLakeFormationIdentityCenterConfigurationResponse":{ @@ -1414,7 +1415,9 @@ "CatalogId":{"shape":"CatalogIdString"}, "InstanceArn":{"shape":"IdentityCenterInstanceArn"}, "ApplicationArn":{"shape":"ApplicationArn"}, - "ExternalFiltering":{"shape":"ExternalFilteringConfiguration"} + "ExternalFiltering":{"shape":"ExternalFilteringConfiguration"}, + "ShareRecipients":{"shape":"DataLakePrincipalList"}, + "ResourceShare":{"shape":"RAMResourceShareArn"} } }, "DescribeResourceRequest":{ @@ -2773,6 +2776,7 @@ "type":"structure", "members":{ "CatalogId":{"shape":"CatalogIdString"}, + "ShareRecipients":{"shape":"DataLakePrincipalList"}, "ApplicationStatus":{"shape":"ApplicationStatus"}, "ExternalFiltering":{"shape":"ExternalFilteringConfiguration"} } diff --git a/models/apis/lakeformation/2017-03-31/docs-2.json b/models/apis/lakeformation/2017-03-31/docs-2.json index 95cbabb8baf..f76076b41a5 100644 --- a/models/apis/lakeformation/2017-03-31/docs-2.json +++ b/models/apis/lakeformation/2017-03-31/docs-2.json @@ -107,8 +107,8 @@ "ApplicationArn": { "base": null, "refs": { - "CreateLakeFormationIdentityCenterConfigurationResponse$ApplicationArn": "The Amazon Resource Name (ARN) of the integrated application.
", - "DescribeLakeFormationIdentityCenterConfigurationResponse$ApplicationArn": "The Amazon Resource Name (ARN) of the integrated application.
" + "CreateLakeFormationIdentityCenterConfigurationResponse$ApplicationArn": "The Amazon Resource Name (ARN) of the Lake Formation application integrated with IAM Identity Center.
", + "DescribeLakeFormationIdentityCenterConfigurationResponse$ApplicationArn": "The Amazon Resource Name (ARN) of the Lake Formation application integrated with IAM Identity Center.
" } }, "ApplicationStatus": { @@ -412,9 +412,12 @@ "DataLakePrincipalList": { "base": null, "refs": { + "CreateLakeFormationIdentityCenterConfigurationRequest$ShareRecipients": "A list of Amazon Web Services account IDs and/or Amazon Web Services organization/organizational unit ARNs that are allowed to access data managed by Lake Formation.
If the ShareRecipients
list includes valid values, a resource share is created with the principals you want to have access to the resources.
If the ShareRecipients
value is null or the list is empty, no resource share is created.
A list of Lake Formation principals. Supported principals are IAM users or IAM roles.
", "DataLakeSettings$ReadOnlyAdmins": "A list of Lake Formation principals with only view access to the resources, without the ability to make changes. Supported principals are IAM users or IAM roles.
", - "DataLakeSettings$ExternalDataFilteringAllowList": "A list of the account IDs of Amazon Web Services accounts with Amazon EMR clusters that are to perform data filtering.>
" + "DataLakeSettings$ExternalDataFilteringAllowList": "A list of the account IDs of Amazon Web Services accounts with Amazon EMR clusters that are to perform data filtering.>
", + "DescribeLakeFormationIdentityCenterConfigurationResponse$ShareRecipients": "A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs that are allowed to access data managed by Lake Formation.
If the ShareRecipients
list includes valid values, a resource share is created with the principals you want to have access to the resources as the ShareRecipients
.
If the ShareRecipients
value is null or the list is empty, no resource share is created.
A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs that are allowed to access to access data managed by Lake Formation.
If the ShareRecipients
list includes valid values, then the resource share is updated with the principals you want to have access to the resources.
If the ShareRecipients
value is null, both the list of share recipients and the resource share remain unchanged.
If the ShareRecipients
value is an empty list, then the existing share recipients list will be cleared, and the resource share will be deleted.
The Amazon Resource Name (ARN) of the RAM share.
", "ResourceShareList$member": null } }, diff --git a/models/apis/m2/2021-04-28/api-2.json b/models/apis/m2/2021-04-28/api-2.json index b29a2a2d8fe..22b105c79a7 100644 --- a/models/apis/m2/2021-04-28/api-2.json +++ b/models/apis/m2/2021-04-28/api-2.json @@ -365,6 +365,24 @@ {"shape":"InternalServerException"} ] }, + "ListBatchJobRestartPoints":{ + "name":"ListBatchJobRestartPoints", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}/batch-job-executions/{executionId}/steps", + "responseCode":200 + }, + "input":{"shape":"ListBatchJobRestartPointsRequest"}, + "output":{"shape":"ListBatchJobRestartPointsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, "ListDataSetImportHistory":{ "name":"ListDataSetImportHistory", "http":{ @@ -737,6 +755,7 @@ "Cancelled", "Succeeded", "Failed", + "Purged", "Succeeded With Warning" ] }, @@ -769,6 +788,7 @@ "type":"structure", "members":{ "fileBatchJobIdentifier":{"shape":"FileBatchJobIdentifier"}, + "restartBatchJobIdentifier":{"shape":"RestartBatchJobIdentifier"}, "s3BatchJobIdentifier":{"shape":"S3BatchJobIdentifier"}, "scriptBatchJobIdentifier":{"shape":"ScriptBatchJobIdentifier"} }, @@ -781,6 +801,10 @@ "max":500, "min":0 }, + "BatchJobStepList":{ + "type":"list", + "member":{"shape":"JobStep"} + }, "BatchJobType":{ "type":"string", "enum":[ @@ -1471,6 +1495,7 @@ "executionId":{"shape":"Identifier"}, "jobId":{"shape":"String100"}, "jobName":{"shape":"String100"}, + "jobStepRestartMarker":{"shape":"JobStepRestartMarker"}, "jobType":{"shape":"BatchJobType"}, "jobUser":{"shape":"String100"}, "returnCode":{"shape":"String"}, @@ -1689,6 +1714,27 @@ }, "union":true }, + "JobStep":{ + "type":"structure", + "members":{ + "procStepName":{"shape":"String"}, + "procStepNumber":{"shape":"Integer"}, + "stepCondCode":{"shape":"String"}, + "stepName":{"shape":"String"}, + "stepNumber":{"shape":"Integer"}, + "stepRestartable":{"shape":"Boolean"} + } + }, + "JobStepRestartMarker":{ + "type":"structure", + "required":["fromStep"], + "members":{ + "fromProcStep":{"shape":"String"}, + "fromStep":{"shape":"String"}, + "toProcStep":{"shape":"String"}, + "toStep":{"shape":"String"} + } + }, "ListApplicationVersionsRequest":{ "type":"structure", "required":["applicationId"], @@ -1839,6 +1885,31 @@ "nextToken":{"shape":"NextToken"} } }, + "ListBatchJobRestartPointsRequest":{ + "type":"structure", + "required":[ + "applicationId", + "executionId" + ], + "members":{ + "applicationId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"applicationId" + }, + "executionId":{ + "shape":"Identifier", + "location":"uri", + "locationName":"executionId" + } + } + }, + "ListBatchJobRestartPointsResponse":{ + "type":"structure", + "members":{ + "batchJobSteps":{"shape":"BatchJobStepList"} + } + }, "ListDataSetImportHistoryRequest":{ "type":"structure", "required":["applicationId"], @@ -2147,6 +2218,17 @@ }, "exception":true }, + "RestartBatchJobIdentifier":{ + "type":"structure", + "required":[ + "executionId", + "jobStepRestartMarker" + ], + "members":{ + "executionId":{"shape":"Identifier"}, + "jobStepRestartMarker":{"shape":"JobStepRestartMarker"} + } + }, "S3BatchJobIdentifier":{ "type":"structure", "required":[ @@ -2473,6 +2555,8 @@ "enum":[ "unknownOperation", "cannotParse", + "featureNotAvailable", + "unsupportedEngineVersion", "fieldValidationFailed", "other" ] diff --git a/models/apis/m2/2021-04-28/docs-2.json b/models/apis/m2/2021-04-28/docs-2.json index 7392942203b..9c092247f6e 100644 --- a/models/apis/m2/2021-04-28/docs-2.json +++ b/models/apis/m2/2021-04-28/docs-2.json @@ -22,6 +22,7 @@ "ListApplications": "Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.
", "ListBatchJobDefinitions": "Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.
", "ListBatchJobExecutions": "Lists historical, current, and scheduled batch job executions for a specific application.
", + "ListBatchJobRestartPoints": "Lists all the job steps for JCL files to restart a batch job. This is only applicable for Micro Focus engine with versions 8.0.6 and above.
", "ListDataSetImportHistory": "Lists the data set imports for the specified application.
", "ListDataSets": "Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
", "ListDeployments": "Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.
", @@ -171,6 +172,12 @@ "StartBatchJobRequest$jobParams": "The collection of batch job parameters. For details about limits for keys and values, see Coding variables in JCL.
" } }, + "BatchJobStepList": { + "base": null, + "refs": { + "ListBatchJobRestartPointsResponse$batchJobSteps": "Returns all the batch job steps and related information for a batch job that previously ran.
" + } + }, "BatchJobType": { "base": null, "refs": { @@ -196,6 +203,7 @@ "AlternateKey$allowDuplicates": "Indicates whether the alternate key values are supposed to be unique for the given data set.
", "CreateEnvironmentRequest$publiclyAccessible": "Specifies whether the runtime environment is publicly accessible.
", "GetEnvironmentResponse$publiclyAccessible": "Whether applications running in this runtime environment are publicly accessible.
", + "JobStep$stepRestartable": "Specifies if a step can be restarted or not.
", "StopApplicationRequest$forceStop": "Stopping an application process can take a long time. Setting this parameter to true lets you force stop the application so you don't need to wait until the process finishes to apply another action on the application. The default value is false.
", "UpdateEnvironmentRequest$applyDuringMaintenanceWindow": "Indicates whether to update the runtime environment during the maintenance window. The default is false. Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion
parameter only if applyDuringMaintenanceWindow
is true. If any parameter other than engineVersion
is provided in UpdateEnvironmentRequest
, it will fail if applyDuringMaintenanceWindow
is set to true.
Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
The unique identifier of the runtime environment where the applications are deployed.
", "ListBatchJobDefinitionsRequest$applicationId": "The identifier of the application.
", "ListBatchJobExecutionsRequest$applicationId": "The unique identifier of the application.
", + "ListBatchJobRestartPointsRequest$applicationId": "The unique identifier of the application.
", + "ListBatchJobRestartPointsRequest$executionId": "The unique identifier of each batch job execution.
", "ListDataSetImportHistoryRequest$applicationId": "The unique identifier of the application.
", "ListDataSetsRequest$applicationId": "The unique identifier of the application for which you want to list the associated data sets.
", "ListDeploymentsRequest$applicationId": "The application identifier.
", + "RestartBatchJobIdentifier$executionId": "The executionId from the StartBatchJob response when the job ran for the first time.
", "StartApplicationRequest$applicationId": "The unique identifier of the application you want to start.
", "StartBatchJobRequest$applicationId": "The unique identifier of the application associated with this batch job.
", "StartBatchJobResponse$executionId": "The unique identifier of this execution of the batch job.
", @@ -700,6 +711,8 @@ "GetDataSetDetailsResponse$blocksize": "The size of the block on disk.
", "GetDataSetDetailsResponse$recordLength": "The length of records in the data set.
", "InternalServerException$retryAfterSeconds": "The number of seconds to wait before retrying the request.
", + "JobStep$procStepNumber": "The number of a procedure step.
", + "JobStep$stepNumber": "The number of a step.
", "PortList$member": null, "PrimaryKey$length": "A strictly positive integer value representing the length of the primary key.
", "PrimaryKey$offset": "A positive integer value representing the offset to mark the start of the primary key in the record byte array.
", @@ -719,6 +732,19 @@ "S3BatchJobIdentifier$identifier": "Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in keyPrefix
.
Provides information related to a job step.
", + "refs": { + "BatchJobStepList$member": null + } + }, + "JobStepRestartMarker": { + "base": "Provides restart step information for the most recent restart operation.
", + "refs": { + "GetBatchJobExecutionResponse$jobStepRestartMarker": "The restart steps information for the most recent restart operation.
", + "RestartBatchJobIdentifier$jobStepRestartMarker": "The restart step information for the most recent restart operation.
" + } + }, "ListApplicationVersionsRequest": { "base": null, "refs": { @@ -759,6 +785,16 @@ "refs": { } }, + "ListBatchJobRestartPointsRequest": { + "base": null, + "refs": { + } + }, + "ListBatchJobRestartPointsResponse": { + "base": null, + "refs": { + } + }, "ListDataSetImportHistoryRequest": { "base": null, "refs": { @@ -940,6 +976,12 @@ "refs": { } }, + "RestartBatchJobIdentifier": { + "base": "An identifier for the StartBatchJob API to show that it is a restart operation.
", + "refs": { + "BatchJobIdentifier$restartBatchJobIdentifier": "Specifies the required information for restart, including execution ID and jobsteprestartmarker.
" + } + }, "S3BatchJobIdentifier": { "base": "A batch job identifier in which the batch jobs to run are identified by an Amazon S3 location.
", "refs": { @@ -1054,6 +1096,13 @@ "InternalServerException$message": null, "JobIdentifier$fileName": "The name of the file that contains the batch job definition.
", "JobIdentifier$scriptName": "The name of the script that contains the batch job definition.
", + "JobStep$procStepName": "The name of a procedure step.
", + "JobStep$stepCondCode": "The condition code of a step.
", + "JobStep$stepName": "The name of a step.
", + "JobStepRestartMarker$fromProcStep": "The procedure step name that a job was restarted from.
", + "JobStepRestartMarker$fromStep": "The step name that a batch job restart was from.
", + "JobStepRestartMarker$toProcStep": "The procedure step name that a batch job was restarted to.
", + "JobStepRestartMarker$toStep": "The step name that a job was restarted to.
", "ListBatchJobDefinitionsRequest$prefix": "If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.
", "PendingMaintenance$engineVersion": "The specific runtime engine that the maintenance schedule applies to.
", "PoAttributes$encoding": "The character set encoding of the data set.
", diff --git a/models/apis/mediapackagev2/2022-12-25/api-2.json b/models/apis/mediapackagev2/2022-12-25/api-2.json index 39a7124cbbb..2d3e0bd077b 100644 --- a/models/apis/mediapackagev2/2022-12-25/api-2.json +++ b/models/apis/mediapackagev2/2022-12-25/api-2.json @@ -444,6 +444,13 @@ }, "exception":true }, + "AdMarkerDash":{ + "type":"string", + "enum":[ + "BINARY", + "XML" + ] + }, "AdMarkerHls":{ "type":"string", "enum":["DATERANGE"] @@ -614,6 +621,50 @@ "Tags":{"shape":"TagMap"} } }, + "CreateDashManifestConfiguration":{ + "type":"structure", + "required":["ManifestName"], + "members":{ + "ManifestName":{"shape":"ManifestName"}, + "ManifestWindowSeconds":{"shape":"CreateDashManifestConfigurationManifestWindowSecondsInteger"}, + "FilterConfiguration":{"shape":"FilterConfiguration"}, + "MinUpdatePeriodSeconds":{"shape":"CreateDashManifestConfigurationMinUpdatePeriodSecondsInteger"}, + "MinBufferTimeSeconds":{"shape":"CreateDashManifestConfigurationMinBufferTimeSecondsInteger"}, + "SuggestedPresentationDelaySeconds":{"shape":"CreateDashManifestConfigurationSuggestedPresentationDelaySecondsInteger"}, + "SegmentTemplateFormat":{"shape":"DashSegmentTemplateFormat"}, + "PeriodTriggers":{"shape":"DashPeriodTriggers"}, + "ScteDash":{"shape":"ScteDash"}, + "DrmSignaling":{"shape":"DashDrmSignaling"}, + "UtcTiming":{"shape":"DashUtcTiming"} + } + }, + "CreateDashManifestConfigurationManifestWindowSecondsInteger":{ + "type":"integer", + "box":true, + "min":30 + }, + "CreateDashManifestConfigurationMinBufferTimeSecondsInteger":{ + "type":"integer", + "box":true, + "max":3600, + "min":0 + }, + "CreateDashManifestConfigurationMinUpdatePeriodSecondsInteger":{ + "type":"integer", + "box":true, + "max":3600, + "min":1 + }, + "CreateDashManifestConfigurationSuggestedPresentationDelaySecondsInteger":{ + "type":"integer", + "box":true, + "max":3600, + "min":0 + }, + "CreateDashManifests":{ + "type":"list", + "member":{"shape":"CreateDashManifestConfiguration"} + }, "CreateHlsManifestConfiguration":{ "type":"structure", "required":["ManifestName"], @@ -700,6 +751,7 @@ "StartoverWindowSeconds":{"shape":"CreateOriginEndpointRequestStartoverWindowSecondsInteger"}, "HlsManifests":{"shape":"CreateHlsManifests"}, "LowLatencyHlsManifests":{"shape":"CreateLowLatencyHlsManifests"}, + "DashManifests":{"shape":"CreateDashManifests"}, "Tags":{"shape":"TagMap"} } }, @@ -734,10 +786,59 @@ "StartoverWindowSeconds":{"shape":"Integer"}, "HlsManifests":{"shape":"GetHlsManifests"}, "LowLatencyHlsManifests":{"shape":"GetLowLatencyHlsManifests"}, + "DashManifests":{"shape":"GetDashManifests"}, "ETag":{"shape":"EntityTag"}, "Tags":{"shape":"TagMap"} } }, + "DashDrmSignaling":{ + "type":"string", + "enum":[ + "INDIVIDUAL", + "REFERENCED" + ] + }, + "DashPeriodTrigger":{ + "type":"string", + "enum":[ + "AVAILS", + "DRM_KEY_ROTATION", + "SOURCE_CHANGES", + "SOURCE_DISRUPTIONS", + "NONE" + ] + }, + "DashPeriodTriggers":{ + "type":"list", + "member":{"shape":"DashPeriodTrigger"}, + "max":100, + "min":0 + }, + "DashSegmentTemplateFormat":{ + "type":"string", + "enum":["NUMBER_WITH_TIMELINE"] + }, + "DashUtcTiming":{ + "type":"structure", + "members":{ + "TimingMode":{"shape":"DashUtcTimingMode"}, + "TimingSource":{"shape":"DashUtcTimingTimingSourceString"} + } + }, + "DashUtcTimingMode":{ + "type":"string", + "enum":[ + "HTTP_HEAD", + "HTTP_ISO", + "HTTP_XSDATE", + "UTC_DIRECT" + ] + }, + "DashUtcTimingTimingSourceString":{ + "type":"string", + "max":1024, + "min":1 + }, "DeleteChannelGroupRequest":{ "type":"structure", "required":["ChannelGroupName"], @@ -1046,6 +1147,31 @@ "Tags":{"shape":"TagMap"} } }, + "GetDashManifestConfiguration":{ + "type":"structure", + "required":[ + "ManifestName", + "Url" + ], + "members":{ + "ManifestName":{"shape":"ResourceName"}, + "Url":{"shape":"String"}, + "ManifestWindowSeconds":{"shape":"Integer"}, + "FilterConfiguration":{"shape":"FilterConfiguration"}, + "MinUpdatePeriodSeconds":{"shape":"Integer"}, + "MinBufferTimeSeconds":{"shape":"Integer"}, + "SuggestedPresentationDelaySeconds":{"shape":"Integer"}, + "SegmentTemplateFormat":{"shape":"DashSegmentTemplateFormat"}, + "PeriodTriggers":{"shape":"DashPeriodTriggers"}, + "ScteDash":{"shape":"ScteDash"}, + "DrmSignaling":{"shape":"DashDrmSignaling"}, + "UtcTiming":{"shape":"DashUtcTiming"} + } + }, + "GetDashManifests":{ + "type":"list", + "member":{"shape":"GetDashManifestConfiguration"} + }, "GetHlsManifestConfiguration":{ "type":"structure", "required":[ @@ -1177,7 +1303,8 @@ "HlsManifests":{"shape":"GetHlsManifests"}, "LowLatencyHlsManifests":{"shape":"GetLowLatencyHlsManifests"}, "ETag":{"shape":"EntityTag"}, - "Tags":{"shape":"TagMap"} + "Tags":{"shape":"TagMap"}, + "DashManifests":{"shape":"GetDashManifests"} } }, "IdempotencyToken":{ @@ -1260,6 +1387,18 @@ "NextToken":{"shape":"String"} } }, + "ListDashManifestConfiguration":{ + "type":"structure", + "required":["ManifestName"], + "members":{ + "ManifestName":{"shape":"ResourceName"}, + "Url":{"shape":"String"} + } + }, + "ListDashManifests":{ + "type":"list", + "member":{"shape":"ListDashManifestConfiguration"} + }, "ListHlsManifestConfiguration":{ "type":"structure", "required":["ManifestName"], @@ -1373,7 +1512,8 @@ "CreatedAt":{"shape":"Timestamp"}, "ModifiedAt":{"shape":"Timestamp"}, "HlsManifests":{"shape":"ListHlsManifests"}, - "LowLatencyHlsManifests":{"shape":"ListLowLatencyHlsManifests"} + "LowLatencyHlsManifests":{"shape":"ListLowLatencyHlsManifests"}, + "DashManifests":{"shape":"ListDashManifests"} } }, "OriginEndpointsList":{ @@ -1505,6 +1645,12 @@ "ScteFilter":{"shape":"ScteFilterList"} } }, + "ScteDash":{ + "type":"structure", + "members":{ + "AdMarkerDash":{"shape":"AdMarkerDash"} + } + }, "ScteFilter":{ "type":"string", "enum":[ @@ -1793,6 +1939,7 @@ "StartoverWindowSeconds":{"shape":"UpdateOriginEndpointRequestStartoverWindowSecondsInteger"}, "HlsManifests":{"shape":"CreateHlsManifests"}, "LowLatencyHlsManifests":{"shape":"CreateLowLatencyHlsManifests"}, + "DashManifests":{"shape":"CreateDashManifests"}, "ETag":{ "shape":"EntityTag", "location":"header", @@ -1835,7 +1982,8 @@ "Tags":{ "shape":"TagMap", "locationName":"tags" - } + }, + "DashManifests":{"shape":"GetDashManifests"} } }, "ValidationException":{ @@ -1862,6 +2010,7 @@ "ENCRYPTION_CONTRACT_SHARED", "NUM_MANIFESTS_LOW", "NUM_MANIFESTS_HIGH", + "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE", "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE", "ROLE_ARN_NOT_ASSUMABLE", "ROLE_ARN_LENGTH_OUT_OF_RANGE", @@ -1885,7 +2034,14 @@ "MEMBER_DOES_NOT_MATCH_PATTERN", "INVALID_MANIFEST_FILTER", "INVALID_TIME_DELAY_SECONDS", - "END_TIME_EARLIER_THAN_START_TIME" + "END_TIME_EARLIER_THAN_START_TIME", + "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST", + "DIRECT_MODE_WITH_TIMING_SOURCE", + "NONE_MODE_WITH_TIMING_SOURCE", + "TIMING_SOURCE_MISSING", + "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION", + "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES", + "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" ] } } diff --git a/models/apis/mediapackagev2/2022-12-25/docs-2.json b/models/apis/mediapackagev2/2022-12-25/docs-2.json index afd9e2ebe13..72376f15be4 100644 --- a/models/apis/mediapackagev2/2022-12-25/docs-2.json +++ b/models/apis/mediapackagev2/2022-12-25/docs-2.json @@ -33,6 +33,12 @@ "refs": { } }, + "AdMarkerDash": { + "base": null, + "refs": { + "ScteDash$AdMarkerDash": "Choose how ad markers are included in the packaged content. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output.
Value description:
Binary
- The SCTE-35 marker is expressed as a hex-string (Base64 string) rather than full XML.
XML
- The SCTE marker is expressed fully in XML.
Create a DASH manifest configuration.
", + "refs": { + "CreateDashManifests$member": null + } + }, + "CreateDashManifestConfigurationManifestWindowSecondsInteger": { + "base": null, + "refs": { + "CreateDashManifestConfiguration$ManifestWindowSeconds": "The total duration (in seconds) of the manifest's content.
" + } + }, + "CreateDashManifestConfigurationMinBufferTimeSecondsInteger": { + "base": null, + "refs": { + "CreateDashManifestConfiguration$MinBufferTimeSeconds": "Minimum amount of content (in seconds) that a player must keep available in the buffer.
" + } + }, + "CreateDashManifestConfigurationMinUpdatePeriodSecondsInteger": { + "base": null, + "refs": { + "CreateDashManifestConfiguration$MinUpdatePeriodSeconds": "Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
" + } + }, + "CreateDashManifestConfigurationSuggestedPresentationDelaySecondsInteger": { + "base": null, + "refs": { + "CreateDashManifestConfiguration$SuggestedPresentationDelaySeconds": "The amount of time (in seconds) that the player should be from the end of the manifest.
" + } + }, + "CreateDashManifests": { + "base": null, + "refs": { + "CreateOriginEndpointRequest$DashManifests": "A DASH manifest configuration.
", + "UpdateOriginEndpointRequest$DashManifests": "A DASH manifest configuration.
" + } + }, "CreateHlsManifestConfiguration": { "base": "Create an HTTP live streaming (HLS) manifest configuration.
", "refs": { @@ -185,6 +228,52 @@ "refs": { } }, + "DashDrmSignaling": { + "base": null, + "refs": { + "CreateDashManifestConfiguration$DrmSignaling": "Determines how the DASH manifest signals the DRM content.
", + "GetDashManifestConfiguration$DrmSignaling": "Determines how the DASH manifest signals the DRM content.
" + } + }, + "DashPeriodTrigger": { + "base": null, + "refs": { + "DashPeriodTriggers$member": null + } + }, + "DashPeriodTriggers": { + "base": null, + "refs": { + "CreateDashManifestConfiguration$PeriodTriggers": "A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Type ADS
to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage.
A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage.
" + } + }, + "DashSegmentTemplateFormat": { + "base": null, + "refs": { + "CreateDashManifestConfiguration$SegmentTemplateFormat": "Determines the type of variable used in the media
URL of the SegmentTemplate
tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline
or SegmentTemplate
.
Value description:
NUMBER_WITH_TIMELINE
- The $Number$
variable is used in the media
URL. The value of this variable is the sequential number of the segment. A full SegmentTimeline
object is presented in each SegmentTemplate
.
Determines the type of variable used in the media
URL of the SegmentTemplate
tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline
or SegmentTemplate
.
Value description:
NUMBER_WITH_TIMELINE
- The $Number$
variable is used in the media
URL. The value of this variable is the sequential number of the segment. A full SegmentTimeline
object is presented in each SegmentTemplate
.
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
", + "refs": { + "CreateDashManifestConfiguration$UtcTiming": "Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
", + "GetDashManifestConfiguration$UtcTiming": "Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
" + } + }, + "DashUtcTimingMode": { + "base": null, + "refs": { + "DashUtcTiming$TimingMode": "The UTC timing mode.
" + } + }, + "DashUtcTimingTimingSourceString": { + "base": null, + "refs": { + "DashUtcTiming$TimingSource": "The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.
" + } + }, "DeleteChannelGroupRequest": { "base": null, "refs": { @@ -291,8 +380,10 @@ "FilterConfiguration": { "base": "Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
", "refs": { + "CreateDashManifestConfiguration$FilterConfiguration": null, "CreateHlsManifestConfiguration$FilterConfiguration": null, "CreateLowLatencyHlsManifestConfiguration$FilterConfiguration": null, + "GetDashManifestConfiguration$FilterConfiguration": null, "GetHlsManifestConfiguration$FilterConfiguration": null, "GetLowLatencyHlsManifestConfiguration$FilterConfiguration": null } @@ -339,6 +430,20 @@ "refs": { } }, + "GetDashManifestConfiguration": { + "base": "Retrieve the DASH manifest configuration.
", + "refs": { + "GetDashManifests$member": null + } + }, + "GetDashManifests": { + "base": null, + "refs": { + "CreateOriginEndpointResponse$DashManifests": "A DASH manifest configuration.
", + "GetOriginEndpointResponse$DashManifests": "A DASH manifest configuration.
", + "UpdateOriginEndpointResponse$DashManifests": "A DASH manifest configuration.
" + } + }, "GetHlsManifestConfiguration": { "base": "Retrieve the HTTP live streaming (HLS) manifest configuration.
", "refs": { @@ -413,6 +518,10 @@ "base": null, "refs": { "CreateOriginEndpointResponse$StartoverWindowSeconds": "The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.
", + "GetDashManifestConfiguration$ManifestWindowSeconds": "The total duration (in seconds) of the manifest's content.
", + "GetDashManifestConfiguration$MinUpdatePeriodSeconds": "Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
", + "GetDashManifestConfiguration$MinBufferTimeSeconds": "Minimum amount of content (in seconds) that a player must keep available in the buffer.
", + "GetDashManifestConfiguration$SuggestedPresentationDelaySeconds": "The amount of time (in seconds) that the player should be from the end of the manifest.
", "GetHlsManifestConfiguration$ManifestWindowSeconds": "The total duration (in seconds) of the manifest's content.
", "GetHlsManifestConfiguration$ProgramDateTimeIntervalSeconds": "Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
", "GetLowLatencyHlsManifestConfiguration$ManifestWindowSeconds": "The total duration (in seconds) of the manifest's content.
", @@ -446,6 +555,18 @@ "refs": { } }, + "ListDashManifestConfiguration": { + "base": "List the DASH manifest configuration.
", + "refs": { + "ListDashManifests$member": null + } + }, + "ListDashManifests": { + "base": null, + "refs": { + "OriginEndpointListConfiguration$DashManifests": "A DASH manifest configuration.
" + } + }, "ListHlsManifestConfiguration": { "base": "List the HTTP live streaming (HLS) manifest configuration.
", "refs": { @@ -501,6 +622,7 @@ "ManifestName": { "base": null, "refs": { + "CreateDashManifestConfiguration$ManifestName": "A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint.
", "CreateHlsManifestConfiguration$ManifestName": "A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", "CreateHlsManifestConfiguration$ChildManifestName": "A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index, with an added suffix to distinguish it from the manifest name. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", "CreateLowLatencyHlsManifestConfiguration$ManifestName": "A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", @@ -611,6 +733,7 @@ "GetChannelPolicyRequest$ChannelName": "The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
", "GetChannelRequest$ChannelGroupName": "The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
", "GetChannelRequest$ChannelName": "The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
", + "GetDashManifestConfiguration$ManifestName": "A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index.
", "GetHlsManifestConfiguration$ManifestName": "A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", "GetHlsManifestConfiguration$ChildManifestName": "A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", "GetLowLatencyHlsManifestConfiguration$ManifestName": "A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", @@ -628,6 +751,7 @@ "GetOriginEndpointResponse$ChannelName": "The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
", "GetOriginEndpointResponse$OriginEndpointName": "The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.
", "ListChannelsRequest$ChannelGroupName": "The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
", + "ListDashManifestConfiguration$ManifestName": "A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index.
", "ListHlsManifestConfiguration$ManifestName": "A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", "ListHlsManifestConfiguration$ChildManifestName": "A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", "ListLowLatencyHlsManifestConfiguration$ManifestName": "A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
", @@ -670,6 +794,13 @@ "Segment$Scte": "The SCTE configuration options in the segment settings.
" } }, + "ScteDash": { + "base": "The SCTE configuration.
", + "refs": { + "CreateDashManifestConfiguration$ScteDash": "The SCTE configuration.
", + "GetDashManifestConfiguration$ScteDash": "The SCTE configuration.
" + } + }, "ScteFilter": { "base": null, "refs": { @@ -773,6 +904,7 @@ "GetChannelResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "GetChannelResponse$ChannelName": "The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
", "GetChannelResponse$ChannelGroupName": "The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
", + "GetDashManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", "GetHlsManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", "GetLowLatencyHlsManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", "GetOriginEndpointResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", @@ -783,6 +915,7 @@ "ListChannelGroupsResponse$NextToken": "The pagination token from the GET list request. Use the token to fetch the next page of results.
", "ListChannelsRequest$NextToken": "The pagination token from the GET list request. Use the token to fetch the next page of results.
", "ListChannelsResponse$NextToken": "The pagination token from the GET list request.
", + "ListDashManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", "ListHlsManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", "ListLowLatencyHlsManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", "ListOriginEndpointsRequest$NextToken": "The pagination token from the GET list request. Use the token to fetch the next page of results.
", diff --git a/models/apis/outposts/2019-12-03/api-2.json b/models/apis/outposts/2019-12-03/api-2.json index 1feddefaf28..64512ca5c5b 100644 --- a/models/apis/outposts/2019-12-03/api-2.json +++ b/models/apis/outposts/2019-12-03/api-2.json @@ -13,6 +13,22 @@ "uid":"outposts-2019-12-03" }, "operations":{ + "CancelCapacityTask":{ + "name":"CancelCapacityTask", + "http":{ + "method":"POST", + "requestUri":"/outposts/{OutpostId}/capacity/{CapacityTaskId}" + }, + "input":{"shape":"CancelCapacityTaskInput"}, + "output":{"shape":"CancelCapacityTaskOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"NotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, "CancelOrder":{ "name":"CancelOrder", "http":{ @@ -111,6 +127,21 @@ {"shape":"InternalServerException"} ] }, + "GetCapacityTask":{ + "name":"GetCapacityTask", + "http":{ + "method":"GET", + "requestUri":"/outposts/{OutpostId}/capacity/{CapacityTaskId}" + }, + "input":{"shape":"GetCapacityTaskInput"}, + "output":{"shape":"GetCapacityTaskOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"NotFoundException"}, + {"shape":"InternalServerException"} + ] + }, "GetCatalogItem":{ "name":"GetCatalogItem", "http":{ @@ -184,6 +215,21 @@ {"shape":"InternalServerException"} ] }, + "GetOutpostSupportedInstanceTypes":{ + "name":"GetOutpostSupportedInstanceTypes", + "http":{ + "method":"GET", + "requestUri":"/outposts/{OutpostId}/supportedInstanceTypes" + }, + "input":{"shape":"GetOutpostSupportedInstanceTypesInput"}, + "output":{"shape":"GetOutpostSupportedInstanceTypesOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"NotFoundException"}, + {"shape":"InternalServerException"} + ] + }, "GetSite":{ "name":"GetSite", "http":{ @@ -229,6 +275,21 @@ {"shape":"InternalServerException"} ] }, + "ListCapacityTasks":{ + "name":"ListCapacityTasks", + "http":{ + "method":"GET", + "requestUri":"/capacity/tasks" + }, + "input":{"shape":"ListCapacityTasksInput"}, + "output":{"shape":"ListCapacityTasksOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"NotFoundException"}, + {"shape":"InternalServerException"} + ] + }, "ListCatalogItems":{ "name":"ListCatalogItems", "http":{ @@ -300,6 +361,22 @@ {"shape":"NotFoundException"} ] }, + "StartCapacityTask":{ + "name":"StartCapacityTask", + "http":{ + "method":"POST", + "requestUri":"/outposts/{OutpostId}/capacity" + }, + "input":{"shape":"StartCapacityTaskInput"}, + "output":{"shape":"StartCapacityTaskOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"NotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"} + ] + }, "StartConnection":{ "name":"StartConnection", "http":{ @@ -548,6 +625,30 @@ "type":"list", "member":{"shape":"CIDR"} }, + "CancelCapacityTaskInput":{ + "type":"structure", + "required":[ + "CapacityTaskId", + "OutpostIdentifier" + ], + "members":{ + "CapacityTaskId":{ + "shape":"CapacityTaskId", + "location":"uri", + "locationName":"CapacityTaskId" + }, + "OutpostIdentifier":{ + "shape":"OutpostIdentifier", + "location":"uri", + "locationName":"OutpostId" + } + } + }, + "CancelCapacityTaskOutput":{ + "type":"structure", + "members":{ + } + }, "CancelOrderInput":{ "type":"structure", "required":["OrderId"], @@ -564,6 +665,58 @@ "members":{ } }, + "CapacityTaskFailure":{ + "type":"structure", + "required":["Reason"], + "members":{ + "Reason":{"shape":"CapacityTaskStatusReason"}, + "Type":{"shape":"CapacityTaskFailureType"} + } + }, + "CapacityTaskFailureType":{ + "type":"string", + "enum":["UNSUPPORTED_CAPACITY_CONFIGURATION"] + }, + "CapacityTaskId":{ + "type":"string", + "max":21, + "min":21, + "pattern":"^cap-[a-f0-9]{17}$" + }, + "CapacityTaskList":{ + "type":"list", + "member":{"shape":"CapacityTaskSummary"} + }, + "CapacityTaskStatus":{ + "type":"string", + "enum":[ + "REQUESTED", + "IN_PROGRESS", + "FAILED", + "COMPLETED", + "CANCELLED" + ] + }, + "CapacityTaskStatusList":{ + "type":"list", + "member":{"shape":"CapacityTaskStatus"} + }, + "CapacityTaskStatusReason":{ + "type":"string", + "max":128 + }, + "CapacityTaskSummary":{ + "type":"structure", + "members":{ + "CapacityTaskId":{"shape":"CapacityTaskId"}, + "OutpostId":{"shape":"OutpostId"}, + "OrderId":{"shape":"OrderId"}, + "CapacityTaskStatus":{"shape":"CapacityTaskStatus"}, + "CreationDate":{"shape":"ISO8601Timestamp"}, + "CompletionDate":{"shape":"ISO8601Timestamp"}, + "LastModifiedDate":{"shape":"ISO8601Timestamp"} + } + }, "CatalogItem":{ "type":"structure", "members":{ @@ -786,6 +939,7 @@ "min":1, "pattern":"^\\S[\\S ]*" }, + "DryRun":{"type":"boolean"}, "EC2Capacity":{ "type":"structure", "members":{ @@ -821,6 +975,40 @@ "MULTI_MODE" ] }, + "GetCapacityTaskInput":{ + "type":"structure", + "required":[ + "CapacityTaskId", + "OutpostIdentifier" + ], + "members":{ + "CapacityTaskId":{ + "shape":"CapacityTaskId", + "location":"uri", + "locationName":"CapacityTaskId" + }, + "OutpostIdentifier":{ + "shape":"OutpostIdentifier", + "location":"uri", + "locationName":"OutpostId" + } + } + }, + "GetCapacityTaskOutput":{ + "type":"structure", + "members":{ + "CapacityTaskId":{"shape":"CapacityTaskId"}, + "OutpostId":{"shape":"OutpostId"}, + "OrderId":{"shape":"OrderId"}, + "RequestedInstancePools":{"shape":"RequestedInstancePools"}, + "DryRun":{"shape":"DryRun"}, + "CapacityTaskStatus":{"shape":"CapacityTaskStatus"}, + "Failed":{"shape":"CapacityTaskFailure"}, + "CreationDate":{"shape":"ISO8601Timestamp"}, + "CompletionDate":{"shape":"ISO8601Timestamp"}, + "LastModifiedDate":{"shape":"ISO8601Timestamp"} + } + }, "GetCatalogItemInput":{ "type":"structure", "required":["CatalogItemId"], @@ -920,6 +1108,42 @@ "Outpost":{"shape":"Outpost"} } }, + "GetOutpostSupportedInstanceTypesInput":{ + "type":"structure", + "required":[ + "OutpostIdentifier", + "OrderId" + ], + "members":{ + "OutpostIdentifier":{ + "shape":"OutpostIdentifier", + "location":"uri", + "locationName":"OutpostId" + }, + "OrderId":{ + "shape":"OrderId", + "location":"querystring", + "locationName":"OrderId" + }, + "MaxResults":{ + "shape":"MaxResults1000", + "location":"querystring", + "locationName":"MaxResults" + }, + "NextToken":{ + "shape":"Token", + "location":"querystring", + "locationName":"NextToken" + } + } + }, + "GetOutpostSupportedInstanceTypesOutput":{ + "type":"structure", + "members":{ + "InstanceTypes":{"shape":"InstanceTypeListDefinition"}, + "NextToken":{"shape":"Token"} + } + }, "GetSiteAddressInput":{ "type":"structure", "required":[ @@ -986,6 +1210,22 @@ "pattern":"^(?:.{1,200}/)?(?:[a-z0-9-_A-Z])+$" }, "InstanceType":{"type":"string"}, + "InstanceTypeCapacity":{ + "type":"structure", + "required":[ + "InstanceType", + "Count" + ], + "members":{ + "InstanceType":{"shape":"InstanceTypeName"}, + "Count":{"shape":"InstanceTypeCount"} + } + }, + "InstanceTypeCount":{ + "type":"integer", + "max":9999, + "min":0 + }, "InstanceTypeItem":{ "type":"structure", "members":{ @@ -996,6 +1236,12 @@ "type":"list", "member":{"shape":"InstanceTypeItem"} }, + "InstanceTypeName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[a-z0-9\\-]+\\.[a-z0-9\\-]+$" + }, "InternalServerException":{ "type":"structure", "members":{ @@ -1122,6 +1368,38 @@ "NextToken":{"shape":"Token"} } }, + "ListCapacityTasksInput":{ + "type":"structure", + "members":{ + "OutpostIdentifierFilter":{ + "shape":"OutpostIdentifier", + "location":"querystring", + "locationName":"OutpostIdentifierFilter" + }, + "MaxResults":{ + "shape":"MaxResults1000", + "location":"querystring", + "locationName":"MaxResults" + }, + "NextToken":{ + "shape":"Token", + "location":"querystring", + "locationName":"NextToken" + }, + "CapacityTaskStatusFilter":{ + "shape":"CapacityTaskStatusList", + "location":"querystring", + "locationName":"CapacityTaskStatusFilter" + } + } + }, + "ListCapacityTasksOutput":{ + "type":"structure", + "members":{ + "CapacityTasks":{"shape":"CapacityTaskList"}, + "NextToken":{"shape":"Token"} + } + }, "ListCatalogItemsInput":{ "type":"structure", "members":{ @@ -1538,6 +1816,10 @@ "MaximumSupportedWeightLbs":{"shape":"MaximumSupportedWeightLbs"} } }, + "RequestedInstancePools":{ + "type":"list", + "member":{"shape":"InstanceTypeCapacity"} + }, "ResourceType":{ "type":"string", "enum":[ @@ -1628,6 +1910,39 @@ "min":1, "pattern":"OR-[A-Z0-9]{7}" }, + "StartCapacityTaskInput":{ + "type":"structure", + "required":[ + "OutpostIdentifier", + "OrderId", + "InstancePools" + ], + "members":{ + "OutpostIdentifier":{ + "shape":"OutpostIdentifier", + "location":"uri", + "locationName":"OutpostId" + }, + "OrderId":{"shape":"OrderId"}, + "InstancePools":{"shape":"RequestedInstancePools"}, + "DryRun":{"shape":"DryRun"} + } + }, + "StartCapacityTaskOutput":{ + "type":"structure", + "members":{ + "CapacityTaskId":{"shape":"CapacityTaskId"}, + "OutpostId":{"shape":"OutpostId"}, + "OrderId":{"shape":"OrderId"}, + "RequestedInstancePools":{"shape":"RequestedInstancePools"}, + "DryRun":{"shape":"DryRun"}, + "CapacityTaskStatus":{"shape":"CapacityTaskStatus"}, + "Failed":{"shape":"CapacityTaskFailure"}, + "CreationDate":{"shape":"ISO8601Timestamp"}, + "CompletionDate":{"shape":"ISO8601Timestamp"}, + "LastModifiedDate":{"shape":"ISO8601Timestamp"} + } + }, "StartConnectionRequest":{ "type":"structure", "required":[ diff --git a/models/apis/outposts/2019-12-03/docs-2.json b/models/apis/outposts/2019-12-03/docs-2.json index 77312bc84da..dfd3792ba84 100644 --- a/models/apis/outposts/2019-12-03/docs-2.json +++ b/models/apis/outposts/2019-12-03/docs-2.json @@ -2,25 +2,30 @@ "version": "2.0", "service": "Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables customers to build and run applications on premises using the same programming interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local data processing needs.
", "operations": { + "CancelCapacityTask": "Cancels the capacity task.
", "CancelOrder": "Cancels the specified order for an Outpost.
", "CreateOrder": "Creates an order for an Outpost.
", "CreateOutpost": "Creates an Outpost.
You can specify either an Availability one or an AZ ID.
", "CreateSite": "Creates a site for an Outpost.
", "DeleteOutpost": "Deletes the specified Outpost.
", "DeleteSite": "Deletes the specified site.
", + "GetCapacityTask": "Gets details of the specified capacity task.
", "GetCatalogItem": "Gets information about the specified catalog item.
", "GetConnection": "Amazon Web Services uses this action to install Outpost servers.
Gets information about the specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
", "GetOrder": "Gets information about the specified order.
", "GetOutpost": "Gets information about the specified Outpost.
", "GetOutpostInstanceTypes": "Gets the instance types for the specified Outpost.
", + "GetOutpostSupportedInstanceTypes": "Gets the instance types that an Outpost can support in InstanceTypeCapacity
. This will generally include instance types that are not currently configured and therefore cannot be launched with the current Outpost capacity configuration.
Gets information about the specified Outpost site.
", "GetSiteAddress": "Gets the site address of the specified site.
", "ListAssets": "Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", + "ListCapacityTasks": "Lists the capacity tasks for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", "ListCatalogItems": "Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", "ListOrders": "Lists the Outpost orders for your Amazon Web Services account.
", "ListOutposts": "Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", "ListSites": "Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", "ListTagsForResource": "Lists the tags for the specified resource.
", + "StartCapacityTask": "Starts the specified capacity task. You can have one active capacity task for an order.
", "StartConnection": "Amazon Web Services uses this action to install Outpost servers.
Starts the connection required for Outpost server installation.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
", "TagResource": "Adds tags to the specified resource.
", "UntagResource": "Removes tags from the specified resource.
", @@ -166,6 +171,16 @@ "ConnectionDetails$AllowedIps": "The allowed IP addresses.
" } }, + "CancelCapacityTaskInput": { + "base": null, + "refs": { + } + }, + "CancelCapacityTaskOutput": { + "base": null, + "refs": { + } + }, "CancelOrderInput": { "base": null, "refs": { @@ -176,6 +191,62 @@ "refs": { } }, + "CapacityTaskFailure": { + "base": "The capacity tasks that failed.
", + "refs": { + "GetCapacityTaskOutput$Failed": "Reason why the capacity task failed.
", + "StartCapacityTaskOutput$Failed": "Reason that the specified capacity task failed.
" + } + }, + "CapacityTaskFailureType": { + "base": null, + "refs": { + "CapacityTaskFailure$Type": "The type of failure.
" + } + }, + "CapacityTaskId": { + "base": null, + "refs": { + "CancelCapacityTaskInput$CapacityTaskId": "ID of the capacity task that you want to cancel.
", + "CapacityTaskSummary$CapacityTaskId": "The ID of the specified capacity task.
", + "GetCapacityTaskInput$CapacityTaskId": "ID of the capacity task.
", + "GetCapacityTaskOutput$CapacityTaskId": "ID of the capacity task.
", + "StartCapacityTaskOutput$CapacityTaskId": "ID of the capacity task that you want to start.
" + } + }, + "CapacityTaskList": { + "base": null, + "refs": { + "ListCapacityTasksOutput$CapacityTasks": "Lists all the capacity tasks.
" + } + }, + "CapacityTaskStatus": { + "base": null, + "refs": { + "CapacityTaskStatusList$member": null, + "CapacityTaskSummary$CapacityTaskStatus": "The status of the capacity task.
", + "GetCapacityTaskOutput$CapacityTaskStatus": "Status of the capacity task.
A capacity task can have one of the following statuses:
REQUESTED
- The capacity task was created and is awaiting the next step by Amazon Web Services Outposts.
IN_PROGRESS
- The capacity task is running and cannot be cancelled.
WAITING_FOR_EVACUATION
- The capacity task requires capacity to run. You must stop the recommended EC2 running instances to free up capacity for the task to run.
Status of the specified capacity task.
" + } + }, + "CapacityTaskStatusList": { + "base": null, + "refs": { + "ListCapacityTasksInput$CapacityTaskStatusFilter": "A list of statuses. For example, REQUESTED
or WAITING_FOR_EVACUATION
.
The reason that the specified capacity task failed.
" + } + }, + "CapacityTaskSummary": { + "base": "The summary of the capacity task.
", + "refs": { + "CapacityTaskList$member": null + } + }, "CatalogItem": { "base": "Information about a catalog item.
", "refs": { @@ -352,6 +423,14 @@ "Address$DistrictOrCounty": "The district or county for the address.
" } }, + "DryRun": { + "base": null, + "refs": { + "GetCapacityTaskOutput$DryRun": "Performs a dry run to determine if you are above or below instance capacity.
", + "StartCapacityTaskInput$DryRun": "You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity. Requesting a dry run does not make any changes to your plan.
", + "StartCapacityTaskOutput$DryRun": "Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
" + } + }, "EC2Capacity": { "base": "Information about EC2 capacity.
", "refs": { @@ -395,6 +474,16 @@ "UpdateSiteRackPhysicalPropertiesInput$FiberOpticCableType": "The type of fiber that you will use to attach the Outpost to your network.
" } }, + "GetCapacityTaskInput": { + "base": null, + "refs": { + } + }, + "GetCapacityTaskOutput": { + "base": null, + "refs": { + } + }, "GetCatalogItemInput": { "base": null, "refs": { @@ -445,6 +534,16 @@ "refs": { } }, + "GetOutpostSupportedInstanceTypesInput": { + "base": null, + "refs": { + } + }, + "GetOutpostSupportedInstanceTypesOutput": { + "base": null, + "refs": { + } + }, "GetSiteAddressInput": { "base": null, "refs": { @@ -481,10 +580,19 @@ "ISO8601Timestamp": { "base": null, "refs": { + "CapacityTaskSummary$CreationDate": "The date that the specified capacity task was created.
", + "CapacityTaskSummary$CompletionDate": "The date that the specified capacity task successfully ran.
", + "CapacityTaskSummary$LastModifiedDate": "The date that the specified capacity was last modified.
", + "GetCapacityTaskOutput$CreationDate": "The date the capacity task was created.
", + "GetCapacityTaskOutput$CompletionDate": "The date the capacity task ran successfully.
", + "GetCapacityTaskOutput$LastModifiedDate": "The date the capacity task was last modified.
", "Order$OrderSubmissionDate": "The submission date for the order.
", "Order$OrderFulfilledDate": "The fulfillment date of the order.
", "OrderSummary$OrderSubmissionDate": "The submission date for the order.
", - "OrderSummary$OrderFulfilledDate": "The fulfilment date for the order.
" + "OrderSummary$OrderFulfilledDate": "The fulfilment date for the order.
", + "StartCapacityTaskOutput$CreationDate": "Date that the specified capacity task was created.
", + "StartCapacityTaskOutput$CompletionDate": "Date that the specified capacity task ran successfully.
", + "StartCapacityTaskOutput$LastModifiedDate": "Date that the specified capacity task was last modified.
" } }, "InstanceFamilies": { @@ -505,6 +613,18 @@ "InstanceTypeItem$InstanceType": null } }, + "InstanceTypeCapacity": { + "base": "The instance type that you specify determines the combination of CPU, memory, storage, and networking capacity.
", + "refs": { + "RequestedInstancePools$member": null + } + }, + "InstanceTypeCount": { + "base": null, + "refs": { + "InstanceTypeCapacity$Count": "The number of instances for the specified instance type.
" + } + }, "InstanceTypeItem": { "base": "Information about an instance type.
", "refs": { @@ -514,7 +634,14 @@ "InstanceTypeListDefinition": { "base": "Information about the instance types.
", "refs": { - "GetOutpostInstanceTypesOutput$InstanceTypes": null + "GetOutpostInstanceTypesOutput$InstanceTypes": null, + "GetOutpostSupportedInstanceTypesOutput$InstanceTypes": null + } + }, + "InstanceTypeName": { + "base": null, + "refs": { + "InstanceTypeCapacity$InstanceType": "The instance type of the hosts.
" } }, "InternalServerException": { @@ -609,6 +736,16 @@ "refs": { } }, + "ListCapacityTasksInput": { + "base": null, + "refs": { + } + }, + "ListCapacityTasksOutput": { + "base": null, + "refs": { + } + }, "ListCatalogItemsInput": { "base": null, "refs": { @@ -675,7 +812,9 @@ "base": "The maximum page size.
", "refs": { "GetOutpostInstanceTypesInput$MaxResults": null, + "GetOutpostSupportedInstanceTypesInput$MaxResults": null, "ListAssetsInput$MaxResults": null, + "ListCapacityTasksInput$MaxResults": null, "ListCatalogItemsInput$MaxResults": null, "ListOrdersInput$MaxResults": null, "ListOutpostsInput$MaxResults": null, @@ -730,10 +869,15 @@ "base": null, "refs": { "CancelOrderInput$OrderId": "The ID of the order.
", + "CapacityTaskSummary$OrderId": "The ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
", + "GetCapacityTaskOutput$OrderId": "ID of the Amazon Web Services Outposts order associated with the specified capacity task.
", "GetOrderInput$OrderId": "The ID of the order.
", + "GetOutpostSupportedInstanceTypesInput$OrderId": "The ID for the Amazon Web Services Outposts order.
", "LineItem$PreviousOrderId": "The ID of the previous order.
", "Order$OrderId": "The ID of the order.
", - "OrderSummary$OrderId": "The ID of the order.
" + "OrderSummary$OrderId": "The ID of the order.
", + "StartCapacityTaskInput$OrderId": "The ID of the Amazon Web Services Outposts order associated with the specified capacity task.
", + "StartCapacityTaskOutput$OrderId": "ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
" } }, "OrderStatus": { @@ -789,12 +933,15 @@ "OutpostId": { "base": null, "refs": { - "DeleteOutpostInput$OutpostId": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", - "GetOutpostInput$OutpostId": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", - "GetOutpostInstanceTypesInput$OutpostId": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", + "CapacityTaskSummary$OutpostId": "The ID of the Outpost associated with the specified capacity task.
", + "DeleteOutpostInput$OutpostId": "The ID or ARN of the Outpost.
", + "GetCapacityTaskOutput$OutpostId": "ID of the Outpost associated with the specified capacity task.
", + "GetOutpostInput$OutpostId": "The ID or ARN of the Outpost.
", + "GetOutpostInstanceTypesInput$OutpostId": "The ID or ARN of the Outpost.
", "GetOutpostInstanceTypesOutput$OutpostId": "The ID of the Outpost.
", "Outpost$OutpostId": "The ID of the Outpost.
", - "UpdateOutpostInput$OutpostId": "The ID or the Amazon Resource Name (ARN) of the Outpost.
" + "StartCapacityTaskOutput$OutpostId": "ID of the Outpost associated with the capacity task.
", + "UpdateOutpostInput$OutpostId": "The ID or ARN of the Outpost.
" } }, "OutpostIdOnly": { @@ -807,9 +954,14 @@ "OutpostIdentifier": { "base": null, "refs": { + "CancelCapacityTaskInput$OutpostIdentifier": "ID or ARN of the Outpost associated with the capacity task that you want to cancel.
", "CreateOrderInput$OutpostIdentifier": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", + "GetCapacityTaskInput$OutpostIdentifier": "ID or ARN of the Outpost associated with the specified capacity task.
", + "GetOutpostSupportedInstanceTypesInput$OutpostIdentifier": "The ID or ARN of the Outpost.
", "ListAssetsInput$OutpostIdentifier": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", - "ListOrdersInput$OutpostIdentifierFilter": "The ID or the Amazon Resource Name (ARN) of the Outpost.
" + "ListCapacityTasksInput$OutpostIdentifierFilter": "Filters the results by an Outpost ID or an Outpost ARN.
", + "ListOrdersInput$OutpostIdentifierFilter": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", + "StartCapacityTaskInput$OutpostIdentifier": "The ID or ARN of the Outposts associated with the specified capacity task.
" } }, "OutpostName": { @@ -899,6 +1051,14 @@ "Site$RackPhysicalProperties": "Information about the physical and logistical details for a rack at the site.
" } }, + "RequestedInstancePools": { + "base": null, + "refs": { + "GetCapacityTaskOutput$RequestedInstancePools": "List of instance pools requested in the capacity task.
", + "StartCapacityTaskInput$InstancePools": "The instance pools specified in the capacity task.
", + "StartCapacityTaskOutput$RequestedInstancePools": "List of the instance pools requested in the specified capacity task.
" + } + }, "ResourceType": { "base": null, "refs": { @@ -993,6 +1153,16 @@ "LineItemRequest$CatalogItemId": "The ID of the catalog item.
" } }, + "StartCapacityTaskInput": { + "base": null, + "refs": { + } + }, + "StartCapacityTaskOutput": { + "base": null, + "refs": { + } + }, "StartConnectionRequest": { "base": null, "refs": { @@ -1107,8 +1277,12 @@ "refs": { "GetOutpostInstanceTypesInput$NextToken": null, "GetOutpostInstanceTypesOutput$NextToken": null, + "GetOutpostSupportedInstanceTypesInput$NextToken": null, + "GetOutpostSupportedInstanceTypesOutput$NextToken": null, "ListAssetsInput$NextToken": null, "ListAssetsOutput$NextToken": null, + "ListCapacityTasksInput$NextToken": null, + "ListCapacityTasksOutput$NextToken": null, "ListCatalogItemsInput$NextToken": null, "ListCatalogItemsOutput$NextToken": null, "ListOrdersInput$NextToken": null, diff --git a/models/apis/outposts/2019-12-03/paginators-1.json b/models/apis/outposts/2019-12-03/paginators-1.json index 36411550797..ad0742fd0a7 100644 --- a/models/apis/outposts/2019-12-03/paginators-1.json +++ b/models/apis/outposts/2019-12-03/paginators-1.json @@ -6,12 +6,24 @@ "limit_key": "MaxResults", "result_key": "InstanceTypes" }, + "GetOutpostSupportedInstanceTypes": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "InstanceTypes" + }, "ListAssets": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults", "result_key": "Assets" }, + "ListCapacityTasks": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "CapacityTasks" + }, "ListCatalogItems": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/apis/wellarchitected/2020-03-31/api-2.json b/models/apis/wellarchitected/2020-03-31/api-2.json index 078dc63019d..9b927a68ebb 100644 --- a/models/apis/wellarchitected/2020-03-31/api-2.json +++ b/models/apis/wellarchitected/2020-03-31/api-2.json @@ -414,6 +414,20 @@ {"shape":"ConflictException"} ] }, + "GetGlobalSettings":{ + "name":"GetGlobalSettings", + "http":{ + "method":"GET", + "requestUri":"/global-settings" + }, + "output":{"shape":"GetGlobalSettingsOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"} + ] + }, "GetLens":{ "name":"GetLens", "http":{ @@ -960,6 +974,22 @@ {"shape":"ThrottlingException"} ] }, + "UpdateIntegration":{ + "name":"UpdateIntegration", + "http":{ + "method":"POST", + "requestUri":"/workloads/{WorkloadId}/updateIntegration" + }, + "input":{"shape":"UpdateIntegrationInput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"} + ] + }, "UpdateLensReview":{ "name":"UpdateLensReview", "http":{ @@ -1109,7 +1139,8 @@ {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"} ] }, "UpgradeProfileVersion":{ @@ -1125,7 +1156,8 @@ {"shape":"ConflictException"}, {"shape":"InternalServerException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"} ] }, "UpgradeReviewTemplateLensReview":{ @@ -1155,6 +1187,33 @@ "error":{"httpStatusCode":403}, "exception":true }, + "AccountJiraConfigurationInput":{ + "type":"structure", + "members":{ + "IssueManagementStatus":{"shape":"AccountJiraIssueManagementStatus"}, + "IssueManagementType":{"shape":"IssueManagementType"}, + "JiraProjectKey":{"shape":"JiraProjectKey"}, + "IntegrationStatus":{"shape":"IntegrationStatusInput"} + } + }, + "AccountJiraConfigurationOutput":{ + "type":"structure", + "members":{ + "IntegrationStatus":{"shape":"IntegrationStatus"}, + "IssueManagementStatus":{"shape":"AccountJiraIssueManagementStatus"}, + "IssueManagementType":{"shape":"IssueManagementType"}, + "Subdomain":{"shape":"Subdomain"}, + "JiraProjectKey":{"shape":"JiraProjectKey"}, + "StatusMessage":{"shape":"StatusMessage"} + } + }, + "AccountJiraIssueManagementStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "AccountSummary":{ "type":"map", "key":{"shape":"CheckStatus"}, @@ -1194,7 +1253,8 @@ "IsApplicable":{"shape":"IsApplicable"}, "Risk":{"shape":"Risk"}, "Notes":{"shape":"Notes"}, - "Reason":{"shape":"AnswerReason"} + "Reason":{"shape":"AnswerReason"}, + "JiraConfiguration":{"shape":"JiraConfiguration"} } }, "AnswerReason":{ @@ -1223,7 +1283,8 @@ "IsApplicable":{"shape":"IsApplicable"}, "Risk":{"shape":"Risk"}, "Reason":{"shape":"AnswerReason"}, - "QuestionType":{"shape":"QuestionType"} + "QuestionType":{"shape":"QuestionType"}, + "JiraConfiguration":{"shape":"JiraConfiguration"} } }, "ApplicationArn":{ @@ -1735,7 +1796,8 @@ "DiscoveryConfig":{"shape":"WorkloadDiscoveryConfig"}, "Applications":{"shape":"WorkloadApplications"}, "ProfileArns":{"shape":"WorkloadProfileArns"}, - "ReviewTemplateArns":{"shape":"ReviewTemplateArns"} + "ReviewTemplateArns":{"shape":"ReviewTemplateArns"}, + "JiraConfiguration":{"shape":"WorkloadJiraConfigurationInput"} } }, "CreateWorkloadOutput":{ @@ -2130,6 +2192,14 @@ "Base64String":{"shape":"Base64String"} } }, + "GetGlobalSettingsOutput":{ + "type":"structure", + "members":{ + "OrganizationSharingStatus":{"shape":"OrganizationSharingStatus"}, + "DiscoveryIntegrationStatus":{"shape":"DiscoveryIntegrationStatus"}, + "JiraConfiguration":{"shape":"AccountJiraConfigurationOutput"} + } + }, "GetLensInput":{ "type":"structure", "required":["LensAlias"], @@ -2453,10 +2523,26 @@ "QuestionTitle":{"shape":"QuestionTitle"}, "Risk":{"shape":"Risk"}, "ImprovementPlanUrl":{"shape":"ImprovementPlanUrl"}, - "ImprovementPlans":{"shape":"ChoiceImprovementPlans"} + "ImprovementPlans":{"shape":"ChoiceImprovementPlans"}, + "JiraConfiguration":{"shape":"JiraConfiguration"} } }, "IncludeSharedResources":{"type":"boolean"}, + "IntegratingService":{ + "type":"string", + "enum":["JIRA"] + }, + "IntegrationStatus":{ + "type":"string", + "enum":[ + "CONFIGURED", + "NOT_CONFIGURED" + ] + }, + "IntegrationStatusInput":{ + "type":"string", + "enum":["NOT_CONFIGURED"] + }, "InternalServerException":{ "type":"structure", "required":["Message"], @@ -2470,6 +2556,37 @@ "IsApplicable":{"type":"boolean"}, "IsMajorVersion":{"type":"boolean"}, "IsReviewOwnerUpdateAcknowledged":{"type":"boolean"}, + "IssueManagementType":{ + "type":"string", + "enum":[ + "AUTO", + "MANUAL" + ] + }, + "JiraConfiguration":{ + "type":"structure", + "members":{ + "JiraIssueUrl":{"shape":"JiraIssueUrl"}, + "LastSyncedTime":{"shape":"Timestamp"} + } + }, + "JiraIssueUrl":{ + "type":"string", + "max":2048, + "min":1 + }, + "JiraProjectKey":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^[A-Z][A-Z0-9_]*$" + }, + "JiraSelectedQuestionConfiguration":{ + "type":"structure", + "members":{ + "SelectedPillars":{"shape":"SelectedPillars"} + } + }, "Lens":{ "type":"structure", "members":{ @@ -2534,6 +2651,7 @@ "LensName":{"shape":"LensName"}, "LensStatus":{"shape":"LensStatus"}, "PillarReviewSummaries":{"shape":"PillarReviewSummaries"}, + "JiraConfiguration":{"shape":"JiraSelectedQuestionConfiguration"}, "UpdatedAt":{"shape":"Timestamp"}, "Notes":{"shape":"Notes"}, "RiskCounts":{"shape":"RiskCounts"}, @@ -3505,19 +3623,16 @@ "ProfileDescription":{ "type":"string", "max":100, - "min":3, - "pattern":"^[A-Za-z0-9-_.,:/()@!&?#+'’\\s]+$" + "min":3 }, "ProfileName":{ "type":"string", "max":100, - "min":3, - "pattern":"^[A-Za-z0-9-_.,:/()@!&?#+'’\\s]+$" + "min":3 }, "ProfileNamePrefix":{ "type":"string", - "max":100, - "pattern":"^[A-Za-z0-9-_.,:/()@!&?#+'’\\s]+$" + "max":100 }, "ProfileNotificationSummaries":{ "type":"list", @@ -3891,10 +4006,26 @@ "type":"list", "member":{"shape":"ChoiceId"} }, + "SelectedPillar":{ + "type":"structure", + "members":{ + "PillarId":{"shape":"PillarId"}, + "SelectedQuestionIds":{"shape":"SelectedQuestionIds"} + } + }, + "SelectedPillars":{ + "type":"list", + "member":{"shape":"SelectedPillar"} + }, "SelectedProfileChoiceIds":{ "type":"list", "member":{"shape":"ChoiceId"} }, + "SelectedQuestionId":{"type":"string"}, + "SelectedQuestionIds":{ + "type":"list", + "member":{"shape":"SelectedQuestionId"} + }, "ServiceCode":{"type":"string"}, "ServiceQuotaExceededException":{ "type":"structure", @@ -3998,6 +4129,11 @@ "max":512, "min":1 }, + "Subdomain":{ + "type":"string", + "max":100, + "min":1 + }, "TagKey":{ "type":"string", "max":128, @@ -4167,7 +4303,28 @@ "type":"structure", "members":{ "OrganizationSharingStatus":{"shape":"OrganizationSharingStatus"}, - "DiscoveryIntegrationStatus":{"shape":"DiscoveryIntegrationStatus"} + "DiscoveryIntegrationStatus":{"shape":"DiscoveryIntegrationStatus"}, + "JiraConfiguration":{"shape":"AccountJiraConfigurationInput"} + } + }, + "UpdateIntegrationInput":{ + "type":"structure", + "required":[ + "WorkloadId", + "ClientRequestToken", + "IntegratingService" + ], + "members":{ + "WorkloadId":{ + "shape":"WorkloadId", + "location":"uri", + "locationName":"WorkloadId" + }, + "ClientRequestToken":{ + "shape":"ClientRequestToken", + "idempotencyToken":true + }, + "IntegratingService":{"shape":"IntegratingService"} } }, "UpdateLensReviewInput":{ @@ -4188,7 +4345,8 @@ "locationName":"LensAlias" }, "LensNotes":{"shape":"Notes"}, - "PillarNotes":{"shape":"PillarNotes"} + "PillarNotes":{"shape":"PillarNotes"}, + "JiraConfiguration":{"shape":"JiraSelectedQuestionConfiguration"} } }, "UpdateLensReviewOutput":{ @@ -4350,7 +4508,8 @@ "Notes":{"shape":"Notes"}, "ImprovementStatus":{"shape":"WorkloadImprovementStatus"}, "DiscoveryConfig":{"shape":"WorkloadDiscoveryConfig"}, - "Applications":{"shape":"WorkloadApplications"} + "Applications":{"shape":"WorkloadApplications"}, + "JiraConfiguration":{"shape":"WorkloadJiraConfigurationInput"} } }, "UpdateWorkloadOutput":{ @@ -4528,7 +4687,8 @@ "DiscoveryConfig":{"shape":"WorkloadDiscoveryConfig"}, "Applications":{"shape":"WorkloadApplications"}, "Profiles":{"shape":"WorkloadProfiles"}, - "PrioritizedRiskCounts":{"shape":"RiskCounts"} + "PrioritizedRiskCounts":{"shape":"RiskCounts"}, + "JiraConfiguration":{"shape":"WorkloadJiraConfigurationOutput"} } }, "WorkloadAccountIds":{ @@ -4595,6 +4755,31 @@ "type":"string", "max":100 }, + "WorkloadIssueManagementStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED", + "INHERIT" + ] + }, + "WorkloadJiraConfigurationInput":{ + "type":"structure", + "members":{ + "IssueManagementStatus":{"shape":"WorkloadIssueManagementStatus"}, + "IssueManagementType":{"shape":"IssueManagementType"}, + "JiraProjectKey":{"shape":"JiraProjectKey"} + } + }, + "WorkloadJiraConfigurationOutput":{ + "type":"structure", + "members":{ + "IssueManagementStatus":{"shape":"WorkloadIssueManagementStatus"}, + "IssueManagementType":{"shape":"IssueManagementType"}, + "JiraProjectKey":{"shape":"JiraProjectKey"}, + "StatusMessage":{"shape":"StatusMessage"} + } + }, "WorkloadLenses":{ "type":"list", "member":{"shape":"LensAlias"} diff --git a/models/apis/wellarchitected/2020-03-31/docs-2.json b/models/apis/wellarchitected/2020-03-31/docs-2.json index 23d4536a49d..4aa8d2dc0a9 100644 --- a/models/apis/wellarchitected/2020-03-31/docs-2.json +++ b/models/apis/wellarchitected/2020-03-31/docs-2.json @@ -26,6 +26,7 @@ "ExportLens": "Export an existing lens.
Only the owner of a lens can export it. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be exported.
Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide.
Disclaimer
Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
Get the answer to a specific question in a workload review.
", "GetConsolidatedReport": "Get a consolidated report of your workloads.
You can optionally choose to include workloads that have been shared with you.
", + "GetGlobalSettings": "Global settings for all workloads.
", "GetLens": "Get an existing lens.
", "GetLensReview": "Get lens review.
", "GetLensReviewReport": "Get lens review report.
", @@ -41,7 +42,7 @@ "ListAnswers": "List of answers for a particular workload and lens.
", "ListCheckDetails": "List of Trusted Advisor check details by account related to the workload.
", "ListCheckSummaries": "List of Trusted Advisor checks summarized for all accounts related to the workload.
", - "ListLensReviewImprovements": "List lens review improvements.
", + "ListLensReviewImprovements": "List the improvements of a particular lens review.
", "ListLensReviews": "List lens reviews for a particular workload.
", "ListLensShares": "List the lens shares associated with the lens.
", "ListLenses": "List the available lenses.
", @@ -60,7 +61,8 @@ "TagResource": "Adds one or more tags to the specified resource.
The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.
Deletes specified tags from a resource.
The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.
To specify multiple tags, use separate tagKeys parameters, for example:
DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2
Update the answer to a specific question in a workload review.
", - "UpdateGlobalSettings": "Updates whether the Amazon Web Services account is opted into organization sharing and discovery integration features.
", + "UpdateGlobalSettings": "Update whether the Amazon Web Services account is opted into organization sharing and discovery integration features.
", + "UpdateIntegration": "Update integration features.
", "UpdateLensReview": "Update lens review for a particular workload.
", "UpdateProfile": "Update a profile.
", "UpdateReviewTemplate": "Update a review template.
", @@ -79,6 +81,25 @@ "refs": { } }, + "AccountJiraConfigurationInput": { + "base": "Account-level: Input for the Jira configuration.
", + "refs": { + "UpdateGlobalSettingsInput$JiraConfiguration": "The status of Jira integration settings.
" + } + }, + "AccountJiraConfigurationOutput": { + "base": "Account-level: Output configuration of the Jira integration.
", + "refs": { + "GetGlobalSettingsOutput$JiraConfiguration": "Jira configuration status.
" + } + }, + "AccountJiraIssueManagementStatus": { + "base": null, + "refs": { + "AccountJiraConfigurationInput$IssueManagementStatus": "Account-level: Jira issue management status.
", + "AccountJiraConfigurationOutput$IssueManagementStatus": "Account-level: Jira issue management status.
" + } + }, "AccountSummary": { "base": "Account summary for a Well-Architected best practice in relation to Trusted Advisor checks.
", "refs": { @@ -429,6 +450,7 @@ "DeleteWorkloadInput$ClientRequestToken": null, "DeleteWorkloadShareInput$ClientRequestToken": null, "ImportLensInput$ClientRequestToken": null, + "UpdateIntegrationInput$ClientRequestToken": null, "UpgradeLensReviewInput$ClientRequestToken": null, "UpgradeProfileVersionInput$ClientRequestToken": null, "UpgradeReviewTemplateLensReviewInput$ClientRequestToken": null @@ -614,6 +636,7 @@ "DiscoveryIntegrationStatus": { "base": null, "refs": { + "GetGlobalSettingsOutput$DiscoveryIntegrationStatus": "Discovery integration status.
", "UpdateGlobalSettingsInput$DiscoveryIntegrationStatus": "The status of discovery support settings.
" } }, @@ -696,6 +719,11 @@ "refs": { } }, + "GetGlobalSettingsOutput": { + "base": null, + "refs": { + } + }, "GetLensInput": { "base": null, "refs": { @@ -856,6 +884,24 @@ "GetConsolidatedReportInput$IncludeSharedResources": "Set to true
to have shared resources included in the report.
Which integrated service to update.
" + } + }, + "IntegrationStatus": { + "base": null, + "refs": { + "AccountJiraConfigurationOutput$IntegrationStatus": "Account-level: Configuration status of the Jira integration.
" + } + }, + "IntegrationStatusInput": { + "base": null, + "refs": { + "AccountJiraConfigurationInput$IntegrationStatus": "Account-level: Configuration status of the Jira integration.
" + } + }, "InternalServerException": { "base": "There is a problem with the Well-Architected Tool API service.
", "refs": { @@ -885,6 +931,45 @@ "Workload$IsReviewOwnerUpdateAcknowledged": "Flag indicating whether the workload owner has acknowledged that the Review owner field is required.
If a Review owner is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.
" } }, + "IssueManagementType": { + "base": null, + "refs": { + "AccountJiraConfigurationInput$IssueManagementType": "Account-level: Jira issue management type.
", + "AccountJiraConfigurationOutput$IssueManagementType": "Account-level: Jira issue management type.
", + "WorkloadJiraConfigurationInput$IssueManagementType": "Workload-level: Jira issue management type.
", + "WorkloadJiraConfigurationOutput$IssueManagementType": "Workload-level: Jira issue management type.
" + } + }, + "JiraConfiguration": { + "base": "Configuration of the Jira integration.
", + "refs": { + "Answer$JiraConfiguration": "Configuration of the Jira integration.
", + "AnswerSummary$JiraConfiguration": "Configuration of the Jira integration.
", + "ImprovementSummary$JiraConfiguration": "Configuration of the Jira integration.
" + } + }, + "JiraIssueUrl": { + "base": null, + "refs": { + "JiraConfiguration$JiraIssueUrl": "The URL of the associated Jira issue.
" + } + }, + "JiraProjectKey": { + "base": null, + "refs": { + "AccountJiraConfigurationInput$JiraProjectKey": "Account-level: Jira project key to sync workloads to.
", + "AccountJiraConfigurationOutput$JiraProjectKey": "Account-level: Jira project key to sync workloads to.
", + "WorkloadJiraConfigurationInput$JiraProjectKey": "Workload-level: Jira project key to sync workloads to.
", + "WorkloadJiraConfigurationOutput$JiraProjectKey": "Workload-level: Jira project key to sync workloads to.
" + } + }, + "JiraSelectedQuestionConfiguration": { + "base": "Selected questions in the workload.
", + "refs": { + "LensReview$JiraConfiguration": "Jira configuration status of the Lens review.
", + "UpdateLensReviewInput$JiraConfiguration": "Configuration of the Jira integration.
" + } + }, "Lens": { "base": "A lens return object.
", "refs": { @@ -1541,6 +1626,7 @@ "OrganizationSharingStatus": { "base": null, "refs": { + "GetGlobalSettingsOutput$OrganizationSharingStatus": "Amazon Web Services Organizations sharing status.
", "UpdateGlobalSettingsInput$OrganizationSharingStatus": "The status of organization sharing settings.
" } }, @@ -1586,6 +1672,7 @@ "ReviewTemplateAnswer$PillarId": null, "ReviewTemplateAnswerSummary$PillarId": null, "ReviewTemplatePillarReviewSummary$PillarId": null, + "SelectedPillar$PillarId": null, "WorkloadPillarPriorities$member": null } }, @@ -2071,12 +2158,36 @@ "UpdateReviewTemplateAnswerInput$SelectedChoices": null } }, + "SelectedPillar": { + "base": "The selected pillar.
", + "refs": { + "SelectedPillars$member": null + } + }, + "SelectedPillars": { + "base": null, + "refs": { + "JiraSelectedQuestionConfiguration$SelectedPillars": "Selected pillars in the workload.
" + } + }, "SelectedProfileChoiceIds": { "base": null, "refs": { "ProfileQuestionUpdate$SelectedChoiceIds": "The selected choices.
" } }, + "SelectedQuestionId": { + "base": null, + "refs": { + "SelectedQuestionIds$member": null + } + }, + "SelectedQuestionIds": { + "base": null, + "refs": { + "SelectedPillar$SelectedQuestionIds": "Selected question IDs in the selected pillar.
" + } + }, "ServiceCode": { "base": "Service Quotas requirement to identify originating service.
", "refs": { @@ -2193,12 +2304,20 @@ "StatusMessage": { "base": null, "refs": { + "AccountJiraConfigurationOutput$StatusMessage": "Account-level: Status message on configuration of the Jira integration.
", "LensShareSummary$StatusMessage": "Optional message to compliment the Status field.
", "ProfileShareSummary$StatusMessage": "Profile share invitation status message.
", "TemplateShareSummary$StatusMessage": "Review template share invitation status message.
", + "WorkloadJiraConfigurationOutput$StatusMessage": "Workload-level: Status message on configuration of the Jira integration.
", "WorkloadShareSummary$StatusMessage": "Optional message to compliment the Status field.
" } }, + "Subdomain": { + "base": null, + "refs": { + "AccountJiraConfigurationOutput$Subdomain": "Account-level: Jira subdomain URL.
" + } + }, "TagKey": { "base": null, "refs": { @@ -2327,6 +2446,7 @@ "CheckDetail$UpdatedAt": null, "CheckSummary$UpdatedAt": null, "ConsolidatedReportMetric$UpdatedAt": null, + "JiraConfiguration$LastSyncedTime": null, "LensReview$UpdatedAt": null, "LensReviewSummary$UpdatedAt": null, "LensSummary$CreatedAt": null, @@ -2378,6 +2498,11 @@ "refs": { } }, + "UpdateIntegrationInput": { + "base": null, + "refs": { + } + }, "UpdateLensReviewInput": { "base": "Input for update lens review.
", "refs": { @@ -2634,6 +2759,7 @@ "ShareInvitationSummary$WorkloadId": null, "UpdateAnswerInput$WorkloadId": null, "UpdateAnswerOutput$WorkloadId": null, + "UpdateIntegrationInput$WorkloadId": null, "UpdateLensReviewInput$WorkloadId": null, "UpdateLensReviewOutput$WorkloadId": null, "UpdateWorkloadInput$WorkloadId": null, @@ -2670,6 +2796,26 @@ "Workload$IndustryType": null } }, + "WorkloadIssueManagementStatus": { + "base": null, + "refs": { + "WorkloadJiraConfigurationInput$IssueManagementStatus": "Workload-level: Jira issue management status.
", + "WorkloadJiraConfigurationOutput$IssueManagementStatus": "Workload-level: Jira issue management status.
" + } + }, + "WorkloadJiraConfigurationInput": { + "base": "Workload-level: Input for the Jira configuration.
", + "refs": { + "CreateWorkloadInput$JiraConfiguration": "Jira configuration settings when creating a workload.
", + "UpdateWorkloadInput$JiraConfiguration": "Configuration of the Jira integration.
" + } + }, + "WorkloadJiraConfigurationOutput": { + "base": "Workload-level: Output configuration of the Jira integration.
", + "refs": { + "Workload$JiraConfiguration": "Jira configuration for a specific workload.
" + } + }, "WorkloadLenses": { "base": "The list of lenses associated with the workload. Each lens is identified by its LensSummary$LensAlias.
If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.
", "refs": { diff --git a/models/apis/wellarchitected/2020-03-31/endpoint-rule-set-1.json b/models/apis/wellarchitected/2020-03-31/endpoint-rule-set-1.json index 69a78ebbbc3..0f36eb70f86 100644 --- a/models/apis/wellarchitected/2020-03-31/endpoint-rule-set-1.json +++ b/models/apis/wellarchitected/2020-03-31/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 994ca376cce..c7c9d3f262c 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -3763,6 +3763,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -3772,6 +3773,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -3850,6 +3852,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -27669,7 +27672,8 @@ }, "snowball" : { "endpoints" : { - "us-iso-east-1" : { } + "us-iso-east-1" : { }, + "us-iso-west-1" : { } } }, "sns" : { @@ -28026,6 +28030,11 @@ "us-isob-east-1" : { } } }, + "firehose" : { + "endpoints" : { + "us-isob-east-1" : { } + } + }, "glacier" : { "endpoints" : { "us-isob-east-1" : { } diff --git a/service/bedrockagent/api.go b/service/bedrockagent/api.go index 04f48ff3df3..bfc4e52d94d 100644 --- a/service/bedrockagent/api.go +++ b/service/bedrockagent/api.go @@ -82,8 +82,8 @@ func (c *BedrockAgent) AssociateAgentKnowledgeBaseRequest(input *AssociateAgentK // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -161,11 +161,12 @@ func (c *BedrockAgent) CreateAgentRequest(input *CreateAgentInput) (req *request // out tasks to help customers. // // - Specify the following fields for security purposes. agentResourceRoleArn -// – The ARN of the role with permissions to create an agent. (Optional) -// customerEncryptionKeyArn – The ARN of a KMS key to encrypt the creation -// of the agent. (Optional) idleSessionTTLinSeconds – Specify the number -// of seconds for which the agent should maintain session information. After -// this time expires, the subsequent InvokeAgent request begins a new session. +// – The Amazon Resource Name (ARN) of the role with permissions to invoke +// API operations on an agent. (Optional) customerEncryptionKeyArn – The +// Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the +// agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds +// for which the agent should maintain session information. After this time +// expires, the subsequent InvokeAgent request begins a new session. // // - To override the default prompt behavior for agent orchestration and // to use advanced prompts, include a promptOverrideConfiguration object. @@ -301,8 +302,8 @@ func (c *BedrockAgent) CreateAgentActionGroupRequest(input *CreateAgentActionGro // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -399,8 +400,8 @@ func (c *BedrockAgent) CreateAgentAliasRequest(input *CreateAgentAliasInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -499,8 +500,8 @@ func (c *BedrockAgent) CreateDataSourceRequest(input *CreateDataSourceInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -584,8 +585,8 @@ func (c *BedrockAgent) CreateKnowledgeBaseRequest(input *CreateKnowledgeBaseInpu // // - Provide the name and an optional description. // -// - Provide the ARN with permissions to create a knowledge base in the roleArn -// field. +// - Provide the Amazon Resource Name (ARN) with permissions to create a +// knowledge base in the roleArn field. // // - Provide the embedding model to use in the embeddingModelArn field in // the knowledgeBaseConfiguration object. @@ -718,8 +719,8 @@ func (c *BedrockAgent) DeleteAgentRequest(input *DeleteAgentInput) (req *request // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -814,8 +815,8 @@ func (c *BedrockAgent) DeleteAgentActionGroupRequest(input *DeleteAgentActionGro // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -909,8 +910,8 @@ func (c *BedrockAgent) DeleteAgentAliasRequest(input *DeleteAgentAliasInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteAgentAlias func (c *BedrockAgent) DeleteAgentAlias(input *DeleteAgentAliasInput) (*DeleteAgentAliasOutput, error) { @@ -1001,8 +1002,8 @@ func (c *BedrockAgent) DeleteAgentVersionRequest(input *DeleteAgentVersionInput) // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -1096,8 +1097,8 @@ func (c *BedrockAgent) DeleteDataSourceRequest(input *DeleteDataSourceInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -1194,8 +1195,8 @@ func (c *BedrockAgent) DeleteKnowledgeBaseRequest(input *DeleteKnowledgeBaseInpu // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -1290,8 +1291,8 @@ func (c *BedrockAgent) DisassociateAgentKnowledgeBaseRequest(input *Disassociate // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -1385,8 +1386,8 @@ func (c *BedrockAgent) GetAgentRequest(input *GetAgentInput) (req *request.Reque // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgent func (c *BedrockAgent) GetAgent(input *GetAgentInput) (*GetAgentOutput, error) { @@ -1477,8 +1478,8 @@ func (c *BedrockAgent) GetAgentActionGroupRequest(input *GetAgentActionGroupInpu // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentActionGroup func (c *BedrockAgent) GetAgentActionGroup(input *GetAgentActionGroupInput) (*GetAgentActionGroupOutput, error) { @@ -1569,8 +1570,8 @@ func (c *BedrockAgent) GetAgentAliasRequest(input *GetAgentAliasInput) (req *req // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentAlias func (c *BedrockAgent) GetAgentAlias(input *GetAgentAliasInput) (*GetAgentAliasOutput, error) { @@ -1661,8 +1662,8 @@ func (c *BedrockAgent) GetAgentKnowledgeBaseRequest(input *GetAgentKnowledgeBase // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentKnowledgeBase func (c *BedrockAgent) GetAgentKnowledgeBase(input *GetAgentKnowledgeBaseInput) (*GetAgentKnowledgeBaseOutput, error) { @@ -1753,8 +1754,8 @@ func (c *BedrockAgent) GetAgentVersionRequest(input *GetAgentVersionInput) (req // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentVersion func (c *BedrockAgent) GetAgentVersion(input *GetAgentVersionInput) (*GetAgentVersionOutput, error) { @@ -1845,8 +1846,8 @@ func (c *BedrockAgent) GetDataSourceRequest(input *GetDataSourceInput) (req *req // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetDataSource func (c *BedrockAgent) GetDataSource(input *GetDataSourceInput) (*GetDataSourceOutput, error) { @@ -1938,8 +1939,8 @@ func (c *BedrockAgent) GetIngestionJobRequest(input *GetIngestionJobInput) (req // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetIngestionJob func (c *BedrockAgent) GetIngestionJob(input *GetIngestionJobInput) (*GetIngestionJobOutput, error) { @@ -2030,8 +2031,8 @@ func (c *BedrockAgent) GetKnowledgeBaseRequest(input *GetKnowledgeBaseInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase func (c *BedrockAgent) GetKnowledgeBase(input *GetKnowledgeBaseInput) (*GetKnowledgeBaseOutput, error) { @@ -2128,8 +2129,8 @@ func (c *BedrockAgent) ListAgentActionGroupsRequest(input *ListAgentActionGroups // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListAgentActionGroups func (c *BedrockAgent) ListAgentActionGroups(input *ListAgentActionGroupsInput) (*ListAgentActionGroupsOutput, error) { @@ -2277,8 +2278,8 @@ func (c *BedrockAgent) ListAgentAliasesRequest(input *ListAgentAliasesInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListAgentAliases func (c *BedrockAgent) ListAgentAliases(input *ListAgentAliasesInput) (*ListAgentAliasesOutput, error) { @@ -2427,8 +2428,8 @@ func (c *BedrockAgent) ListAgentKnowledgeBasesRequest(input *ListAgentKnowledgeB // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListAgentKnowledgeBases func (c *BedrockAgent) ListAgentKnowledgeBases(input *ListAgentKnowledgeBasesInput) (*ListAgentKnowledgeBasesOutput, error) { @@ -2576,8 +2577,8 @@ func (c *BedrockAgent) ListAgentVersionsRequest(input *ListAgentVersionsInput) ( // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListAgentVersions func (c *BedrockAgent) ListAgentVersions(input *ListAgentVersionsInput) (*ListAgentVersionsOutput, error) { @@ -2870,8 +2871,8 @@ func (c *BedrockAgent) ListDataSourcesRequest(input *ListDataSourcesInput) (req // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListDataSources func (c *BedrockAgent) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) { @@ -3020,8 +3021,8 @@ func (c *BedrockAgent) ListIngestionJobsRequest(input *ListIngestionJobsInput) ( // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListIngestionJobs func (c *BedrockAgent) ListIngestionJobs(input *ListIngestionJobsInput) (*ListIngestionJobsOutput, error) { @@ -3308,8 +3309,8 @@ func (c *BedrockAgent) ListTagsForResourceRequest(input *ListTagsForResourceInpu // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ListTagsForResource func (c *BedrockAgent) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3400,8 +3401,8 @@ func (c *BedrockAgent) PrepareAgentRequest(input *PrepareAgentInput) (req *reque // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -3498,8 +3499,8 @@ func (c *BedrockAgent) StartIngestionJobRequest(input *StartIngestionJobInput) ( // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -3599,8 +3600,8 @@ func (c *BedrockAgent) TagResourceRequest(input *TagResourceInput) (req *request // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ServiceQuotaExceededException // The number of requests exceeds the service quota. Resubmit your request later. @@ -3695,8 +3696,8 @@ func (c *BedrockAgent) UntagResourceRequest(input *UntagResourceInput) (req *req // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UntagResource func (c *BedrockAgent) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3787,8 +3788,8 @@ func (c *BedrockAgent) UpdateAgentRequest(input *UpdateAgentInput) (req *request // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -3885,8 +3886,8 @@ func (c *BedrockAgent) UpdateAgentActionGroupRequest(input *UpdateAgentActionGro // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -3983,8 +3984,8 @@ func (c *BedrockAgent) UpdateAgentAliasRequest(input *UpdateAgentAliasInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -4082,8 +4083,8 @@ func (c *BedrockAgent) UpdateAgentKnowledgeBaseRequest(input *UpdateAgentKnowled // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -4180,8 +4181,8 @@ func (c *BedrockAgent) UpdateDataSourceRequest(input *UpdateDataSourceInput) (re // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -4290,8 +4291,8 @@ func (c *BedrockAgent) UpdateKnowledgeBaseRequest(input *UpdateKnowledgeBaseInpu // An internal server error occurred. Retry your request. // // - ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. // // - ConflictException // There was a conflict performing an operation. @@ -4452,8 +4453,8 @@ func (s *AccessDeniedException) RequestID() string { type ActionGroupExecutor struct { _ struct{} `type:"structure"` - // The ARN of the Lambda function containing the business logic that is carried - // out upon invoking the action. + // The Amazon Resource Name (ARN) of the Lambda function containing the business + // logic that is carried out upon invoking the action. Lambda *string `locationName:"lambda" type:"string"` } @@ -4563,7 +4564,7 @@ func (s *ActionGroupSummary) SetUpdatedAt(v time.Time) *ActionGroupSummary { type Agent struct { _ struct{} `type:"structure"` - // The ARN of the agent. + // The Amazon Resource Name (ARN) of the agent. // // AgentArn is a required field AgentArn *string `locationName:"agentArn" type:"string" required:"true"` @@ -4578,8 +4579,8 @@ type Agent struct { // AgentName is a required field AgentName *string `locationName:"agentName" type:"string" required:"true"` - // The ARN of the IAM role with permissions to call API operations on the agent. - // The ARN must begin with AmazonBedrockExecutionRoleForAgents_. + // The Amazon Resource Name (ARN) of the IAM role with permissions to invoke + // API operations on the agent. // // AgentResourceRoleArn is a required field AgentResourceRoleArn *string `locationName:"agentResourceRoleArn" type:"string" required:"true"` @@ -4620,7 +4621,7 @@ type Agent struct { // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` - // The ARN of the KMS key that encrypts the agent. + // The Amazon Resource Name (ARN) of the KMS key that encrypts the agent. CustomerEncryptionKeyArn *string `locationName:"customerEncryptionKeyArn" min:"1" type:"string"` // The description of the agent. @@ -4801,8 +4802,8 @@ func (s *Agent) SetUpdatedAt(v time.Time) *Agent { type AgentActionGroup struct { _ struct{} `type:"structure"` - // The ARN of the Lambda function containing the business logic that is carried - // out upon invoking the action. + // The Amazon Resource Name (ARN) of the Lambda function containing the business + // logic that is carried out upon invoking the action. ActionGroupExecutor *ActionGroupExecutor `locationName:"actionGroupExecutor" type:"structure"` // The unique identifier of the action group. @@ -4962,7 +4963,7 @@ func (s *AgentActionGroup) SetUpdatedAt(v time.Time) *AgentActionGroup { type AgentAlias struct { _ struct{} `type:"structure"` - // The ARN of the alias of the agent. + // The Amazon Resource Name (ARN) of the alias of the agent. // // AgentAliasArn is a required field AgentAliasArn *string `locationName:"agentAliasArn" type:"string" required:"true"` @@ -5570,7 +5571,7 @@ func (s *AgentSummary) SetUpdatedAt(v time.Time) *AgentSummary { type AgentVersion struct { _ struct{} `type:"structure"` - // The ARN of the agent that the version belongs to. + // The Amazon Resource Name (ARN) of the agent that the version belongs to. // // AgentArn is a required field AgentArn *string `locationName:"agentArn" type:"string" required:"true"` @@ -5585,8 +5586,8 @@ type AgentVersion struct { // AgentName is a required field AgentName *string `locationName:"agentName" type:"string" required:"true"` - // The ARN of the IAM role with permissions to invoke API operations on the - // agent. The ARN must begin with AmazonBedrockExecutionRoleForAgents_. + // The Amazon Resource Name (ARN) of the IAM role with permissions to invoke + // API operations on the agent. // // AgentResourceRoleArn is a required field AgentResourceRoleArn *string `locationName:"agentResourceRoleArn" type:"string" required:"true"` @@ -5601,7 +5602,7 @@ type AgentVersion struct { // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` - // The ARN of the KMS key that encrypts the agent. + // The Amazon Resource Name (ARN) of the KMS key that encrypts the agent. CustomerEncryptionKeyArn *string `locationName:"customerEncryptionKeyArn" min:"1" type:"string"` // The description of the version. @@ -6139,8 +6140,8 @@ func (s *ConflictException) RequestID() string { type CreateAgentActionGroupInput struct { _ struct{} `type:"structure"` - // The ARN of the Lambda function containing the business logic that is carried - // out upon invoking the action. + // The Amazon Resource Name (ARN) of the Lambda function containing the business + // logic that is carried out upon invoking the action. ActionGroupExecutor *ActionGroupExecutor `locationName:"actionGroupExecutor" type:"structure"` // The name to give the action group. @@ -6490,11 +6491,9 @@ type CreateAgentInput struct { // AgentName is a required field AgentName *string `locationName:"agentName" type:"string" required:"true"` - // The ARN of the IAM role with permissions to create the agent. The ARN must - // begin with AmazonBedrockExecutionRoleForAgents_. - // - // AgentResourceRoleArn is a required field - AgentResourceRoleArn *string `locationName:"agentResourceRoleArn" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the IAM role with permissions to invoke + // API operations on the agent. + AgentResourceRoleArn *string `locationName:"agentResourceRoleArn" type:"string"` // A unique, case-sensitive identifier to ensure that the API request completes // no more than one time. If this token matches a previous request, Amazon Bedrock @@ -6502,7 +6501,7 @@ type CreateAgentInput struct { // see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" min:"33" type:"string" idempotencyToken:"true"` - // The ARN of the KMS key with which to encrypt the agent. + // The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent. CustomerEncryptionKeyArn *string `locationName:"customerEncryptionKeyArn" min:"1" type:"string"` // A description of the agent. @@ -6563,9 +6562,6 @@ func (s *CreateAgentInput) Validate() error { if s.AgentName == nil { invalidParams.Add(request.NewErrParamRequired("AgentName")) } - if s.AgentResourceRoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("AgentResourceRoleArn")) - } if s.ClientToken != nil && len(*s.ClientToken) < 33 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 33)) } @@ -6881,7 +6877,8 @@ type CreateKnowledgeBaseInput struct { // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` - // The ARN of the IAM role with permissions to create the knowledge base. + // The Amazon Resource Name (ARN) of the IAM role with permissions to invoke + // API operations on the knowledge base. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` @@ -9604,7 +9601,7 @@ type KnowledgeBase struct { // A list of reasons that the API operation on the knowledge base failed. FailureReasons []*string `locationName:"failureReasons" type:"list"` - // The ARN of the knowledge base. + // The Amazon Resource Name (ARN) of the knowledge base. // // KnowledgeBaseArn is a required field KnowledgeBaseArn *string `locationName:"knowledgeBaseArn" type:"string" required:"true"` @@ -9624,8 +9621,8 @@ type KnowledgeBase struct { // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` - // The ARN of the IAM role with permissions to invoke API operations on the - // knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_. + // The Amazon Resource Name (ARN) of the IAM role with permissions to invoke + // API operations on the knowledge base. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` @@ -10919,7 +10916,7 @@ func (s *ListKnowledgeBasesOutput) SetNextToken(v string) *ListKnowledgeBasesOut type ListTagsForResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ARN of the resource for which to list tags. + // The Amazon Resource Name (ARN) of the resource for which to list tags. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"` @@ -11002,7 +10999,7 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe type OpenSearchServerlessConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the OpenSearch Service vector store. + // The Amazon Resource Name (ARN) of the OpenSearch Service vector store. // // CollectionArn is a required field CollectionArn *string `locationName:"collectionArn" type:"string" required:"true"` @@ -11168,8 +11165,8 @@ type PineconeConfiguration struct { // ConnectionString is a required field ConnectionString *string `locationName:"connectionString" type:"string" required:"true"` - // The ARN of the secret that you created in Secrets Manager that is linked - // to your Pinecone API key. + // The Amazon Resource Name (ARN) of the secret that you created in Secrets + // Manager that is linked to your Pinecone API key. // // CredentialsSecretArn is a required field CredentialsSecretArn *string `locationName:"credentialsSecretArn" type:"string" required:"true"` @@ -11618,8 +11615,8 @@ func (s *PromptOverrideConfiguration) SetPromptConfigurations(v []*PromptConfigu type RdsConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the secret that you created in Secrets Manager that is linked - // to your Amazon RDS database. + // The Amazon Resource Name (ARN) of the secret that you created in Secrets + // Manager that is linked to your Amazon RDS database. // // CredentialsSecretArn is a required field CredentialsSecretArn *string `locationName:"credentialsSecretArn" type:"string" required:"true"` @@ -11635,7 +11632,7 @@ type RdsConfiguration struct { // FieldMapping is a required field FieldMapping *RdsFieldMapping `locationName:"fieldMapping" type:"structure" required:"true"` - // The ARN of the vector store. + // The Amazon Resource Name (ARN) of the vector store. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` @@ -11823,8 +11820,8 @@ func (s *RdsFieldMapping) SetVectorField(v string) *RdsFieldMapping { type RedisEnterpriseCloudConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the secret that you created in Secrets Manager that is linked - // to your Redis Enterprise Cloud database. + // The Amazon Resource Name (ARN) of the secret that you created in Secrets + // Manager that is linked to your Redis Enterprise Cloud database. // // CredentialsSecretArn is a required field CredentialsSecretArn *string `locationName:"credentialsSecretArn" type:"string" required:"true"` @@ -11994,8 +11991,8 @@ func (s *RedisEnterpriseCloudFieldMapping) SetVectorField(v string) *RedisEnterp return s } -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// The specified resource Amazon Resource Name (ARN) was not found. Check the +// Amazon Resource Name (ARN) and try your request again. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -12063,7 +12060,7 @@ func (s *ResourceNotFoundException) RequestID() string { type S3DataSourceConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the bucket that contains the data source. + // The Amazon Resource Name (ARN) of the bucket that contains the data source. // // BucketArn is a required field BucketArn *string `locationName:"bucketArn" min:"1" type:"string" required:"true"` @@ -12183,7 +12180,7 @@ func (s *S3Identifier) SetS3ObjectKey(v string) *S3Identifier { type ServerSideEncryptionConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the KMS key used to encrypt the resource. + // The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource. KmsKeyArn *string `locationName:"kmsKeyArn" min:"1" type:"string"` } @@ -12524,7 +12521,7 @@ func (s *StorageConfiguration) SetType(v string) *StorageConfiguration { type TagResourceInput struct { _ struct{} `type:"structure"` - // The ARN of the resource to tag. + // The Amazon Resource Name (ARN) of the resource to tag. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"` @@ -12674,7 +12671,7 @@ func (s *ThrottlingException) RequestID() string { type UntagResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ARN of the resource from which to remove tags. + // The Amazon Resource Name (ARN) of the resource from which to remove tags. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"` @@ -12759,8 +12756,8 @@ func (s UntagResourceOutput) GoString() string { type UpdateAgentActionGroupInput struct { _ struct{} `type:"structure"` - // The ARN of the Lambda function containing the business logic that is carried - // out upon invoking the action. + // The Amazon Resource Name (ARN) of the Lambda function containing the business + // logic that is carried out upon invoking the action. ActionGroupExecutor *ActionGroupExecutor `locationName:"actionGroupExecutor" type:"structure"` // The unique identifier of the action group. @@ -13111,13 +13108,13 @@ type UpdateAgentInput struct { // AgentName is a required field AgentName *string `locationName:"agentName" type:"string" required:"true"` - // The ARN of the IAM role with permissions to update the agent. The ARN must - // begin with AmazonBedrockExecutionRoleForAgents_. + // The Amazon Resource Name (ARN) of the IAM role with permissions to invoke + // API operations on the agent. // // AgentResourceRoleArn is a required field AgentResourceRoleArn *string `locationName:"agentResourceRoleArn" type:"string" required:"true"` - // The ARN of the KMS key with which to encrypt the agent. + // The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent. CustomerEncryptionKeyArn *string `locationName:"customerEncryptionKeyArn" min:"1" type:"string"` // Specifies a new description of the agent. @@ -13642,7 +13639,7 @@ type UpdateKnowledgeBaseInput struct { Name *string `locationName:"name" type:"string" required:"true"` // Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions - // to modify the knowledge base. + // to invoke API operations on the knowledge base. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` @@ -13950,7 +13947,8 @@ func (s *VectorIngestionConfiguration) SetChunkingConfiguration(v *ChunkingConfi type VectorKnowledgeBaseConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the model used to create vector embeddings for the knowledge base. + // The Amazon Resource Name (ARN) of the model used to create vector embeddings + // for the knowledge base. // // EmbeddingModelArn is a required field EmbeddingModelArn *string `locationName:"embeddingModelArn" min:"20" type:"string" required:"true"` diff --git a/service/bedrockagent/errors.go b/service/bedrockagent/errors.go index 52cffd0bb89..77ac1898044 100644 --- a/service/bedrockagent/errors.go +++ b/service/bedrockagent/errors.go @@ -29,8 +29,8 @@ const ( // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // - // The specified resource ARN was not found. Check the ARN and try your request - // again. + // The specified resource Amazon Resource Name (ARN) was not found. Check the + // Amazon Resource Name (ARN) and try your request again. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code diff --git a/service/emrserverless/api.go b/service/emrserverless/api.go index 574812137e9..13c3999a391 100644 --- a/service/emrserverless/api.go +++ b/service/emrserverless/api.go @@ -5535,6 +5535,11 @@ type WorkerResourceConfig struct { // The disk requirements for every worker instance of the worker type. Disk *string `locationName:"disk" min:"1" type:"string"` + // The disk type for every worker instance of the work type. Shuffle optimized + // disks have higher performance characteristics and are better for shuffle + // heavy workloads. Default is STANDARD. + DiskType *string `locationName:"diskType" type:"string"` + // The memory requirements for every worker instance of the worker type. // // Memory is a required field @@ -5596,6 +5601,12 @@ func (s *WorkerResourceConfig) SetDisk(v string) *WorkerResourceConfig { return s } +// SetDiskType sets the DiskType field's value. +func (s *WorkerResourceConfig) SetDiskType(v string) *WorkerResourceConfig { + s.DiskType = &v + return s +} + // SetMemory sets the Memory field's value. func (s *WorkerResourceConfig) SetMemory(v string) *WorkerResourceConfig { s.Memory = &v diff --git a/service/entityresolution/api.go b/service/entityresolution/api.go index b9d634c2270..f1161dd9431 100644 --- a/service/entityresolution/api.go +++ b/service/entityresolution/api.go @@ -13,6 +13,106 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restjson" ) +const opAddPolicyStatement = "AddPolicyStatement" + +// AddPolicyStatementRequest generates a "aws/request.Request" representing the +// client's request for the AddPolicyStatement 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 AddPolicyStatement for more information on using the AddPolicyStatement +// 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 AddPolicyStatementRequest method. +// req, resp := client.AddPolicyStatementRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/AddPolicyStatement +func (c *EntityResolution) AddPolicyStatementRequest(input *AddPolicyStatementInput) (req *request.Request, output *AddPolicyStatementOutput) { + op := &request.Operation{ + Name: opAddPolicyStatement, + HTTPMethod: "POST", + HTTPPath: "/policies/{arn}/{statementId}", + } + + if input == nil { + input = &AddPolicyStatementInput{} + } + + output = &AddPolicyStatementOutput{} + req = c.newRequest(op, input, output) + return +} + +// AddPolicyStatement API operation for AWS EntityResolution. +// +// Adds a policy statement object. To retrieve a list of existing policy statements, +// use the GetPolicy API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation AddPolicyStatement for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/AddPolicyStatement +func (c *EntityResolution) AddPolicyStatement(input *AddPolicyStatementInput) (*AddPolicyStatementOutput, error) { + req, out := c.AddPolicyStatementRequest(input) + return out, req.Send() +} + +// AddPolicyStatementWithContext is the same as AddPolicyStatement with the addition of +// the ability to pass a context and additional request options. +// +// See AddPolicyStatement 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 *EntityResolution) AddPolicyStatementWithContext(ctx aws.Context, input *AddPolicyStatementInput, opts ...request.Option) (*AddPolicyStatementOutput, error) { + req, out := c.AddPolicyStatementRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateIdMappingWorkflow = "CreateIdMappingWorkflow" // CreateIdMappingWorkflowRequest generates a "aws/request.Request" representing the @@ -117,6 +217,110 @@ func (c *EntityResolution) CreateIdMappingWorkflowWithContext(ctx aws.Context, i return out, req.Send() } +const opCreateIdNamespace = "CreateIdNamespace" + +// CreateIdNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the CreateIdNamespace 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 CreateIdNamespace for more information on using the CreateIdNamespace +// 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 CreateIdNamespaceRequest method. +// req, resp := client.CreateIdNamespaceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/CreateIdNamespace +func (c *EntityResolution) CreateIdNamespaceRequest(input *CreateIdNamespaceInput) (req *request.Request, output *CreateIdNamespaceOutput) { + op := &request.Operation{ + Name: opCreateIdNamespace, + HTTPMethod: "POST", + HTTPPath: "/idnamespaces", + } + + if input == nil { + input = &CreateIdNamespaceInput{} + } + + output = &CreateIdNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateIdNamespace API operation for AWS EntityResolution. +// +// Creates an ID namespace object which will help customers provide metadata +// explaining their dataset and how to use it. Each ID namespace must have a +// unique name. To modify an existing ID namespace, use the UpdateIdNamespace +// API. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation CreateIdNamespace for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// +// - ExceedsLimitException +// The request was rejected because it attempted to create resources beyond +// the current Entity Resolution account limits. The error message describes +// the limit exceeded. HTTP Status Code: 402 +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/CreateIdNamespace +func (c *EntityResolution) CreateIdNamespace(input *CreateIdNamespaceInput) (*CreateIdNamespaceOutput, error) { + req, out := c.CreateIdNamespaceRequest(input) + return out, req.Send() +} + +// CreateIdNamespaceWithContext is the same as CreateIdNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See CreateIdNamespace 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 *EntityResolution) CreateIdNamespaceWithContext(ctx aws.Context, input *CreateIdNamespaceInput, opts ...request.Option) (*CreateIdNamespaceOutput, error) { + req, out := c.CreateIdNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateMatchingWorkflow = "CreateMatchingWorkflow" // CreateMatchingWorkflowRequest generates a "aws/request.Request" representing the @@ -391,6 +595,11 @@ func (c *EntityResolution) DeleteIdMappingWorkflowRequest(input *DeleteIdMapping // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 @@ -417,58 +626,57 @@ func (c *EntityResolution) DeleteIdMappingWorkflowWithContext(ctx aws.Context, i return out, req.Send() } -const opDeleteMatchingWorkflow = "DeleteMatchingWorkflow" +const opDeleteIdNamespace = "DeleteIdNamespace" -// DeleteMatchingWorkflowRequest generates a "aws/request.Request" representing the -// client's request for the DeleteMatchingWorkflow operation. The "output" return +// DeleteIdNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteIdNamespace 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 DeleteMatchingWorkflow for more information on using the DeleteMatchingWorkflow +// See DeleteIdNamespace for more information on using the DeleteIdNamespace // 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 DeleteMatchingWorkflowRequest method. -// req, resp := client.DeleteMatchingWorkflowRequest(params) +// // Example sending a request using the DeleteIdNamespaceRequest method. +// req, resp := client.DeleteIdNamespaceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteMatchingWorkflow -func (c *EntityResolution) DeleteMatchingWorkflowRequest(input *DeleteMatchingWorkflowInput) (req *request.Request, output *DeleteMatchingWorkflowOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteIdNamespace +func (c *EntityResolution) DeleteIdNamespaceRequest(input *DeleteIdNamespaceInput) (req *request.Request, output *DeleteIdNamespaceOutput) { op := &request.Operation{ - Name: opDeleteMatchingWorkflow, + Name: opDeleteIdNamespace, HTTPMethod: "DELETE", - HTTPPath: "/matchingworkflows/{workflowName}", + HTTPPath: "/idnamespaces/{idNamespaceName}", } if input == nil { - input = &DeleteMatchingWorkflowInput{} + input = &DeleteIdNamespaceInput{} } - output = &DeleteMatchingWorkflowOutput{} + output = &DeleteIdNamespaceOutput{} req = c.newRequest(op, input, output) return } -// DeleteMatchingWorkflow API operation for AWS EntityResolution. +// DeleteIdNamespace API operation for AWS EntityResolution. // -// Deletes the MatchingWorkflow with a given name. This operation will succeed -// even if a workflow with the given name does not exist. +// Deletes the IdNamespace with a given name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation DeleteMatchingWorkflow for usage and error information. +// API operation DeleteIdNamespace for usage and error information. // // Returned Error Types: // @@ -487,82 +695,80 @@ func (c *EntityResolution) DeleteMatchingWorkflowRequest(input *DeleteMatchingWo // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteMatchingWorkflow -func (c *EntityResolution) DeleteMatchingWorkflow(input *DeleteMatchingWorkflowInput) (*DeleteMatchingWorkflowOutput, error) { - req, out := c.DeleteMatchingWorkflowRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteIdNamespace +func (c *EntityResolution) DeleteIdNamespace(input *DeleteIdNamespaceInput) (*DeleteIdNamespaceOutput, error) { + req, out := c.DeleteIdNamespaceRequest(input) return out, req.Send() } -// DeleteMatchingWorkflowWithContext is the same as DeleteMatchingWorkflow with the addition of +// DeleteIdNamespaceWithContext is the same as DeleteIdNamespace with the addition of // the ability to pass a context and additional request options. // -// See DeleteMatchingWorkflow for details on how to use this API operation. +// See DeleteIdNamespace 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 *EntityResolution) DeleteMatchingWorkflowWithContext(ctx aws.Context, input *DeleteMatchingWorkflowInput, opts ...request.Option) (*DeleteMatchingWorkflowOutput, error) { - req, out := c.DeleteMatchingWorkflowRequest(input) +func (c *EntityResolution) DeleteIdNamespaceWithContext(ctx aws.Context, input *DeleteIdNamespaceInput, opts ...request.Option) (*DeleteIdNamespaceOutput, error) { + req, out := c.DeleteIdNamespaceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDeleteSchemaMapping = "DeleteSchemaMapping" +const opDeleteMatchingWorkflow = "DeleteMatchingWorkflow" -// DeleteSchemaMappingRequest generates a "aws/request.Request" representing the -// client's request for the DeleteSchemaMapping operation. The "output" return +// DeleteMatchingWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMatchingWorkflow 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 DeleteSchemaMapping for more information on using the DeleteSchemaMapping +// See DeleteMatchingWorkflow for more information on using the DeleteMatchingWorkflow // 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 DeleteSchemaMappingRequest method. -// req, resp := client.DeleteSchemaMappingRequest(params) +// // Example sending a request using the DeleteMatchingWorkflowRequest method. +// req, resp := client.DeleteMatchingWorkflowRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteSchemaMapping -func (c *EntityResolution) DeleteSchemaMappingRequest(input *DeleteSchemaMappingInput) (req *request.Request, output *DeleteSchemaMappingOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteMatchingWorkflow +func (c *EntityResolution) DeleteMatchingWorkflowRequest(input *DeleteMatchingWorkflowInput) (req *request.Request, output *DeleteMatchingWorkflowOutput) { op := &request.Operation{ - Name: opDeleteSchemaMapping, + Name: opDeleteMatchingWorkflow, HTTPMethod: "DELETE", - HTTPPath: "/schemas/{schemaName}", + HTTPPath: "/matchingworkflows/{workflowName}", } if input == nil { - input = &DeleteSchemaMappingInput{} + input = &DeleteMatchingWorkflowInput{} } - output = &DeleteSchemaMappingOutput{} + output = &DeleteMatchingWorkflowOutput{} req = c.newRequest(op, input, output) return } -// DeleteSchemaMapping API operation for AWS EntityResolution. +// DeleteMatchingWorkflow API operation for AWS EntityResolution. // -// Deletes the SchemaMapping with a given name. This operation will succeed -// even if a schema with the given name does not exist. This operation will -// fail if there is a MatchingWorkflow object that references the SchemaMapping -// in the workflow's InputSourceConfig. +// Deletes the MatchingWorkflow with a given name. This operation will succeed +// even if a workflow with the given name does not exist. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation DeleteSchemaMapping for usage and error information. +// API operation DeleteMatchingWorkflow for usage and error information. // // Returned Error Types: // @@ -586,80 +792,79 @@ func (c *EntityResolution) DeleteSchemaMappingRequest(input *DeleteSchemaMapping // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteSchemaMapping -func (c *EntityResolution) DeleteSchemaMapping(input *DeleteSchemaMappingInput) (*DeleteSchemaMappingOutput, error) { - req, out := c.DeleteSchemaMappingRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteMatchingWorkflow +func (c *EntityResolution) DeleteMatchingWorkflow(input *DeleteMatchingWorkflowInput) (*DeleteMatchingWorkflowOutput, error) { + req, out := c.DeleteMatchingWorkflowRequest(input) return out, req.Send() } -// DeleteSchemaMappingWithContext is the same as DeleteSchemaMapping with the addition of +// DeleteMatchingWorkflowWithContext is the same as DeleteMatchingWorkflow with the addition of // the ability to pass a context and additional request options. // -// See DeleteSchemaMapping for details on how to use this API operation. +// See DeleteMatchingWorkflow 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 *EntityResolution) DeleteSchemaMappingWithContext(ctx aws.Context, input *DeleteSchemaMappingInput, opts ...request.Option) (*DeleteSchemaMappingOutput, error) { - req, out := c.DeleteSchemaMappingRequest(input) +func (c *EntityResolution) DeleteMatchingWorkflowWithContext(ctx aws.Context, input *DeleteMatchingWorkflowInput, opts ...request.Option) (*DeleteMatchingWorkflowOutput, error) { + req, out := c.DeleteMatchingWorkflowRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetIdMappingJob = "GetIdMappingJob" +const opDeletePolicyStatement = "DeletePolicyStatement" -// GetIdMappingJobRequest generates a "aws/request.Request" representing the -// client's request for the GetIdMappingJob operation. The "output" return +// DeletePolicyStatementRequest generates a "aws/request.Request" representing the +// client's request for the DeletePolicyStatement 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 GetIdMappingJob for more information on using the GetIdMappingJob +// See DeletePolicyStatement for more information on using the DeletePolicyStatement // 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 GetIdMappingJobRequest method. -// req, resp := client.GetIdMappingJobRequest(params) +// // Example sending a request using the DeletePolicyStatementRequest method. +// req, resp := client.DeletePolicyStatementRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingJob -func (c *EntityResolution) GetIdMappingJobRequest(input *GetIdMappingJobInput) (req *request.Request, output *GetIdMappingJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeletePolicyStatement +func (c *EntityResolution) DeletePolicyStatementRequest(input *DeletePolicyStatementInput) (req *request.Request, output *DeletePolicyStatementOutput) { op := &request.Operation{ - Name: opGetIdMappingJob, - HTTPMethod: "GET", - HTTPPath: "/idmappingworkflows/{workflowName}/jobs/{jobId}", + Name: opDeletePolicyStatement, + HTTPMethod: "DELETE", + HTTPPath: "/policies/{arn}/{statementId}", } if input == nil { - input = &GetIdMappingJobInput{} + input = &DeletePolicyStatementInput{} } - output = &GetIdMappingJobOutput{} + output = &DeletePolicyStatementOutput{} req = c.newRequest(op, input, output) return } -// GetIdMappingJob API operation for AWS EntityResolution. +// DeletePolicyStatement API operation for AWS EntityResolution. // -// Gets the status, metrics, and errors (if there are any) that are associated -// with a job. +// Deletes the policy statement. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation GetIdMappingJob for usage and error information. +// API operation DeletePolicyStatement for usage and error information. // // Returned Error Types: // @@ -677,83 +882,91 @@ func (c *EntityResolution) GetIdMappingJobRequest(input *GetIdMappingJobInput) ( // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingJob -func (c *EntityResolution) GetIdMappingJob(input *GetIdMappingJobInput) (*GetIdMappingJobOutput, error) { - req, out := c.GetIdMappingJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeletePolicyStatement +func (c *EntityResolution) DeletePolicyStatement(input *DeletePolicyStatementInput) (*DeletePolicyStatementOutput, error) { + req, out := c.DeletePolicyStatementRequest(input) return out, req.Send() } -// GetIdMappingJobWithContext is the same as GetIdMappingJob with the addition of +// DeletePolicyStatementWithContext is the same as DeletePolicyStatement with the addition of // the ability to pass a context and additional request options. // -// See GetIdMappingJob for details on how to use this API operation. +// See DeletePolicyStatement 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 *EntityResolution) GetIdMappingJobWithContext(ctx aws.Context, input *GetIdMappingJobInput, opts ...request.Option) (*GetIdMappingJobOutput, error) { - req, out := c.GetIdMappingJobRequest(input) +func (c *EntityResolution) DeletePolicyStatementWithContext(ctx aws.Context, input *DeletePolicyStatementInput, opts ...request.Option) (*DeletePolicyStatementOutput, error) { + req, out := c.DeletePolicyStatementRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetIdMappingWorkflow = "GetIdMappingWorkflow" +const opDeleteSchemaMapping = "DeleteSchemaMapping" -// GetIdMappingWorkflowRequest generates a "aws/request.Request" representing the -// client's request for the GetIdMappingWorkflow operation. The "output" return +// DeleteSchemaMappingRequest generates a "aws/request.Request" representing the +// client's request for the DeleteSchemaMapping 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 GetIdMappingWorkflow for more information on using the GetIdMappingWorkflow +// See DeleteSchemaMapping for more information on using the DeleteSchemaMapping // 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 GetIdMappingWorkflowRequest method. -// req, resp := client.GetIdMappingWorkflowRequest(params) +// // Example sending a request using the DeleteSchemaMappingRequest method. +// req, resp := client.DeleteSchemaMappingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingWorkflow -func (c *EntityResolution) GetIdMappingWorkflowRequest(input *GetIdMappingWorkflowInput) (req *request.Request, output *GetIdMappingWorkflowOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteSchemaMapping +func (c *EntityResolution) DeleteSchemaMappingRequest(input *DeleteSchemaMappingInput) (req *request.Request, output *DeleteSchemaMappingOutput) { op := &request.Operation{ - Name: opGetIdMappingWorkflow, - HTTPMethod: "GET", - HTTPPath: "/idmappingworkflows/{workflowName}", + Name: opDeleteSchemaMapping, + HTTPMethod: "DELETE", + HTTPPath: "/schemas/{schemaName}", } if input == nil { - input = &GetIdMappingWorkflowInput{} + input = &DeleteSchemaMappingInput{} } - output = &GetIdMappingWorkflowOutput{} + output = &DeleteSchemaMappingOutput{} req = c.newRequest(op, input, output) return } -// GetIdMappingWorkflow API operation for AWS EntityResolution. +// DeleteSchemaMapping API operation for AWS EntityResolution. // -// Returns the IdMappingWorkflow with a given name, if it exists. +// Deletes the SchemaMapping with a given name. This operation will succeed +// even if a schema with the given name does not exist. This operation will +// fail if there is a MatchingWorkflow object that references the SchemaMapping +// in the workflow's InputSourceConfig. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation GetIdMappingWorkflow for usage and error information. +// API operation DeleteSchemaMapping for usage and error information. // // Returned Error Types: // @@ -764,91 +977,93 @@ func (c *EntityResolution) GetIdMappingWorkflowRequest(input *GetIdMappingWorkfl // This exception occurs when there is an internal failure in the Entity Resolution // service. HTTP Status Code: 500 // -// - ResourceNotFoundException -// The resource could not be found. HTTP Status Code: 404 -// // - AccessDeniedException // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingWorkflow -func (c *EntityResolution) GetIdMappingWorkflow(input *GetIdMappingWorkflowInput) (*GetIdMappingWorkflowOutput, error) { - req, out := c.GetIdMappingWorkflowRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/DeleteSchemaMapping +func (c *EntityResolution) DeleteSchemaMapping(input *DeleteSchemaMappingInput) (*DeleteSchemaMappingOutput, error) { + req, out := c.DeleteSchemaMappingRequest(input) return out, req.Send() } -// GetIdMappingWorkflowWithContext is the same as GetIdMappingWorkflow with the addition of +// DeleteSchemaMappingWithContext is the same as DeleteSchemaMapping with the addition of // the ability to pass a context and additional request options. // -// See GetIdMappingWorkflow for details on how to use this API operation. +// See DeleteSchemaMapping 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 *EntityResolution) GetIdMappingWorkflowWithContext(ctx aws.Context, input *GetIdMappingWorkflowInput, opts ...request.Option) (*GetIdMappingWorkflowOutput, error) { - req, out := c.GetIdMappingWorkflowRequest(input) +func (c *EntityResolution) DeleteSchemaMappingWithContext(ctx aws.Context, input *DeleteSchemaMappingInput, opts ...request.Option) (*DeleteSchemaMappingOutput, error) { + req, out := c.DeleteSchemaMappingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetMatchId = "GetMatchId" +const opGetIdMappingJob = "GetIdMappingJob" -// GetMatchIdRequest generates a "aws/request.Request" representing the -// client's request for the GetMatchId operation. The "output" return +// GetIdMappingJobRequest generates a "aws/request.Request" representing the +// client's request for the GetIdMappingJob 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 GetMatchId for more information on using the GetMatchId +// See GetIdMappingJob for more information on using the GetIdMappingJob // 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 GetMatchIdRequest method. -// req, resp := client.GetMatchIdRequest(params) +// // Example sending a request using the GetIdMappingJobRequest method. +// req, resp := client.GetIdMappingJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchId -func (c *EntityResolution) GetMatchIdRequest(input *GetMatchIdInput) (req *request.Request, output *GetMatchIdOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingJob +func (c *EntityResolution) GetIdMappingJobRequest(input *GetIdMappingJobInput) (req *request.Request, output *GetIdMappingJobOutput) { op := &request.Operation{ - Name: opGetMatchId, - HTTPMethod: "POST", - HTTPPath: "/matchingworkflows/{workflowName}/matches", + Name: opGetIdMappingJob, + HTTPMethod: "GET", + HTTPPath: "/idmappingworkflows/{workflowName}/jobs/{jobId}", } if input == nil { - input = &GetMatchIdInput{} + input = &GetIdMappingJobInput{} } - output = &GetMatchIdOutput{} + output = &GetIdMappingJobOutput{} req = c.newRequest(op, input, output) return } -// GetMatchId API operation for AWS EntityResolution. +// GetIdMappingJob API operation for AWS EntityResolution. // -// Returns the corresponding Match ID of a customer record if the record has -// been processed. +// Gets the status, metrics, and errors (if there are any) that are associated +// with a job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation GetMatchId for usage and error information. +// API operation GetIdMappingJob for usage and error information. // // Returned Error Types: // @@ -870,80 +1085,79 @@ func (c *EntityResolution) GetMatchIdRequest(input *GetMatchIdInput) (req *reque // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchId -func (c *EntityResolution) GetMatchId(input *GetMatchIdInput) (*GetMatchIdOutput, error) { - req, out := c.GetMatchIdRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingJob +func (c *EntityResolution) GetIdMappingJob(input *GetIdMappingJobInput) (*GetIdMappingJobOutput, error) { + req, out := c.GetIdMappingJobRequest(input) return out, req.Send() } -// GetMatchIdWithContext is the same as GetMatchId with the addition of +// GetIdMappingJobWithContext is the same as GetIdMappingJob with the addition of // the ability to pass a context and additional request options. // -// See GetMatchId for details on how to use this API operation. +// See GetIdMappingJob 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 *EntityResolution) GetMatchIdWithContext(ctx aws.Context, input *GetMatchIdInput, opts ...request.Option) (*GetMatchIdOutput, error) { - req, out := c.GetMatchIdRequest(input) +func (c *EntityResolution) GetIdMappingJobWithContext(ctx aws.Context, input *GetIdMappingJobInput, opts ...request.Option) (*GetIdMappingJobOutput, error) { + req, out := c.GetIdMappingJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetMatchingJob = "GetMatchingJob" +const opGetIdMappingWorkflow = "GetIdMappingWorkflow" -// GetMatchingJobRequest generates a "aws/request.Request" representing the -// client's request for the GetMatchingJob operation. The "output" return +// GetIdMappingWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the GetIdMappingWorkflow 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 GetMatchingJob for more information on using the GetMatchingJob +// See GetIdMappingWorkflow for more information on using the GetIdMappingWorkflow // 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 GetMatchingJobRequest method. -// req, resp := client.GetMatchingJobRequest(params) +// // Example sending a request using the GetIdMappingWorkflowRequest method. +// req, resp := client.GetIdMappingWorkflowRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingJob -func (c *EntityResolution) GetMatchingJobRequest(input *GetMatchingJobInput) (req *request.Request, output *GetMatchingJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingWorkflow +func (c *EntityResolution) GetIdMappingWorkflowRequest(input *GetIdMappingWorkflowInput) (req *request.Request, output *GetIdMappingWorkflowOutput) { op := &request.Operation{ - Name: opGetMatchingJob, + Name: opGetIdMappingWorkflow, HTTPMethod: "GET", - HTTPPath: "/matchingworkflows/{workflowName}/jobs/{jobId}", + HTTPPath: "/idmappingworkflows/{workflowName}", } if input == nil { - input = &GetMatchingJobInput{} + input = &GetIdMappingWorkflowInput{} } - output = &GetMatchingJobOutput{} + output = &GetIdMappingWorkflowOutput{} req = c.newRequest(op, input, output) return } -// GetMatchingJob API operation for AWS EntityResolution. +// GetIdMappingWorkflow API operation for AWS EntityResolution. // -// Gets the status, metrics, and errors (if there are any) that are associated -// with a job. +// Returns the IdMappingWorkflow with a given name, if it exists. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation GetMatchingJob for usage and error information. +// API operation GetIdMappingWorkflow for usage and error information. // // Returned Error Types: // @@ -965,79 +1179,79 @@ func (c *EntityResolution) GetMatchingJobRequest(input *GetMatchingJobInput) (re // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingJob -func (c *EntityResolution) GetMatchingJob(input *GetMatchingJobInput) (*GetMatchingJobOutput, error) { - req, out := c.GetMatchingJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdMappingWorkflow +func (c *EntityResolution) GetIdMappingWorkflow(input *GetIdMappingWorkflowInput) (*GetIdMappingWorkflowOutput, error) { + req, out := c.GetIdMappingWorkflowRequest(input) return out, req.Send() } -// GetMatchingJobWithContext is the same as GetMatchingJob with the addition of +// GetIdMappingWorkflowWithContext is the same as GetIdMappingWorkflow with the addition of // the ability to pass a context and additional request options. // -// See GetMatchingJob for details on how to use this API operation. +// See GetIdMappingWorkflow 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 *EntityResolution) GetMatchingJobWithContext(ctx aws.Context, input *GetMatchingJobInput, opts ...request.Option) (*GetMatchingJobOutput, error) { - req, out := c.GetMatchingJobRequest(input) +func (c *EntityResolution) GetIdMappingWorkflowWithContext(ctx aws.Context, input *GetIdMappingWorkflowInput, opts ...request.Option) (*GetIdMappingWorkflowOutput, error) { + req, out := c.GetIdMappingWorkflowRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetMatchingWorkflow = "GetMatchingWorkflow" +const opGetIdNamespace = "GetIdNamespace" -// GetMatchingWorkflowRequest generates a "aws/request.Request" representing the -// client's request for the GetMatchingWorkflow operation. The "output" return +// GetIdNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the GetIdNamespace 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 GetMatchingWorkflow for more information on using the GetMatchingWorkflow +// See GetIdNamespace for more information on using the GetIdNamespace // 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 GetMatchingWorkflowRequest method. -// req, resp := client.GetMatchingWorkflowRequest(params) +// // Example sending a request using the GetIdNamespaceRequest method. +// req, resp := client.GetIdNamespaceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingWorkflow -func (c *EntityResolution) GetMatchingWorkflowRequest(input *GetMatchingWorkflowInput) (req *request.Request, output *GetMatchingWorkflowOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdNamespace +func (c *EntityResolution) GetIdNamespaceRequest(input *GetIdNamespaceInput) (req *request.Request, output *GetIdNamespaceOutput) { op := &request.Operation{ - Name: opGetMatchingWorkflow, + Name: opGetIdNamespace, HTTPMethod: "GET", - HTTPPath: "/matchingworkflows/{workflowName}", + HTTPPath: "/idnamespaces/{idNamespaceName}", } if input == nil { - input = &GetMatchingWorkflowInput{} + input = &GetIdNamespaceInput{} } - output = &GetMatchingWorkflowOutput{} + output = &GetIdNamespaceOutput{} req = c.newRequest(op, input, output) return } -// GetMatchingWorkflow API operation for AWS EntityResolution. +// GetIdNamespace API operation for AWS EntityResolution. // -// Returns the MatchingWorkflow with a given name, if it exists. +// Returns the IdNamespace with a given name, if it exists. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation GetMatchingWorkflow for usage and error information. +// API operation GetIdNamespace for usage and error information. // // Returned Error Types: // @@ -1059,79 +1273,80 @@ func (c *EntityResolution) GetMatchingWorkflowRequest(input *GetMatchingWorkflow // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingWorkflow -func (c *EntityResolution) GetMatchingWorkflow(input *GetMatchingWorkflowInput) (*GetMatchingWorkflowOutput, error) { - req, out := c.GetMatchingWorkflowRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetIdNamespace +func (c *EntityResolution) GetIdNamespace(input *GetIdNamespaceInput) (*GetIdNamespaceOutput, error) { + req, out := c.GetIdNamespaceRequest(input) return out, req.Send() } -// GetMatchingWorkflowWithContext is the same as GetMatchingWorkflow with the addition of +// GetIdNamespaceWithContext is the same as GetIdNamespace with the addition of // the ability to pass a context and additional request options. // -// See GetMatchingWorkflow for details on how to use this API operation. +// See GetIdNamespace 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 *EntityResolution) GetMatchingWorkflowWithContext(ctx aws.Context, input *GetMatchingWorkflowInput, opts ...request.Option) (*GetMatchingWorkflowOutput, error) { - req, out := c.GetMatchingWorkflowRequest(input) +func (c *EntityResolution) GetIdNamespaceWithContext(ctx aws.Context, input *GetIdNamespaceInput, opts ...request.Option) (*GetIdNamespaceOutput, error) { + req, out := c.GetIdNamespaceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetSchemaMapping = "GetSchemaMapping" +const opGetMatchId = "GetMatchId" -// GetSchemaMappingRequest generates a "aws/request.Request" representing the -// client's request for the GetSchemaMapping operation. The "output" return +// GetMatchIdRequest generates a "aws/request.Request" representing the +// client's request for the GetMatchId 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 GetSchemaMapping for more information on using the GetSchemaMapping +// See GetMatchId for more information on using the GetMatchId // 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 GetSchemaMappingRequest method. -// req, resp := client.GetSchemaMappingRequest(params) +// // Example sending a request using the GetMatchIdRequest method. +// req, resp := client.GetMatchIdRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetSchemaMapping -func (c *EntityResolution) GetSchemaMappingRequest(input *GetSchemaMappingInput) (req *request.Request, output *GetSchemaMappingOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchId +func (c *EntityResolution) GetMatchIdRequest(input *GetMatchIdInput) (req *request.Request, output *GetMatchIdOutput) { op := &request.Operation{ - Name: opGetSchemaMapping, - HTTPMethod: "GET", - HTTPPath: "/schemas/{schemaName}", + Name: opGetMatchId, + HTTPMethod: "POST", + HTTPPath: "/matchingworkflows/{workflowName}/matches", } if input == nil { - input = &GetSchemaMappingInput{} + input = &GetMatchIdInput{} } - output = &GetSchemaMappingOutput{} + output = &GetMatchIdOutput{} req = c.newRequest(op, input, output) return } -// GetSchemaMapping API operation for AWS EntityResolution. +// GetMatchId API operation for AWS EntityResolution. // -// Returns the SchemaMapping of a given name. +// Returns the corresponding Match ID of a customer record if the record has +// been processed. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation GetSchemaMapping for usage and error information. +// API operation GetMatchId for usage and error information. // // Returned Error Types: // @@ -1153,85 +1368,80 @@ func (c *EntityResolution) GetSchemaMappingRequest(input *GetSchemaMappingInput) // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetSchemaMapping -func (c *EntityResolution) GetSchemaMapping(input *GetSchemaMappingInput) (*GetSchemaMappingOutput, error) { - req, out := c.GetSchemaMappingRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchId +func (c *EntityResolution) GetMatchId(input *GetMatchIdInput) (*GetMatchIdOutput, error) { + req, out := c.GetMatchIdRequest(input) return out, req.Send() } -// GetSchemaMappingWithContext is the same as GetSchemaMapping with the addition of +// GetMatchIdWithContext is the same as GetMatchId with the addition of // the ability to pass a context and additional request options. // -// See GetSchemaMapping for details on how to use this API operation. +// See GetMatchId 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 *EntityResolution) GetSchemaMappingWithContext(ctx aws.Context, input *GetSchemaMappingInput, opts ...request.Option) (*GetSchemaMappingOutput, error) { - req, out := c.GetSchemaMappingRequest(input) +func (c *EntityResolution) GetMatchIdWithContext(ctx aws.Context, input *GetMatchIdInput, opts ...request.Option) (*GetMatchIdOutput, error) { + req, out := c.GetMatchIdRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListIdMappingJobs = "ListIdMappingJobs" +const opGetMatchingJob = "GetMatchingJob" -// ListIdMappingJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListIdMappingJobs operation. The "output" return +// GetMatchingJobRequest generates a "aws/request.Request" representing the +// client's request for the GetMatchingJob 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 ListIdMappingJobs for more information on using the ListIdMappingJobs +// See GetMatchingJob for more information on using the GetMatchingJob // 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 ListIdMappingJobsRequest method. -// req, resp := client.ListIdMappingJobsRequest(params) +// // Example sending a request using the GetMatchingJobRequest method. +// req, resp := client.GetMatchingJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingJobs -func (c *EntityResolution) ListIdMappingJobsRequest(input *ListIdMappingJobsInput) (req *request.Request, output *ListIdMappingJobsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingJob +func (c *EntityResolution) GetMatchingJobRequest(input *GetMatchingJobInput) (req *request.Request, output *GetMatchingJobOutput) { op := &request.Operation{ - Name: opListIdMappingJobs, + Name: opGetMatchingJob, HTTPMethod: "GET", - HTTPPath: "/idmappingworkflows/{workflowName}/jobs", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, + HTTPPath: "/matchingworkflows/{workflowName}/jobs/{jobId}", } if input == nil { - input = &ListIdMappingJobsInput{} + input = &GetMatchingJobInput{} } - output = &ListIdMappingJobsOutput{} + output = &GetMatchingJobOutput{} req = c.newRequest(op, input, output) return } -// ListIdMappingJobs API operation for AWS EntityResolution. +// GetMatchingJob API operation for AWS EntityResolution. // -// Lists all ID mapping jobs for a given workflow. +// Gets the status, metrics, and errors (if there are any) that are associated +// with a job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation ListIdMappingJobs for usage and error information. +// API operation GetMatchingJob for usage and error information. // // Returned Error Types: // @@ -1253,137 +1463,79 @@ func (c *EntityResolution) ListIdMappingJobsRequest(input *ListIdMappingJobsInpu // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingJobs -func (c *EntityResolution) ListIdMappingJobs(input *ListIdMappingJobsInput) (*ListIdMappingJobsOutput, error) { - req, out := c.ListIdMappingJobsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingJob +func (c *EntityResolution) GetMatchingJob(input *GetMatchingJobInput) (*GetMatchingJobOutput, error) { + req, out := c.GetMatchingJobRequest(input) return out, req.Send() } -// ListIdMappingJobsWithContext is the same as ListIdMappingJobs with the addition of +// GetMatchingJobWithContext is the same as GetMatchingJob with the addition of // the ability to pass a context and additional request options. // -// See ListIdMappingJobs for details on how to use this API operation. +// See GetMatchingJob 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 *EntityResolution) ListIdMappingJobsWithContext(ctx aws.Context, input *ListIdMappingJobsInput, opts ...request.Option) (*ListIdMappingJobsOutput, error) { - req, out := c.ListIdMappingJobsRequest(input) +func (c *EntityResolution) GetMatchingJobWithContext(ctx aws.Context, input *GetMatchingJobInput, opts ...request.Option) (*GetMatchingJobOutput, error) { + req, out := c.GetMatchingJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListIdMappingJobsPages iterates over the pages of a ListIdMappingJobs operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListIdMappingJobs 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 ListIdMappingJobs operation. -// pageNum := 0 -// err := client.ListIdMappingJobsPages(params, -// func(page *entityresolution.ListIdMappingJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *EntityResolution) ListIdMappingJobsPages(input *ListIdMappingJobsInput, fn func(*ListIdMappingJobsOutput, bool) bool) error { - return c.ListIdMappingJobsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListIdMappingJobsPagesWithContext same as ListIdMappingJobsPages 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 *EntityResolution) ListIdMappingJobsPagesWithContext(ctx aws.Context, input *ListIdMappingJobsInput, fn func(*ListIdMappingJobsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListIdMappingJobsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListIdMappingJobsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListIdMappingJobsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListIdMappingWorkflows = "ListIdMappingWorkflows" +const opGetMatchingWorkflow = "GetMatchingWorkflow" -// ListIdMappingWorkflowsRequest generates a "aws/request.Request" representing the -// client's request for the ListIdMappingWorkflows operation. The "output" return +// GetMatchingWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the GetMatchingWorkflow 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 ListIdMappingWorkflows for more information on using the ListIdMappingWorkflows +// See GetMatchingWorkflow for more information on using the GetMatchingWorkflow // 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 ListIdMappingWorkflowsRequest method. -// req, resp := client.ListIdMappingWorkflowsRequest(params) +// // Example sending a request using the GetMatchingWorkflowRequest method. +// req, resp := client.GetMatchingWorkflowRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingWorkflows -func (c *EntityResolution) ListIdMappingWorkflowsRequest(input *ListIdMappingWorkflowsInput) (req *request.Request, output *ListIdMappingWorkflowsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingWorkflow +func (c *EntityResolution) GetMatchingWorkflowRequest(input *GetMatchingWorkflowInput) (req *request.Request, output *GetMatchingWorkflowOutput) { op := &request.Operation{ - Name: opListIdMappingWorkflows, + Name: opGetMatchingWorkflow, HTTPMethod: "GET", - HTTPPath: "/idmappingworkflows", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, + HTTPPath: "/matchingworkflows/{workflowName}", } if input == nil { - input = &ListIdMappingWorkflowsInput{} + input = &GetMatchingWorkflowInput{} } - output = &ListIdMappingWorkflowsOutput{} + output = &GetMatchingWorkflowOutput{} req = c.newRequest(op, input, output) return } -// ListIdMappingWorkflows API operation for AWS EntityResolution. +// GetMatchingWorkflow API operation for AWS EntityResolution. // -// Returns a list of all the IdMappingWorkflows that have been created for an -// Amazon Web Services account. +// Returns the MatchingWorkflow with a given name, if it exists. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation ListIdMappingWorkflows for usage and error information. +// API operation GetMatchingWorkflow for usage and error information. // // Returned Error Types: // @@ -1394,6 +1546,9 @@ func (c *EntityResolution) ListIdMappingWorkflowsRequest(input *ListIdMappingWor // This exception occurs when there is an internal failure in the Entity Resolution // service. HTTP Status Code: 500 // +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// // - AccessDeniedException // You do not have sufficient access to perform this action. HTTP Status Code: // 403 @@ -1402,136 +1557,79 @@ func (c *EntityResolution) ListIdMappingWorkflowsRequest(input *ListIdMappingWor // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingWorkflows -func (c *EntityResolution) ListIdMappingWorkflows(input *ListIdMappingWorkflowsInput) (*ListIdMappingWorkflowsOutput, error) { - req, out := c.ListIdMappingWorkflowsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetMatchingWorkflow +func (c *EntityResolution) GetMatchingWorkflow(input *GetMatchingWorkflowInput) (*GetMatchingWorkflowOutput, error) { + req, out := c.GetMatchingWorkflowRequest(input) return out, req.Send() } -// ListIdMappingWorkflowsWithContext is the same as ListIdMappingWorkflows with the addition of +// GetMatchingWorkflowWithContext is the same as GetMatchingWorkflow with the addition of // the ability to pass a context and additional request options. // -// See ListIdMappingWorkflows for details on how to use this API operation. +// See GetMatchingWorkflow 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 *EntityResolution) ListIdMappingWorkflowsWithContext(ctx aws.Context, input *ListIdMappingWorkflowsInput, opts ...request.Option) (*ListIdMappingWorkflowsOutput, error) { - req, out := c.ListIdMappingWorkflowsRequest(input) +func (c *EntityResolution) GetMatchingWorkflowWithContext(ctx aws.Context, input *GetMatchingWorkflowInput, opts ...request.Option) (*GetMatchingWorkflowOutput, error) { + req, out := c.GetMatchingWorkflowRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListIdMappingWorkflowsPages iterates over the pages of a ListIdMappingWorkflows operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListIdMappingWorkflows 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 ListIdMappingWorkflows operation. -// pageNum := 0 -// err := client.ListIdMappingWorkflowsPages(params, -// func(page *entityresolution.ListIdMappingWorkflowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *EntityResolution) ListIdMappingWorkflowsPages(input *ListIdMappingWorkflowsInput, fn func(*ListIdMappingWorkflowsOutput, bool) bool) error { - return c.ListIdMappingWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListIdMappingWorkflowsPagesWithContext same as ListIdMappingWorkflowsPages 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 *EntityResolution) ListIdMappingWorkflowsPagesWithContext(ctx aws.Context, input *ListIdMappingWorkflowsInput, fn func(*ListIdMappingWorkflowsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListIdMappingWorkflowsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListIdMappingWorkflowsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListIdMappingWorkflowsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListMatchingJobs = "ListMatchingJobs" +const opGetPolicy = "GetPolicy" -// ListMatchingJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListMatchingJobs operation. The "output" return +// GetPolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetPolicy 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 ListMatchingJobs for more information on using the ListMatchingJobs +// See GetPolicy for more information on using the GetPolicy // 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 ListMatchingJobsRequest method. -// req, resp := client.ListMatchingJobsRequest(params) +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingJobs -func (c *EntityResolution) ListMatchingJobsRequest(input *ListMatchingJobsInput) (req *request.Request, output *ListMatchingJobsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetPolicy +func (c *EntityResolution) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { op := &request.Operation{ - Name: opListMatchingJobs, + Name: opGetPolicy, HTTPMethod: "GET", - HTTPPath: "/matchingworkflows/{workflowName}/jobs", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, + HTTPPath: "/policies/{arn}", } if input == nil { - input = &ListMatchingJobsInput{} + input = &GetPolicyInput{} } - output = &ListMatchingJobsOutput{} + output = &GetPolicyOutput{} req = c.newRequest(op, input, output) return } -// ListMatchingJobs API operation for AWS EntityResolution. +// GetPolicy API operation for AWS EntityResolution. // -// Lists all jobs for a given workflow. +// Returns the resource-based policy. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation ListMatchingJobs for usage and error information. +// API operation GetPolicy for usage and error information. // // Returned Error Types: // @@ -1553,109 +1651,152 @@ func (c *EntityResolution) ListMatchingJobsRequest(input *ListMatchingJobsInput) // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingJobs -func (c *EntityResolution) ListMatchingJobs(input *ListMatchingJobsInput) (*ListMatchingJobsOutput, error) { - req, out := c.ListMatchingJobsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetPolicy +func (c *EntityResolution) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { + req, out := c.GetPolicyRequest(input) return out, req.Send() } -// ListMatchingJobsWithContext is the same as ListMatchingJobs with the addition of +// GetPolicyWithContext is the same as GetPolicy with the addition of // the ability to pass a context and additional request options. // -// See ListMatchingJobs for details on how to use this API operation. +// See GetPolicy 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 *EntityResolution) ListMatchingJobsWithContext(ctx aws.Context, input *ListMatchingJobsInput, opts ...request.Option) (*ListMatchingJobsOutput, error) { - req, out := c.ListMatchingJobsRequest(input) +func (c *EntityResolution) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error) { + req, out := c.GetPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListMatchingJobsPages iterates over the pages of a ListMatchingJobs operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. +const opGetSchemaMapping = "GetSchemaMapping" + +// GetSchemaMappingRequest generates a "aws/request.Request" representing the +// client's request for the GetSchemaMapping operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. // -// See ListMatchingJobs method for more information on how to use this operation. +// 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. // -// Note: This operation can generate multiple requests to a service. +// See GetSchemaMapping for more information on using the GetSchemaMapping +// API call, and error handling. // -// // Example iterating over at most 3 pages of a ListMatchingJobs operation. -// pageNum := 0 -// err := client.ListMatchingJobsPages(params, -// func(page *entityresolution.ListMatchingJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *EntityResolution) ListMatchingJobsPages(input *ListMatchingJobsInput, fn func(*ListMatchingJobsOutput, bool) bool) error { - return c.ListMatchingJobsPagesWithContext(aws.BackgroundContext(), input, fn) +// 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 GetSchemaMappingRequest method. +// req, resp := client.GetSchemaMappingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetSchemaMapping +func (c *EntityResolution) GetSchemaMappingRequest(input *GetSchemaMappingInput) (req *request.Request, output *GetSchemaMappingOutput) { + op := &request.Operation{ + Name: opGetSchemaMapping, + HTTPMethod: "GET", + HTTPPath: "/schemas/{schemaName}", + } + + if input == nil { + input = &GetSchemaMappingInput{} + } + + output = &GetSchemaMappingOutput{} + req = c.newRequest(op, input, output) + return } -// ListMatchingJobsPagesWithContext same as ListMatchingJobsPages except -// it takes a Context and allows setting request options on the pages. +// GetSchemaMapping API operation for AWS EntityResolution. +// +// Returns the SchemaMapping of a given name. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation GetSchemaMapping for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/GetSchemaMapping +func (c *EntityResolution) GetSchemaMapping(input *GetSchemaMappingInput) (*GetSchemaMappingOutput, error) { + req, out := c.GetSchemaMappingRequest(input) + return out, req.Send() +} + +// GetSchemaMappingWithContext is the same as GetSchemaMapping with the addition of +// the ability to pass a context and additional request options. +// +// See GetSchemaMapping 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 *EntityResolution) ListMatchingJobsPagesWithContext(ctx aws.Context, input *ListMatchingJobsInput, fn func(*ListMatchingJobsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListMatchingJobsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListMatchingJobsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListMatchingJobsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() +func (c *EntityResolution) GetSchemaMappingWithContext(ctx aws.Context, input *GetSchemaMappingInput, opts ...request.Option) (*GetSchemaMappingOutput, error) { + req, out := c.GetSchemaMappingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() } -const opListMatchingWorkflows = "ListMatchingWorkflows" +const opListIdMappingJobs = "ListIdMappingJobs" -// ListMatchingWorkflowsRequest generates a "aws/request.Request" representing the -// client's request for the ListMatchingWorkflows operation. The "output" return +// ListIdMappingJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListIdMappingJobs 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 ListMatchingWorkflows for more information on using the ListMatchingWorkflows +// See ListIdMappingJobs for more information on using the ListIdMappingJobs // 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 ListMatchingWorkflowsRequest method. -// req, resp := client.ListMatchingWorkflowsRequest(params) +// // Example sending a request using the ListIdMappingJobsRequest method. +// req, resp := client.ListIdMappingJobsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingWorkflows -func (c *EntityResolution) ListMatchingWorkflowsRequest(input *ListMatchingWorkflowsInput) (req *request.Request, output *ListMatchingWorkflowsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingJobs +func (c *EntityResolution) ListIdMappingJobsRequest(input *ListIdMappingJobsInput) (req *request.Request, output *ListIdMappingJobsOutput) { op := &request.Operation{ - Name: opListMatchingWorkflows, + Name: opListIdMappingJobs, HTTPMethod: "GET", - HTTPPath: "/matchingworkflows", + HTTPPath: "/idmappingworkflows/{workflowName}/jobs", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -1665,25 +1806,24 @@ func (c *EntityResolution) ListMatchingWorkflowsRequest(input *ListMatchingWorkf } if input == nil { - input = &ListMatchingWorkflowsInput{} + input = &ListIdMappingJobsInput{} } - output = &ListMatchingWorkflowsOutput{} + output = &ListIdMappingJobsOutput{} req = c.newRequest(op, input, output) return } -// ListMatchingWorkflows API operation for AWS EntityResolution. +// ListIdMappingJobs API operation for AWS EntityResolution. // -// Returns a list of all the MatchingWorkflows that have been created for an -// Amazon Web Services account. +// Lists all ID mapping jobs for a given workflow. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation ListMatchingWorkflows for usage and error information. +// API operation ListIdMappingJobs for usage and error information. // // Returned Error Types: // @@ -1694,6 +1834,9 @@ func (c *EntityResolution) ListMatchingWorkflowsRequest(input *ListMatchingWorkf // This exception occurs when there is an internal failure in the Entity Resolution // service. HTTP Status Code: 500 // +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// // - AccessDeniedException // You do not have sufficient access to perform this action. HTTP Status Code: // 403 @@ -1702,64 +1845,64 @@ func (c *EntityResolution) ListMatchingWorkflowsRequest(input *ListMatchingWorkf // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingWorkflows -func (c *EntityResolution) ListMatchingWorkflows(input *ListMatchingWorkflowsInput) (*ListMatchingWorkflowsOutput, error) { - req, out := c.ListMatchingWorkflowsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingJobs +func (c *EntityResolution) ListIdMappingJobs(input *ListIdMappingJobsInput) (*ListIdMappingJobsOutput, error) { + req, out := c.ListIdMappingJobsRequest(input) return out, req.Send() } -// ListMatchingWorkflowsWithContext is the same as ListMatchingWorkflows with the addition of +// ListIdMappingJobsWithContext is the same as ListIdMappingJobs with the addition of // the ability to pass a context and additional request options. // -// See ListMatchingWorkflows for details on how to use this API operation. +// See ListIdMappingJobs 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 *EntityResolution) ListMatchingWorkflowsWithContext(ctx aws.Context, input *ListMatchingWorkflowsInput, opts ...request.Option) (*ListMatchingWorkflowsOutput, error) { - req, out := c.ListMatchingWorkflowsRequest(input) +func (c *EntityResolution) ListIdMappingJobsWithContext(ctx aws.Context, input *ListIdMappingJobsInput, opts ...request.Option) (*ListIdMappingJobsOutput, error) { + req, out := c.ListIdMappingJobsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListMatchingWorkflowsPages iterates over the pages of a ListMatchingWorkflows operation, +// ListIdMappingJobsPages iterates over the pages of a ListIdMappingJobs operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListMatchingWorkflows method for more information on how to use this operation. +// See ListIdMappingJobs 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 ListMatchingWorkflows operation. +// // Example iterating over at most 3 pages of a ListIdMappingJobs operation. // pageNum := 0 -// err := client.ListMatchingWorkflowsPages(params, -// func(page *entityresolution.ListMatchingWorkflowsOutput, lastPage bool) bool { +// err := client.ListIdMappingJobsPages(params, +// func(page *entityresolution.ListIdMappingJobsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *EntityResolution) ListMatchingWorkflowsPages(input *ListMatchingWorkflowsInput, fn func(*ListMatchingWorkflowsOutput, bool) bool) error { - return c.ListMatchingWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *EntityResolution) ListIdMappingJobsPages(input *ListIdMappingJobsInput, fn func(*ListIdMappingJobsOutput, bool) bool) error { + return c.ListIdMappingJobsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListMatchingWorkflowsPagesWithContext same as ListMatchingWorkflowsPages except +// ListIdMappingJobsPagesWithContext same as ListIdMappingJobsPages 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 *EntityResolution) ListMatchingWorkflowsPagesWithContext(ctx aws.Context, input *ListMatchingWorkflowsInput, fn func(*ListMatchingWorkflowsOutput, bool) bool, opts ...request.Option) error { +func (c *EntityResolution) ListIdMappingJobsPagesWithContext(ctx aws.Context, input *ListIdMappingJobsInput, fn func(*ListIdMappingJobsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListMatchingWorkflowsInput + var inCpy *ListIdMappingJobsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListMatchingWorkflowsRequest(inCpy) + req, _ := c.ListIdMappingJobsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1767,7 +1910,7 @@ func (c *EntityResolution) ListMatchingWorkflowsPagesWithContext(ctx aws.Context } for p.Next() { - if !fn(p.Page().(*ListMatchingWorkflowsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListIdMappingJobsOutput), !p.HasNextPage()) { break } } @@ -1775,36 +1918,36 @@ func (c *EntityResolution) ListMatchingWorkflowsPagesWithContext(ctx aws.Context return p.Err() } -const opListProviderServices = "ListProviderServices" +const opListIdMappingWorkflows = "ListIdMappingWorkflows" -// ListProviderServicesRequest generates a "aws/request.Request" representing the -// client's request for the ListProviderServices operation. The "output" return +// ListIdMappingWorkflowsRequest generates a "aws/request.Request" representing the +// client's request for the ListIdMappingWorkflows 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 ListProviderServices for more information on using the ListProviderServices +// See ListIdMappingWorkflows for more information on using the ListIdMappingWorkflows // 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 ListProviderServicesRequest method. -// req, resp := client.ListProviderServicesRequest(params) +// // Example sending a request using the ListIdMappingWorkflowsRequest method. +// req, resp := client.ListIdMappingWorkflowsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListProviderServices -func (c *EntityResolution) ListProviderServicesRequest(input *ListProviderServicesInput) (req *request.Request, output *ListProviderServicesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingWorkflows +func (c *EntityResolution) ListIdMappingWorkflowsRequest(input *ListIdMappingWorkflowsInput) (req *request.Request, output *ListIdMappingWorkflowsOutput) { op := &request.Operation{ - Name: opListProviderServices, + Name: opListIdMappingWorkflows, HTTPMethod: "GET", - HTTPPath: "/providerservices", + HTTPPath: "/idmappingworkflows", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -1814,25 +1957,25 @@ func (c *EntityResolution) ListProviderServicesRequest(input *ListProviderServic } if input == nil { - input = &ListProviderServicesInput{} + input = &ListIdMappingWorkflowsInput{} } - output = &ListProviderServicesOutput{} + output = &ListIdMappingWorkflowsOutput{} req = c.newRequest(op, input, output) return } -// ListProviderServices API operation for AWS EntityResolution. +// ListIdMappingWorkflows API operation for AWS EntityResolution. // -// Returns a list of all the ProviderServices that are available in this Amazon -// Web Services Region. +// Returns a list of all the IdMappingWorkflows that have been created for an +// Amazon Web Services account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation ListProviderServices for usage and error information. +// API operation ListIdMappingWorkflows for usage and error information. // // Returned Error Types: // @@ -1851,64 +1994,64 @@ func (c *EntityResolution) ListProviderServicesRequest(input *ListProviderServic // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListProviderServices -func (c *EntityResolution) ListProviderServices(input *ListProviderServicesInput) (*ListProviderServicesOutput, error) { - req, out := c.ListProviderServicesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdMappingWorkflows +func (c *EntityResolution) ListIdMappingWorkflows(input *ListIdMappingWorkflowsInput) (*ListIdMappingWorkflowsOutput, error) { + req, out := c.ListIdMappingWorkflowsRequest(input) return out, req.Send() } -// ListProviderServicesWithContext is the same as ListProviderServices with the addition of +// ListIdMappingWorkflowsWithContext is the same as ListIdMappingWorkflows with the addition of // the ability to pass a context and additional request options. // -// See ListProviderServices for details on how to use this API operation. +// See ListIdMappingWorkflows 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 *EntityResolution) ListProviderServicesWithContext(ctx aws.Context, input *ListProviderServicesInput, opts ...request.Option) (*ListProviderServicesOutput, error) { - req, out := c.ListProviderServicesRequest(input) +func (c *EntityResolution) ListIdMappingWorkflowsWithContext(ctx aws.Context, input *ListIdMappingWorkflowsInput, opts ...request.Option) (*ListIdMappingWorkflowsOutput, error) { + req, out := c.ListIdMappingWorkflowsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListProviderServicesPages iterates over the pages of a ListProviderServices operation, +// ListIdMappingWorkflowsPages iterates over the pages of a ListIdMappingWorkflows operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListProviderServices method for more information on how to use this operation. +// See ListIdMappingWorkflows 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 ListProviderServices operation. +// // Example iterating over at most 3 pages of a ListIdMappingWorkflows operation. // pageNum := 0 -// err := client.ListProviderServicesPages(params, -// func(page *entityresolution.ListProviderServicesOutput, lastPage bool) bool { +// err := client.ListIdMappingWorkflowsPages(params, +// func(page *entityresolution.ListIdMappingWorkflowsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *EntityResolution) ListProviderServicesPages(input *ListProviderServicesInput, fn func(*ListProviderServicesOutput, bool) bool) error { - return c.ListProviderServicesPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *EntityResolution) ListIdMappingWorkflowsPages(input *ListIdMappingWorkflowsInput, fn func(*ListIdMappingWorkflowsOutput, bool) bool) error { + return c.ListIdMappingWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListProviderServicesPagesWithContext same as ListProviderServicesPages except +// ListIdMappingWorkflowsPagesWithContext same as ListIdMappingWorkflowsPages 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 *EntityResolution) ListProviderServicesPagesWithContext(ctx aws.Context, input *ListProviderServicesInput, fn func(*ListProviderServicesOutput, bool) bool, opts ...request.Option) error { +func (c *EntityResolution) ListIdMappingWorkflowsPagesWithContext(ctx aws.Context, input *ListIdMappingWorkflowsInput, fn func(*ListIdMappingWorkflowsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListProviderServicesInput + var inCpy *ListIdMappingWorkflowsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListProviderServicesRequest(inCpy) + req, _ := c.ListIdMappingWorkflowsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1916,7 +2059,7 @@ func (c *EntityResolution) ListProviderServicesPagesWithContext(ctx aws.Context, } for p.Next() { - if !fn(p.Page().(*ListProviderServicesOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListIdMappingWorkflowsOutput), !p.HasNextPage()) { break } } @@ -1924,36 +2067,36 @@ func (c *EntityResolution) ListProviderServicesPagesWithContext(ctx aws.Context, return p.Err() } -const opListSchemaMappings = "ListSchemaMappings" +const opListIdNamespaces = "ListIdNamespaces" -// ListSchemaMappingsRequest generates a "aws/request.Request" representing the -// client's request for the ListSchemaMappings operation. The "output" return +// ListIdNamespacesRequest generates a "aws/request.Request" representing the +// client's request for the ListIdNamespaces 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 ListSchemaMappings for more information on using the ListSchemaMappings +// See ListIdNamespaces for more information on using the ListIdNamespaces // 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 ListSchemaMappingsRequest method. -// req, resp := client.ListSchemaMappingsRequest(params) +// // Example sending a request using the ListIdNamespacesRequest method. +// req, resp := client.ListIdNamespacesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListSchemaMappings -func (c *EntityResolution) ListSchemaMappingsRequest(input *ListSchemaMappingsInput) (req *request.Request, output *ListSchemaMappingsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdNamespaces +func (c *EntityResolution) ListIdNamespacesRequest(input *ListIdNamespacesInput) (req *request.Request, output *ListIdNamespacesOutput) { op := &request.Operation{ - Name: opListSchemaMappings, + Name: opListIdNamespaces, HTTPMethod: "GET", - HTTPPath: "/schemas", + HTTPPath: "/idnamespaces", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -1963,25 +2106,24 @@ func (c *EntityResolution) ListSchemaMappingsRequest(input *ListSchemaMappingsIn } if input == nil { - input = &ListSchemaMappingsInput{} + input = &ListIdNamespacesInput{} } - output = &ListSchemaMappingsOutput{} + output = &ListIdNamespacesOutput{} req = c.newRequest(op, input, output) return } -// ListSchemaMappings API operation for AWS EntityResolution. +// ListIdNamespaces API operation for AWS EntityResolution. // -// Returns a list of all the SchemaMappings that have been created for an Amazon -// Web Services account. +// Returns a list of all ID namespaces. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation ListSchemaMappings for usage and error information. +// API operation ListIdNamespaces for usage and error information. // // Returned Error Types: // @@ -2000,64 +2142,64 @@ func (c *EntityResolution) ListSchemaMappingsRequest(input *ListSchemaMappingsIn // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListSchemaMappings -func (c *EntityResolution) ListSchemaMappings(input *ListSchemaMappingsInput) (*ListSchemaMappingsOutput, error) { - req, out := c.ListSchemaMappingsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListIdNamespaces +func (c *EntityResolution) ListIdNamespaces(input *ListIdNamespacesInput) (*ListIdNamespacesOutput, error) { + req, out := c.ListIdNamespacesRequest(input) return out, req.Send() } -// ListSchemaMappingsWithContext is the same as ListSchemaMappings with the addition of +// ListIdNamespacesWithContext is the same as ListIdNamespaces with the addition of // the ability to pass a context and additional request options. // -// See ListSchemaMappings for details on how to use this API operation. +// See ListIdNamespaces 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 *EntityResolution) ListSchemaMappingsWithContext(ctx aws.Context, input *ListSchemaMappingsInput, opts ...request.Option) (*ListSchemaMappingsOutput, error) { - req, out := c.ListSchemaMappingsRequest(input) +func (c *EntityResolution) ListIdNamespacesWithContext(ctx aws.Context, input *ListIdNamespacesInput, opts ...request.Option) (*ListIdNamespacesOutput, error) { + req, out := c.ListIdNamespacesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListSchemaMappingsPages iterates over the pages of a ListSchemaMappings operation, +// ListIdNamespacesPages iterates over the pages of a ListIdNamespaces operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListSchemaMappings method for more information on how to use this operation. +// See ListIdNamespaces 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 ListSchemaMappings operation. +// // Example iterating over at most 3 pages of a ListIdNamespaces operation. // pageNum := 0 -// err := client.ListSchemaMappingsPages(params, -// func(page *entityresolution.ListSchemaMappingsOutput, lastPage bool) bool { +// err := client.ListIdNamespacesPages(params, +// func(page *entityresolution.ListIdNamespacesOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *EntityResolution) ListSchemaMappingsPages(input *ListSchemaMappingsInput, fn func(*ListSchemaMappingsOutput, bool) bool) error { - return c.ListSchemaMappingsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *EntityResolution) ListIdNamespacesPages(input *ListIdNamespacesInput, fn func(*ListIdNamespacesOutput, bool) bool) error { + return c.ListIdNamespacesPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListSchemaMappingsPagesWithContext same as ListSchemaMappingsPages except +// ListIdNamespacesPagesWithContext same as ListIdNamespacesPages 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 *EntityResolution) ListSchemaMappingsPagesWithContext(ctx aws.Context, input *ListSchemaMappingsInput, fn func(*ListSchemaMappingsOutput, bool) bool, opts ...request.Option) error { +func (c *EntityResolution) ListIdNamespacesPagesWithContext(ctx aws.Context, input *ListIdNamespacesInput, fn func(*ListIdNamespacesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListSchemaMappingsInput + var inCpy *ListIdNamespacesInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListSchemaMappingsRequest(inCpy) + req, _ := c.ListIdNamespacesRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -2065,7 +2207,7 @@ func (c *EntityResolution) ListSchemaMappingsPagesWithContext(ctx aws.Context, i } for p.Next() { - if !fn(p.Page().(*ListSchemaMappingsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListIdNamespacesOutput), !p.HasNextPage()) { break } } @@ -2073,61 +2215,69 @@ func (c *EntityResolution) ListSchemaMappingsPagesWithContext(ctx aws.Context, i return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListMatchingJobs = "ListMatchingJobs" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListMatchingJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListMatchingJobs 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 ListTagsForResource for more information on using the ListTagsForResource +// See ListMatchingJobs for more information on using the ListMatchingJobs // 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 ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the ListMatchingJobsRequest method. +// req, resp := client.ListMatchingJobsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListTagsForResource -func (c *EntityResolution) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingJobs +func (c *EntityResolution) ListMatchingJobsRequest(input *ListMatchingJobsInput) (req *request.Request, output *ListMatchingJobsOutput) { op := &request.Operation{ - Name: opListTagsForResource, + Name: opListMatchingJobs, HTTPMethod: "GET", - HTTPPath: "/tags/{resourceArn}", + HTTPPath: "/matchingworkflows/{workflowName}/jobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListMatchingJobsInput{} } - output = &ListTagsForResourceOutput{} + output = &ListMatchingJobsOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for AWS EntityResolution. +// ListMatchingJobs API operation for AWS EntityResolution. // -// Displays the tags associated with an Entity Resolution resource. In Entity -// Resolution, SchemaMapping, and MatchingWorkflow can be tagged. +// Lists all jobs for a given workflow. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation ListTagsForResource for usage and error information. +// API operation ListMatchingJobs for usage and error information. // // Returned Error Types: // +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// // - InternalServerException // This exception occurs when there is an internal failure in the Entity Resolution // service. HTTP Status Code: 500 @@ -2135,84 +2285,145 @@ func (c *EntityResolution) ListTagsForResourceRequest(input *ListTagsForResource // - ResourceNotFoundException // The resource could not be found. HTTP Status Code: 404 // +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListTagsForResource -func (c *EntityResolution) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingJobs +func (c *EntityResolution) ListMatchingJobs(input *ListMatchingJobsInput) (*ListMatchingJobsOutput, error) { + req, out := c.ListMatchingJobsRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListMatchingJobsWithContext is the same as ListMatchingJobs with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See ListMatchingJobs 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 *EntityResolution) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *EntityResolution) ListMatchingJobsWithContext(ctx aws.Context, input *ListMatchingJobsInput, opts ...request.Option) (*ListMatchingJobsOutput, error) { + req, out := c.ListMatchingJobsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartIdMappingJob = "StartIdMappingJob" +// ListMatchingJobsPages iterates over the pages of a ListMatchingJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMatchingJobs 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 ListMatchingJobs operation. +// pageNum := 0 +// err := client.ListMatchingJobsPages(params, +// func(page *entityresolution.ListMatchingJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EntityResolution) ListMatchingJobsPages(input *ListMatchingJobsInput, fn func(*ListMatchingJobsOutput, bool) bool) error { + return c.ListMatchingJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// StartIdMappingJobRequest generates a "aws/request.Request" representing the -// client's request for the StartIdMappingJob operation. The "output" return +// ListMatchingJobsPagesWithContext same as ListMatchingJobsPages 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 *EntityResolution) ListMatchingJobsPagesWithContext(ctx aws.Context, input *ListMatchingJobsInput, fn func(*ListMatchingJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMatchingJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMatchingJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMatchingJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListMatchingWorkflows = "ListMatchingWorkflows" + +// ListMatchingWorkflowsRequest generates a "aws/request.Request" representing the +// client's request for the ListMatchingWorkflows 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 StartIdMappingJob for more information on using the StartIdMappingJob +// See ListMatchingWorkflows for more information on using the ListMatchingWorkflows // 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 StartIdMappingJobRequest method. -// req, resp := client.StartIdMappingJobRequest(params) +// // Example sending a request using the ListMatchingWorkflowsRequest method. +// req, resp := client.ListMatchingWorkflowsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartIdMappingJob -func (c *EntityResolution) StartIdMappingJobRequest(input *StartIdMappingJobInput) (req *request.Request, output *StartIdMappingJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingWorkflows +func (c *EntityResolution) ListMatchingWorkflowsRequest(input *ListMatchingWorkflowsInput) (req *request.Request, output *ListMatchingWorkflowsOutput) { op := &request.Operation{ - Name: opStartIdMappingJob, - HTTPMethod: "POST", - HTTPPath: "/idmappingworkflows/{workflowName}/jobs", + Name: opListMatchingWorkflows, + HTTPMethod: "GET", + HTTPPath: "/matchingworkflows", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &StartIdMappingJobInput{} + input = &ListMatchingWorkflowsInput{} } - output = &StartIdMappingJobOutput{} + output = &ListMatchingWorkflowsOutput{} req = c.newRequest(op, input, output) return } -// StartIdMappingJob API operation for AWS EntityResolution. +// ListMatchingWorkflows API operation for AWS EntityResolution. // -// Starts the IdMappingJob of a workflow. The workflow must have previously -// been created using the CreateIdMappingWorkflow endpoint. +// Returns a list of all the MatchingWorkflows that have been created for an +// Amazon Web Services account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation StartIdMappingJob for usage and error information. +// API operation ListMatchingWorkflows for usage and error information. // // Returned Error Types: // @@ -2223,101 +2434,145 @@ func (c *EntityResolution) StartIdMappingJobRequest(input *StartIdMappingJobInpu // This exception occurs when there is an internal failure in the Entity Resolution // service. HTTP Status Code: 500 // -// - ResourceNotFoundException -// The resource could not be found. HTTP Status Code: 404 -// // - AccessDeniedException // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // -// - ExceedsLimitException -// The request was rejected because it attempted to create resources beyond -// the current Entity Resolution account limits. The error message describes -// the limit exceeded. HTTP Status Code: 402 -// -// - ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. Example: Workflow already exists, Schema already exists, -// Workflow is currently running, etc. HTTP Status Code: 400 -// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartIdMappingJob -func (c *EntityResolution) StartIdMappingJob(input *StartIdMappingJobInput) (*StartIdMappingJobOutput, error) { - req, out := c.StartIdMappingJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListMatchingWorkflows +func (c *EntityResolution) ListMatchingWorkflows(input *ListMatchingWorkflowsInput) (*ListMatchingWorkflowsOutput, error) { + req, out := c.ListMatchingWorkflowsRequest(input) return out, req.Send() } -// StartIdMappingJobWithContext is the same as StartIdMappingJob with the addition of +// ListMatchingWorkflowsWithContext is the same as ListMatchingWorkflows with the addition of // the ability to pass a context and additional request options. // -// See StartIdMappingJob for details on how to use this API operation. +// See ListMatchingWorkflows 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 *EntityResolution) StartIdMappingJobWithContext(ctx aws.Context, input *StartIdMappingJobInput, opts ...request.Option) (*StartIdMappingJobOutput, error) { - req, out := c.StartIdMappingJobRequest(input) +func (c *EntityResolution) ListMatchingWorkflowsWithContext(ctx aws.Context, input *ListMatchingWorkflowsInput, opts ...request.Option) (*ListMatchingWorkflowsOutput, error) { + req, out := c.ListMatchingWorkflowsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartMatchingJob = "StartMatchingJob" +// ListMatchingWorkflowsPages iterates over the pages of a ListMatchingWorkflows operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMatchingWorkflows 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 ListMatchingWorkflows operation. +// pageNum := 0 +// err := client.ListMatchingWorkflowsPages(params, +// func(page *entityresolution.ListMatchingWorkflowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EntityResolution) ListMatchingWorkflowsPages(input *ListMatchingWorkflowsInput, fn func(*ListMatchingWorkflowsOutput, bool) bool) error { + return c.ListMatchingWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// StartMatchingJobRequest generates a "aws/request.Request" representing the -// client's request for the StartMatchingJob operation. The "output" return +// ListMatchingWorkflowsPagesWithContext same as ListMatchingWorkflowsPages 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 *EntityResolution) ListMatchingWorkflowsPagesWithContext(ctx aws.Context, input *ListMatchingWorkflowsInput, fn func(*ListMatchingWorkflowsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMatchingWorkflowsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMatchingWorkflowsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMatchingWorkflowsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListProviderServices = "ListProviderServices" + +// ListProviderServicesRequest generates a "aws/request.Request" representing the +// client's request for the ListProviderServices 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 StartMatchingJob for more information on using the StartMatchingJob +// See ListProviderServices for more information on using the ListProviderServices // 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 StartMatchingJobRequest method. -// req, resp := client.StartMatchingJobRequest(params) +// // Example sending a request using the ListProviderServicesRequest method. +// req, resp := client.ListProviderServicesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartMatchingJob -func (c *EntityResolution) StartMatchingJobRequest(input *StartMatchingJobInput) (req *request.Request, output *StartMatchingJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListProviderServices +func (c *EntityResolution) ListProviderServicesRequest(input *ListProviderServicesInput) (req *request.Request, output *ListProviderServicesOutput) { op := &request.Operation{ - Name: opStartMatchingJob, - HTTPMethod: "POST", - HTTPPath: "/matchingworkflows/{workflowName}/jobs", + Name: opListProviderServices, + HTTPMethod: "GET", + HTTPPath: "/providerservices", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &StartMatchingJobInput{} + input = &ListProviderServicesInput{} } - output = &StartMatchingJobOutput{} + output = &ListProviderServicesOutput{} req = c.newRequest(op, input, output) return } -// StartMatchingJob API operation for AWS EntityResolution. +// ListProviderServices API operation for AWS EntityResolution. // -// Starts the MatchingJob of a workflow. The workflow must have previously been -// created using the CreateMatchingWorkflow endpoint. +// Returns a list of all the ProviderServices that are available in this Amazon +// Web Services Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation StartMatchingJob for usage and error information. +// API operation ListProviderServices for usage and error information. // // Returned Error Types: // @@ -2328,200 +2583,288 @@ func (c *EntityResolution) StartMatchingJobRequest(input *StartMatchingJobInput) // This exception occurs when there is an internal failure in the Entity Resolution // service. HTTP Status Code: 500 // -// - ResourceNotFoundException -// The resource could not be found. HTTP Status Code: 404 -// // - AccessDeniedException // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // -// - ExceedsLimitException -// The request was rejected because it attempted to create resources beyond -// the current Entity Resolution account limits. The error message describes -// the limit exceeded. HTTP Status Code: 402 -// -// - ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. Example: Workflow already exists, Schema already exists, -// Workflow is currently running, etc. HTTP Status Code: 400 -// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartMatchingJob -func (c *EntityResolution) StartMatchingJob(input *StartMatchingJobInput) (*StartMatchingJobOutput, error) { - req, out := c.StartMatchingJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListProviderServices +func (c *EntityResolution) ListProviderServices(input *ListProviderServicesInput) (*ListProviderServicesOutput, error) { + req, out := c.ListProviderServicesRequest(input) return out, req.Send() } -// StartMatchingJobWithContext is the same as StartMatchingJob with the addition of +// ListProviderServicesWithContext is the same as ListProviderServices with the addition of // the ability to pass a context and additional request options. // -// See StartMatchingJob for details on how to use this API operation. +// See ListProviderServices 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 *EntityResolution) StartMatchingJobWithContext(ctx aws.Context, input *StartMatchingJobInput, opts ...request.Option) (*StartMatchingJobOutput, error) { - req, out := c.StartMatchingJobRequest(input) +func (c *EntityResolution) ListProviderServicesWithContext(ctx aws.Context, input *ListProviderServicesInput, opts ...request.Option) (*ListProviderServicesOutput, error) { + req, out := c.ListProviderServicesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTagResource = "TagResource" +// ListProviderServicesPages iterates over the pages of a ListProviderServices operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListProviderServices 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 ListProviderServices operation. +// pageNum := 0 +// err := client.ListProviderServicesPages(params, +// func(page *entityresolution.ListProviderServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EntityResolution) ListProviderServicesPages(input *ListProviderServicesInput, fn func(*ListProviderServicesOutput, bool) bool) error { + return c.ListProviderServicesPagesWithContext(aws.BackgroundContext(), input, fn) +} -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// ListProviderServicesPagesWithContext same as ListProviderServicesPages 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 *EntityResolution) ListProviderServicesPagesWithContext(ctx aws.Context, input *ListProviderServicesInput, fn func(*ListProviderServicesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListProviderServicesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListProviderServicesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListProviderServicesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSchemaMappings = "ListSchemaMappings" + +// ListSchemaMappingsRequest generates a "aws/request.Request" representing the +// client's request for the ListSchemaMappings 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 TagResource for more information on using the TagResource +// See ListSchemaMappings for more information on using the ListSchemaMappings // 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 TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the ListSchemaMappingsRequest method. +// req, resp := client.ListSchemaMappingsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/TagResource -func (c *EntityResolution) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListSchemaMappings +func (c *EntityResolution) ListSchemaMappingsRequest(input *ListSchemaMappingsInput) (req *request.Request, output *ListSchemaMappingsOutput) { op := &request.Operation{ - Name: opTagResource, - HTTPMethod: "POST", - HTTPPath: "/tags/{resourceArn}", + Name: opListSchemaMappings, + HTTPMethod: "GET", + HTTPPath: "/schemas", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &TagResourceInput{} + input = &ListSchemaMappingsInput{} } - output = &TagResourceOutput{} + output = &ListSchemaMappingsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for AWS EntityResolution. +// ListSchemaMappings API operation for AWS EntityResolution. // -// Assigns one or more tags (key-value pairs) to the specified Entity Resolution -// resource. Tags can help you organize and categorize your resources. You can -// also use them to scope user permissions by granting a user permission to -// access or change only resources with certain tag values. In Entity Resolution, -// SchemaMapping and MatchingWorkflow can be tagged. Tags don't have any semantic -// meaning to Amazon Web Services and are interpreted strictly as strings of -// characters. You can use the TagResource action with a resource that already -// has tags. If you specify a new tag key, this tag is appended to the list -// of tags associated with the resource. If you specify a tag key that is already -// associated with the resource, the new tag value that you specify replaces -// the previous value for that tag. +// Returns a list of all the SchemaMappings that have been created for an Amazon +// Web Services account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation TagResource for usage and error information. +// API operation ListSchemaMappings for usage and error information. // // Returned Error Types: // +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// // - InternalServerException // This exception occurs when there is an internal failure in the Entity Resolution // service. HTTP Status Code: 500 // -// - ResourceNotFoundException -// The resource could not be found. HTTP Status Code: 404 +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 // // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/TagResource -func (c *EntityResolution) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListSchemaMappings +func (c *EntityResolution) ListSchemaMappings(input *ListSchemaMappingsInput) (*ListSchemaMappingsOutput, error) { + req, out := c.ListSchemaMappingsRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// ListSchemaMappingsWithContext is the same as ListSchemaMappings with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See ListSchemaMappings 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 *EntityResolution) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *EntityResolution) ListSchemaMappingsWithContext(ctx aws.Context, input *ListSchemaMappingsInput, opts ...request.Option) (*ListSchemaMappingsOutput, error) { + req, out := c.ListSchemaMappingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +// ListSchemaMappingsPages iterates over the pages of a ListSchemaMappings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSchemaMappings 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 ListSchemaMappings operation. +// pageNum := 0 +// err := client.ListSchemaMappingsPages(params, +// func(page *entityresolution.ListSchemaMappingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EntityResolution) ListSchemaMappingsPages(input *ListSchemaMappingsInput, fn func(*ListSchemaMappingsOutput, bool) bool) error { + return c.ListSchemaMappingsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// ListSchemaMappingsPagesWithContext same as ListSchemaMappingsPages 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 *EntityResolution) ListSchemaMappingsPagesWithContext(ctx aws.Context, input *ListSchemaMappingsInput, fn func(*ListSchemaMappingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSchemaMappingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSchemaMappingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSchemaMappingsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource 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 UntagResource for more information on using the UntagResource +// See ListTagsForResource for more information on using the ListTagsForResource // 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 UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UntagResource -func (c *EntityResolution) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListTagsForResource +func (c *EntityResolution) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ - Name: opUntagResource, - HTTPMethod: "DELETE", + Name: opListTagsForResource, + HTTPMethod: "GET", HTTPPath: "/tags/{resourceArn}", } if input == nil { - input = &UntagResourceInput{} + input = &ListTagsForResourceInput{} } - output = &UntagResourceOutput{} + output = &ListTagsForResourceOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for AWS EntityResolution. +// ListTagsForResource API operation for AWS EntityResolution. // -// Removes one or more tags from the specified Entity Resolution resource. In -// Entity Resolution, SchemaMapping, and MatchingWorkflow can be tagged. +// Displays the tags associated with an Entity Resolution resource. In Entity +// Resolution, SchemaMapping, and MatchingWorkflow can be tagged. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation UntagResource for usage and error information. +// API operation ListTagsForResource for usage and error information. // // Returned Error Types: // @@ -2532,81 +2875,83 @@ func (c *EntityResolution) UntagResourceRequest(input *UntagResourceInput) (req // - ResourceNotFoundException // The resource could not be found. HTTP Status Code: 404 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UntagResource -func (c *EntityResolution) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/ListTagsForResource +func (c *EntityResolution) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource with the addition of +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of // the ability to pass a context and additional request options. // -// See UntagResource for details on how to use this API operation. +// See ListTagsForResource 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 *EntityResolution) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +func (c *EntityResolution) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateIdMappingWorkflow = "UpdateIdMappingWorkflow" +const opPutPolicy = "PutPolicy" -// UpdateIdMappingWorkflowRequest generates a "aws/request.Request" representing the -// client's request for the UpdateIdMappingWorkflow operation. The "output" return +// PutPolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutPolicy 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 UpdateIdMappingWorkflow for more information on using the UpdateIdMappingWorkflow +// See PutPolicy for more information on using the PutPolicy // 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 UpdateIdMappingWorkflowRequest method. -// req, resp := client.UpdateIdMappingWorkflowRequest(params) +// // Example sending a request using the PutPolicyRequest method. +// req, resp := client.PutPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateIdMappingWorkflow -func (c *EntityResolution) UpdateIdMappingWorkflowRequest(input *UpdateIdMappingWorkflowInput) (req *request.Request, output *UpdateIdMappingWorkflowOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/PutPolicy +func (c *EntityResolution) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, output *PutPolicyOutput) { op := &request.Operation{ - Name: opUpdateIdMappingWorkflow, + Name: opPutPolicy, HTTPMethod: "PUT", - HTTPPath: "/idmappingworkflows/{workflowName}", + HTTPPath: "/policies/{arn}", } if input == nil { - input = &UpdateIdMappingWorkflowInput{} + input = &PutPolicyInput{} } - output = &UpdateIdMappingWorkflowOutput{} + output = &PutPolicyOutput{} req = c.newRequest(op, input, output) return } -// UpdateIdMappingWorkflow API operation for AWS EntityResolution. +// PutPolicy API operation for AWS EntityResolution. // -// Updates an existing IdMappingWorkflow. This method is identical to CreateIdMappingWorkflow, -// except it uses an HTTP PUT request instead of a POST request, and the IdMappingWorkflow -// must already exist for the method to succeed. +// Updates the resource-based policy. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation UpdateIdMappingWorkflow for usage and error information. +// API operation PutPolicy for usage and error information. // // Returned Error Types: // @@ -2624,85 +2969,89 @@ func (c *EntityResolution) UpdateIdMappingWorkflowRequest(input *UpdateIdMapping // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateIdMappingWorkflow -func (c *EntityResolution) UpdateIdMappingWorkflow(input *UpdateIdMappingWorkflowInput) (*UpdateIdMappingWorkflowOutput, error) { - req, out := c.UpdateIdMappingWorkflowRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/PutPolicy +func (c *EntityResolution) PutPolicy(input *PutPolicyInput) (*PutPolicyOutput, error) { + req, out := c.PutPolicyRequest(input) return out, req.Send() } -// UpdateIdMappingWorkflowWithContext is the same as UpdateIdMappingWorkflow with the addition of +// PutPolicyWithContext is the same as PutPolicy with the addition of // the ability to pass a context and additional request options. // -// See UpdateIdMappingWorkflow for details on how to use this API operation. +// See PutPolicy 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 *EntityResolution) UpdateIdMappingWorkflowWithContext(ctx aws.Context, input *UpdateIdMappingWorkflowInput, opts ...request.Option) (*UpdateIdMappingWorkflowOutput, error) { - req, out := c.UpdateIdMappingWorkflowRequest(input) +func (c *EntityResolution) PutPolicyWithContext(ctx aws.Context, input *PutPolicyInput, opts ...request.Option) (*PutPolicyOutput, error) { + req, out := c.PutPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateMatchingWorkflow = "UpdateMatchingWorkflow" +const opStartIdMappingJob = "StartIdMappingJob" -// UpdateMatchingWorkflowRequest generates a "aws/request.Request" representing the -// client's request for the UpdateMatchingWorkflow operation. The "output" return +// StartIdMappingJobRequest generates a "aws/request.Request" representing the +// client's request for the StartIdMappingJob 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 UpdateMatchingWorkflow for more information on using the UpdateMatchingWorkflow +// See StartIdMappingJob for more information on using the StartIdMappingJob // 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 UpdateMatchingWorkflowRequest method. -// req, resp := client.UpdateMatchingWorkflowRequest(params) +// // Example sending a request using the StartIdMappingJobRequest method. +// req, resp := client.StartIdMappingJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateMatchingWorkflow -func (c *EntityResolution) UpdateMatchingWorkflowRequest(input *UpdateMatchingWorkflowInput) (req *request.Request, output *UpdateMatchingWorkflowOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartIdMappingJob +func (c *EntityResolution) StartIdMappingJobRequest(input *StartIdMappingJobInput) (req *request.Request, output *StartIdMappingJobOutput) { op := &request.Operation{ - Name: opUpdateMatchingWorkflow, - HTTPMethod: "PUT", - HTTPPath: "/matchingworkflows/{workflowName}", + Name: opStartIdMappingJob, + HTTPMethod: "POST", + HTTPPath: "/idmappingworkflows/{workflowName}/jobs", } if input == nil { - input = &UpdateMatchingWorkflowInput{} + input = &StartIdMappingJobInput{} } - output = &UpdateMatchingWorkflowOutput{} + output = &StartIdMappingJobOutput{} req = c.newRequest(op, input, output) return } -// UpdateMatchingWorkflow API operation for AWS EntityResolution. +// StartIdMappingJob API operation for AWS EntityResolution. // -// Updates an existing MatchingWorkflow. This method is identical to CreateMatchingWorkflow, -// except it uses an HTTP PUT request instead of a POST request, and the MatchingWorkflow -// must already exist for the method to succeed. +// Starts the IdMappingJob of a workflow. The workflow must have previously +// been created using the CreateIdMappingWorkflow endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation UpdateMatchingWorkflow for usage and error information. +// API operation StartIdMappingJob for usage and error information. // // Returned Error Types: // @@ -2720,86 +3069,94 @@ func (c *EntityResolution) UpdateMatchingWorkflowRequest(input *UpdateMatchingWo // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // +// - ExceedsLimitException +// The request was rejected because it attempted to create resources beyond +// the current Entity Resolution account limits. The error message describes +// the limit exceeded. HTTP Status Code: 402 +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// // - ValidationException // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateMatchingWorkflow -func (c *EntityResolution) UpdateMatchingWorkflow(input *UpdateMatchingWorkflowInput) (*UpdateMatchingWorkflowOutput, error) { - req, out := c.UpdateMatchingWorkflowRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartIdMappingJob +func (c *EntityResolution) StartIdMappingJob(input *StartIdMappingJobInput) (*StartIdMappingJobOutput, error) { + req, out := c.StartIdMappingJobRequest(input) return out, req.Send() } -// UpdateMatchingWorkflowWithContext is the same as UpdateMatchingWorkflow with the addition of +// StartIdMappingJobWithContext is the same as StartIdMappingJob with the addition of // the ability to pass a context and additional request options. // -// See UpdateMatchingWorkflow for details on how to use this API operation. +// See StartIdMappingJob 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 *EntityResolution) UpdateMatchingWorkflowWithContext(ctx aws.Context, input *UpdateMatchingWorkflowInput, opts ...request.Option) (*UpdateMatchingWorkflowOutput, error) { - req, out := c.UpdateMatchingWorkflowRequest(input) +func (c *EntityResolution) StartIdMappingJobWithContext(ctx aws.Context, input *StartIdMappingJobInput, opts ...request.Option) (*StartIdMappingJobOutput, error) { + req, out := c.StartIdMappingJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateSchemaMapping = "UpdateSchemaMapping" +const opStartMatchingJob = "StartMatchingJob" -// UpdateSchemaMappingRequest generates a "aws/request.Request" representing the -// client's request for the UpdateSchemaMapping operation. The "output" return +// StartMatchingJobRequest generates a "aws/request.Request" representing the +// client's request for the StartMatchingJob 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 UpdateSchemaMapping for more information on using the UpdateSchemaMapping +// See StartMatchingJob for more information on using the StartMatchingJob // 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 UpdateSchemaMappingRequest method. -// req, resp := client.UpdateSchemaMappingRequest(params) +// // Example sending a request using the StartMatchingJobRequest method. +// req, resp := client.StartMatchingJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateSchemaMapping -func (c *EntityResolution) UpdateSchemaMappingRequest(input *UpdateSchemaMappingInput) (req *request.Request, output *UpdateSchemaMappingOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartMatchingJob +func (c *EntityResolution) StartMatchingJobRequest(input *StartMatchingJobInput) (req *request.Request, output *StartMatchingJobOutput) { op := &request.Operation{ - Name: opUpdateSchemaMapping, - HTTPMethod: "PUT", - HTTPPath: "/schemas/{schemaName}", + Name: opStartMatchingJob, + HTTPMethod: "POST", + HTTPPath: "/matchingworkflows/{workflowName}/jobs", } if input == nil { - input = &UpdateSchemaMappingInput{} + input = &StartMatchingJobInput{} } - output = &UpdateSchemaMappingOutput{} + output = &StartMatchingJobOutput{} req = c.newRequest(op, input, output) return } -// UpdateSchemaMapping API operation for AWS EntityResolution. -// -// Updates a schema mapping. +// StartMatchingJob API operation for AWS EntityResolution. // -// A schema is immutable if it is being used by a workflow. Therefore, you can't -// update a schema mapping if it's associated with a workflow. +// Starts the MatchingJob of a workflow. The workflow must have previously been +// created using the CreateMatchingWorkflow endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS EntityResolution's -// API operation UpdateSchemaMapping for usage and error information. +// API operation StartMatchingJob for usage and error information. // // Returned Error Types: // @@ -2817,6 +3174,11 @@ func (c *EntityResolution) UpdateSchemaMappingRequest(input *UpdateSchemaMapping // You do not have sufficient access to perform this action. HTTP Status Code: // 403 // +// - ExceedsLimitException +// The request was rejected because it attempted to create resources beyond +// the current Entity Resolution account limits. The error message describes +// the limit exceeded. HTTP Status Code: 402 +// // - ConflictException // The request could not be processed because of conflict in the current state // of the resource. Example: Workflow already exists, Schema already exists, @@ -2826,81 +3188,652 @@ func (c *EntityResolution) UpdateSchemaMappingRequest(input *UpdateSchemaMapping // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 // -// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateSchemaMapping -func (c *EntityResolution) UpdateSchemaMapping(input *UpdateSchemaMappingInput) (*UpdateSchemaMappingOutput, error) { - req, out := c.UpdateSchemaMappingRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/StartMatchingJob +func (c *EntityResolution) StartMatchingJob(input *StartMatchingJobInput) (*StartMatchingJobOutput, error) { + req, out := c.StartMatchingJobRequest(input) return out, req.Send() } -// UpdateSchemaMappingWithContext is the same as UpdateSchemaMapping with the addition of +// StartMatchingJobWithContext is the same as StartMatchingJob with the addition of // the ability to pass a context and additional request options. // -// See UpdateSchemaMapping for details on how to use this API operation. +// See StartMatchingJob 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 *EntityResolution) UpdateSchemaMappingWithContext(ctx aws.Context, input *UpdateSchemaMappingInput, opts ...request.Option) (*UpdateSchemaMappingOutput, error) { - req, out := c.UpdateSchemaMappingRequest(input) +func (c *EntityResolution) StartMatchingJobWithContext(ctx aws.Context, input *StartMatchingJobInput, opts ...request.Option) (*StartMatchingJobOutput, error) { + req, out := c.StartMatchingJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// You do not have sufficient access to perform this action. HTTP Status Code: -// 403 -type AccessDeniedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" min:"1" type:"string"` -} +const opTagResource = "TagResource" -// String returns the string representation. +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AccessDeniedException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. +// 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. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AccessDeniedException) GoString() string { - return s.String() -} - -func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { - return &AccessDeniedException{ - RespMetadata: v, +// See TagResource for more information on using the TagResource +// 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 TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/TagResource +func (c *EntityResolution) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", } -} - -// Code returns the exception type name. -func (s *AccessDeniedException) Code() string { - return "AccessDeniedException" -} -// Message returns the exception's message. -func (s *AccessDeniedException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if input == nil { + input = &TagResourceInput{} } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *AccessDeniedException) OrigErr() error { - return nil + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return } -func (s *AccessDeniedException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// TagResource API operation for AWS EntityResolution. +// +// Assigns one or more tags (key-value pairs) to the specified Entity Resolution +// resource. Tags can help you organize and categorize your resources. You can +// also use them to scope user permissions by granting a user permission to +// access or change only resources with certain tag values. In Entity Resolution, +// SchemaMapping and MatchingWorkflow can be tagged. Tags don't have any semantic +// meaning to Amazon Web Services and are interpreted strictly as strings of +// characters. You can use the TagResource action with a resource that already +// has tags. If you specify a new tag key, this tag is appended to the list +// of tags associated with the resource. If you specify a tag key that is already +// associated with the resource, the new tag value that you specify replaces +// the previous value for that tag. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/TagResource +func (c *EntityResolution) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource 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 *EntityResolution) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource 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 UntagResource for more information on using the UntagResource +// 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 UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UntagResource +func (c *EntityResolution) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for AWS EntityResolution. +// +// Removes one or more tags from the specified Entity Resolution resource. In +// Entity Resolution, SchemaMapping, and MatchingWorkflow can be tagged. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UntagResource +func (c *EntityResolution) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource 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 *EntityResolution) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateIdMappingWorkflow = "UpdateIdMappingWorkflow" + +// UpdateIdMappingWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIdMappingWorkflow 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 UpdateIdMappingWorkflow for more information on using the UpdateIdMappingWorkflow +// 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 UpdateIdMappingWorkflowRequest method. +// req, resp := client.UpdateIdMappingWorkflowRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateIdMappingWorkflow +func (c *EntityResolution) UpdateIdMappingWorkflowRequest(input *UpdateIdMappingWorkflowInput) (req *request.Request, output *UpdateIdMappingWorkflowOutput) { + op := &request.Operation{ + Name: opUpdateIdMappingWorkflow, + HTTPMethod: "PUT", + HTTPPath: "/idmappingworkflows/{workflowName}", + } + + if input == nil { + input = &UpdateIdMappingWorkflowInput{} + } + + output = &UpdateIdMappingWorkflowOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateIdMappingWorkflow API operation for AWS EntityResolution. +// +// Updates an existing IdMappingWorkflow. This method is identical to CreateIdMappingWorkflow, +// except it uses an HTTP PUT request instead of a POST request, and the IdMappingWorkflow +// must already exist for the method to succeed. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation UpdateIdMappingWorkflow for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateIdMappingWorkflow +func (c *EntityResolution) UpdateIdMappingWorkflow(input *UpdateIdMappingWorkflowInput) (*UpdateIdMappingWorkflowOutput, error) { + req, out := c.UpdateIdMappingWorkflowRequest(input) + return out, req.Send() +} + +// UpdateIdMappingWorkflowWithContext is the same as UpdateIdMappingWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateIdMappingWorkflow 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 *EntityResolution) UpdateIdMappingWorkflowWithContext(ctx aws.Context, input *UpdateIdMappingWorkflowInput, opts ...request.Option) (*UpdateIdMappingWorkflowOutput, error) { + req, out := c.UpdateIdMappingWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateIdNamespace = "UpdateIdNamespace" + +// UpdateIdNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIdNamespace 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 UpdateIdNamespace for more information on using the UpdateIdNamespace +// 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 UpdateIdNamespaceRequest method. +// req, resp := client.UpdateIdNamespaceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateIdNamespace +func (c *EntityResolution) UpdateIdNamespaceRequest(input *UpdateIdNamespaceInput) (req *request.Request, output *UpdateIdNamespaceOutput) { + op := &request.Operation{ + Name: opUpdateIdNamespace, + HTTPMethod: "PUT", + HTTPPath: "/idnamespaces/{idNamespaceName}", + } + + if input == nil { + input = &UpdateIdNamespaceInput{} + } + + output = &UpdateIdNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateIdNamespace API operation for AWS EntityResolution. +// +// Updates an existing ID namespace. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation UpdateIdNamespace for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateIdNamespace +func (c *EntityResolution) UpdateIdNamespace(input *UpdateIdNamespaceInput) (*UpdateIdNamespaceOutput, error) { + req, out := c.UpdateIdNamespaceRequest(input) + return out, req.Send() +} + +// UpdateIdNamespaceWithContext is the same as UpdateIdNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateIdNamespace 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 *EntityResolution) UpdateIdNamespaceWithContext(ctx aws.Context, input *UpdateIdNamespaceInput, opts ...request.Option) (*UpdateIdNamespaceOutput, error) { + req, out := c.UpdateIdNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateMatchingWorkflow = "UpdateMatchingWorkflow" + +// UpdateMatchingWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMatchingWorkflow 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 UpdateMatchingWorkflow for more information on using the UpdateMatchingWorkflow +// 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 UpdateMatchingWorkflowRequest method. +// req, resp := client.UpdateMatchingWorkflowRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateMatchingWorkflow +func (c *EntityResolution) UpdateMatchingWorkflowRequest(input *UpdateMatchingWorkflowInput) (req *request.Request, output *UpdateMatchingWorkflowOutput) { + op := &request.Operation{ + Name: opUpdateMatchingWorkflow, + HTTPMethod: "PUT", + HTTPPath: "/matchingworkflows/{workflowName}", + } + + if input == nil { + input = &UpdateMatchingWorkflowInput{} + } + + output = &UpdateMatchingWorkflowOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateMatchingWorkflow API operation for AWS EntityResolution. +// +// Updates an existing MatchingWorkflow. This method is identical to CreateMatchingWorkflow, +// except it uses an HTTP PUT request instead of a POST request, and the MatchingWorkflow +// must already exist for the method to succeed. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation UpdateMatchingWorkflow for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateMatchingWorkflow +func (c *EntityResolution) UpdateMatchingWorkflow(input *UpdateMatchingWorkflowInput) (*UpdateMatchingWorkflowOutput, error) { + req, out := c.UpdateMatchingWorkflowRequest(input) + return out, req.Send() +} + +// UpdateMatchingWorkflowWithContext is the same as UpdateMatchingWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateMatchingWorkflow 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 *EntityResolution) UpdateMatchingWorkflowWithContext(ctx aws.Context, input *UpdateMatchingWorkflowInput, opts ...request.Option) (*UpdateMatchingWorkflowOutput, error) { + req, out := c.UpdateMatchingWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateSchemaMapping = "UpdateSchemaMapping" + +// UpdateSchemaMappingRequest generates a "aws/request.Request" representing the +// client's request for the UpdateSchemaMapping 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 UpdateSchemaMapping for more information on using the UpdateSchemaMapping +// 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 UpdateSchemaMappingRequest method. +// req, resp := client.UpdateSchemaMappingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateSchemaMapping +func (c *EntityResolution) UpdateSchemaMappingRequest(input *UpdateSchemaMappingInput) (req *request.Request, output *UpdateSchemaMappingOutput) { + op := &request.Operation{ + Name: opUpdateSchemaMapping, + HTTPMethod: "PUT", + HTTPPath: "/schemas/{schemaName}", + } + + if input == nil { + input = &UpdateSchemaMappingInput{} + } + + output = &UpdateSchemaMappingOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateSchemaMapping API operation for AWS EntityResolution. +// +// Updates a schema mapping. +// +// A schema is immutable if it is being used by a workflow. Therefore, you can't +// update a schema mapping if it's associated with a workflow. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS EntityResolution's +// API operation UpdateSchemaMapping for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request was denied due to request throttling. HTTP Status Code: 429 +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +// +// - ResourceNotFoundException +// The resource could not be found. HTTP Status Code: 404 +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. Example: Workflow already exists, Schema already exists, +// Workflow is currently running, etc. HTTP Status Code: 400 +// +// - ValidationException +// The input fails to satisfy the constraints specified by Entity Resolution. +// HTTP Status Code: 400 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/entityresolution-2018-05-10/UpdateSchemaMapping +func (c *EntityResolution) UpdateSchemaMapping(input *UpdateSchemaMappingInput) (*UpdateSchemaMappingOutput, error) { + req, out := c.UpdateSchemaMappingRequest(input) + return out, req.Send() +} + +// UpdateSchemaMappingWithContext is the same as UpdateSchemaMapping with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateSchemaMapping 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 *EntityResolution) UpdateSchemaMappingWithContext(ctx aws.Context, input *UpdateSchemaMappingInput, opts ...request.Option) (*UpdateSchemaMappingOutput, error) { + req, out := c.UpdateSchemaMappingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// You do not have sufficient access to perform this action. HTTP Status Code: +// 403 +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 AccessDeniedException) 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 AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. @@ -2908,9 +3841,195 @@ func (s *AccessDeniedException) StatusCode() int { return s.RespMetadata.StatusCode } -// RequestID returns the service's response RequestID for request. -func (s *AccessDeniedException) RequestID() string { - return s.RespMetadata.RequestID +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +type AddPolicyStatementInput struct { + _ struct{} `type:"structure"` + + // The action that the principal can use on the resource. + // + // For example, entityresolution:GetIdMappingJob, entityresolution:GetMatchingJob. + // + // Action is a required field + Action []*string `locationName:"action" min:"1" type:"list" required:"true"` + + // The Amazon Resource Name (ARN) of the resource that will be accessed by the + // principal. + // + // Arn is a required field + Arn *string `location:"uri" locationName:"arn" type:"string" required:"true"` + + // A set of condition keys that you can use in key policies. + Condition *string `locationName:"condition" min:"1" type:"string"` + + // Determines whether the permissions specified in the policy are to be allowed + // (Allow) or denied (Deny). + // + // Effect is a required field + Effect *string `locationName:"effect" type:"string" required:"true" enum:"StatementEffect"` + + // The Amazon Web Services service or Amazon Web Services account that can access + // the resource defined as ARN. + // + // Principal is a required field + Principal []*string `locationName:"principal" min:"1" type:"list" required:"true"` + + // A statement identifier that differentiates the statement from others in the + // same policy. + // + // StatementId is a required field + StatementId *string `location:"uri" locationName:"statementId" 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 AddPolicyStatementInput) 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 AddPolicyStatementInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AddPolicyStatementInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AddPolicyStatementInput"} + if s.Action == nil { + invalidParams.Add(request.NewErrParamRequired("Action")) + } + if s.Action != nil && len(s.Action) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Action", 1)) + } + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + if s.Arn != nil && len(*s.Arn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Arn", 1)) + } + if s.Condition != nil && len(*s.Condition) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Condition", 1)) + } + if s.Effect == nil { + invalidParams.Add(request.NewErrParamRequired("Effect")) + } + if s.Principal == nil { + invalidParams.Add(request.NewErrParamRequired("Principal")) + } + if s.Principal != nil && len(s.Principal) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Principal", 1)) + } + if s.StatementId == nil { + invalidParams.Add(request.NewErrParamRequired("StatementId")) + } + if s.StatementId != nil && len(*s.StatementId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StatementId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAction sets the Action field's value. +func (s *AddPolicyStatementInput) SetAction(v []*string) *AddPolicyStatementInput { + s.Action = v + return s +} + +// SetArn sets the Arn field's value. +func (s *AddPolicyStatementInput) SetArn(v string) *AddPolicyStatementInput { + s.Arn = &v + return s +} + +// SetCondition sets the Condition field's value. +func (s *AddPolicyStatementInput) SetCondition(v string) *AddPolicyStatementInput { + s.Condition = &v + return s +} + +// SetEffect sets the Effect field's value. +func (s *AddPolicyStatementInput) SetEffect(v string) *AddPolicyStatementInput { + s.Effect = &v + return s +} + +// SetPrincipal sets the Principal field's value. +func (s *AddPolicyStatementInput) SetPrincipal(v []*string) *AddPolicyStatementInput { + s.Principal = v + return s +} + +// SetStatementId sets the StatementId field's value. +func (s *AddPolicyStatementInput) SetStatementId(v string) *AddPolicyStatementInput { + s.StatementId = &v + return s +} + +type AddPolicyStatementOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource that will be accessed by the + // principal. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The resource-based policy. + Policy *string `locationName:"policy" min:"1" type:"string"` + + // A unique identifier for the current revision of the policy. + // + // Token is a required field + Token *string `locationName:"token" min:"36" 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 AddPolicyStatementOutput) 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 AddPolicyStatementOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *AddPolicyStatementOutput) SetArn(v string) *AddPolicyStatementOutput { + s.Arn = &v + return s +} + +// SetPolicy sets the Policy field's value. +func (s *AddPolicyStatementOutput) SetPolicy(v string) *AddPolicyStatementOutput { + s.Policy = &v + return s +} + +// SetToken sets the Token field's value. +func (s *AddPolicyStatementOutput) SetToken(v string) *AddPolicyStatementOutput { + s.Token = &v + return s } // The request could not be processed because of conflict in the current state @@ -2997,15 +4116,13 @@ type CreateIdMappingWorkflowInput struct { // A list of IdMappingWorkflowOutputSource objects, each of which contains fields // OutputS3Path and Output. - // - // OutputSourceConfig is a required field - OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes // this role to create resources on your behalf as part of workflow execution. // // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` @@ -3047,43 +4164,283 @@ func (s *CreateIdMappingWorkflowInput) Validate() error { if s.InputSourceConfig != nil && len(s.InputSourceConfig) < 1 { invalidParams.Add(request.NewErrParamMinLen("InputSourceConfig", 1)) } - if s.OutputSourceConfig == nil { - invalidParams.Add(request.NewErrParamRequired("OutputSourceConfig")) - } if s.OutputSourceConfig != nil && len(s.OutputSourceConfig) < 1 { invalidParams.Add(request.NewErrParamMinLen("OutputSourceConfig", 1)) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 32 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) + } + if s.WorkflowName == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowName")) + } + if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + } + if s.IdMappingTechniques != nil { + if err := s.IdMappingTechniques.Validate(); err != nil { + invalidParams.AddNested("IdMappingTechniques", err.(request.ErrInvalidParams)) + } + } + if s.InputSourceConfig != nil { + for i, v := range s.InputSourceConfig { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputSourceConfig", i), err.(request.ErrInvalidParams)) + } + } + } + if s.OutputSourceConfig != nil { + for i, v := range s.OutputSourceConfig { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputSourceConfig", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateIdMappingWorkflowInput) SetDescription(v string) *CreateIdMappingWorkflowInput { + s.Description = &v + return s +} + +// SetIdMappingTechniques sets the IdMappingTechniques field's value. +func (s *CreateIdMappingWorkflowInput) SetIdMappingTechniques(v *IdMappingTechniques) *CreateIdMappingWorkflowInput { + s.IdMappingTechniques = v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *CreateIdMappingWorkflowInput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *CreateIdMappingWorkflowInput { + s.InputSourceConfig = v + return s +} + +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *CreateIdMappingWorkflowInput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *CreateIdMappingWorkflowInput { + s.OutputSourceConfig = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateIdMappingWorkflowInput) SetRoleArn(v string) *CreateIdMappingWorkflowInput { + s.RoleArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateIdMappingWorkflowInput) SetTags(v map[string]*string) *CreateIdMappingWorkflowInput { + s.Tags = v + return s +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *CreateIdMappingWorkflowInput) SetWorkflowName(v string) *CreateIdMappingWorkflowInput { + s.WorkflowName = &v + return s +} + +type CreateIdMappingWorkflowOutput struct { + _ struct{} `type:"structure"` + + // A description of the workflow. + Description *string `locationName:"description" type:"string"` + + // An object which defines the idMappingType and the providerProperties. + // + // IdMappingTechniques is a required field + IdMappingTechniques *IdMappingTechniques `locationName:"idMappingTechniques" type:"structure" required:"true"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + // + // InputSourceConfig is a required field + InputSourceConfig []*IdMappingWorkflowInputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` + + // A list of IdMappingWorkflowOutputSource objects, each of which contains fields + // OutputS3Path and Output. + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes + // this role to create resources on your behalf as part of workflow execution. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` + + // The ARN (Amazon Resource Name) that Entity Resolution generated for the IDMappingWorkflow. + // + // WorkflowArn is a required field + WorkflowArn *string `locationName:"workflowArn" type:"string" required:"true"` + + // The name of the workflow. + // + // WorkflowName is a required field + WorkflowName *string `locationName:"workflowName" 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 CreateIdMappingWorkflowOutput) 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 CreateIdMappingWorkflowOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *CreateIdMappingWorkflowOutput) SetDescription(v string) *CreateIdMappingWorkflowOutput { + s.Description = &v + return s +} + +// SetIdMappingTechniques sets the IdMappingTechniques field's value. +func (s *CreateIdMappingWorkflowOutput) SetIdMappingTechniques(v *IdMappingTechniques) *CreateIdMappingWorkflowOutput { + s.IdMappingTechniques = v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *CreateIdMappingWorkflowOutput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *CreateIdMappingWorkflowOutput { + s.InputSourceConfig = v + return s +} + +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *CreateIdMappingWorkflowOutput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *CreateIdMappingWorkflowOutput { + s.OutputSourceConfig = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateIdMappingWorkflowOutput) SetRoleArn(v string) *CreateIdMappingWorkflowOutput { + s.RoleArn = &v + return s +} + +// SetWorkflowArn sets the WorkflowArn field's value. +func (s *CreateIdMappingWorkflowOutput) SetWorkflowArn(v string) *CreateIdMappingWorkflowOutput { + s.WorkflowArn = &v + return s +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *CreateIdMappingWorkflowOutput) SetWorkflowName(v string) *CreateIdMappingWorkflowOutput { + s.WorkflowName = &v + return s +} + +type CreateIdNamespaceInput struct { + _ struct{} `type:"structure"` + + // The description of the ID namespace. + Description *string `locationName:"description" type:"string"` + + // Determines the properties of IdMappingWorflow where this IdNamespace can + // be used as a Source or a Target. + IdMappingWorkflowProperties []*IdNamespaceIdMappingWorkflowProperties `locationName:"idMappingWorkflowProperties" min:"1" type:"list"` + + // The name of the ID namespace. + // + // IdNamespaceName is a required field + IdNamespaceName *string `locationName:"idNamespaceName" min:"1" type:"string" required:"true"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + InputSourceConfig []*IdNamespaceInputSource `locationName:"inputSourceConfig" type:"list"` + + // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes + // this role to access the resources defined in this IdNamespace on your behalf + // as part of the workflow run. + RoleArn *string `locationName:"roleArn" min:"32" type:"string"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The type of ID namespace. There are two types: SOURCE and TARGET. + // + // The SOURCE contains configurations for sourceId data that will be processed + // in an ID mapping workflow. + // + // The TARGET contains a configuration of targetId to which all sourceIds will + // resolve to. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"IdNamespaceType"` +} + +// 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 CreateIdNamespaceInput) 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 CreateIdNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateIdNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateIdNamespaceInput"} + if s.IdMappingWorkflowProperties != nil && len(s.IdMappingWorkflowProperties) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdMappingWorkflowProperties", 1)) + } + if s.IdNamespaceName == nil { + invalidParams.Add(request.NewErrParamRequired("IdNamespaceName")) } - if s.WorkflowName == nil { - invalidParams.Add(request.NewErrParamRequired("WorkflowName")) + if s.IdNamespaceName != nil && len(*s.IdNamespaceName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdNamespaceName", 1)) } - if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + if s.RoleArn != nil && len(*s.RoleArn) < 32 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) } - if s.IdMappingTechniques != nil { - if err := s.IdMappingTechniques.Validate(); err != nil { - invalidParams.AddNested("IdMappingTechniques", err.(request.ErrInvalidParams)) - } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) } - if s.InputSourceConfig != nil { - for i, v := range s.InputSourceConfig { + if s.IdMappingWorkflowProperties != nil { + for i, v := range s.IdMappingWorkflowProperties { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputSourceConfig", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IdMappingWorkflowProperties", i), err.(request.ErrInvalidParams)) } } } - if s.OutputSourceConfig != nil { - for i, v := range s.OutputSourceConfig { + if s.InputSourceConfig != nil { + for i, v := range s.InputSourceConfig { if v == nil { continue } if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputSourceConfig", i), err.(request.ErrInvalidParams)) + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputSourceConfig", i), err.(request.ErrInvalidParams)) } } } @@ -3095,84 +4452,98 @@ func (s *CreateIdMappingWorkflowInput) Validate() error { } // SetDescription sets the Description field's value. -func (s *CreateIdMappingWorkflowInput) SetDescription(v string) *CreateIdMappingWorkflowInput { +func (s *CreateIdNamespaceInput) SetDescription(v string) *CreateIdNamespaceInput { s.Description = &v return s } -// SetIdMappingTechniques sets the IdMappingTechniques field's value. -func (s *CreateIdMappingWorkflowInput) SetIdMappingTechniques(v *IdMappingTechniques) *CreateIdMappingWorkflowInput { - s.IdMappingTechniques = v +// SetIdMappingWorkflowProperties sets the IdMappingWorkflowProperties field's value. +func (s *CreateIdNamespaceInput) SetIdMappingWorkflowProperties(v []*IdNamespaceIdMappingWorkflowProperties) *CreateIdNamespaceInput { + s.IdMappingWorkflowProperties = v return s } -// SetInputSourceConfig sets the InputSourceConfig field's value. -func (s *CreateIdMappingWorkflowInput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *CreateIdMappingWorkflowInput { - s.InputSourceConfig = v +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *CreateIdNamespaceInput) SetIdNamespaceName(v string) *CreateIdNamespaceInput { + s.IdNamespaceName = &v return s } -// SetOutputSourceConfig sets the OutputSourceConfig field's value. -func (s *CreateIdMappingWorkflowInput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *CreateIdMappingWorkflowInput { - s.OutputSourceConfig = v +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *CreateIdNamespaceInput) SetInputSourceConfig(v []*IdNamespaceInputSource) *CreateIdNamespaceInput { + s.InputSourceConfig = v return s } // SetRoleArn sets the RoleArn field's value. -func (s *CreateIdMappingWorkflowInput) SetRoleArn(v string) *CreateIdMappingWorkflowInput { +func (s *CreateIdNamespaceInput) SetRoleArn(v string) *CreateIdNamespaceInput { s.RoleArn = &v return s } // SetTags sets the Tags field's value. -func (s *CreateIdMappingWorkflowInput) SetTags(v map[string]*string) *CreateIdMappingWorkflowInput { +func (s *CreateIdNamespaceInput) SetTags(v map[string]*string) *CreateIdNamespaceInput { s.Tags = v return s } -// SetWorkflowName sets the WorkflowName field's value. -func (s *CreateIdMappingWorkflowInput) SetWorkflowName(v string) *CreateIdMappingWorkflowInput { - s.WorkflowName = &v +// SetType sets the Type field's value. +func (s *CreateIdNamespaceInput) SetType(v string) *CreateIdNamespaceInput { + s.Type = &v return s } -type CreateIdMappingWorkflowOutput struct { +type CreateIdNamespaceOutput struct { _ struct{} `type:"structure"` - // A description of the workflow. + // The timestamp of when the ID namespace was created. + // + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` + + // The description of the ID namespace. Description *string `locationName:"description" type:"string"` - // An object which defines the idMappingType and the providerProperties. - // - // IdMappingTechniques is a required field - IdMappingTechniques *IdMappingTechniques `locationName:"idMappingTechniques" type:"structure" required:"true"` + // Determines the properties of IdMappingWorkflow where this IdNamespace can + // be used as a Source or a Target. + IdMappingWorkflowProperties []*IdNamespaceIdMappingWorkflowProperties `locationName:"idMappingWorkflowProperties" min:"1" type:"list"` - // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + // The Amazon Resource Name (ARN) of the ID namespace. // - // InputSourceConfig is a required field - InputSourceConfig []*IdMappingWorkflowInputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` + // IdNamespaceArn is a required field + IdNamespaceArn *string `locationName:"idNamespaceArn" type:"string" required:"true"` - // A list of IdMappingWorkflowOutputSource objects, each of which contains fields - // OutputS3Path and Output. + // The name of the ID namespace. // - // OutputSourceConfig is a required field - OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + // IdNamespaceName is a required field + IdNamespaceName *string `locationName:"idNamespaceName" min:"1" type:"string" required:"true"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + InputSourceConfig []*IdNamespaceInputSource `locationName:"inputSourceConfig" type:"list"` // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes - // this role to create resources on your behalf as part of workflow execution. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // this role to access the resources defined in inputSourceConfig on your behalf + // as part of the workflow run. + RoleArn *string `locationName:"roleArn" min:"32" type:"string"` - // The ARN (Amazon Resource Name) that Entity Resolution generated for the IDMappingWorkflow. + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The type of ID namespace. There are two types: SOURCE and TARGET. // - // WorkflowArn is a required field - WorkflowArn *string `locationName:"workflowArn" type:"string" required:"true"` + // The SOURCE contains configurations for sourceId data that will be processed + // in an ID mapping workflow. + // + // The TARGET contains a configuration of targetId to which all sourceIds will + // resolve to. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"IdNamespaceType"` - // The name of the workflow. + // The timestamp of when the ID namespace was last updated. // - // WorkflowName is a required field - WorkflowName *string `locationName:"workflowName" min:"1" type:"string" required:"true"` + // UpdatedAt is a required field + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` } // String returns the string representation. @@ -3180,7 +4551,7 @@ type CreateIdMappingWorkflowOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateIdMappingWorkflowOutput) String() string { +func (s CreateIdNamespaceOutput) String() string { return awsutil.Prettify(s) } @@ -3189,49 +4560,67 @@ func (s CreateIdMappingWorkflowOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateIdMappingWorkflowOutput) GoString() string { +func (s CreateIdNamespaceOutput) GoString() string { return s.String() } +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateIdNamespaceOutput) SetCreatedAt(v time.Time) *CreateIdNamespaceOutput { + s.CreatedAt = &v + return s +} + // SetDescription sets the Description field's value. -func (s *CreateIdMappingWorkflowOutput) SetDescription(v string) *CreateIdMappingWorkflowOutput { +func (s *CreateIdNamespaceOutput) SetDescription(v string) *CreateIdNamespaceOutput { s.Description = &v return s } -// SetIdMappingTechniques sets the IdMappingTechniques field's value. -func (s *CreateIdMappingWorkflowOutput) SetIdMappingTechniques(v *IdMappingTechniques) *CreateIdMappingWorkflowOutput { - s.IdMappingTechniques = v +// SetIdMappingWorkflowProperties sets the IdMappingWorkflowProperties field's value. +func (s *CreateIdNamespaceOutput) SetIdMappingWorkflowProperties(v []*IdNamespaceIdMappingWorkflowProperties) *CreateIdNamespaceOutput { + s.IdMappingWorkflowProperties = v return s } -// SetInputSourceConfig sets the InputSourceConfig field's value. -func (s *CreateIdMappingWorkflowOutput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *CreateIdMappingWorkflowOutput { - s.InputSourceConfig = v +// SetIdNamespaceArn sets the IdNamespaceArn field's value. +func (s *CreateIdNamespaceOutput) SetIdNamespaceArn(v string) *CreateIdNamespaceOutput { + s.IdNamespaceArn = &v return s } -// SetOutputSourceConfig sets the OutputSourceConfig field's value. -func (s *CreateIdMappingWorkflowOutput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *CreateIdMappingWorkflowOutput { - s.OutputSourceConfig = v +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *CreateIdNamespaceOutput) SetIdNamespaceName(v string) *CreateIdNamespaceOutput { + s.IdNamespaceName = &v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *CreateIdNamespaceOutput) SetInputSourceConfig(v []*IdNamespaceInputSource) *CreateIdNamespaceOutput { + s.InputSourceConfig = v return s } // SetRoleArn sets the RoleArn field's value. -func (s *CreateIdMappingWorkflowOutput) SetRoleArn(v string) *CreateIdMappingWorkflowOutput { +func (s *CreateIdNamespaceOutput) SetRoleArn(v string) *CreateIdNamespaceOutput { s.RoleArn = &v return s } -// SetWorkflowArn sets the WorkflowArn field's value. -func (s *CreateIdMappingWorkflowOutput) SetWorkflowArn(v string) *CreateIdMappingWorkflowOutput { - s.WorkflowArn = &v +// SetTags sets the Tags field's value. +func (s *CreateIdNamespaceOutput) SetTags(v map[string]*string) *CreateIdNamespaceOutput { + s.Tags = v return s } -// SetWorkflowName sets the WorkflowName field's value. -func (s *CreateIdMappingWorkflowOutput) SetWorkflowName(v string) *CreateIdMappingWorkflowOutput { - s.WorkflowName = &v +// SetType sets the Type field's value. +func (s *CreateIdNamespaceOutput) SetType(v string) *CreateIdNamespaceOutput { + s.Type = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *CreateIdNamespaceOutput) SetUpdatedAt(v time.Time) *CreateIdNamespaceOutput { + s.UpdatedAt = &v return s } @@ -3664,22 +5053,186 @@ func (s *CreateSchemaMappingOutput) SetMappedInputFields(v []*SchemaInputAttribu return s } -// SetSchemaArn sets the SchemaArn field's value. -func (s *CreateSchemaMappingOutput) SetSchemaArn(v string) *CreateSchemaMappingOutput { - s.SchemaArn = &v - return s +// SetSchemaArn sets the SchemaArn field's value. +func (s *CreateSchemaMappingOutput) SetSchemaArn(v string) *CreateSchemaMappingOutput { + s.SchemaArn = &v + return s +} + +// SetSchemaName sets the SchemaName field's value. +func (s *CreateSchemaMappingOutput) SetSchemaName(v string) *CreateSchemaMappingOutput { + s.SchemaName = &v + return s +} + +type DeleteIdMappingWorkflowInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the workflow to be deleted. + // + // WorkflowName is a required field + WorkflowName *string `location:"uri" locationName:"workflowName" 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 DeleteIdMappingWorkflowInput) 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 DeleteIdMappingWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteIdMappingWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIdMappingWorkflowInput"} + if s.WorkflowName == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowName")) + } + if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *DeleteIdMappingWorkflowInput) SetWorkflowName(v string) *DeleteIdMappingWorkflowInput { + s.WorkflowName = &v + return s +} + +type DeleteIdMappingWorkflowOutput struct { + _ struct{} `type:"structure"` + + // A successful operation message. + // + // Message is a required field + Message *string `locationName:"message" 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 DeleteIdMappingWorkflowOutput) 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 DeleteIdMappingWorkflowOutput) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *DeleteIdMappingWorkflowOutput) SetMessage(v string) *DeleteIdMappingWorkflowOutput { + s.Message = &v + return s +} + +type DeleteIdNamespaceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the ID namespace. + // + // IdNamespaceName is a required field + IdNamespaceName *string `location:"uri" locationName:"idNamespaceName" 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 DeleteIdNamespaceInput) 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 DeleteIdNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteIdNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteIdNamespaceInput"} + if s.IdNamespaceName == nil { + invalidParams.Add(request.NewErrParamRequired("IdNamespaceName")) + } + if s.IdNamespaceName != nil && len(*s.IdNamespaceName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdNamespaceName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *DeleteIdNamespaceInput) SetIdNamespaceName(v string) *DeleteIdNamespaceInput { + s.IdNamespaceName = &v + return s +} + +type DeleteIdNamespaceOutput struct { + _ struct{} `type:"structure"` + + // A successful operation message. + // + // Message is a required field + Message *string `locationName:"message" 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 DeleteIdNamespaceOutput) 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 DeleteIdNamespaceOutput) GoString() string { + return s.String() } -// SetSchemaName sets the SchemaName field's value. -func (s *CreateSchemaMappingOutput) SetSchemaName(v string) *CreateSchemaMappingOutput { - s.SchemaName = &v +// SetMessage sets the Message field's value. +func (s *DeleteIdNamespaceOutput) SetMessage(v string) *DeleteIdNamespaceOutput { + s.Message = &v return s } -type DeleteIdMappingWorkflowInput struct { +type DeleteMatchingWorkflowInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the workflow to be deleted. + // The name of the workflow to be retrieved. // // WorkflowName is a required field WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` @@ -3690,7 +5243,7 @@ type DeleteIdMappingWorkflowInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteIdMappingWorkflowInput) String() string { +func (s DeleteMatchingWorkflowInput) String() string { return awsutil.Prettify(s) } @@ -3699,13 +5252,13 @@ func (s DeleteIdMappingWorkflowInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteIdMappingWorkflowInput) GoString() string { +func (s DeleteMatchingWorkflowInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteIdMappingWorkflowInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteIdMappingWorkflowInput"} +func (s *DeleteMatchingWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMatchingWorkflowInput"} if s.WorkflowName == nil { invalidParams.Add(request.NewErrParamRequired("WorkflowName")) } @@ -3720,12 +5273,12 @@ func (s *DeleteIdMappingWorkflowInput) Validate() error { } // SetWorkflowName sets the WorkflowName field's value. -func (s *DeleteIdMappingWorkflowInput) SetWorkflowName(v string) *DeleteIdMappingWorkflowInput { +func (s *DeleteMatchingWorkflowInput) SetWorkflowName(v string) *DeleteMatchingWorkflowInput { s.WorkflowName = &v return s } -type DeleteIdMappingWorkflowOutput struct { +type DeleteMatchingWorkflowOutput struct { _ struct{} `type:"structure"` // A successful operation message. @@ -3739,7 +5292,7 @@ type DeleteIdMappingWorkflowOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteIdMappingWorkflowOutput) String() string { +func (s DeleteMatchingWorkflowOutput) String() string { return awsutil.Prettify(s) } @@ -3748,23 +5301,29 @@ func (s DeleteIdMappingWorkflowOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteIdMappingWorkflowOutput) GoString() string { +func (s DeleteMatchingWorkflowOutput) GoString() string { return s.String() } // SetMessage sets the Message field's value. -func (s *DeleteIdMappingWorkflowOutput) SetMessage(v string) *DeleteIdMappingWorkflowOutput { +func (s *DeleteMatchingWorkflowOutput) SetMessage(v string) *DeleteMatchingWorkflowOutput { s.Message = &v return s } -type DeleteMatchingWorkflowInput struct { +type DeletePolicyStatementInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the workflow to be retrieved. + // The ARN of the resource for which the policy need to be deleted. // - // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` + // Arn is a required field + Arn *string `location:"uri" locationName:"arn" type:"string" required:"true"` + + // A statement identifier that differentiates the statement from others in the + // same policy. + // + // StatementId is a required field + StatementId *string `location:"uri" locationName:"statementId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3772,7 +5331,7 @@ type DeleteMatchingWorkflowInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMatchingWorkflowInput) String() string { +func (s DeletePolicyStatementInput) String() string { return awsutil.Prettify(s) } @@ -3781,18 +5340,24 @@ func (s DeleteMatchingWorkflowInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMatchingWorkflowInput) GoString() string { +func (s DeletePolicyStatementInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteMatchingWorkflowInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteMatchingWorkflowInput"} - if s.WorkflowName == nil { - invalidParams.Add(request.NewErrParamRequired("WorkflowName")) +func (s *DeletePolicyStatementInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeletePolicyStatementInput"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) } - if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + if s.Arn != nil && len(*s.Arn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Arn", 1)) + } + if s.StatementId == nil { + invalidParams.Add(request.NewErrParamRequired("StatementId")) + } + if s.StatementId != nil && len(*s.StatementId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StatementId", 1)) } if invalidParams.Len() > 0 { @@ -3801,19 +5366,33 @@ func (s *DeleteMatchingWorkflowInput) Validate() error { return nil } -// SetWorkflowName sets the WorkflowName field's value. -func (s *DeleteMatchingWorkflowInput) SetWorkflowName(v string) *DeleteMatchingWorkflowInput { - s.WorkflowName = &v +// SetArn sets the Arn field's value. +func (s *DeletePolicyStatementInput) SetArn(v string) *DeletePolicyStatementInput { + s.Arn = &v return s } -type DeleteMatchingWorkflowOutput struct { +// SetStatementId sets the StatementId field's value. +func (s *DeletePolicyStatementInput) SetStatementId(v string) *DeletePolicyStatementInput { + s.StatementId = &v + return s +} + +type DeletePolicyStatementOutput struct { _ struct{} `type:"structure"` - // A successful operation message. + // The ARN of the resource for which the policy need to be deleted. // - // Message is a required field - Message *string `locationName:"message" type:"string" required:"true"` + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The resource-based policy. + Policy *string `locationName:"policy" min:"1" type:"string"` + + // A unique identifier for the deleted policy. + // + // Token is a required field + Token *string `locationName:"token" min:"36" type:"string" required:"true"` } // String returns the string representation. @@ -3821,7 +5400,7 @@ type DeleteMatchingWorkflowOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMatchingWorkflowOutput) String() string { +func (s DeletePolicyStatementOutput) String() string { return awsutil.Prettify(s) } @@ -3830,13 +5409,25 @@ func (s DeleteMatchingWorkflowOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteMatchingWorkflowOutput) GoString() string { +func (s DeletePolicyStatementOutput) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *DeleteMatchingWorkflowOutput) SetMessage(v string) *DeleteMatchingWorkflowOutput { - s.Message = &v +// SetArn sets the Arn field's value. +func (s *DeletePolicyStatementOutput) SetArn(v string) *DeletePolicyStatementOutput { + s.Arn = &v + return s +} + +// SetPolicy sets the Policy field's value. +func (s *DeletePolicyStatementOutput) SetPolicy(v string) *DeletePolicyStatementOutput { + s.Policy = &v + return s +} + +// SetToken sets the Token field's value. +func (s *DeletePolicyStatementOutput) SetToken(v string) *DeletePolicyStatementOutput { + s.Token = &v return s } @@ -4037,7 +5628,7 @@ type GetIdMappingJobInput struct { // The name of the workflow. // // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` + WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` } // String returns the string representation. @@ -4110,6 +5701,9 @@ type GetIdMappingJobOutput struct { // unique IDs generated, and records the execution skipped. Metrics *IdMappingJobMetrics `locationName:"metrics" type:"structure"` + // A list of OutputSource objects. + OutputSourceConfig []*IdMappingJobOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` + // The time at which the job was started. // // StartTime is a required field @@ -4163,25 +5757,208 @@ func (s *GetIdMappingJobOutput) SetMetrics(v *IdMappingJobMetrics) *GetIdMapping return s } -// SetStartTime sets the StartTime field's value. -func (s *GetIdMappingJobOutput) SetStartTime(v time.Time) *GetIdMappingJobOutput { - s.StartTime = &v +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *GetIdMappingJobOutput) SetOutputSourceConfig(v []*IdMappingJobOutputSource) *GetIdMappingJobOutput { + s.OutputSourceConfig = v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetIdMappingJobOutput) SetStartTime(v time.Time) *GetIdMappingJobOutput { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetIdMappingJobOutput) SetStatus(v string) *GetIdMappingJobOutput { + s.Status = &v + return s +} + +type GetIdMappingWorkflowInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the workflow. + // + // WorkflowName is a required field + WorkflowName *string `location:"uri" locationName:"workflowName" 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 GetIdMappingWorkflowInput) 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 GetIdMappingWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetIdMappingWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIdMappingWorkflowInput"} + if s.WorkflowName == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowName")) + } + if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *GetIdMappingWorkflowInput) SetWorkflowName(v string) *GetIdMappingWorkflowInput { + s.WorkflowName = &v + return s +} + +type GetIdMappingWorkflowOutput struct { + _ struct{} `type:"structure"` + + // The timestamp of when the workflow was created. + // + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` + + // A description of the workflow. + Description *string `locationName:"description" type:"string"` + + // An object which defines the idMappingType and the providerProperties. + // + // IdMappingTechniques is a required field + IdMappingTechniques *IdMappingTechniques `locationName:"idMappingTechniques" type:"structure" required:"true"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + // + // InputSourceConfig is a required field + InputSourceConfig []*IdMappingWorkflowInputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` + + // A list of OutputSource objects, each of which contains fields OutputS3Path + // and KMSArn. + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes + // this role to access Amazon Web Services resources on your behalf. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The timestamp of when the workflow was last updated. + // + // UpdatedAt is a required field + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` + + // The ARN (Amazon Resource Name) that Entity Resolution generated for the IdMappingWorkflow . + // + // WorkflowArn is a required field + WorkflowArn *string `locationName:"workflowArn" type:"string" required:"true"` + + // The name of the workflow. + // + // WorkflowName is a required field + WorkflowName *string `locationName:"workflowName" 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 GetIdMappingWorkflowOutput) 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 GetIdMappingWorkflowOutput) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetIdMappingWorkflowOutput) SetCreatedAt(v time.Time) *GetIdMappingWorkflowOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetIdMappingWorkflowOutput) SetDescription(v string) *GetIdMappingWorkflowOutput { + s.Description = &v + return s +} + +// SetIdMappingTechniques sets the IdMappingTechniques field's value. +func (s *GetIdMappingWorkflowOutput) SetIdMappingTechniques(v *IdMappingTechniques) *GetIdMappingWorkflowOutput { + s.IdMappingTechniques = v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *GetIdMappingWorkflowOutput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *GetIdMappingWorkflowOutput { + s.InputSourceConfig = v + return s +} + +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *GetIdMappingWorkflowOutput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *GetIdMappingWorkflowOutput { + s.OutputSourceConfig = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *GetIdMappingWorkflowOutput) SetRoleArn(v string) *GetIdMappingWorkflowOutput { + s.RoleArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetIdMappingWorkflowOutput) SetTags(v map[string]*string) *GetIdMappingWorkflowOutput { + s.Tags = v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetIdMappingWorkflowOutput) SetUpdatedAt(v time.Time) *GetIdMappingWorkflowOutput { + s.UpdatedAt = &v + return s +} + +// SetWorkflowArn sets the WorkflowArn field's value. +func (s *GetIdMappingWorkflowOutput) SetWorkflowArn(v string) *GetIdMappingWorkflowOutput { + s.WorkflowArn = &v return s } -// SetStatus sets the Status field's value. -func (s *GetIdMappingJobOutput) SetStatus(v string) *GetIdMappingJobOutput { - s.Status = &v +// SetWorkflowName sets the WorkflowName field's value. +func (s *GetIdMappingWorkflowOutput) SetWorkflowName(v string) *GetIdMappingWorkflowOutput { + s.WorkflowName = &v return s } -type GetIdMappingWorkflowInput struct { +type GetIdNamespaceInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the workflow. + // The name of the ID namespace. // - // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` + // IdNamespaceName is a required field + IdNamespaceName *string `location:"uri" locationName:"idNamespaceName" type:"string" required:"true"` } // String returns the string representation. @@ -4189,7 +5966,7 @@ type GetIdMappingWorkflowInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetIdMappingWorkflowInput) String() string { +func (s GetIdNamespaceInput) String() string { return awsutil.Prettify(s) } @@ -4198,18 +5975,18 @@ func (s GetIdMappingWorkflowInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetIdMappingWorkflowInput) GoString() string { +func (s GetIdNamespaceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetIdMappingWorkflowInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetIdMappingWorkflowInput"} - if s.WorkflowName == nil { - invalidParams.Add(request.NewErrParamRequired("WorkflowName")) +func (s *GetIdNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIdNamespaceInput"} + if s.IdNamespaceName == nil { + invalidParams.Add(request.NewErrParamRequired("IdNamespaceName")) } - if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + if s.IdNamespaceName != nil && len(*s.IdNamespaceName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdNamespaceName", 1)) } if invalidParams.Len() > 0 { @@ -4218,62 +5995,63 @@ func (s *GetIdMappingWorkflowInput) Validate() error { return nil } -// SetWorkflowName sets the WorkflowName field's value. -func (s *GetIdMappingWorkflowInput) SetWorkflowName(v string) *GetIdMappingWorkflowInput { - s.WorkflowName = &v +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *GetIdNamespaceInput) SetIdNamespaceName(v string) *GetIdNamespaceInput { + s.IdNamespaceName = &v return s } -type GetIdMappingWorkflowOutput struct { +type GetIdNamespaceOutput struct { _ struct{} `type:"structure"` - // The timestamp of when the workflow was created. + // The timestamp of when the ID namespace was created. // // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` - // A description of the workflow. + // The description of the ID namespace. Description *string `locationName:"description" type:"string"` - // An object which defines the idMappingType and the providerProperties. - // - // IdMappingTechniques is a required field - IdMappingTechniques *IdMappingTechniques `locationName:"idMappingTechniques" type:"structure" required:"true"` + // Determines the properties of IdMappingWorkflow where this IdNamespace can + // be used as a Source or a Target. + IdMappingWorkflowProperties []*IdNamespaceIdMappingWorkflowProperties `locationName:"idMappingWorkflowProperties" min:"1" type:"list"` - // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + // The Amazon Resource Name (ARN) of the ID namespace. // - // InputSourceConfig is a required field - InputSourceConfig []*IdMappingWorkflowInputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` + // IdNamespaceArn is a required field + IdNamespaceArn *string `locationName:"idNamespaceArn" type:"string" required:"true"` - // A list of OutputSource objects, each of which contains fields OutputS3Path - // and KMSArn. + // The name of the ID namespace. // - // OutputSourceConfig is a required field - OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + // IdNamespaceName is a required field + IdNamespaceName *string `locationName:"idNamespaceName" min:"1" type:"string" required:"true"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + InputSourceConfig []*IdNamespaceInputSource `locationName:"inputSourceConfig" type:"list"` // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes - // this role to access resources on your behalf. - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // this role to access the resources defined in this IdNamespace on your behalf + // as part of a workflow run. + RoleArn *string `locationName:"roleArn" min:"32" type:"string"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `locationName:"tags" type:"map"` - // The timestamp of when the workflow was last updated. + // The type of ID namespace. There are two types: SOURCE and TARGET. // - // UpdatedAt is a required field - UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` - - // The ARN (Amazon Resource Name) that Entity Resolution generated for the IdMappingWorkflow . + // The SOURCE contains configurations for sourceId data that will be processed + // in an ID mapping workflow. // - // WorkflowArn is a required field - WorkflowArn *string `locationName:"workflowArn" type:"string" required:"true"` + // The TARGET contains a configuration of targetId to which all sourceIds will + // resolve to. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"IdNamespaceType"` - // The name of the workflow. + // The timestamp of when the ID namespace was last updated. // - // WorkflowName is a required field - WorkflowName *string `locationName:"workflowName" min:"1" type:"string" required:"true"` + // UpdatedAt is a required field + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` } // String returns the string representation. @@ -4281,7 +6059,7 @@ type GetIdMappingWorkflowOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetIdMappingWorkflowOutput) String() string { +func (s GetIdNamespaceOutput) String() string { return awsutil.Prettify(s) } @@ -4290,73 +6068,79 @@ func (s GetIdMappingWorkflowOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetIdMappingWorkflowOutput) GoString() string { +func (s GetIdNamespaceOutput) GoString() string { return s.String() } // SetCreatedAt sets the CreatedAt field's value. -func (s *GetIdMappingWorkflowOutput) SetCreatedAt(v time.Time) *GetIdMappingWorkflowOutput { +func (s *GetIdNamespaceOutput) SetCreatedAt(v time.Time) *GetIdNamespaceOutput { s.CreatedAt = &v return s } // SetDescription sets the Description field's value. -func (s *GetIdMappingWorkflowOutput) SetDescription(v string) *GetIdMappingWorkflowOutput { +func (s *GetIdNamespaceOutput) SetDescription(v string) *GetIdNamespaceOutput { s.Description = &v return s } -// SetIdMappingTechniques sets the IdMappingTechniques field's value. -func (s *GetIdMappingWorkflowOutput) SetIdMappingTechniques(v *IdMappingTechniques) *GetIdMappingWorkflowOutput { - s.IdMappingTechniques = v +// SetIdMappingWorkflowProperties sets the IdMappingWorkflowProperties field's value. +func (s *GetIdNamespaceOutput) SetIdMappingWorkflowProperties(v []*IdNamespaceIdMappingWorkflowProperties) *GetIdNamespaceOutput { + s.IdMappingWorkflowProperties = v return s } -// SetInputSourceConfig sets the InputSourceConfig field's value. -func (s *GetIdMappingWorkflowOutput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *GetIdMappingWorkflowOutput { - s.InputSourceConfig = v +// SetIdNamespaceArn sets the IdNamespaceArn field's value. +func (s *GetIdNamespaceOutput) SetIdNamespaceArn(v string) *GetIdNamespaceOutput { + s.IdNamespaceArn = &v return s } -// SetOutputSourceConfig sets the OutputSourceConfig field's value. -func (s *GetIdMappingWorkflowOutput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *GetIdMappingWorkflowOutput { - s.OutputSourceConfig = v +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *GetIdNamespaceOutput) SetIdNamespaceName(v string) *GetIdNamespaceOutput { + s.IdNamespaceName = &v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *GetIdNamespaceOutput) SetInputSourceConfig(v []*IdNamespaceInputSource) *GetIdNamespaceOutput { + s.InputSourceConfig = v return s } // SetRoleArn sets the RoleArn field's value. -func (s *GetIdMappingWorkflowOutput) SetRoleArn(v string) *GetIdMappingWorkflowOutput { +func (s *GetIdNamespaceOutput) SetRoleArn(v string) *GetIdNamespaceOutput { s.RoleArn = &v return s } // SetTags sets the Tags field's value. -func (s *GetIdMappingWorkflowOutput) SetTags(v map[string]*string) *GetIdMappingWorkflowOutput { +func (s *GetIdNamespaceOutput) SetTags(v map[string]*string) *GetIdNamespaceOutput { s.Tags = v return s } -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *GetIdMappingWorkflowOutput) SetUpdatedAt(v time.Time) *GetIdMappingWorkflowOutput { - s.UpdatedAt = &v - return s -} - -// SetWorkflowArn sets the WorkflowArn field's value. -func (s *GetIdMappingWorkflowOutput) SetWorkflowArn(v string) *GetIdMappingWorkflowOutput { - s.WorkflowArn = &v +// SetType sets the Type field's value. +func (s *GetIdNamespaceOutput) SetType(v string) *GetIdNamespaceOutput { + s.Type = &v return s } -// SetWorkflowName sets the WorkflowName field's value. -func (s *GetIdMappingWorkflowOutput) SetWorkflowName(v string) *GetIdMappingWorkflowOutput { - s.WorkflowName = &v +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetIdNamespaceOutput) SetUpdatedAt(v time.Time) *GetIdNamespaceOutput { + s.UpdatedAt = &v return s } type GetMatchIdInput struct { _ struct{} `type:"structure"` + // Normalizes the attributes defined in the schema in the input data. For example, + // if an attribute has an AttributeType of PHONE_NUMBER, and the data in the + // input table is in a format of 1234567890, Entity Resolution will normalize + // this field in the output to (123)-456-7890. + ApplyNormalization *bool `locationName:"applyNormalization" type:"boolean"` + // The record to fetch the Match ID for. // // Record is a sensitive parameter and its value will be @@ -4409,6 +6193,12 @@ func (s *GetMatchIdInput) Validate() error { return nil } +// SetApplyNormalization sets the ApplyNormalization field's value. +func (s *GetMatchIdInput) SetApplyNormalization(v bool) *GetMatchIdInput { + s.ApplyNormalization = &v + return s +} + // SetRecord sets the Record field's value. func (s *GetMatchIdInput) SetRecord(v map[string]*string) *GetMatchIdInput { s.Record = v @@ -4426,6 +6216,9 @@ type GetMatchIdOutput struct { // The unique identifiers for this group of match records. MatchId *string `locationName:"matchId" type:"string"` + + // The rule the record matched on. + MatchRule *string `locationName:"matchRule" type:"string"` } // String returns the string representation. @@ -4452,6 +6245,12 @@ func (s *GetMatchIdOutput) SetMatchId(v string) *GetMatchIdOutput { return s } +// SetMatchRule sets the MatchRule field's value. +func (s *GetMatchIdOutput) SetMatchRule(v string) *GetMatchIdOutput { + s.MatchRule = &v + return s +} + type GetMatchingJobInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -4536,6 +6335,9 @@ type GetMatchingJobOutput struct { // unique IDs generated, and records the execution skipped. Metrics *JobMetrics `locationName:"metrics" type:"structure"` + // A list of OutputSource objects. + OutputSourceConfig []*JobOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` + // The time at which the job was started. // // StartTime is a required field @@ -4589,6 +6391,12 @@ func (s *GetMatchingJobOutput) SetMetrics(v *JobMetrics) *GetMatchingJobOutput { return s } +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *GetMatchingJobOutput) SetOutputSourceConfig(v []*JobOutputSource) *GetMatchingJobOutput { + s.OutputSourceConfig = v + return s +} + // SetStartTime sets the StartTime field's value. func (s *GetMatchingJobOutput) SetStartTime(v time.Time) *GetMatchingJobOutput { s.StartTime = &v @@ -4682,7 +6490,7 @@ type GetMatchingWorkflowOutput struct { ResolutionTechniques *ResolutionTechniques `locationName:"resolutionTechniques" type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes - // this role to access resources on your behalf. + // this role to access Amazon Web Services resources on your behalf. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` @@ -4790,6 +6598,109 @@ func (s *GetMatchingWorkflowOutput) SetWorkflowName(v string) *GetMatchingWorkfl return s } +type GetPolicyInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Resource Name (ARN) of the resource for which the policy need + // to be returned. + // + // Arn is a required field + Arn *string `location:"uri" locationName:"arn" 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 GetPolicyInput) 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 GetPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetPolicyInput"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + if s.Arn != nil && len(*s.Arn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Arn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArn sets the Arn field's value. +func (s *GetPolicyInput) SetArn(v string) *GetPolicyInput { + s.Arn = &v + return s +} + +type GetPolicyOutput struct { + _ struct{} `type:"structure"` + + // The Entity Resolution resource ARN. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The resource-based policy. + Policy *string `locationName:"policy" min:"1" type:"string"` + + // A unique identifier for the current revision of the policy. + // + // Token is a required field + Token *string `locationName:"token" min:"36" 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 GetPolicyOutput) 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 GetPolicyOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetPolicyOutput) SetArn(v string) *GetPolicyOutput { + s.Arn = &v + return s +} + +// SetPolicy sets the Policy field's value. +func (s *GetPolicyOutput) SetPolicy(v string) *GetPolicyOutput { + s.Policy = &v + return s +} + +// SetToken sets the Token field's value. +func (s *GetPolicyOutput) SetToken(v string) *GetPolicyOutput { + s.Token = &v + return s +} + type GetSchemaMappingInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -4979,21 +6890,100 @@ func (s IdMappingJobMetrics) GoString() string { return s.String() } -// SetInputRecords sets the InputRecords field's value. -func (s *IdMappingJobMetrics) SetInputRecords(v int64) *IdMappingJobMetrics { - s.InputRecords = &v +// SetInputRecords sets the InputRecords field's value. +func (s *IdMappingJobMetrics) SetInputRecords(v int64) *IdMappingJobMetrics { + s.InputRecords = &v + return s +} + +// SetRecordsNotProcessed sets the RecordsNotProcessed field's value. +func (s *IdMappingJobMetrics) SetRecordsNotProcessed(v int64) *IdMappingJobMetrics { + s.RecordsNotProcessed = &v + return s +} + +// SetTotalRecordsProcessed sets the TotalRecordsProcessed field's value. +func (s *IdMappingJobMetrics) SetTotalRecordsProcessed(v int64) *IdMappingJobMetrics { + s.TotalRecordsProcessed = &v + return s +} + +// An object containing KMSArn, OutputS3Path, and RoleARN. +type IdMappingJobOutputSource struct { + _ struct{} `type:"structure"` + + // Customer KMS ARN for encryption at rest. If not provided, system will use + // an Entity Resolution managed KMS key. + KMSArn *string `type:"string"` + + // The S3 path to which Entity Resolution will write the output table. + // + // OutputS3Path is a required field + OutputS3Path *string `locationName:"outputS3Path" min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes + // this role to access Amazon Web Services resources on your behalf as part + // of workflow execution. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"32" 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 IdMappingJobOutputSource) 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 IdMappingJobOutputSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IdMappingJobOutputSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IdMappingJobOutputSource"} + if s.OutputS3Path == nil { + invalidParams.Add(request.NewErrParamRequired("OutputS3Path")) + } + if s.OutputS3Path != nil && len(*s.OutputS3Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutputS3Path", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 32 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKMSArn sets the KMSArn field's value. +func (s *IdMappingJobOutputSource) SetKMSArn(v string) *IdMappingJobOutputSource { + s.KMSArn = &v return s } -// SetRecordsNotProcessed sets the RecordsNotProcessed field's value. -func (s *IdMappingJobMetrics) SetRecordsNotProcessed(v int64) *IdMappingJobMetrics { - s.RecordsNotProcessed = &v +// SetOutputS3Path sets the OutputS3Path field's value. +func (s *IdMappingJobOutputSource) SetOutputS3Path(v string) *IdMappingJobOutputSource { + s.OutputS3Path = &v return s } -// SetTotalRecordsProcessed sets the TotalRecordsProcessed field's value. -func (s *IdMappingJobMetrics) SetTotalRecordsProcessed(v int64) *IdMappingJobMetrics { - s.TotalRecordsProcessed = &v +// SetRoleArn sets the RoleArn field's value. +func (s *IdMappingJobOutputSource) SetRoleArn(v string) *IdMappingJobOutputSource { + s.RoleArn = &v return s } @@ -5008,9 +6998,7 @@ type IdMappingTechniques struct { // An object which defines any additional configurations required by the provider // service. - // - // ProviderProperties is a required field - ProviderProperties *ProviderProperties `locationName:"providerProperties" type:"structure" required:"true"` + ProviderProperties *ProviderProperties `locationName:"providerProperties" type:"structure"` } // String returns the string representation. @@ -5037,9 +7025,6 @@ func (s *IdMappingTechniques) Validate() error { if s.IdMappingType == nil { invalidParams.Add(request.NewErrParamRequired("IdMappingType")) } - if s.ProviderProperties == nil { - invalidParams.Add(request.NewErrParamRequired("ProviderProperties")) - } if s.ProviderProperties != nil { if err := s.ProviderProperties.Validate(); err != nil { invalidParams.AddNested("ProviderProperties", err.(request.ErrInvalidParams)) @@ -5064,19 +7049,26 @@ func (s *IdMappingTechniques) SetProviderProperties(v *ProviderProperties) *IdMa return s } -// An object containing InputSourceARN and SchemaName. +// An object containing InputSourceARN, SchemaName, and Type. type IdMappingWorkflowInputSource struct { _ struct{} `type:"structure"` - // An Gluetable ARN for the input source table. + // An Glue table ARN for the input source table. // // InputSourceARN is a required field InputSourceARN *string `locationName:"inputSourceARN" type:"string" required:"true"` // The name of the schema to be retrieved. + SchemaName *string `locationName:"schemaName" min:"1" type:"string"` + + // The type of ID namespace. There are two types: SOURCE and TARGET. // - // SchemaName is a required field - SchemaName *string `locationName:"schemaName" min:"1" type:"string" required:"true"` + // The SOURCE contains configurations for sourceId data that will be processed + // in an ID mapping workflow. + // + // The TARGET contains a configuration of targetId to which all sourceIds will + // resolve to. + Type *string `locationName:"type" type:"string" enum:"IdNamespaceType"` } // String returns the string representation. @@ -5103,9 +7095,6 @@ func (s *IdMappingWorkflowInputSource) Validate() error { if s.InputSourceARN == nil { invalidParams.Add(request.NewErrParamRequired("InputSourceARN")) } - if s.SchemaName == nil { - invalidParams.Add(request.NewErrParamRequired("SchemaName")) - } if s.SchemaName != nil && len(*s.SchemaName) < 1 { invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) } @@ -5128,6 +7117,12 @@ func (s *IdMappingWorkflowInputSource) SetSchemaName(v string) *IdMappingWorkflo return s } +// SetType sets the Type field's value. +func (s *IdMappingWorkflowInputSource) SetType(v string) *IdMappingWorkflowInputSource { + s.Type = &v + return s +} + // The output source for the ID mapping workflow. type IdMappingWorkflowOutputSource struct { _ struct{} `type:"structure"` @@ -5256,6 +7251,220 @@ func (s *IdMappingWorkflowSummary) SetWorkflowName(v string) *IdMappingWorkflowS return s } +// An object containing IdMappingType and ProviderProperties. +type IdNamespaceIdMappingWorkflowProperties struct { + _ struct{} `type:"structure"` + + // The type of ID mapping. + // + // IdMappingType is a required field + IdMappingType *string `locationName:"idMappingType" type:"string" required:"true" enum:"IdMappingType"` + + // An object which defines any additional configurations required by the provider + // service. + ProviderProperties *NamespaceProviderProperties `locationName:"providerProperties" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IdNamespaceIdMappingWorkflowProperties) 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 IdNamespaceIdMappingWorkflowProperties) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IdNamespaceIdMappingWorkflowProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IdNamespaceIdMappingWorkflowProperties"} + if s.IdMappingType == nil { + invalidParams.Add(request.NewErrParamRequired("IdMappingType")) + } + if s.ProviderProperties != nil { + if err := s.ProviderProperties.Validate(); err != nil { + invalidParams.AddNested("ProviderProperties", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdMappingType sets the IdMappingType field's value. +func (s *IdNamespaceIdMappingWorkflowProperties) SetIdMappingType(v string) *IdNamespaceIdMappingWorkflowProperties { + s.IdMappingType = &v + return s +} + +// SetProviderProperties sets the ProviderProperties field's value. +func (s *IdNamespaceIdMappingWorkflowProperties) SetProviderProperties(v *NamespaceProviderProperties) *IdNamespaceIdMappingWorkflowProperties { + s.ProviderProperties = v + return s +} + +// An object containing InputSourceARN and SchemaName. +type IdNamespaceInputSource struct { + _ struct{} `type:"structure"` + + // An Glue table ARN for the input source table. + // + // InputSourceARN is a required field + InputSourceARN *string `locationName:"inputSourceARN" type:"string" required:"true"` + + // The name of the schema. + SchemaName *string `locationName:"schemaName" 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 IdNamespaceInputSource) 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 IdNamespaceInputSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IdNamespaceInputSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IdNamespaceInputSource"} + if s.InputSourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("InputSourceARN")) + } + if s.SchemaName != nil && len(*s.SchemaName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputSourceARN sets the InputSourceARN field's value. +func (s *IdNamespaceInputSource) SetInputSourceARN(v string) *IdNamespaceInputSource { + s.InputSourceARN = &v + return s +} + +// SetSchemaName sets the SchemaName field's value. +func (s *IdNamespaceInputSource) SetSchemaName(v string) *IdNamespaceInputSource { + s.SchemaName = &v + return s +} + +// A summary of ID namespaces. +type IdNamespaceSummary struct { + _ struct{} `type:"structure"` + + // The timestamp of when the ID namespace was created. + // + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` + + // The description of the ID namespace. + Description *string `locationName:"description" type:"string"` + + // The Amazon Resource Name (ARN) of the ID namespace. + // + // IdNamespaceArn is a required field + IdNamespaceArn *string `locationName:"idNamespaceArn" type:"string" required:"true"` + + // The name of the ID namespace. + // + // IdNamespaceName is a required field + IdNamespaceName *string `locationName:"idNamespaceName" min:"1" type:"string" required:"true"` + + // The type of ID namespace. There are two types: SOURCE and TARGET. + // + // The SOURCE contains configurations for sourceId data that will be processed + // in an ID mapping workflow. + // + // The TARGET contains a configuration of targetId to which all sourceIds will + // resolve to. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"IdNamespaceType"` + + // The timestamp of when the ID namespace was last updated. + // + // UpdatedAt is a required field + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" 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 IdNamespaceSummary) 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 IdNamespaceSummary) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *IdNamespaceSummary) SetCreatedAt(v time.Time) *IdNamespaceSummary { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *IdNamespaceSummary) SetDescription(v string) *IdNamespaceSummary { + s.Description = &v + return s +} + +// SetIdNamespaceArn sets the IdNamespaceArn field's value. +func (s *IdNamespaceSummary) SetIdNamespaceArn(v string) *IdNamespaceSummary { + s.IdNamespaceArn = &v + return s +} + +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *IdNamespaceSummary) SetIdNamespaceName(v string) *IdNamespaceSummary { + s.IdNamespaceName = &v + return s +} + +// SetType sets the Type field's value. +func (s *IdNamespaceSummary) SetType(v string) *IdNamespaceSummary { + s.Type = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *IdNamespaceSummary) SetUpdatedAt(v time.Time) *IdNamespaceSummary { + s.UpdatedAt = &v + return s +} + // An object which defines an incremental run type and has only incrementalRunType // as a field. type IncrementalRunConfig struct { @@ -5503,7 +7712,70 @@ type JobMetrics struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobMetrics) String() string { +func (s JobMetrics) 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 JobMetrics) GoString() string { + return s.String() +} + +// SetInputRecords sets the InputRecords field's value. +func (s *JobMetrics) SetInputRecords(v int64) *JobMetrics { + s.InputRecords = &v + return s +} + +// SetMatchIDs sets the MatchIDs field's value. +func (s *JobMetrics) SetMatchIDs(v int64) *JobMetrics { + s.MatchIDs = &v + return s +} + +// SetRecordsNotProcessed sets the RecordsNotProcessed field's value. +func (s *JobMetrics) SetRecordsNotProcessed(v int64) *JobMetrics { + s.RecordsNotProcessed = &v + return s +} + +// SetTotalRecordsProcessed sets the TotalRecordsProcessed field's value. +func (s *JobMetrics) SetTotalRecordsProcessed(v int64) *JobMetrics { + s.TotalRecordsProcessed = &v + return s +} + +// An object containing KMSArn, OutputS3Path, and RoleArn. +type JobOutputSource struct { + _ struct{} `type:"structure"` + + // Customer KMS ARN for encryption at rest. If not provided, system will use + // an Entity Resolution managed KMS key. + KMSArn *string `type:"string"` + + // The S3 path to which Entity Resolution will write the output table. + // + // OutputS3Path is a required field + OutputS3Path *string `locationName:"outputS3Path" min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes + // this role to access Amazon Web Services resources on your behalf as part + // of workflow execution. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"32" 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 JobOutputSource) String() string { return awsutil.Prettify(s) } @@ -5512,31 +7784,25 @@ func (s JobMetrics) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobMetrics) GoString() string { +func (s JobOutputSource) GoString() string { return s.String() } -// SetInputRecords sets the InputRecords field's value. -func (s *JobMetrics) SetInputRecords(v int64) *JobMetrics { - s.InputRecords = &v - return s -} - -// SetMatchIDs sets the MatchIDs field's value. -func (s *JobMetrics) SetMatchIDs(v int64) *JobMetrics { - s.MatchIDs = &v +// SetKMSArn sets the KMSArn field's value. +func (s *JobOutputSource) SetKMSArn(v string) *JobOutputSource { + s.KMSArn = &v return s } -// SetRecordsNotProcessed sets the RecordsNotProcessed field's value. -func (s *JobMetrics) SetRecordsNotProcessed(v int64) *JobMetrics { - s.RecordsNotProcessed = &v +// SetOutputS3Path sets the OutputS3Path field's value. +func (s *JobOutputSource) SetOutputS3Path(v string) *JobOutputSource { + s.OutputS3Path = &v return s } -// SetTotalRecordsProcessed sets the TotalRecordsProcessed field's value. -func (s *JobMetrics) SetTotalRecordsProcessed(v int64) *JobMetrics { - s.TotalRecordsProcessed = &v +// SetRoleArn sets the RoleArn field's value. +func (s *JobOutputSource) SetRoleArn(v string) *JobOutputSource { + s.RoleArn = &v return s } @@ -5617,7 +7883,7 @@ type ListIdMappingJobsInput struct { // The name of the workflow to be retrieved. // // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` + WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` } // String returns the string representation. @@ -5811,6 +8077,99 @@ func (s *ListIdMappingWorkflowsOutput) SetWorkflowSummaries(v []*IdMappingWorkfl return s } +type ListIdNamespacesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of IdNamespace objects returned per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // The pagination token from the previous API call. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListIdNamespacesInput) 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 ListIdNamespacesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListIdNamespacesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIdNamespacesInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListIdNamespacesInput) SetMaxResults(v int64) *ListIdNamespacesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIdNamespacesInput) SetNextToken(v string) *ListIdNamespacesInput { + s.NextToken = &v + return s +} + +type ListIdNamespacesOutput struct { + _ struct{} `type:"structure"` + + // A list of IdNamespaceSummaries objects. + IdNamespaceSummaries []*IdNamespaceSummary `locationName:"idNamespaceSummaries" type:"list"` + + // The pagination token from the previous API call. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListIdNamespacesOutput) 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 ListIdNamespacesOutput) GoString() string { + return s.String() +} + +// SetIdNamespaceSummaries sets the IdNamespaceSummaries field's value. +func (s *ListIdNamespacesOutput) SetIdNamespaceSummaries(v []*IdNamespaceSummary) *ListIdNamespacesOutput { + s.IdNamespaceSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListIdNamespacesOutput) SetNextToken(v string) *ListIdNamespacesOutput { + s.NextToken = &v + return s +} + type ListMatchingJobsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -6383,6 +8742,56 @@ func (s *MatchingWorkflowSummary) SetWorkflowName(v string) *MatchingWorkflowSum return s } +// An object containing ProviderConfiguration and ProviderServiceArn. +type NamespaceProviderProperties struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the provider service. + // + // ProviderServiceArn is a required field + ProviderServiceArn *string `locationName:"providerServiceArn" min:"20" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NamespaceProviderProperties) 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 NamespaceProviderProperties) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NamespaceProviderProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NamespaceProviderProperties"} + if s.ProviderServiceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderServiceArn")) + } + if s.ProviderServiceArn != nil && len(*s.ProviderServiceArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ProviderServiceArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetProviderServiceArn sets the ProviderServiceArn field's value. +func (s *NamespaceProviderProperties) SetProviderServiceArn(v string) *NamespaceProviderProperties { + s.ProviderServiceArn = &v + return s +} + // A list of OutputAttribute objects, each of which have the fields Name and // Hashed. Each of these objects selects a column to be included in the output // table, and whether the values of the column should be hashed. @@ -6618,25 +9027,169 @@ type ProviderServiceSummary struct { // ProviderName is a required field ProviderName *string `locationName:"providerName" min:"1" type:"string" required:"true"` - // The ARN (Amazon Resource Name) that Entity Resolution generated for the providerService. - // - // ProviderServiceArn is a required field - ProviderServiceArn *string `locationName:"providerServiceArn" min:"20" type:"string" required:"true"` + // The ARN (Amazon Resource Name) that Entity Resolution generated for the providerService. + // + // ProviderServiceArn is a required field + ProviderServiceArn *string `locationName:"providerServiceArn" min:"20" type:"string" required:"true"` + + // The display name of the provider service. + // + // ProviderServiceDisplayName is a required field + ProviderServiceDisplayName *string `locationName:"providerServiceDisplayName" type:"string" required:"true"` + + // The name of the product that the provider service provides. + // + // ProviderServiceName is a required field + ProviderServiceName *string `locationName:"providerServiceName" min:"1" type:"string" required:"true"` + + // The type of provider service. + // + // ProviderServiceType is a required field + ProviderServiceType *string `locationName:"providerServiceType" type:"string" required:"true" enum:"ServiceType"` +} + +// 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 ProviderServiceSummary) 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 ProviderServiceSummary) GoString() string { + return s.String() +} + +// SetProviderName sets the ProviderName field's value. +func (s *ProviderServiceSummary) SetProviderName(v string) *ProviderServiceSummary { + s.ProviderName = &v + return s +} + +// SetProviderServiceArn sets the ProviderServiceArn field's value. +func (s *ProviderServiceSummary) SetProviderServiceArn(v string) *ProviderServiceSummary { + s.ProviderServiceArn = &v + return s +} + +// SetProviderServiceDisplayName sets the ProviderServiceDisplayName field's value. +func (s *ProviderServiceSummary) SetProviderServiceDisplayName(v string) *ProviderServiceSummary { + s.ProviderServiceDisplayName = &v + return s +} + +// SetProviderServiceName sets the ProviderServiceName field's value. +func (s *ProviderServiceSummary) SetProviderServiceName(v string) *ProviderServiceSummary { + s.ProviderServiceName = &v + return s +} + +// SetProviderServiceType sets the ProviderServiceType field's value. +func (s *ProviderServiceSummary) SetProviderServiceType(v string) *ProviderServiceSummary { + s.ProviderServiceType = &v + return s +} + +type PutPolicyInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource for which the policy needs + // to be updated. + // + // Arn is a required field + Arn *string `location:"uri" locationName:"arn" type:"string" required:"true"` + + // The resource-based policy. + // + // Policy is a required field + Policy *string `locationName:"policy" min:"1" type:"string" required:"true"` + + // A unique identifier for the current revision of the policy. + Token *string `locationName:"token" min:"36" 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 PutPolicyInput) 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 PutPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutPolicyInput"} + if s.Arn == nil { + invalidParams.Add(request.NewErrParamRequired("Arn")) + } + if s.Arn != nil && len(*s.Arn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Arn", 1)) + } + if s.Policy == nil { + invalidParams.Add(request.NewErrParamRequired("Policy")) + } + if s.Policy != nil && len(*s.Policy) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Policy", 1)) + } + if s.Token != nil && len(*s.Token) < 36 { + invalidParams.Add(request.NewErrParamMinLen("Token", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetArn sets the Arn field's value. +func (s *PutPolicyInput) SetArn(v string) *PutPolicyInput { + s.Arn = &v + return s +} + +// SetPolicy sets the Policy field's value. +func (s *PutPolicyInput) SetPolicy(v string) *PutPolicyInput { + s.Policy = &v + return s +} + +// SetToken sets the Token field's value. +func (s *PutPolicyInput) SetToken(v string) *PutPolicyInput { + s.Token = &v + return s +} - // The display name of the provider service. - // - // ProviderServiceDisplayName is a required field - ProviderServiceDisplayName *string `locationName:"providerServiceDisplayName" type:"string" required:"true"` +type PutPolicyOutput struct { + _ struct{} `type:"structure"` - // The name of the product that the provider service provides. + // The Entity Resolution resource ARN. // - // ProviderServiceName is a required field - ProviderServiceName *string `locationName:"providerServiceName" min:"1" type:"string" required:"true"` + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` - // The type of provider service. + // The resource-based policy. + Policy *string `locationName:"policy" min:"1" type:"string"` + + // A unique identifier for the current revision of the policy. // - // ProviderServiceType is a required field - ProviderServiceType *string `locationName:"providerServiceType" type:"string" required:"true" enum:"ServiceType"` + // Token is a required field + Token *string `locationName:"token" min:"36" type:"string" required:"true"` } // String returns the string representation. @@ -6644,7 +9197,7 @@ type ProviderServiceSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ProviderServiceSummary) String() string { +func (s PutPolicyOutput) String() string { return awsutil.Prettify(s) } @@ -6653,37 +9206,25 @@ func (s ProviderServiceSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ProviderServiceSummary) GoString() string { +func (s PutPolicyOutput) GoString() string { return s.String() } -// SetProviderName sets the ProviderName field's value. -func (s *ProviderServiceSummary) SetProviderName(v string) *ProviderServiceSummary { - s.ProviderName = &v - return s -} - -// SetProviderServiceArn sets the ProviderServiceArn field's value. -func (s *ProviderServiceSummary) SetProviderServiceArn(v string) *ProviderServiceSummary { - s.ProviderServiceArn = &v - return s -} - -// SetProviderServiceDisplayName sets the ProviderServiceDisplayName field's value. -func (s *ProviderServiceSummary) SetProviderServiceDisplayName(v string) *ProviderServiceSummary { - s.ProviderServiceDisplayName = &v +// SetArn sets the Arn field's value. +func (s *PutPolicyOutput) SetArn(v string) *PutPolicyOutput { + s.Arn = &v return s } -// SetProviderServiceName sets the ProviderServiceName field's value. -func (s *ProviderServiceSummary) SetProviderServiceName(v string) *ProviderServiceSummary { - s.ProviderServiceName = &v +// SetPolicy sets the Policy field's value. +func (s *PutPolicyOutput) SetPolicy(v string) *PutPolicyOutput { + s.Policy = &v return s } -// SetProviderServiceType sets the ProviderServiceType field's value. -func (s *ProviderServiceSummary) SetProviderServiceType(v string) *ProviderServiceSummary { - s.ProviderServiceType = &v +// SetToken sets the Token field's value. +func (s *PutPolicyOutput) SetToken(v string) *PutPolicyOutput { + s.Token = &v return s } @@ -6694,8 +9235,8 @@ type ResolutionTechniques struct { // The properties of the provider service. ProviderProperties *ProviderProperties `locationName:"providerProperties" type:"structure"` - // The type of matching. There are two types of matching: RULE_MATCHING and - // ML_MATCHING. + // The type of matching. There are three types of matching: RULE_MATCHING, ML_MATCHING, + // and PROVIDER. // // ResolutionType is a required field ResolutionType *string `locationName:"resolutionType" type:"string" required:"true" enum:"ResolutionType"` @@ -6977,7 +9518,7 @@ func (s *RuleBasedProperties) SetRules(v []*Rule) *RuleBasedProperties { return s } -// An object containing FieldName, Type, GroupName, and MatchKey. +// An object containing FieldName, Type, GroupName, MatchKey, and SubType. type SchemaInputAttribute struct { _ struct{} `type:"structure"` @@ -6986,19 +9527,21 @@ type SchemaInputAttribute struct { // FieldName is a required field FieldName *string `locationName:"fieldName" type:"string" required:"true"` - // Instruct Entity Resolution to combine several columns into a unified column - // with the identical attribute type. For example, when working with columns - // such as first_name, middle_name, and last_name, assigning them a common GroupName - // will prompt Entity Resolution to concatenate them into a single value. + // A string that instructs Entity Resolution to combine several columns into + // a unified column with the identical attribute type. + // + // For example, when working with columns such as first_name, middle_name, and + // last_name, assigning them a common groupName will prompt Entity Resolution + // to concatenate them into a single value. GroupName *string `locationName:"groupName" type:"string"` // A key that allows grouping of multiple input attributes into a unified matching - // group. For example, let's consider a scenario where the source table contains - // various addresses, such as business_address and shipping_address. By assigning - // the MatchKey Address to both attributes, Entity Resolution will match records - // across these fields to create a consolidated matching group. If no MatchKey - // is specified for a column, it won't be utilized for matching purposes but - // will still be included in the output table. + // group. For example, consider a scenario where the source table contains various + // addresses, such as business_address and shipping_address. By assigning a + // matchKey called address to both attributes, Entity Resolution will match + // records across these fields to create a consolidated matching group. If no + // matchKey is specified for a column, it won't be utilized for matching purposes + // but will still be included in the output table. MatchKey *string `locationName:"matchKey" type:"string"` // The subtype of the attribute, selected from a list of values. @@ -7153,12 +9696,15 @@ func (s *SchemaMappingSummary) SetUpdatedAt(v time.Time) *SchemaMappingSummary { } type StartIdMappingJobInput struct { - _ struct{} `type:"structure" nopayload:"true"` + _ struct{} `type:"structure"` + + // A list of OutputSource objects. + OutputSourceConfig []*IdMappingJobOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` // The name of the ID mapping job to be retrieved. // // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` + WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` } // String returns the string representation. @@ -7182,12 +9728,25 @@ func (s StartIdMappingJobInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *StartIdMappingJobInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StartIdMappingJobInput"} + if s.OutputSourceConfig != nil && len(s.OutputSourceConfig) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutputSourceConfig", 1)) + } if s.WorkflowName == nil { invalidParams.Add(request.NewErrParamRequired("WorkflowName")) } if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) } + if s.OutputSourceConfig != nil { + for i, v := range s.OutputSourceConfig { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputSourceConfig", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -7195,6 +9754,12 @@ func (s *StartIdMappingJobInput) Validate() error { return nil } +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *StartIdMappingJobInput) SetOutputSourceConfig(v []*IdMappingJobOutputSource) *StartIdMappingJobInput { + s.OutputSourceConfig = v + return s +} + // SetWorkflowName sets the WorkflowName field's value. func (s *StartIdMappingJobInput) SetWorkflowName(v string) *StartIdMappingJobInput { s.WorkflowName = &v @@ -7208,6 +9773,9 @@ type StartIdMappingJobOutput struct { // // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` + + // A list of OutputSource objects. + OutputSourceConfig []*IdMappingJobOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` } // String returns the string representation. @@ -7234,6 +9802,12 @@ func (s *StartIdMappingJobOutput) SetJobId(v string) *StartIdMappingJobOutput { return s } +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *StartIdMappingJobOutput) SetOutputSourceConfig(v []*IdMappingJobOutputSource) *StartIdMappingJobOutput { + s.OutputSourceConfig = v + return s +} + type StartMatchingJobInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -7568,15 +10142,13 @@ type UpdateIdMappingWorkflowInput struct { // A list of OutputSource objects, each of which contains fields OutputS3Path // and KMSArn. - // - // OutputSourceConfig is a required field - OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes - // this role to access resources on your behalf. + // this role to access Amazon Web Services resources on your behalf. // // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` // The name of the workflow. // @@ -7614,15 +10186,15 @@ func (s *UpdateIdMappingWorkflowInput) Validate() error { if s.InputSourceConfig != nil && len(s.InputSourceConfig) < 1 { invalidParams.Add(request.NewErrParamMinLen("InputSourceConfig", 1)) } - if s.OutputSourceConfig == nil { - invalidParams.Add(request.NewErrParamRequired("OutputSourceConfig")) - } if s.OutputSourceConfig != nil && len(s.OutputSourceConfig) < 1 { invalidParams.Add(request.NewErrParamMinLen("OutputSourceConfig", 1)) } if s.RoleArn == nil { invalidParams.Add(request.NewErrParamRequired("RoleArn")) } + if s.RoleArn != nil && len(*s.RoleArn) < 32 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) + } if s.WorkflowName == nil { invalidParams.Add(request.NewErrParamRequired("WorkflowName")) } @@ -7715,18 +10287,16 @@ type UpdateIdMappingWorkflowOutput struct { // A list of OutputSource objects, each of which contains fields OutputS3Path // and KMSArn. - // - // OutputSourceConfig is a required field - OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list"` // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes - // this role to access resources on your behalf. + // this role to access Amazon Web Services resources on your behalf. // // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the workflow role. Entity Resolution assumes - // this role to access resources on your behalf. + // this role to access Amazon Web Services resources on your behalf. // // WorkflowArn is a required field WorkflowArn *string `locationName:"workflowArn" type:"string" required:"true"` @@ -7797,6 +10367,242 @@ func (s *UpdateIdMappingWorkflowOutput) SetWorkflowName(v string) *UpdateIdMappi return s } +type UpdateIdNamespaceInput struct { + _ struct{} `type:"structure"` + + // The description of the ID namespace. + Description *string `locationName:"description" type:"string"` + + // Determines the properties of IdMappingWorkflow where this IdNamespace can + // be used as a Source or a Target. + IdMappingWorkflowProperties []*IdNamespaceIdMappingWorkflowProperties `locationName:"idMappingWorkflowProperties" min:"1" type:"list"` + + // The name of the ID namespace. + // + // IdNamespaceName is a required field + IdNamespaceName *string `location:"uri" locationName:"idNamespaceName" min:"1" type:"string" required:"true"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + InputSourceConfig []*IdNamespaceInputSource `locationName:"inputSourceConfig" type:"list"` + + // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes + // this role to access the resources defined in this IdNamespace on your behalf + // as part of a workflow run. + RoleArn *string `locationName:"roleArn" min:"32" 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 UpdateIdNamespaceInput) 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 UpdateIdNamespaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateIdNamespaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIdNamespaceInput"} + if s.IdMappingWorkflowProperties != nil && len(s.IdMappingWorkflowProperties) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdMappingWorkflowProperties", 1)) + } + if s.IdNamespaceName == nil { + invalidParams.Add(request.NewErrParamRequired("IdNamespaceName")) + } + if s.IdNamespaceName != nil && len(*s.IdNamespaceName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdNamespaceName", 1)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 32 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) + } + if s.IdMappingWorkflowProperties != nil { + for i, v := range s.IdMappingWorkflowProperties { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IdMappingWorkflowProperties", i), err.(request.ErrInvalidParams)) + } + } + } + if s.InputSourceConfig != nil { + for i, v := range s.InputSourceConfig { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputSourceConfig", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateIdNamespaceInput) SetDescription(v string) *UpdateIdNamespaceInput { + s.Description = &v + return s +} + +// SetIdMappingWorkflowProperties sets the IdMappingWorkflowProperties field's value. +func (s *UpdateIdNamespaceInput) SetIdMappingWorkflowProperties(v []*IdNamespaceIdMappingWorkflowProperties) *UpdateIdNamespaceInput { + s.IdMappingWorkflowProperties = v + return s +} + +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *UpdateIdNamespaceInput) SetIdNamespaceName(v string) *UpdateIdNamespaceInput { + s.IdNamespaceName = &v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *UpdateIdNamespaceInput) SetInputSourceConfig(v []*IdNamespaceInputSource) *UpdateIdNamespaceInput { + s.InputSourceConfig = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateIdNamespaceInput) SetRoleArn(v string) *UpdateIdNamespaceInput { + s.RoleArn = &v + return s +} + +type UpdateIdNamespaceOutput struct { + _ struct{} `type:"structure"` + + // The timestamp of when the ID namespace was created. + // + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` + + // The description of the ID namespace. + Description *string `locationName:"description" type:"string"` + + // Determines the properties of IdMappingWorkflow where this IdNamespace can + // be used as a Source or a Target. + IdMappingWorkflowProperties []*IdNamespaceIdMappingWorkflowProperties `locationName:"idMappingWorkflowProperties" min:"1" type:"list"` + + // The Amazon Resource Name (ARN) of the ID namespace. + // + // IdNamespaceArn is a required field + IdNamespaceArn *string `locationName:"idNamespaceArn" type:"string" required:"true"` + + // The name of the ID namespace. + // + // IdNamespaceName is a required field + IdNamespaceName *string `locationName:"idNamespaceName" min:"1" type:"string" required:"true"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + InputSourceConfig []*IdNamespaceInputSource `locationName:"inputSourceConfig" type:"list"` + + // The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes + // this role to access the resources defined in this IdNamespace on your behalf + // as part of a workflow run. + RoleArn *string `locationName:"roleArn" min:"32" type:"string"` + + // The type of ID namespace. There are two types: SOURCE and TARGET. + // + // The SOURCE contains configurations for sourceId data that will be processed + // in an ID mapping workflow. + // + // The TARGET contains a configuration of targetId to which all sourceIds will + // resolve to. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"IdNamespaceType"` + + // The timestamp of when the ID namespace was last updated. + // + // UpdatedAt is a required field + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" 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 UpdateIdNamespaceOutput) 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 UpdateIdNamespaceOutput) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *UpdateIdNamespaceOutput) SetCreatedAt(v time.Time) *UpdateIdNamespaceOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateIdNamespaceOutput) SetDescription(v string) *UpdateIdNamespaceOutput { + s.Description = &v + return s +} + +// SetIdMappingWorkflowProperties sets the IdMappingWorkflowProperties field's value. +func (s *UpdateIdNamespaceOutput) SetIdMappingWorkflowProperties(v []*IdNamespaceIdMappingWorkflowProperties) *UpdateIdNamespaceOutput { + s.IdMappingWorkflowProperties = v + return s +} + +// SetIdNamespaceArn sets the IdNamespaceArn field's value. +func (s *UpdateIdNamespaceOutput) SetIdNamespaceArn(v string) *UpdateIdNamespaceOutput { + s.IdNamespaceArn = &v + return s +} + +// SetIdNamespaceName sets the IdNamespaceName field's value. +func (s *UpdateIdNamespaceOutput) SetIdNamespaceName(v string) *UpdateIdNamespaceOutput { + s.IdNamespaceName = &v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *UpdateIdNamespaceOutput) SetInputSourceConfig(v []*IdNamespaceInputSource) *UpdateIdNamespaceOutput { + s.InputSourceConfig = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateIdNamespaceOutput) SetRoleArn(v string) *UpdateIdNamespaceOutput { + s.RoleArn = &v + return s +} + +// SetType sets the Type field's value. +func (s *UpdateIdNamespaceOutput) SetType(v string) *UpdateIdNamespaceOutput { + s.Type = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *UpdateIdNamespaceOutput) SetUpdatedAt(v time.Time) *UpdateIdNamespaceOutput { + s.UpdatedAt = &v + return s +} + type UpdateMatchingWorkflowInput struct { _ struct{} `type:"structure"` @@ -8299,6 +11105,22 @@ func IdMappingType_Values() []string { } } +const ( + // IdNamespaceTypeSource is a IdNamespaceType enum value + IdNamespaceTypeSource = "SOURCE" + + // IdNamespaceTypeTarget is a IdNamespaceType enum value + IdNamespaceTypeTarget = "TARGET" +) + +// IdNamespaceType_Values returns all elements of the IdNamespaceType enum +func IdNamespaceType_Values() []string { + return []string{ + IdNamespaceTypeSource, + IdNamespaceTypeTarget, + } +} + const ( // IncrementalRunTypeImmediate is a IncrementalRunType enum value IncrementalRunTypeImmediate = "IMMEDIATE" @@ -8458,3 +11280,19 @@ func ServiceType_Values() []string { ServiceTypeIdMapping, } } + +const ( + // StatementEffectAllow is a StatementEffect enum value + StatementEffectAllow = "Allow" + + // StatementEffectDeny is a StatementEffect enum value + StatementEffectDeny = "Deny" +) + +// StatementEffect_Values returns all elements of the StatementEffect enum +func StatementEffect_Values() []string { + return []string{ + StatementEffectAllow, + StatementEffectDeny, + } +} diff --git a/service/entityresolution/entityresolutioniface/interface.go b/service/entityresolution/entityresolutioniface/interface.go index f0facf08e89..2a7bd64953a 100644 --- a/service/entityresolution/entityresolutioniface/interface.go +++ b/service/entityresolution/entityresolutioniface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // AWS EntityResolution. // func myFunc(svc entityresolutioniface.EntityResolutionAPI) bool { -// // Make svc.CreateIdMappingWorkflow request +// // Make svc.AddPolicyStatement request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockEntityResolutionClient struct { // entityresolutioniface.EntityResolutionAPI // } -// func (m *mockEntityResolutionClient) CreateIdMappingWorkflow(input *entityresolution.CreateIdMappingWorkflowInput) (*entityresolution.CreateIdMappingWorkflowOutput, error) { +// func (m *mockEntityResolutionClient) AddPolicyStatement(input *entityresolution.AddPolicyStatementInput) (*entityresolution.AddPolicyStatementOutput, error) { // // mock response/functionality // } // @@ -60,10 +60,18 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type EntityResolutionAPI interface { + AddPolicyStatement(*entityresolution.AddPolicyStatementInput) (*entityresolution.AddPolicyStatementOutput, error) + AddPolicyStatementWithContext(aws.Context, *entityresolution.AddPolicyStatementInput, ...request.Option) (*entityresolution.AddPolicyStatementOutput, error) + AddPolicyStatementRequest(*entityresolution.AddPolicyStatementInput) (*request.Request, *entityresolution.AddPolicyStatementOutput) + CreateIdMappingWorkflow(*entityresolution.CreateIdMappingWorkflowInput) (*entityresolution.CreateIdMappingWorkflowOutput, error) CreateIdMappingWorkflowWithContext(aws.Context, *entityresolution.CreateIdMappingWorkflowInput, ...request.Option) (*entityresolution.CreateIdMappingWorkflowOutput, error) CreateIdMappingWorkflowRequest(*entityresolution.CreateIdMappingWorkflowInput) (*request.Request, *entityresolution.CreateIdMappingWorkflowOutput) + CreateIdNamespace(*entityresolution.CreateIdNamespaceInput) (*entityresolution.CreateIdNamespaceOutput, error) + CreateIdNamespaceWithContext(aws.Context, *entityresolution.CreateIdNamespaceInput, ...request.Option) (*entityresolution.CreateIdNamespaceOutput, error) + CreateIdNamespaceRequest(*entityresolution.CreateIdNamespaceInput) (*request.Request, *entityresolution.CreateIdNamespaceOutput) + CreateMatchingWorkflow(*entityresolution.CreateMatchingWorkflowInput) (*entityresolution.CreateMatchingWorkflowOutput, error) CreateMatchingWorkflowWithContext(aws.Context, *entityresolution.CreateMatchingWorkflowInput, ...request.Option) (*entityresolution.CreateMatchingWorkflowOutput, error) CreateMatchingWorkflowRequest(*entityresolution.CreateMatchingWorkflowInput) (*request.Request, *entityresolution.CreateMatchingWorkflowOutput) @@ -76,10 +84,18 @@ type EntityResolutionAPI interface { DeleteIdMappingWorkflowWithContext(aws.Context, *entityresolution.DeleteIdMappingWorkflowInput, ...request.Option) (*entityresolution.DeleteIdMappingWorkflowOutput, error) DeleteIdMappingWorkflowRequest(*entityresolution.DeleteIdMappingWorkflowInput) (*request.Request, *entityresolution.DeleteIdMappingWorkflowOutput) + DeleteIdNamespace(*entityresolution.DeleteIdNamespaceInput) (*entityresolution.DeleteIdNamespaceOutput, error) + DeleteIdNamespaceWithContext(aws.Context, *entityresolution.DeleteIdNamespaceInput, ...request.Option) (*entityresolution.DeleteIdNamespaceOutput, error) + DeleteIdNamespaceRequest(*entityresolution.DeleteIdNamespaceInput) (*request.Request, *entityresolution.DeleteIdNamespaceOutput) + DeleteMatchingWorkflow(*entityresolution.DeleteMatchingWorkflowInput) (*entityresolution.DeleteMatchingWorkflowOutput, error) DeleteMatchingWorkflowWithContext(aws.Context, *entityresolution.DeleteMatchingWorkflowInput, ...request.Option) (*entityresolution.DeleteMatchingWorkflowOutput, error) DeleteMatchingWorkflowRequest(*entityresolution.DeleteMatchingWorkflowInput) (*request.Request, *entityresolution.DeleteMatchingWorkflowOutput) + DeletePolicyStatement(*entityresolution.DeletePolicyStatementInput) (*entityresolution.DeletePolicyStatementOutput, error) + DeletePolicyStatementWithContext(aws.Context, *entityresolution.DeletePolicyStatementInput, ...request.Option) (*entityresolution.DeletePolicyStatementOutput, error) + DeletePolicyStatementRequest(*entityresolution.DeletePolicyStatementInput) (*request.Request, *entityresolution.DeletePolicyStatementOutput) + DeleteSchemaMapping(*entityresolution.DeleteSchemaMappingInput) (*entityresolution.DeleteSchemaMappingOutput, error) DeleteSchemaMappingWithContext(aws.Context, *entityresolution.DeleteSchemaMappingInput, ...request.Option) (*entityresolution.DeleteSchemaMappingOutput, error) DeleteSchemaMappingRequest(*entityresolution.DeleteSchemaMappingInput) (*request.Request, *entityresolution.DeleteSchemaMappingOutput) @@ -92,6 +108,10 @@ type EntityResolutionAPI interface { GetIdMappingWorkflowWithContext(aws.Context, *entityresolution.GetIdMappingWorkflowInput, ...request.Option) (*entityresolution.GetIdMappingWorkflowOutput, error) GetIdMappingWorkflowRequest(*entityresolution.GetIdMappingWorkflowInput) (*request.Request, *entityresolution.GetIdMappingWorkflowOutput) + GetIdNamespace(*entityresolution.GetIdNamespaceInput) (*entityresolution.GetIdNamespaceOutput, error) + GetIdNamespaceWithContext(aws.Context, *entityresolution.GetIdNamespaceInput, ...request.Option) (*entityresolution.GetIdNamespaceOutput, error) + GetIdNamespaceRequest(*entityresolution.GetIdNamespaceInput) (*request.Request, *entityresolution.GetIdNamespaceOutput) + GetMatchId(*entityresolution.GetMatchIdInput) (*entityresolution.GetMatchIdOutput, error) GetMatchIdWithContext(aws.Context, *entityresolution.GetMatchIdInput, ...request.Option) (*entityresolution.GetMatchIdOutput, error) GetMatchIdRequest(*entityresolution.GetMatchIdInput) (*request.Request, *entityresolution.GetMatchIdOutput) @@ -104,6 +124,10 @@ type EntityResolutionAPI interface { GetMatchingWorkflowWithContext(aws.Context, *entityresolution.GetMatchingWorkflowInput, ...request.Option) (*entityresolution.GetMatchingWorkflowOutput, error) GetMatchingWorkflowRequest(*entityresolution.GetMatchingWorkflowInput) (*request.Request, *entityresolution.GetMatchingWorkflowOutput) + GetPolicy(*entityresolution.GetPolicyInput) (*entityresolution.GetPolicyOutput, error) + GetPolicyWithContext(aws.Context, *entityresolution.GetPolicyInput, ...request.Option) (*entityresolution.GetPolicyOutput, error) + GetPolicyRequest(*entityresolution.GetPolicyInput) (*request.Request, *entityresolution.GetPolicyOutput) + GetSchemaMapping(*entityresolution.GetSchemaMappingInput) (*entityresolution.GetSchemaMappingOutput, error) GetSchemaMappingWithContext(aws.Context, *entityresolution.GetSchemaMappingInput, ...request.Option) (*entityresolution.GetSchemaMappingOutput, error) GetSchemaMappingRequest(*entityresolution.GetSchemaMappingInput) (*request.Request, *entityresolution.GetSchemaMappingOutput) @@ -122,6 +146,13 @@ type EntityResolutionAPI interface { ListIdMappingWorkflowsPages(*entityresolution.ListIdMappingWorkflowsInput, func(*entityresolution.ListIdMappingWorkflowsOutput, bool) bool) error ListIdMappingWorkflowsPagesWithContext(aws.Context, *entityresolution.ListIdMappingWorkflowsInput, func(*entityresolution.ListIdMappingWorkflowsOutput, bool) bool, ...request.Option) error + ListIdNamespaces(*entityresolution.ListIdNamespacesInput) (*entityresolution.ListIdNamespacesOutput, error) + ListIdNamespacesWithContext(aws.Context, *entityresolution.ListIdNamespacesInput, ...request.Option) (*entityresolution.ListIdNamespacesOutput, error) + ListIdNamespacesRequest(*entityresolution.ListIdNamespacesInput) (*request.Request, *entityresolution.ListIdNamespacesOutput) + + ListIdNamespacesPages(*entityresolution.ListIdNamespacesInput, func(*entityresolution.ListIdNamespacesOutput, bool) bool) error + ListIdNamespacesPagesWithContext(aws.Context, *entityresolution.ListIdNamespacesInput, func(*entityresolution.ListIdNamespacesOutput, bool) bool, ...request.Option) error + ListMatchingJobs(*entityresolution.ListMatchingJobsInput) (*entityresolution.ListMatchingJobsOutput, error) ListMatchingJobsWithContext(aws.Context, *entityresolution.ListMatchingJobsInput, ...request.Option) (*entityresolution.ListMatchingJobsOutput, error) ListMatchingJobsRequest(*entityresolution.ListMatchingJobsInput) (*request.Request, *entityresolution.ListMatchingJobsOutput) @@ -154,6 +185,10 @@ type EntityResolutionAPI interface { ListTagsForResourceWithContext(aws.Context, *entityresolution.ListTagsForResourceInput, ...request.Option) (*entityresolution.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*entityresolution.ListTagsForResourceInput) (*request.Request, *entityresolution.ListTagsForResourceOutput) + PutPolicy(*entityresolution.PutPolicyInput) (*entityresolution.PutPolicyOutput, error) + PutPolicyWithContext(aws.Context, *entityresolution.PutPolicyInput, ...request.Option) (*entityresolution.PutPolicyOutput, error) + PutPolicyRequest(*entityresolution.PutPolicyInput) (*request.Request, *entityresolution.PutPolicyOutput) + StartIdMappingJob(*entityresolution.StartIdMappingJobInput) (*entityresolution.StartIdMappingJobOutput, error) StartIdMappingJobWithContext(aws.Context, *entityresolution.StartIdMappingJobInput, ...request.Option) (*entityresolution.StartIdMappingJobOutput, error) StartIdMappingJobRequest(*entityresolution.StartIdMappingJobInput) (*request.Request, *entityresolution.StartIdMappingJobOutput) @@ -174,6 +209,10 @@ type EntityResolutionAPI interface { UpdateIdMappingWorkflowWithContext(aws.Context, *entityresolution.UpdateIdMappingWorkflowInput, ...request.Option) (*entityresolution.UpdateIdMappingWorkflowOutput, error) UpdateIdMappingWorkflowRequest(*entityresolution.UpdateIdMappingWorkflowInput) (*request.Request, *entityresolution.UpdateIdMappingWorkflowOutput) + UpdateIdNamespace(*entityresolution.UpdateIdNamespaceInput) (*entityresolution.UpdateIdNamespaceOutput, error) + UpdateIdNamespaceWithContext(aws.Context, *entityresolution.UpdateIdNamespaceInput, ...request.Option) (*entityresolution.UpdateIdNamespaceOutput, error) + UpdateIdNamespaceRequest(*entityresolution.UpdateIdNamespaceInput) (*request.Request, *entityresolution.UpdateIdNamespaceOutput) + UpdateMatchingWorkflow(*entityresolution.UpdateMatchingWorkflowInput) (*entityresolution.UpdateMatchingWorkflowOutput, error) UpdateMatchingWorkflowWithContext(aws.Context, *entityresolution.UpdateMatchingWorkflowInput, ...request.Option) (*entityresolution.UpdateMatchingWorkflowOutput, error) UpdateMatchingWorkflowRequest(*entityresolution.UpdateMatchingWorkflowInput) (*request.Request, *entityresolution.UpdateMatchingWorkflowOutput) diff --git a/service/iotwireless/api.go b/service/iotwireless/api.go index 49b0afa47de..079410b712d 100644 --- a/service/iotwireless/api.go +++ b/service/iotwireless/api.go @@ -1468,6 +1468,17 @@ func (c *IoTWireless) CreateWirelessGatewayRequest(input *CreateWirelessGatewayI // // Provisions a wireless gateway. // +// When provisioning a wireless gateway, you might run into duplication errors +// for the following reasons. +// +// - If you specify a GatewayEui value that already exists. +// +// - If you used a ClientRequestToken with the same parameters within the +// last 10 minutes. +// +// To avoid this error, make sure that you use unique identifiers and parameters +// for each request within the specified time period. +// // 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. @@ -2594,6 +2605,17 @@ func (c *IoTWireless) DeleteWirelessGatewayRequest(input *DeleteWirelessGatewayI // // Deletes a wireless gateway. // +// When deleting a wireless gateway, you might run into duplication errors for +// the following reasons. +// +// - If you specify a GatewayEui value that already exists. +// +// - If you used a ClientRequestToken with the same parameters within the +// last 10 minutes. +// +// To avoid this error, make sure that you use unique identifiers and parameters +// for each request within the specified time period. +// // 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. @@ -4060,7 +4082,7 @@ func (c *IoTWireless) GetMetricConfigurationRequest(input *GetMetricConfiguratio // GetMetricConfiguration API operation for AWS IoT Wireless. // -// Get the metric configuration status for this account. +// Get the metric configuration status for this AWS account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4154,7 +4176,7 @@ func (c *IoTWireless) GetMetricsRequest(input *GetMetricsInput) (req *request.Re // GetMetrics API operation for AWS IoT Wireless. // -// Get metrics. +// Get the summary metrics for this AWS account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10133,7 +10155,7 @@ func (c *IoTWireless) UpdateMetricConfigurationRequest(input *UpdateMetricConfig // UpdateMetricConfiguration API operation for AWS IoT Wireless. // -// Update the metric configuration. +// Update the summary metric configuration. // // 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 @@ -11311,10 +11333,14 @@ func (s *ApplicationConfig) SetType(v string) *ApplicationConfig { type AssociateAwsAccountWithPartnerAccountInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The Sidewalk account credentials. @@ -12711,10 +12737,14 @@ func (s *ConnectionStatusResourceTypeEventConfiguration) SetLoRaWAN(v *LoRaWANCo type CreateDestinationInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The description of the new resource. @@ -12886,10 +12916,14 @@ func (s *CreateDestinationOutput) SetName(v string) *CreateDestinationOutput { type CreateDeviceProfileInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The device profile information to use to create the device profile. @@ -13025,10 +13059,14 @@ func (s *CreateDeviceProfileOutput) SetId(v string) *CreateDeviceProfileOutput { type CreateFuotaTaskInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The description of the new resource. @@ -13237,10 +13275,14 @@ func (s *CreateFuotaTaskOutput) SetId(v string) *CreateFuotaTaskOutput { type CreateMulticastGroupInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The description of the multicast group. @@ -13376,10 +13418,14 @@ func (s *CreateMulticastGroupOutput) SetId(v string) *CreateMulticastGroupOutput type CreateNetworkAnalyzerConfigurationInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The description of the new resource. @@ -13548,10 +13594,14 @@ func (s *CreateNetworkAnalyzerConfigurationOutput) SetName(v string) *CreateNetw type CreateServiceProfileInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The service profile information to use to create the service profile. @@ -13673,10 +13723,14 @@ func (s *CreateServiceProfileOutput) SetId(v string) *CreateServiceProfileOutput type CreateWirelessDeviceInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The description of the new resource. @@ -13859,10 +13913,14 @@ func (s *CreateWirelessDeviceOutput) SetId(v string) *CreateWirelessDeviceOutput type CreateWirelessGatewayInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The description of the new resource. @@ -14005,10 +14063,14 @@ type CreateWirelessGatewayTaskDefinitionInput struct { // AutoCreateTasks is a required field AutoCreateTasks *bool `type:"boolean" required:"true"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The name of the new resource. @@ -17113,7 +17175,7 @@ func (s GetMetricConfigurationInput) GoString() string { type GetMetricConfigurationOutput struct { _ struct{} `type:"structure"` - // The account's configuration status for summary metric aggregation. + // The configuration status of the AWS account for summary metric aggregation. SummaryMetric *SummaryMetricConfiguration `type:"structure"` } @@ -17144,7 +17206,7 @@ func (s *GetMetricConfigurationOutput) SetSummaryMetric(v *SummaryMetricConfigur type GetMetricsInput struct { _ struct{} `type:"structure"` - // The list of queries to retrieve summary metrics. + // The list of queries to retrieve the summary metrics. SummaryMetricQueries []*SummaryMetricQuery `type:"list"` } @@ -17175,7 +17237,7 @@ func (s *GetMetricsInput) SetSummaryMetricQueries(v []*SummaryMetricQuery) *GetM type GetMetricsOutput struct { _ struct{} `type:"structure"` - // The list of retrieved metrics. + // The list of summary metrics that were retrieved. SummaryMetricQueryResults []*SummaryMetricQueryResult `type:"list"` } @@ -22249,6 +22311,9 @@ type LoRaWANDeviceMetadata struct { // Information about the gateways accessed by the device. Gateways []*LoRaWANGatewayMetadata `type:"list"` + // Information about the LoRaWAN public network accessed by the device. + PublicGateways []*LoRaWANPublicGatewayMetadata `type:"list"` + // The date and time of the metadata. Timestamp *string `type:"string"` } @@ -22301,6 +22366,12 @@ func (s *LoRaWANDeviceMetadata) SetGateways(v []*LoRaWANGatewayMetadata) *LoRaWA return s } +// SetPublicGateways sets the PublicGateways field's value. +func (s *LoRaWANDeviceMetadata) SetPublicGateways(v []*LoRaWANPublicGatewayMetadata) *LoRaWANDeviceMetadata { + s.PublicGateways = v + return s +} + // SetTimestamp sets the Timestamp field's value. func (s *LoRaWANDeviceMetadata) SetTimestamp(v string) *LoRaWANDeviceMetadata { s.Timestamp = &v @@ -23357,6 +23428,83 @@ func (s *LoRaWANMulticastSession) SetSessionTimeout(v int64) *LoRaWANMulticastSe return s } +// LoRaWAN public gateway metadata. +type LoRaWANPublicGatewayMetadata struct { + _ struct{} `type:"structure"` + + // Boolean that indicates whether downlink is allowed using the network. + DlAllowed *bool `type:"boolean"` + + // The ID of the gateways that are operated by the network provider. + Id *string `type:"string"` + + // The ID of the LoRaWAN public network provider. + ProviderNetId *string `type:"string"` + + // The frequency band (RFRegion) value. + RfRegion *string `type:"string"` + + // The RSSI (received signal strength indicator) value. + Rssi *float64 `type:"double"` + + // The SNR (signal to noise ratio) value. + Snr *float64 `type:"double"` +} + +// 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 LoRaWANPublicGatewayMetadata) 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 LoRaWANPublicGatewayMetadata) GoString() string { + return s.String() +} + +// SetDlAllowed sets the DlAllowed field's value. +func (s *LoRaWANPublicGatewayMetadata) SetDlAllowed(v bool) *LoRaWANPublicGatewayMetadata { + s.DlAllowed = &v + return s +} + +// SetId sets the Id field's value. +func (s *LoRaWANPublicGatewayMetadata) SetId(v string) *LoRaWANPublicGatewayMetadata { + s.Id = &v + return s +} + +// SetProviderNetId sets the ProviderNetId field's value. +func (s *LoRaWANPublicGatewayMetadata) SetProviderNetId(v string) *LoRaWANPublicGatewayMetadata { + s.ProviderNetId = &v + return s +} + +// SetRfRegion sets the RfRegion field's value. +func (s *LoRaWANPublicGatewayMetadata) SetRfRegion(v string) *LoRaWANPublicGatewayMetadata { + s.RfRegion = &v + return s +} + +// SetRssi sets the Rssi field's value. +func (s *LoRaWANPublicGatewayMetadata) SetRssi(v float64) *LoRaWANPublicGatewayMetadata { + s.Rssi = &v + return s +} + +// SetSnr sets the Snr field's value. +func (s *LoRaWANPublicGatewayMetadata) SetSnr(v float64) *LoRaWANPublicGatewayMetadata { + s.Snr = &v + return s +} + // LoRaWAN router info. type LoRaWANSendDataToDevice struct { _ struct{} `type:"structure"` @@ -24138,24 +24286,28 @@ func (s *MessageDeliveryStatusResourceTypeEventConfiguration) SetSidewalk(v *Sid type MetricQueryValue struct { _ struct{} `type:"structure"` - // The average of the values of the all data points collected during the period. + // The average of the values of all data points collected during the aggregation + // period. Avg *float64 `type:"double"` - // The maximum of the values of the all data points collected during the period. + // The maximum of the values of all the data points collected during the aggregation + // period. Max *float64 `type:"double"` - // The minimum of the values of the all data points collected during the period. + // The minimum of the values of all data points collected during the aggregation + // period. Min *float64 `type:"double"` - // The 90th percentile of the values of the all data points collected during - // the period. + // The 90th percentile of the values of all data points collected during the + // aggregation period. P90 *float64 `type:"double"` - // The standard deviation of the values of the all data points collected during - // the period. + // The standard deviation of the values of all data points collected during + // the aggregation period. Std *float64 `type:"double"` - // The sum of the values of the all data points collected during the period. + // The sum of the values of all data points collected during the aggregation + // period. Sum *float64 `type:"double"` } @@ -26936,10 +27088,14 @@ func (s StartMulticastGroupSessionOutput) GoString() string { type StartSingleWirelessDeviceImportTaskInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The name of the Sidewalk destination that describes the IoT rule to route @@ -27082,10 +27238,14 @@ func (s *StartSingleWirelessDeviceImportTaskOutput) SetId(v string) *StartSingle type StartWirelessDeviceImportTaskInput struct { _ struct{} `type:"structure"` - // Each resource must have a unique client request token. If you try to create - // a new resource with the same token as a resource that already exists, an - // exception occurs. If you omit this value, AWS SDKs will automatically generate - // a unique client request. + // Each resource must have a unique client request token. The client token is + // used to implement idempotency. It ensures that the request completes no more + // than one time. If you retry a request with the same token and the same parameters, + // the request will complete successfully. However, if you try to create a new + // resource using the same token but different parameters, an HTTP 409 conflict + // occurs. If you omit this value, AWS SDKs will automatically generate a unique + // client request. For more information about idempotency, see Ensuring idempotency + // in Amazon EC2 API requests (https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The name of the Sidewalk destination that describes the IoT rule to route @@ -27217,11 +27377,11 @@ func (s *StartWirelessDeviceImportTaskOutput) SetId(v string) *StartWirelessDevi return s } -// The configuration of summary metric. +// The configuration of summary metrics. type SummaryMetricConfiguration struct { _ struct{} `type:"structure"` - // The configuration of summary metric. + // The status of the configuration of summary metrics. Status *string `type:"string" enum:"SummaryMetricConfigurationStatus"` } @@ -27249,26 +27409,26 @@ func (s *SummaryMetricConfiguration) SetStatus(v string) *SummaryMetricConfigura return s } -// The metric query object. +// The summary metric query object. type SummaryMetricQuery struct { _ struct{} `type:"structure"` - // The aggregation period of the metric. + // The aggregation period of the summary metric. AggregationPeriod *string `type:"string" enum:"AggregationPeriod"` - // The dimensions of the metric. + // The dimensions of the summary metric. Dimensions []*Dimension `type:"list"` - // The end timestamp for summary metric query. + // The end timestamp for the summary metric query. EndTimestamp *time.Time `type:"timestamp"` // The name of the metric. MetricName *string `type:"string" enum:"MetricName"` - // The id of the query. + // The id of the summary metric query. QueryId *string `type:"string"` - // The start timestamp for summary metric query. + // The start timestamp for the summary metric query. StartTimestamp *time.Time `type:"timestamp"` } @@ -27326,7 +27486,7 @@ func (s *SummaryMetricQuery) SetStartTimestamp(v time.Time) *SummaryMetricQuery return s } -// The result of metrics aggregation operation. +// The result of the summary metrics aggregation operation. type SummaryMetricQueryResult struct { _ struct{} `type:"structure"` @@ -27336,22 +27496,22 @@ type SummaryMetricQueryResult struct { // The dimensions of the metric. Dimensions []*Dimension `type:"list"` - // The end timestamp for summary metric query. + // The end timestamp for the summary metric query. EndTimestamp *time.Time `type:"timestamp"` - // The error message for the summary metric query. + // The error message for the summary metric query result. Error *string `type:"string"` - // The name of the metric. + // The name of the summary metric query result. MetricName *string `type:"string" enum:"MetricName"` - // The id of the query. + // The ID of the summary metric results query operation. QueryId *string `type:"string"` - // The status of the metric query. + // The status of the summary metric query result. QueryStatus *string `type:"string" enum:"MetricQueryStatus"` - // The start timestamp for summary metric query. + // The start timestamp for the summary metric query. StartTimestamp *time.Time `type:"timestamp"` // The timestamp of each aggregation result. @@ -27360,7 +27520,7 @@ type SummaryMetricQueryResult struct { // The units of measurement to be used for interpreting the aggregation result. Unit *string `type:"string"` - // The list of aggregated metrics. + // The list of aggregated summary metric query results. Values []*MetricQueryValue `type:"list"` } diff --git a/service/lakeformation/api.go b/service/lakeformation/api.go index 9969320abd1..fc4f8aa2b91 100644 --- a/service/lakeformation/api.go +++ b/service/lakeformation/api.go @@ -7186,6 +7186,16 @@ type CreateLakeFormationIdentityCenterConfigurationInput struct { // and Amazon Web Services Service Namespaces in the Amazon Web Services General // Reference. InstanceArn *string `type:"string"` + + // A list of Amazon Web Services account IDs and/or Amazon Web Services organization/organizational + // unit ARNs that are allowed to access data managed by Lake Formation. + // + // If the ShareRecipients list includes valid values, a resource share is created + // with the principals you want to have access to the resources. + // + // If the ShareRecipients value is null or the list is empty, no resource share + // is created. + ShareRecipients []*DataLakePrincipal `type:"list"` } // String returns the string representation. @@ -7217,6 +7227,16 @@ func (s *CreateLakeFormationIdentityCenterConfigurationInput) Validate() error { invalidParams.AddNested("ExternalFiltering", err.(request.ErrInvalidParams)) } } + if s.ShareRecipients != nil { + for i, v := range s.ShareRecipients { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ShareRecipients", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -7242,10 +7262,17 @@ func (s *CreateLakeFormationIdentityCenterConfigurationInput) SetInstanceArn(v s return s } +// SetShareRecipients sets the ShareRecipients field's value. +func (s *CreateLakeFormationIdentityCenterConfigurationInput) SetShareRecipients(v []*DataLakePrincipal) *CreateLakeFormationIdentityCenterConfigurationInput { + s.ShareRecipients = v + return s +} + type CreateLakeFormationIdentityCenterConfigurationOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the integrated application. + // The Amazon Resource Name (ARN) of the Lake Formation application integrated + // with IAM Identity Center. ApplicationArn *string `type:"string"` } @@ -8674,7 +8701,8 @@ func (s *DescribeLakeFormationIdentityCenterConfigurationInput) SetCatalogId(v s type DescribeLakeFormationIdentityCenterConfigurationOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the integrated application. + // The Amazon Resource Name (ARN) of the Lake Formation application integrated + // with IAM Identity Center. ApplicationArn *string `type:"string"` // The identifier for the Data Catalog. By default, the account ID. The Data @@ -8688,6 +8716,19 @@ type DescribeLakeFormationIdentityCenterConfigurationOutput struct { // The Amazon Resource Name (ARN) of the connection. InstanceArn *string `type:"string"` + + // The Amazon Resource Name (ARN) of the RAM share. + ResourceShare *string `type:"string"` + + // A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational + // unit ARNs that are allowed to access data managed by Lake Formation. + // + // If the ShareRecipients list includes valid values, a resource share is created + // with the principals you want to have access to the resources as the ShareRecipients. + // + // If the ShareRecipients value is null or the list is empty, no resource share + // is created. + ShareRecipients []*DataLakePrincipal `type:"list"` } // String returns the string representation. @@ -8732,6 +8773,18 @@ func (s *DescribeLakeFormationIdentityCenterConfigurationOutput) SetInstanceArn( return s } +// SetResourceShare sets the ResourceShare field's value. +func (s *DescribeLakeFormationIdentityCenterConfigurationOutput) SetResourceShare(v string) *DescribeLakeFormationIdentityCenterConfigurationOutput { + s.ResourceShare = &v + return s +} + +// SetShareRecipients sets the ShareRecipients field's value. +func (s *DescribeLakeFormationIdentityCenterConfigurationOutput) SetShareRecipients(v []*DataLakePrincipal) *DescribeLakeFormationIdentityCenterConfigurationOutput { + s.ShareRecipients = v + return s +} + type DescribeResourceInput struct { _ struct{} `type:"structure"` @@ -15453,6 +15506,19 @@ type UpdateLakeFormationIdentityCenterConfigurationInput struct { // A list of the account IDs of Amazon Web Services accounts of third-party // applications that are allowed to access data managed by Lake Formation. ExternalFiltering *ExternalFilteringConfiguration `type:"structure"` + + // A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational + // unit ARNs that are allowed to access to access data managed by Lake Formation. + // + // If the ShareRecipients list includes valid values, then the resource share + // is updated with the principals you want to have access to the resources. + // + // If the ShareRecipients value is null, both the list of share recipients and + // the resource share remain unchanged. + // + // If the ShareRecipients value is an empty list, then the existing share recipients + // list will be cleared, and the resource share will be deleted. + ShareRecipients []*DataLakePrincipal `type:"list"` } // String returns the string representation. @@ -15484,6 +15550,16 @@ func (s *UpdateLakeFormationIdentityCenterConfigurationInput) Validate() error { invalidParams.AddNested("ExternalFiltering", err.(request.ErrInvalidParams)) } } + if s.ShareRecipients != nil { + for i, v := range s.ShareRecipients { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ShareRecipients", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -15509,6 +15585,12 @@ func (s *UpdateLakeFormationIdentityCenterConfigurationInput) SetExternalFilteri return s } +// SetShareRecipients sets the ShareRecipients field's value. +func (s *UpdateLakeFormationIdentityCenterConfigurationInput) SetShareRecipients(v []*DataLakePrincipal) *UpdateLakeFormationIdentityCenterConfigurationInput { + s.ShareRecipients = v + return s +} + type UpdateLakeFormationIdentityCenterConfigurationOutput struct { _ struct{} `type:"structure"` } diff --git a/service/m2/api.go b/service/m2/api.go index fe3bc518780..91dbb09eba8 100644 --- a/service/m2/api.go +++ b/service/m2/api.go @@ -2107,6 +2107,101 @@ func (c *M2) ListBatchJobExecutionsPagesWithContext(ctx aws.Context, input *List return p.Err() } +const opListBatchJobRestartPoints = "ListBatchJobRestartPoints" + +// ListBatchJobRestartPointsRequest generates a "aws/request.Request" representing the +// client's request for the ListBatchJobRestartPoints 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 ListBatchJobRestartPoints for more information on using the ListBatchJobRestartPoints +// 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 ListBatchJobRestartPointsRequest method. +// req, resp := client.ListBatchJobRestartPointsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPoints +func (c *M2) ListBatchJobRestartPointsRequest(input *ListBatchJobRestartPointsInput) (req *request.Request, output *ListBatchJobRestartPointsOutput) { + op := &request.Operation{ + Name: opListBatchJobRestartPoints, + HTTPMethod: "GET", + HTTPPath: "/applications/{applicationId}/batch-job-executions/{executionId}/steps", + } + + if input == nil { + input = &ListBatchJobRestartPointsInput{} + } + + output = &ListBatchJobRestartPointsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListBatchJobRestartPoints API operation for AWSMainframeModernization. +// +// Lists all the job steps for JCL files to restart a batch job. This is only +// applicable for Micro Focus engine with versions 8.0.6 and above. +// +// 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 AWSMainframeModernization's +// API operation ListBatchJobRestartPoints for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The number of requests made exceeds the limit. +// +// - AccessDeniedException +// The account or role doesn't have the right permissions to make the request. +// +// - ConflictException +// The parameters provided in the request conflict with existing resources. +// +// - ValidationException +// One or more parameters provided in the request is not valid. +// +// - InternalServerException +// An unexpected error occurred during the processing of the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPoints +func (c *M2) ListBatchJobRestartPoints(input *ListBatchJobRestartPointsInput) (*ListBatchJobRestartPointsOutput, error) { + req, out := c.ListBatchJobRestartPointsRequest(input) + return out, req.Send() +} + +// ListBatchJobRestartPointsWithContext is the same as ListBatchJobRestartPoints with the addition of +// the ability to pass a context and additional request options. +// +// See ListBatchJobRestartPoints 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 *M2) ListBatchJobRestartPointsWithContext(ctx aws.Context, input *ListBatchJobRestartPointsInput, opts ...request.Option) (*ListBatchJobRestartPointsOutput, error) { + req, out := c.ListBatchJobRestartPointsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListDataSetImportHistory = "ListDataSetImportHistory" // ListDataSetImportHistoryRequest generates a "aws/request.Request" representing the @@ -4155,6 +4250,10 @@ type BatchJobIdentifier struct { // Specifies a file associated with a specific batch job. FileBatchJobIdentifier *FileBatchJobIdentifier `locationName:"fileBatchJobIdentifier" type:"structure"` + // Specifies the required information for restart, including execution ID and + // jobsteprestartmarker. + RestartBatchJobIdentifier *RestartBatchJobIdentifier `locationName:"restartBatchJobIdentifier" type:"structure"` + // Specifies an Amazon S3 location that identifies the batch jobs that you want // to run. Use this identifier to run ad hoc batch jobs. S3BatchJobIdentifier *S3BatchJobIdentifier `locationName:"s3BatchJobIdentifier" type:"structure"` @@ -4190,6 +4289,11 @@ func (s *BatchJobIdentifier) Validate() error { invalidParams.AddNested("FileBatchJobIdentifier", err.(request.ErrInvalidParams)) } } + if s.RestartBatchJobIdentifier != nil { + if err := s.RestartBatchJobIdentifier.Validate(); err != nil { + invalidParams.AddNested("RestartBatchJobIdentifier", err.(request.ErrInvalidParams)) + } + } if s.S3BatchJobIdentifier != nil { if err := s.S3BatchJobIdentifier.Validate(); err != nil { invalidParams.AddNested("S3BatchJobIdentifier", err.(request.ErrInvalidParams)) @@ -4213,6 +4317,12 @@ func (s *BatchJobIdentifier) SetFileBatchJobIdentifier(v *FileBatchJobIdentifier return s } +// SetRestartBatchJobIdentifier sets the RestartBatchJobIdentifier field's value. +func (s *BatchJobIdentifier) SetRestartBatchJobIdentifier(v *RestartBatchJobIdentifier) *BatchJobIdentifier { + s.RestartBatchJobIdentifier = v + return s +} + // SetS3BatchJobIdentifier sets the S3BatchJobIdentifier field's value. func (s *BatchJobIdentifier) SetS3BatchJobIdentifier(v *S3BatchJobIdentifier) *BatchJobIdentifier { s.S3BatchJobIdentifier = v @@ -7182,6 +7292,9 @@ type GetBatchJobExecutionOutput struct { // The name of this batch job. JobName *string `locationName:"jobName" type:"string"` + // The restart steps information for the most recent restart operation. + JobStepRestartMarker *JobStepRestartMarker `locationName:"jobStepRestartMarker" type:"structure"` + // The type of job. JobType *string `locationName:"jobType" type:"string" enum:"BatchJobType"` @@ -7261,6 +7374,12 @@ func (s *GetBatchJobExecutionOutput) SetJobName(v string) *GetBatchJobExecutionO return s } +// SetJobStepRestartMarker sets the JobStepRestartMarker field's value. +func (s *GetBatchJobExecutionOutput) SetJobStepRestartMarker(v *JobStepRestartMarker) *GetBatchJobExecutionOutput { + s.JobStepRestartMarker = v + return s +} + // SetJobType sets the JobType field's value. func (s *GetBatchJobExecutionOutput) SetJobType(v string) *GetBatchJobExecutionOutput { s.JobType = &v @@ -8258,6 +8377,157 @@ func (s *JobIdentifier) SetScriptName(v string) *JobIdentifier { return s } +// Provides information related to a job step. +type JobStep struct { + _ struct{} `type:"structure"` + + // The name of a procedure step. + ProcStepName *string `locationName:"procStepName" type:"string"` + + // The number of a procedure step. + ProcStepNumber *int64 `locationName:"procStepNumber" type:"integer"` + + // The condition code of a step. + StepCondCode *string `locationName:"stepCondCode" type:"string"` + + // The name of a step. + StepName *string `locationName:"stepName" type:"string"` + + // The number of a step. + StepNumber *int64 `locationName:"stepNumber" type:"integer"` + + // Specifies if a step can be restarted or not. + StepRestartable *bool `locationName:"stepRestartable" type:"boolean"` +} + +// 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 JobStep) 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 JobStep) GoString() string { + return s.String() +} + +// SetProcStepName sets the ProcStepName field's value. +func (s *JobStep) SetProcStepName(v string) *JobStep { + s.ProcStepName = &v + return s +} + +// SetProcStepNumber sets the ProcStepNumber field's value. +func (s *JobStep) SetProcStepNumber(v int64) *JobStep { + s.ProcStepNumber = &v + return s +} + +// SetStepCondCode sets the StepCondCode field's value. +func (s *JobStep) SetStepCondCode(v string) *JobStep { + s.StepCondCode = &v + return s +} + +// SetStepName sets the StepName field's value. +func (s *JobStep) SetStepName(v string) *JobStep { + s.StepName = &v + return s +} + +// SetStepNumber sets the StepNumber field's value. +func (s *JobStep) SetStepNumber(v int64) *JobStep { + s.StepNumber = &v + return s +} + +// SetStepRestartable sets the StepRestartable field's value. +func (s *JobStep) SetStepRestartable(v bool) *JobStep { + s.StepRestartable = &v + return s +} + +// Provides restart step information for the most recent restart operation. +type JobStepRestartMarker struct { + _ struct{} `type:"structure"` + + // The procedure step name that a job was restarted from. + FromProcStep *string `locationName:"fromProcStep" type:"string"` + + // The step name that a batch job restart was from. + // + // FromStep is a required field + FromStep *string `locationName:"fromStep" type:"string" required:"true"` + + // The procedure step name that a batch job was restarted to. + ToProcStep *string `locationName:"toProcStep" type:"string"` + + // The step name that a job was restarted to. + ToStep *string `locationName:"toStep" 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 JobStepRestartMarker) 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 JobStepRestartMarker) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JobStepRestartMarker) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JobStepRestartMarker"} + if s.FromStep == nil { + invalidParams.Add(request.NewErrParamRequired("FromStep")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFromProcStep sets the FromProcStep field's value. +func (s *JobStepRestartMarker) SetFromProcStep(v string) *JobStepRestartMarker { + s.FromProcStep = &v + return s +} + +// SetFromStep sets the FromStep field's value. +func (s *JobStepRestartMarker) SetFromStep(v string) *JobStepRestartMarker { + s.FromStep = &v + return s +} + +// SetToProcStep sets the ToProcStep field's value. +func (s *JobStepRestartMarker) SetToProcStep(v string) *JobStepRestartMarker { + s.ToProcStep = &v + return s +} + +// SetToStep sets the ToStep field's value. +func (s *JobStepRestartMarker) SetToStep(v string) *JobStepRestartMarker { + s.ToStep = &v + return s +} + type ListApplicationVersionsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -8779,6 +9049,104 @@ func (s *ListBatchJobExecutionsOutput) SetNextToken(v string) *ListBatchJobExecu return s } +type ListBatchJobRestartPointsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique identifier of the application. + // + // ApplicationId is a required field + ApplicationId *string `location:"uri" locationName:"applicationId" type:"string" required:"true"` + + // The unique identifier of each batch job execution. + // + // ExecutionId is a required field + ExecutionId *string `location:"uri" locationName:"executionId" 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 ListBatchJobRestartPointsInput) 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 ListBatchJobRestartPointsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListBatchJobRestartPointsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListBatchJobRestartPointsInput"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) + } + if s.ApplicationId != nil && len(*s.ApplicationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationId", 1)) + } + if s.ExecutionId == nil { + invalidParams.Add(request.NewErrParamRequired("ExecutionId")) + } + if s.ExecutionId != nil && len(*s.ExecutionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ExecutionId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *ListBatchJobRestartPointsInput) SetApplicationId(v string) *ListBatchJobRestartPointsInput { + s.ApplicationId = &v + return s +} + +// SetExecutionId sets the ExecutionId field's value. +func (s *ListBatchJobRestartPointsInput) SetExecutionId(v string) *ListBatchJobRestartPointsInput { + s.ExecutionId = &v + return s +} + +type ListBatchJobRestartPointsOutput struct { + _ struct{} `type:"structure"` + + // Returns all the batch job steps and related information for a batch job that + // previously ran. + BatchJobSteps []*JobStep `locationName:"batchJobSteps" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListBatchJobRestartPointsOutput) 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 ListBatchJobRestartPointsOutput) GoString() string { + return s.String() +} + +// SetBatchJobSteps sets the BatchJobSteps field's value. +func (s *ListBatchJobRestartPointsOutput) SetBatchJobSteps(v []*JobStep) *ListBatchJobRestartPointsOutput { + s.BatchJobSteps = v + return s +} + type ListDataSetImportHistoryInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -10008,6 +10376,73 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// An identifier for the StartBatchJob API to show that it is a restart operation. +type RestartBatchJobIdentifier struct { + _ struct{} `type:"structure"` + + // The executionId from the StartBatchJob response when the job ran for the + // first time. + // + // ExecutionId is a required field + ExecutionId *string `locationName:"executionId" type:"string" required:"true"` + + // The restart step information for the most recent restart operation. + // + // JobStepRestartMarker is a required field + JobStepRestartMarker *JobStepRestartMarker `locationName:"jobStepRestartMarker" 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 RestartBatchJobIdentifier) 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 RestartBatchJobIdentifier) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RestartBatchJobIdentifier) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RestartBatchJobIdentifier"} + if s.ExecutionId == nil { + invalidParams.Add(request.NewErrParamRequired("ExecutionId")) + } + if s.JobStepRestartMarker == nil { + invalidParams.Add(request.NewErrParamRequired("JobStepRestartMarker")) + } + if s.JobStepRestartMarker != nil { + if err := s.JobStepRestartMarker.Validate(); err != nil { + invalidParams.AddNested("JobStepRestartMarker", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExecutionId sets the ExecutionId field's value. +func (s *RestartBatchJobIdentifier) SetExecutionId(v string) *RestartBatchJobIdentifier { + s.ExecutionId = &v + return s +} + +// SetJobStepRestartMarker sets the JobStepRestartMarker field's value. +func (s *RestartBatchJobIdentifier) SetJobStepRestartMarker(v *JobStepRestartMarker) *RestartBatchJobIdentifier { + s.JobStepRestartMarker = v + return s +} + // A batch job identifier in which the batch jobs to run are identified by an // Amazon S3 location. type S3BatchJobIdentifier struct { @@ -11564,6 +11999,9 @@ const ( // BatchJobExecutionStatusFailed is a BatchJobExecutionStatus enum value BatchJobExecutionStatusFailed = "Failed" + // BatchJobExecutionStatusPurged is a BatchJobExecutionStatus enum value + BatchJobExecutionStatusPurged = "Purged" + // BatchJobExecutionStatusSucceededWithWarning is a BatchJobExecutionStatus enum value BatchJobExecutionStatusSucceededWithWarning = "Succeeded With Warning" ) @@ -11579,6 +12017,7 @@ func BatchJobExecutionStatus_Values() []string { BatchJobExecutionStatusCancelled, BatchJobExecutionStatusSucceeded, BatchJobExecutionStatusFailed, + BatchJobExecutionStatusPurged, BatchJobExecutionStatusSucceededWithWarning, } } @@ -11702,6 +12141,12 @@ const ( // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value ValidationExceptionReasonCannotParse = "cannotParse" + // ValidationExceptionReasonFeatureNotAvailable is a ValidationExceptionReason enum value + ValidationExceptionReasonFeatureNotAvailable = "featureNotAvailable" + + // ValidationExceptionReasonUnsupportedEngineVersion is a ValidationExceptionReason enum value + ValidationExceptionReasonUnsupportedEngineVersion = "unsupportedEngineVersion" + // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed" @@ -11714,6 +12159,8 @@ func ValidationExceptionReason_Values() []string { return []string{ ValidationExceptionReasonUnknownOperation, ValidationExceptionReasonCannotParse, + ValidationExceptionReasonFeatureNotAvailable, + ValidationExceptionReasonUnsupportedEngineVersion, ValidationExceptionReasonFieldValidationFailed, ValidationExceptionReasonOther, } diff --git a/service/m2/m2iface/interface.go b/service/m2/m2iface/interface.go index 40a61afff5c..620fa046468 100644 --- a/service/m2/m2iface/interface.go +++ b/service/m2/m2iface/interface.go @@ -152,6 +152,10 @@ type M2API interface { ListBatchJobExecutionsPages(*m2.ListBatchJobExecutionsInput, func(*m2.ListBatchJobExecutionsOutput, bool) bool) error ListBatchJobExecutionsPagesWithContext(aws.Context, *m2.ListBatchJobExecutionsInput, func(*m2.ListBatchJobExecutionsOutput, bool) bool, ...request.Option) error + ListBatchJobRestartPoints(*m2.ListBatchJobRestartPointsInput) (*m2.ListBatchJobRestartPointsOutput, error) + ListBatchJobRestartPointsWithContext(aws.Context, *m2.ListBatchJobRestartPointsInput, ...request.Option) (*m2.ListBatchJobRestartPointsOutput, error) + ListBatchJobRestartPointsRequest(*m2.ListBatchJobRestartPointsInput) (*request.Request, *m2.ListBatchJobRestartPointsOutput) + ListDataSetImportHistory(*m2.ListDataSetImportHistoryInput) (*m2.ListDataSetImportHistoryOutput, error) ListDataSetImportHistoryWithContext(aws.Context, *m2.ListDataSetImportHistoryInput, ...request.Option) (*m2.ListDataSetImportHistoryOutput, error) ListDataSetImportHistoryRequest(*m2.ListDataSetImportHistoryInput) (*request.Request, *m2.ListDataSetImportHistoryOutput) diff --git a/service/mediapackagev2/api.go b/service/mediapackagev2/api.go index 4b13600571a..4ecaf698089 100644 --- a/service/mediapackagev2/api.go +++ b/service/mediapackagev2/api.go @@ -3234,6 +3234,183 @@ func (s *CreateChannelOutput) SetTags(v map[string]*string) *CreateChannelOutput return s } +// Create a DASH manifest configuration. +type CreateDashManifestConfiguration struct { + _ struct{} `type:"structure"` + + // Determines how the DASH manifest signals the DRM content. + DrmSignaling *string `type:"string" enum:"DashDrmSignaling"` + + // Filter configuration includes settings for manifest filtering, start and + // end times, and time delay that apply to all of your egress requests for this + // manifest. + FilterConfiguration *FilterConfiguration `type:"structure"` + + // A short string that's appended to the endpoint URL. The child manifest name + // creates a unique path to this endpoint. + // + // ManifestName is a required field + ManifestName *string `min:"1" type:"string" required:"true"` + + // The total duration (in seconds) of the manifest's content. + ManifestWindowSeconds *int64 `min:"30" type:"integer"` + + // Minimum amount of content (in seconds) that a player must keep available + // in the buffer. + MinBufferTimeSeconds *int64 `type:"integer"` + + // Minimum amount of time (in seconds) that the player should wait before requesting + // updates to the manifest. + MinUpdatePeriodSeconds *int64 `min:"1" type:"integer"` + + // A list of triggers that controls when AWS Elemental MediaPackage separates + // the MPEG-DASH manifest into multiple periods. Type ADS to indicate that AWS + // Elemental MediaPackage must create periods in the output manifest that correspond + // to SCTE-35 ad markers in the input source. Leave this value empty to indicate + // that the manifest is contained all in one period. For more information about + // periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage + // (https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html). + PeriodTriggers []*string `type:"list" enum:"DashPeriodTrigger"` + + // The SCTE configuration. + ScteDash *ScteDash `type:"structure"` + + // Determines the type of variable used in the media URL of the SegmentTemplate + // tag in the manifest. Also specifies if segment timeline information is included + // in SegmentTimeline or SegmentTemplate. + // + // Value description: + // + // * NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. + // The value of this variable is the sequential number of the segment. A + // full SegmentTimeline object is presented in each SegmentTemplate. + SegmentTemplateFormat *string `type:"string" enum:"DashSegmentTemplateFormat"` + + // The amount of time (in seconds) that the player should be from the end of + // the manifest. + SuggestedPresentationDelaySeconds *int64 `type:"integer"` + + // Determines the type of UTC timing included in the DASH Media Presentation + // Description (MPD). + UtcTiming *DashUtcTiming `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateDashManifestConfiguration) 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 CreateDashManifestConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDashManifestConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDashManifestConfiguration"} + if s.ManifestName == nil { + invalidParams.Add(request.NewErrParamRequired("ManifestName")) + } + if s.ManifestName != nil && len(*s.ManifestName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ManifestName", 1)) + } + if s.ManifestWindowSeconds != nil && *s.ManifestWindowSeconds < 30 { + invalidParams.Add(request.NewErrParamMinValue("ManifestWindowSeconds", 30)) + } + if s.MinUpdatePeriodSeconds != nil && *s.MinUpdatePeriodSeconds < 1 { + invalidParams.Add(request.NewErrParamMinValue("MinUpdatePeriodSeconds", 1)) + } + if s.FilterConfiguration != nil { + if err := s.FilterConfiguration.Validate(); err != nil { + invalidParams.AddNested("FilterConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.UtcTiming != nil { + if err := s.UtcTiming.Validate(); err != nil { + invalidParams.AddNested("UtcTiming", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDrmSignaling sets the DrmSignaling field's value. +func (s *CreateDashManifestConfiguration) SetDrmSignaling(v string) *CreateDashManifestConfiguration { + s.DrmSignaling = &v + return s +} + +// SetFilterConfiguration sets the FilterConfiguration field's value. +func (s *CreateDashManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *CreateDashManifestConfiguration { + s.FilterConfiguration = v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *CreateDashManifestConfiguration) SetManifestName(v string) *CreateDashManifestConfiguration { + s.ManifestName = &v + return s +} + +// SetManifestWindowSeconds sets the ManifestWindowSeconds field's value. +func (s *CreateDashManifestConfiguration) SetManifestWindowSeconds(v int64) *CreateDashManifestConfiguration { + s.ManifestWindowSeconds = &v + return s +} + +// SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value. +func (s *CreateDashManifestConfiguration) SetMinBufferTimeSeconds(v int64) *CreateDashManifestConfiguration { + s.MinBufferTimeSeconds = &v + return s +} + +// SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value. +func (s *CreateDashManifestConfiguration) SetMinUpdatePeriodSeconds(v int64) *CreateDashManifestConfiguration { + s.MinUpdatePeriodSeconds = &v + return s +} + +// SetPeriodTriggers sets the PeriodTriggers field's value. +func (s *CreateDashManifestConfiguration) SetPeriodTriggers(v []*string) *CreateDashManifestConfiguration { + s.PeriodTriggers = v + return s +} + +// SetScteDash sets the ScteDash field's value. +func (s *CreateDashManifestConfiguration) SetScteDash(v *ScteDash) *CreateDashManifestConfiguration { + s.ScteDash = v + return s +} + +// SetSegmentTemplateFormat sets the SegmentTemplateFormat field's value. +func (s *CreateDashManifestConfiguration) SetSegmentTemplateFormat(v string) *CreateDashManifestConfiguration { + s.SegmentTemplateFormat = &v + return s +} + +// SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value. +func (s *CreateDashManifestConfiguration) SetSuggestedPresentationDelaySeconds(v int64) *CreateDashManifestConfiguration { + s.SuggestedPresentationDelaySeconds = &v + return s +} + +// SetUtcTiming sets the UtcTiming field's value. +func (s *CreateDashManifestConfiguration) SetUtcTiming(v *DashUtcTiming) *CreateDashManifestConfiguration { + s.UtcTiming = v + return s +} + // Create an HTTP live streaming (HLS) manifest configuration. type CreateHlsManifestConfiguration struct { _ struct{} `type:"structure"` @@ -3520,6 +3697,9 @@ type CreateOriginEndpointInput struct { // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` + // A DASH manifest configuration. + DashManifests []*CreateDashManifestConfiguration `type:"list"` + // Enter any descriptive text that helps you to identify the origin endpoint. Description *string `type:"string"` @@ -3603,6 +3783,16 @@ func (s *CreateOriginEndpointInput) Validate() error { if s.StartoverWindowSeconds != nil && *s.StartoverWindowSeconds < 60 { invalidParams.Add(request.NewErrParamMinValue("StartoverWindowSeconds", 60)) } + if s.DashManifests != nil { + for i, v := range s.DashManifests { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DashManifests", i), err.(request.ErrInvalidParams)) + } + } + } if s.HlsManifests != nil { for i, v := range s.HlsManifests { if v == nil { @@ -3659,6 +3849,12 @@ func (s *CreateOriginEndpointInput) SetContainerType(v string) *CreateOriginEndp return s } +// SetDashManifests sets the DashManifests field's value. +func (s *CreateOriginEndpointInput) SetDashManifests(v []*CreateDashManifestConfiguration) *CreateOriginEndpointInput { + s.DashManifests = v + return s +} + // SetDescription sets the Description field's value. func (s *CreateOriginEndpointInput) SetDescription(v string) *CreateOriginEndpointInput { s.Description = &v @@ -3732,6 +3928,9 @@ type CreateOriginEndpointOutput struct { // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` + // A DASH manifest configuration. + DashManifests []*GetDashManifestConfiguration `type:"list"` + // The description for your origin endpoint. Description *string `type:"string"` @@ -3820,6 +4019,12 @@ func (s *CreateOriginEndpointOutput) SetCreatedAt(v time.Time) *CreateOriginEndp return s } +// SetDashManifests sets the DashManifests field's value. +func (s *CreateOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *CreateOriginEndpointOutput { + s.DashManifests = v + return s +} + // SetDescription sets the Description field's value. func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpointOutput { s.Description = &v @@ -3874,6 +4079,62 @@ func (s *CreateOriginEndpointOutput) SetTags(v map[string]*string) *CreateOrigin return s } +// Determines the type of UTC timing included in the DASH Media Presentation +// Description (MPD). +type DashUtcTiming struct { + _ struct{} `type:"structure"` + + // The UTC timing mode. + TimingMode *string `type:"string" enum:"DashUtcTimingMode"` + + // The the method that the player uses to synchronize to coordinated universal + // time (UTC) wall clock time. + TimingSource *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 DashUtcTiming) 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 DashUtcTiming) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DashUtcTiming) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DashUtcTiming"} + if s.TimingSource != nil && len(*s.TimingSource) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TimingSource", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTimingMode sets the TimingMode field's value. +func (s *DashUtcTiming) SetTimingMode(v string) *DashUtcTiming { + s.TimingMode = &v + return s +} + +// SetTimingSource sets the TimingSource field's value. +func (s *DashUtcTiming) SetTimingSource(v string) *DashUtcTiming { + s.TimingSource = &v + return s +} + type DeleteChannelGroupInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -5164,6 +5425,161 @@ func (s *GetChannelPolicyOutput) SetPolicy(v string) *GetChannelPolicyOutput { return s } +// Retrieve the DASH manifest configuration. +type GetDashManifestConfiguration struct { + _ struct{} `type:"structure"` + + // Determines how the DASH manifest signals the DRM content. + DrmSignaling *string `type:"string" enum:"DashDrmSignaling"` + + // Filter configuration includes settings for manifest filtering, start and + // end times, and time delay that apply to all of your egress requests for this + // manifest. + FilterConfiguration *FilterConfiguration `type:"structure"` + + // A short string that's appended to the endpoint URL. The manifest name creates + // a unique path to this endpoint. If you don't enter a value, MediaPackage + // uses the default manifest name, index. + // + // ManifestName is a required field + ManifestName *string `min:"1" type:"string" required:"true"` + + // The total duration (in seconds) of the manifest's content. + ManifestWindowSeconds *int64 `type:"integer"` + + // Minimum amount of content (in seconds) that a player must keep available + // in the buffer. + MinBufferTimeSeconds *int64 `type:"integer"` + + // Minimum amount of time (in seconds) that the player should wait before requesting + // updates to the manifest. + MinUpdatePeriodSeconds *int64 `type:"integer"` + + // A list of triggers that controls when AWS Elemental MediaPackage separates + // the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate + // that the manifest is contained all in one period. For more information about + // periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage + // (https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html). + PeriodTriggers []*string `type:"list" enum:"DashPeriodTrigger"` + + // The SCTE configuration. + ScteDash *ScteDash `type:"structure"` + + // Determines the type of variable used in the media URL of the SegmentTemplate + // tag in the manifest. Also specifies if segment timeline information is included + // in SegmentTimeline or SegmentTemplate. + // + // Value description: + // + // * NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. + // The value of this variable is the sequential number of the segment. A + // full SegmentTimeline object is presented in each SegmentTemplate. + SegmentTemplateFormat *string `type:"string" enum:"DashSegmentTemplateFormat"` + + // The amount of time (in seconds) that the player should be from the end of + // the manifest. + SuggestedPresentationDelaySeconds *int64 `type:"integer"` + + // The egress domain URL for stream delivery from MediaPackage. + // + // Url is a required field + Url *string `type:"string" required:"true"` + + // Determines the type of UTC timing included in the DASH Media Presentation + // Description (MPD). + UtcTiming *DashUtcTiming `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDashManifestConfiguration) 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 GetDashManifestConfiguration) GoString() string { + return s.String() +} + +// SetDrmSignaling sets the DrmSignaling field's value. +func (s *GetDashManifestConfiguration) SetDrmSignaling(v string) *GetDashManifestConfiguration { + s.DrmSignaling = &v + return s +} + +// SetFilterConfiguration sets the FilterConfiguration field's value. +func (s *GetDashManifestConfiguration) SetFilterConfiguration(v *FilterConfiguration) *GetDashManifestConfiguration { + s.FilterConfiguration = v + return s +} + +// SetManifestName sets the ManifestName field's value. +func (s *GetDashManifestConfiguration) SetManifestName(v string) *GetDashManifestConfiguration { + s.ManifestName = &v + return s +} + +// SetManifestWindowSeconds sets the ManifestWindowSeconds field's value. +func (s *GetDashManifestConfiguration) SetManifestWindowSeconds(v int64) *GetDashManifestConfiguration { + s.ManifestWindowSeconds = &v + return s +} + +// SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value. +func (s *GetDashManifestConfiguration) SetMinBufferTimeSeconds(v int64) *GetDashManifestConfiguration { + s.MinBufferTimeSeconds = &v + return s +} + +// SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value. +func (s *GetDashManifestConfiguration) SetMinUpdatePeriodSeconds(v int64) *GetDashManifestConfiguration { + s.MinUpdatePeriodSeconds = &v + return s +} + +// SetPeriodTriggers sets the PeriodTriggers field's value. +func (s *GetDashManifestConfiguration) SetPeriodTriggers(v []*string) *GetDashManifestConfiguration { + s.PeriodTriggers = v + return s +} + +// SetScteDash sets the ScteDash field's value. +func (s *GetDashManifestConfiguration) SetScteDash(v *ScteDash) *GetDashManifestConfiguration { + s.ScteDash = v + return s +} + +// SetSegmentTemplateFormat sets the SegmentTemplateFormat field's value. +func (s *GetDashManifestConfiguration) SetSegmentTemplateFormat(v string) *GetDashManifestConfiguration { + s.SegmentTemplateFormat = &v + return s +} + +// SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value. +func (s *GetDashManifestConfiguration) SetSuggestedPresentationDelaySeconds(v int64) *GetDashManifestConfiguration { + s.SuggestedPresentationDelaySeconds = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *GetDashManifestConfiguration) SetUrl(v string) *GetDashManifestConfiguration { + s.Url = &v + return s +} + +// SetUtcTiming sets the UtcTiming field's value. +func (s *GetDashManifestConfiguration) SetUtcTiming(v *DashUtcTiming) *GetDashManifestConfiguration { + s.UtcTiming = v + return s +} + // Retrieve the HTTP live streaming (HLS) manifest configuration. type GetHlsManifestConfiguration struct { _ struct{} `type:"structure"` @@ -5501,6 +5917,9 @@ type GetOriginEndpointOutput struct { // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` + // A DASH manifest configuration. + DashManifests []*GetDashManifestConfiguration `type:"list"` + // The description for your origin endpoint. Description *string `type:"string"` @@ -5589,6 +6008,12 @@ func (s *GetOriginEndpointOutput) SetCreatedAt(v time.Time) *GetOriginEndpointOu return s } +// SetDashManifests sets the DashManifests field's value. +func (s *GetOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *GetOriginEndpointOutput { + s.DashManifests = v + return s +} + // SetDescription sets the Description field's value. func (s *GetOriginEndpointOutput) SetDescription(v string) *GetOriginEndpointOutput { s.Description = &v @@ -6115,6 +6540,51 @@ func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { return s } +// List the DASH manifest configuration. +type ListDashManifestConfiguration struct { + _ struct{} `type:"structure"` + + // A short string that's appended to the endpoint URL. The manifest name creates + // a unique path to this endpoint. If you don't enter a value, MediaPackage + // uses the default manifest name, index. + // + // ManifestName is a required field + ManifestName *string `min:"1" type:"string" required:"true"` + + // The egress domain URL for stream delivery from MediaPackage. + Url *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 ListDashManifestConfiguration) 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 ListDashManifestConfiguration) GoString() string { + return s.String() +} + +// SetManifestName sets the ManifestName field's value. +func (s *ListDashManifestConfiguration) SetManifestName(v string) *ListDashManifestConfiguration { + s.ManifestName = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *ListDashManifestConfiguration) SetUrl(v string) *ListDashManifestConfiguration { + s.Url = &v + return s +} + // List the HTTP live streaming (HLS) manifest configuration. type ListHlsManifestConfiguration struct { _ struct{} `type:"structure"` @@ -6482,6 +6952,9 @@ type OriginEndpointListConfiguration struct { // The date and time the origin endpoint was created. CreatedAt *time.Time `type:"timestamp"` + // A DASH manifest configuration. + DashManifests []*ListDashManifestConfiguration `type:"list"` + // Any descriptive information that you want to add to the origin endpoint for // future identification purposes. Description *string `type:"string"` @@ -6551,6 +7024,12 @@ func (s *OriginEndpointListConfiguration) SetCreatedAt(v time.Time) *OriginEndpo return s } +// SetDashManifests sets the DashManifests field's value. +func (s *OriginEndpointListConfiguration) SetDashManifests(v []*ListDashManifestConfiguration) *OriginEndpointListConfiguration { + s.DashManifests = v + return s +} + // SetDescription sets the Description field's value. func (s *OriginEndpointListConfiguration) SetDescription(v string) *OriginEndpointListConfiguration { s.Description = &v @@ -6910,6 +7389,47 @@ func (s *Scte) SetScteFilter(v []*string) *Scte { return s } +// The SCTE configuration. +type ScteDash struct { + _ struct{} `type:"structure"` + + // Choose how ad markers are included in the packaged content. If you include + // ad markers in the content stream in your upstream encoders, then you need + // to inform MediaPackage what to do with the ad markers in the output. + // + // Value description: + // + // * Binary - The SCTE-35 marker is expressed as a hex-string (Base64 string) + // rather than full XML. + // + // * XML - The SCTE marker is expressed fully in XML. + AdMarkerDash *string `type:"string" enum:"AdMarkerDash"` +} + +// 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 ScteDash) 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 ScteDash) GoString() string { + return s.String() +} + +// SetAdMarkerDash sets the AdMarkerDash field's value. +func (s *ScteDash) SetAdMarkerDash(v string) *ScteDash { + s.AdMarkerDash = &v + return s +} + // The SCTE configuration. type ScteHls struct { _ struct{} `type:"structure"` @@ -7928,6 +8448,9 @@ type UpdateOriginEndpointInput struct { // ContainerType is a required field ContainerType *string `type:"string" required:"true" enum:"ContainerType"` + // A DASH manifest configuration. + DashManifests []*CreateDashManifestConfiguration `type:"list"` + // Any descriptive information that you want to add to the origin endpoint for // future identification purposes. Description *string `type:"string"` @@ -8009,6 +8532,16 @@ func (s *UpdateOriginEndpointInput) Validate() error { if s.StartoverWindowSeconds != nil && *s.StartoverWindowSeconds < 60 { invalidParams.Add(request.NewErrParamMinValue("StartoverWindowSeconds", 60)) } + if s.DashManifests != nil { + for i, v := range s.DashManifests { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DashManifests", i), err.(request.ErrInvalidParams)) + } + } + } if s.HlsManifests != nil { for i, v := range s.HlsManifests { if v == nil { @@ -8059,6 +8592,12 @@ func (s *UpdateOriginEndpointInput) SetContainerType(v string) *UpdateOriginEndp return s } +// SetDashManifests sets the DashManifests field's value. +func (s *UpdateOriginEndpointInput) SetDashManifests(v []*CreateDashManifestConfiguration) *UpdateOriginEndpointInput { + s.DashManifests = v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpointInput { s.Description = &v @@ -8132,6 +8671,9 @@ type UpdateOriginEndpointOutput struct { // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` + // A DASH manifest configuration. + DashManifests []*GetDashManifestConfiguration `type:"list"` + // The description of the origin endpoint. Description *string `type:"string"` @@ -8220,6 +8762,12 @@ func (s *UpdateOriginEndpointOutput) SetCreatedAt(v time.Time) *UpdateOriginEndp return s } +// SetDashManifests sets the DashManifests field's value. +func (s *UpdateOriginEndpointOutput) SetDashManifests(v []*GetDashManifestConfiguration) *UpdateOriginEndpointOutput { + s.DashManifests = v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpointOutput { s.Description = &v @@ -8341,6 +8889,22 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +const ( + // AdMarkerDashBinary is a AdMarkerDash enum value + AdMarkerDashBinary = "BINARY" + + // AdMarkerDashXml is a AdMarkerDash enum value + AdMarkerDashXml = "XML" +) + +// AdMarkerDash_Values returns all elements of the AdMarkerDash enum +func AdMarkerDash_Values() []string { + return []string{ + AdMarkerDashBinary, + AdMarkerDashXml, + } +} + const ( // AdMarkerHlsDaterange is a AdMarkerHls enum value AdMarkerHlsDaterange = "DATERANGE" @@ -8409,6 +8973,86 @@ func ContainerType_Values() []string { } } +const ( + // DashDrmSignalingIndividual is a DashDrmSignaling enum value + DashDrmSignalingIndividual = "INDIVIDUAL" + + // DashDrmSignalingReferenced is a DashDrmSignaling enum value + DashDrmSignalingReferenced = "REFERENCED" +) + +// DashDrmSignaling_Values returns all elements of the DashDrmSignaling enum +func DashDrmSignaling_Values() []string { + return []string{ + DashDrmSignalingIndividual, + DashDrmSignalingReferenced, + } +} + +const ( + // DashPeriodTriggerAvails is a DashPeriodTrigger enum value + DashPeriodTriggerAvails = "AVAILS" + + // DashPeriodTriggerDrmKeyRotation is a DashPeriodTrigger enum value + DashPeriodTriggerDrmKeyRotation = "DRM_KEY_ROTATION" + + // DashPeriodTriggerSourceChanges is a DashPeriodTrigger enum value + DashPeriodTriggerSourceChanges = "SOURCE_CHANGES" + + // DashPeriodTriggerSourceDisruptions is a DashPeriodTrigger enum value + DashPeriodTriggerSourceDisruptions = "SOURCE_DISRUPTIONS" + + // DashPeriodTriggerNone is a DashPeriodTrigger enum value + DashPeriodTriggerNone = "NONE" +) + +// DashPeriodTrigger_Values returns all elements of the DashPeriodTrigger enum +func DashPeriodTrigger_Values() []string { + return []string{ + DashPeriodTriggerAvails, + DashPeriodTriggerDrmKeyRotation, + DashPeriodTriggerSourceChanges, + DashPeriodTriggerSourceDisruptions, + DashPeriodTriggerNone, + } +} + +const ( + // DashSegmentTemplateFormatNumberWithTimeline is a DashSegmentTemplateFormat enum value + DashSegmentTemplateFormatNumberWithTimeline = "NUMBER_WITH_TIMELINE" +) + +// DashSegmentTemplateFormat_Values returns all elements of the DashSegmentTemplateFormat enum +func DashSegmentTemplateFormat_Values() []string { + return []string{ + DashSegmentTemplateFormatNumberWithTimeline, + } +} + +const ( + // DashUtcTimingModeHttpHead is a DashUtcTimingMode enum value + DashUtcTimingModeHttpHead = "HTTP_HEAD" + + // DashUtcTimingModeHttpIso is a DashUtcTimingMode enum value + DashUtcTimingModeHttpIso = "HTTP_ISO" + + // DashUtcTimingModeHttpXsdate is a DashUtcTimingMode enum value + DashUtcTimingModeHttpXsdate = "HTTP_XSDATE" + + // DashUtcTimingModeUtcDirect is a DashUtcTimingMode enum value + DashUtcTimingModeUtcDirect = "UTC_DIRECT" +) + +// DashUtcTimingMode_Values returns all elements of the DashUtcTimingMode enum +func DashUtcTimingMode_Values() []string { + return []string{ + DashUtcTimingModeHttpHead, + DashUtcTimingModeHttpIso, + DashUtcTimingModeHttpXsdate, + DashUtcTimingModeUtcDirect, + } +} + const ( // DrmSystemClearKeyAes128 is a DrmSystem enum value DrmSystemClearKeyAes128 = "CLEAR_KEY_AES_128" @@ -8629,6 +9273,9 @@ const ( // ValidationExceptionTypeNumManifestsHigh is a ValidationExceptionType enum value ValidationExceptionTypeNumManifestsHigh = "NUM_MANIFESTS_HIGH" + // ValidationExceptionTypeManifestDrmSystemsIncompatible is a ValidationExceptionType enum value + ValidationExceptionTypeManifestDrmSystemsIncompatible = "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE" + // ValidationExceptionTypeDrmSystemsEncryptionMethodIncompatible is a ValidationExceptionType enum value ValidationExceptionTypeDrmSystemsEncryptionMethodIncompatible = "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE" @@ -8700,6 +9347,27 @@ const ( // ValidationExceptionTypeEndTimeEarlierThanStartTime is a ValidationExceptionType enum value ValidationExceptionTypeEndTimeEarlierThanStartTime = "END_TIME_EARLIER_THAN_START_TIME" + + // ValidationExceptionTypeTsContainerTypeWithDashManifest is a ValidationExceptionType enum value + ValidationExceptionTypeTsContainerTypeWithDashManifest = "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST" + + // ValidationExceptionTypeDirectModeWithTimingSource is a ValidationExceptionType enum value + ValidationExceptionTypeDirectModeWithTimingSource = "DIRECT_MODE_WITH_TIMING_SOURCE" + + // ValidationExceptionTypeNoneModeWithTimingSource is a ValidationExceptionType enum value + ValidationExceptionTypeNoneModeWithTimingSource = "NONE_MODE_WITH_TIMING_SOURCE" + + // ValidationExceptionTypeTimingSourceMissing is a ValidationExceptionType enum value + ValidationExceptionTypeTimingSourceMissing = "TIMING_SOURCE_MISSING" + + // ValidationExceptionTypeUpdatePeriodSmallerThanSegmentDuration is a ValidationExceptionType enum value + ValidationExceptionTypeUpdatePeriodSmallerThanSegmentDuration = "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION" + + // ValidationExceptionTypePeriodTriggersNoneSpecifiedWithAdditionalValues is a ValidationExceptionType enum value + ValidationExceptionTypePeriodTriggersNoneSpecifiedWithAdditionalValues = "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" + + // ValidationExceptionTypeDrmSignalingMismatchSegmentEncryptionStatus is a ValidationExceptionType enum value + ValidationExceptionTypeDrmSignalingMismatchSegmentEncryptionStatus = "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" ) // ValidationExceptionType_Values returns all elements of the ValidationExceptionType enum @@ -8718,6 +9386,7 @@ func ValidationExceptionType_Values() []string { ValidationExceptionTypeEncryptionContractShared, ValidationExceptionTypeNumManifestsLow, ValidationExceptionTypeNumManifestsHigh, + ValidationExceptionTypeManifestDrmSystemsIncompatible, ValidationExceptionTypeDrmSystemsEncryptionMethodIncompatible, ValidationExceptionTypeRoleArnNotAssumable, ValidationExceptionTypeRoleArnLengthOutOfRange, @@ -8742,5 +9411,12 @@ func ValidationExceptionType_Values() []string { ValidationExceptionTypeInvalidManifestFilter, ValidationExceptionTypeInvalidTimeDelaySeconds, ValidationExceptionTypeEndTimeEarlierThanStartTime, + ValidationExceptionTypeTsContainerTypeWithDashManifest, + ValidationExceptionTypeDirectModeWithTimingSource, + ValidationExceptionTypeNoneModeWithTimingSource, + ValidationExceptionTypeTimingSourceMissing, + ValidationExceptionTypeUpdatePeriodSmallerThanSegmentDuration, + ValidationExceptionTypePeriodTriggersNoneSpecifiedWithAdditionalValues, + ValidationExceptionTypeDrmSignalingMismatchSegmentEncryptionStatus, } } diff --git a/service/outposts/api.go b/service/outposts/api.go index d20c481dd17..067ddce5430 100644 --- a/service/outposts/api.go +++ b/service/outposts/api.go @@ -13,6 +13,98 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restjson" ) +const opCancelCapacityTask = "CancelCapacityTask" + +// CancelCapacityTaskRequest generates a "aws/request.Request" representing the +// client's request for the CancelCapacityTask 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 CancelCapacityTask for more information on using the CancelCapacityTask +// 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 CancelCapacityTaskRequest method. +// req, resp := client.CancelCapacityTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelCapacityTask +func (c *Outposts) CancelCapacityTaskRequest(input *CancelCapacityTaskInput) (req *request.Request, output *CancelCapacityTaskOutput) { + op := &request.Operation{ + Name: opCancelCapacityTask, + HTTPMethod: "POST", + HTTPPath: "/outposts/{OutpostId}/capacity/{CapacityTaskId}", + } + + if input == nil { + input = &CancelCapacityTaskInput{} + } + + output = &CancelCapacityTaskOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// CancelCapacityTask API operation for AWS Outposts. +// +// Cancels the capacity task. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Outposts's +// API operation CancelCapacityTask for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// A parameter is not valid. +// +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - NotFoundException +// The specified request is not valid. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. +// +// - InternalServerException +// An internal error has occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelCapacityTask +func (c *Outposts) CancelCapacityTask(input *CancelCapacityTaskInput) (*CancelCapacityTaskOutput, error) { + req, out := c.CancelCapacityTaskRequest(input) + return out, req.Send() +} + +// CancelCapacityTaskWithContext is the same as CancelCapacityTask with the addition of +// the ability to pass a context and additional request options. +// +// See CancelCapacityTask 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 *Outposts) CancelCapacityTaskWithContext(ctx aws.Context, input *CancelCapacityTaskInput, opts ...request.Option) (*CancelCapacityTaskOutput, error) { + req, out := c.CancelCapacityTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCancelOrder = "CancelOrder" // CancelOrderRequest generates a "aws/request.Request" representing the @@ -570,6 +662,94 @@ func (c *Outposts) DeleteSiteWithContext(ctx aws.Context, input *DeleteSiteInput return out, req.Send() } +const opGetCapacityTask = "GetCapacityTask" + +// GetCapacityTaskRequest generates a "aws/request.Request" representing the +// client's request for the GetCapacityTask 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 GetCapacityTask for more information on using the GetCapacityTask +// 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 GetCapacityTaskRequest method. +// req, resp := client.GetCapacityTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCapacityTask +func (c *Outposts) GetCapacityTaskRequest(input *GetCapacityTaskInput) (req *request.Request, output *GetCapacityTaskOutput) { + op := &request.Operation{ + Name: opGetCapacityTask, + HTTPMethod: "GET", + HTTPPath: "/outposts/{OutpostId}/capacity/{CapacityTaskId}", + } + + if input == nil { + input = &GetCapacityTaskInput{} + } + + output = &GetCapacityTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCapacityTask API operation for AWS Outposts. +// +// Gets details of the specified capacity task. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Outposts's +// API operation GetCapacityTask for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// A parameter is not valid. +// +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - NotFoundException +// The specified request is not valid. +// +// - InternalServerException +// An internal error has occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCapacityTask +func (c *Outposts) GetCapacityTask(input *GetCapacityTaskInput) (*GetCapacityTaskOutput, error) { + req, out := c.GetCapacityTaskRequest(input) + return out, req.Send() +} + +// GetCapacityTaskWithContext is the same as GetCapacityTask with the addition of +// the ability to pass a context and additional request options. +// +// See GetCapacityTask 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 *Outposts) GetCapacityTaskWithContext(ctx aws.Context, input *GetCapacityTaskInput, opts ...request.Option) (*GetCapacityTaskOutput, error) { + req, out := c.GetCapacityTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetCatalogItem = "GetCatalogItem" // GetCatalogItemRequest generates a "aws/request.Request" representing the @@ -1070,6 +1250,153 @@ func (c *Outposts) GetOutpostInstanceTypesPagesWithContext(ctx aws.Context, inpu return p.Err() } +const opGetOutpostSupportedInstanceTypes = "GetOutpostSupportedInstanceTypes" + +// GetOutpostSupportedInstanceTypesRequest generates a "aws/request.Request" representing the +// client's request for the GetOutpostSupportedInstanceTypes 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 GetOutpostSupportedInstanceTypes for more information on using the GetOutpostSupportedInstanceTypes +// 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 GetOutpostSupportedInstanceTypesRequest method. +// req, resp := client.GetOutpostSupportedInstanceTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostSupportedInstanceTypes +func (c *Outposts) GetOutpostSupportedInstanceTypesRequest(input *GetOutpostSupportedInstanceTypesInput) (req *request.Request, output *GetOutpostSupportedInstanceTypesOutput) { + op := &request.Operation{ + Name: opGetOutpostSupportedInstanceTypes, + HTTPMethod: "GET", + HTTPPath: "/outposts/{OutpostId}/supportedInstanceTypes", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetOutpostSupportedInstanceTypesInput{} + } + + output = &GetOutpostSupportedInstanceTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetOutpostSupportedInstanceTypes API operation for AWS Outposts. +// +// Gets the instance types that an Outpost can support in InstanceTypeCapacity. +// This will generally include instance types that are not currently configured +// and therefore cannot be launched with the current Outpost capacity configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Outposts's +// API operation GetOutpostSupportedInstanceTypes for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// A parameter is not valid. +// +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - NotFoundException +// The specified request is not valid. +// +// - InternalServerException +// An internal error has occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostSupportedInstanceTypes +func (c *Outposts) GetOutpostSupportedInstanceTypes(input *GetOutpostSupportedInstanceTypesInput) (*GetOutpostSupportedInstanceTypesOutput, error) { + req, out := c.GetOutpostSupportedInstanceTypesRequest(input) + return out, req.Send() +} + +// GetOutpostSupportedInstanceTypesWithContext is the same as GetOutpostSupportedInstanceTypes with the addition of +// the ability to pass a context and additional request options. +// +// See GetOutpostSupportedInstanceTypes 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 *Outposts) GetOutpostSupportedInstanceTypesWithContext(ctx aws.Context, input *GetOutpostSupportedInstanceTypesInput, opts ...request.Option) (*GetOutpostSupportedInstanceTypesOutput, error) { + req, out := c.GetOutpostSupportedInstanceTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetOutpostSupportedInstanceTypesPages iterates over the pages of a GetOutpostSupportedInstanceTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetOutpostSupportedInstanceTypes 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 GetOutpostSupportedInstanceTypes operation. +// pageNum := 0 +// err := client.GetOutpostSupportedInstanceTypesPages(params, +// func(page *outposts.GetOutpostSupportedInstanceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Outposts) GetOutpostSupportedInstanceTypesPages(input *GetOutpostSupportedInstanceTypesInput, fn func(*GetOutpostSupportedInstanceTypesOutput, bool) bool) error { + return c.GetOutpostSupportedInstanceTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetOutpostSupportedInstanceTypesPagesWithContext same as GetOutpostSupportedInstanceTypesPages 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 *Outposts) GetOutpostSupportedInstanceTypesPagesWithContext(ctx aws.Context, input *GetOutpostSupportedInstanceTypesInput, fn func(*GetOutpostSupportedInstanceTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetOutpostSupportedInstanceTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetOutpostSupportedInstanceTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetOutpostSupportedInstanceTypesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetSite = "GetSite" // GetSiteRequest generates a "aws/request.Request" representing the @@ -1396,34 +1723,184 @@ func (c *Outposts) ListAssetsPagesWithContext(ctx aws.Context, input *ListAssets return p.Err() } -const opListCatalogItems = "ListCatalogItems" +const opListCapacityTasks = "ListCapacityTasks" -// ListCatalogItemsRequest generates a "aws/request.Request" representing the -// client's request for the ListCatalogItems operation. The "output" return +// ListCapacityTasksRequest generates a "aws/request.Request" representing the +// client's request for the ListCapacityTasks 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 ListCatalogItems for more information on using the ListCatalogItems +// See ListCapacityTasks for more information on using the ListCapacityTasks // 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 ListCatalogItemsRequest method. -// req, resp := client.ListCatalogItemsRequest(params) +// // Example sending a request using the ListCapacityTasksRequest method. +// req, resp := client.ListCapacityTasksRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCatalogItems -func (c *Outposts) ListCatalogItemsRequest(input *ListCatalogItemsInput) (req *request.Request, output *ListCatalogItemsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCapacityTasks +func (c *Outposts) ListCapacityTasksRequest(input *ListCapacityTasksInput) (req *request.Request, output *ListCapacityTasksOutput) { op := &request.Operation{ - Name: opListCatalogItems, + Name: opListCapacityTasks, + HTTPMethod: "GET", + HTTPPath: "/capacity/tasks", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListCapacityTasksInput{} + } + + output = &ListCapacityTasksOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListCapacityTasks API operation for AWS Outposts. +// +// Lists the capacity tasks for your Amazon Web Services account. +// +// Use filters to return specific results. If you specify multiple filters, +// the results include only the resources that match all of the specified filters. +// For a filter where you can specify multiple values, the results include items +// that match any of the values that you specify for the filter. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Outposts's +// API operation ListCapacityTasks for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// A parameter is not valid. +// +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - NotFoundException +// The specified request is not valid. +// +// - InternalServerException +// An internal error has occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCapacityTasks +func (c *Outposts) ListCapacityTasks(input *ListCapacityTasksInput) (*ListCapacityTasksOutput, error) { + req, out := c.ListCapacityTasksRequest(input) + return out, req.Send() +} + +// ListCapacityTasksWithContext is the same as ListCapacityTasks with the addition of +// the ability to pass a context and additional request options. +// +// See ListCapacityTasks 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 *Outposts) ListCapacityTasksWithContext(ctx aws.Context, input *ListCapacityTasksInput, opts ...request.Option) (*ListCapacityTasksOutput, error) { + req, out := c.ListCapacityTasksRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListCapacityTasksPages iterates over the pages of a ListCapacityTasks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCapacityTasks 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 ListCapacityTasks operation. +// pageNum := 0 +// err := client.ListCapacityTasksPages(params, +// func(page *outposts.ListCapacityTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Outposts) ListCapacityTasksPages(input *ListCapacityTasksInput, fn func(*ListCapacityTasksOutput, bool) bool) error { + return c.ListCapacityTasksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCapacityTasksPagesWithContext same as ListCapacityTasksPages 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 *Outposts) ListCapacityTasksPagesWithContext(ctx aws.Context, input *ListCapacityTasksInput, fn func(*ListCapacityTasksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCapacityTasksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCapacityTasksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCapacityTasksOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListCatalogItems = "ListCatalogItems" + +// ListCatalogItemsRequest generates a "aws/request.Request" representing the +// client's request for the ListCatalogItems 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 ListCatalogItems for more information on using the ListCatalogItems +// 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 ListCatalogItemsRequest method. +// req, resp := client.ListCatalogItemsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCatalogItems +func (c *Outposts) ListCatalogItemsRequest(input *ListCatalogItemsInput) (req *request.Request, output *ListCatalogItemsOutput) { + op := &request.Operation{ + Name: opListCatalogItems, HTTPMethod: "GET", HTTPPath: "/catalog/items", Paginator: &request.Paginator{ @@ -2068,6 +2545,98 @@ func (c *Outposts) ListTagsForResourceWithContext(ctx aws.Context, input *ListTa return out, req.Send() } +const opStartCapacityTask = "StartCapacityTask" + +// StartCapacityTaskRequest generates a "aws/request.Request" representing the +// client's request for the StartCapacityTask 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 StartCapacityTask for more information on using the StartCapacityTask +// 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 StartCapacityTaskRequest method. +// req, resp := client.StartCapacityTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTask +func (c *Outposts) StartCapacityTaskRequest(input *StartCapacityTaskInput) (req *request.Request, output *StartCapacityTaskOutput) { + op := &request.Operation{ + Name: opStartCapacityTask, + HTTPMethod: "POST", + HTTPPath: "/outposts/{OutpostId}/capacity", + } + + if input == nil { + input = &StartCapacityTaskInput{} + } + + output = &StartCapacityTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartCapacityTask API operation for AWS Outposts. +// +// Starts the specified capacity task. You can have one active capacity task +// for an order. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Outposts's +// API operation StartCapacityTask for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// A parameter is not valid. +// +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - NotFoundException +// The specified request is not valid. +// +// - InternalServerException +// An internal error has occurred. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTask +func (c *Outposts) StartCapacityTask(input *StartCapacityTaskInput) (*StartCapacityTaskOutput, error) { + req, out := c.StartCapacityTaskRequest(input) + return out, req.Send() +} + +// StartCapacityTaskWithContext is the same as StartCapacityTask with the addition of +// the ability to pass a context and additional request options. +// +// See StartCapacityTask 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 *Outposts) StartCapacityTaskWithContext(ctx aws.Context, input *StartCapacityTaskInput, opts ...request.Option) (*StartCapacityTaskOutput, error) { + req, out := c.StartCapacityTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartConnection = "StartConnection" // StartConnectionRequest generates a "aws/request.Request" representing the @@ -3058,13 +3627,19 @@ func (s *AssetLocation) SetRackElevation(v float64) *AssetLocation { return s } -type CancelOrderInput struct { +type CancelCapacityTaskInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID of the order. + // ID of the capacity task that you want to cancel. // - // OrderId is a required field - OrderId *string `location:"uri" locationName:"OrderId" min:"1" type:"string" required:"true"` + // CapacityTaskId is a required field + CapacityTaskId *string `location:"uri" locationName:"CapacityTaskId" min:"21" type:"string" required:"true"` + + // ID or ARN of the Outpost associated with the capacity task that you want + // to cancel. + // + // OutpostIdentifier is a required field + OutpostIdentifier *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3072,7 +3647,7 @@ type CancelOrderInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelOrderInput) String() string { +func (s CancelCapacityTaskInput) String() string { return awsutil.Prettify(s) } @@ -3081,18 +3656,24 @@ func (s CancelOrderInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelOrderInput) GoString() string { +func (s CancelCapacityTaskInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CancelOrderInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CancelOrderInput"} - if s.OrderId == nil { - invalidParams.Add(request.NewErrParamRequired("OrderId")) +func (s *CancelCapacityTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelCapacityTaskInput"} + if s.CapacityTaskId == nil { + invalidParams.Add(request.NewErrParamRequired("CapacityTaskId")) } - if s.OrderId != nil && len(*s.OrderId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("OrderId", 1)) + if s.CapacityTaskId != nil && len(*s.CapacityTaskId) < 21 { + invalidParams.Add(request.NewErrParamMinLen("CapacityTaskId", 21)) + } + if s.OutpostIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("OutpostIdentifier")) + } + if s.OutpostIdentifier != nil && len(*s.OutpostIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutpostIdentifier", 1)) } if invalidParams.Len() > 0 { @@ -3101,13 +3682,19 @@ func (s *CancelOrderInput) Validate() error { return nil } -// SetOrderId sets the OrderId field's value. -func (s *CancelOrderInput) SetOrderId(v string) *CancelOrderInput { - s.OrderId = &v +// SetCapacityTaskId sets the CapacityTaskId field's value. +func (s *CancelCapacityTaskInput) SetCapacityTaskId(v string) *CancelCapacityTaskInput { + s.CapacityTaskId = &v return s } -type CancelOrderOutput struct { +// SetOutpostIdentifier sets the OutpostIdentifier field's value. +func (s *CancelCapacityTaskInput) SetOutpostIdentifier(v string) *CancelCapacityTaskInput { + s.OutpostIdentifier = &v + return s +} + +type CancelCapacityTaskOutput struct { _ struct{} `type:"structure"` } @@ -3116,7 +3703,7 @@ type CancelOrderOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelOrderOutput) String() string { +func (s CancelCapacityTaskOutput) String() string { return awsutil.Prettify(s) } @@ -3125,34 +3712,235 @@ func (s CancelOrderOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CancelOrderOutput) GoString() string { +func (s CancelCapacityTaskOutput) GoString() string { return s.String() } -// Information about a catalog item. -type CatalogItem struct { - _ struct{} `type:"structure"` - - // The ID of the catalog item. - CatalogItemId *string `min:"1" type:"string"` - - // Information about the EC2 capacity of an item. - EC2Capacities []*EC2Capacity `type:"list"` - - // The status of a catalog item. - ItemStatus *string `type:"string" enum:"CatalogItemStatus"` - - // Information about the power draw of an item. - PowerKva *float64 `type:"float"` - - // The supported storage options for the catalog item. - SupportedStorage []*string `type:"list" enum:"SupportedStorageEnum"` - - // The uplink speed this catalog item requires for the connection to the Region. - SupportedUplinkGbps []*int64 `type:"list"` +type CancelOrderInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The weight of the item in pounds. - WeightLbs *int64 `type:"integer"` + // The ID of the order. + // + // OrderId is a required field + OrderId *string `location:"uri" locationName:"OrderId" 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 CancelOrderInput) 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 CancelOrderInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelOrderInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelOrderInput"} + if s.OrderId == nil { + invalidParams.Add(request.NewErrParamRequired("OrderId")) + } + if s.OrderId != nil && len(*s.OrderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OrderId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOrderId sets the OrderId field's value. +func (s *CancelOrderInput) SetOrderId(v string) *CancelOrderInput { + s.OrderId = &v + return s +} + +type CancelOrderOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelOrderOutput) 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 CancelOrderOutput) GoString() string { + return s.String() +} + +// The capacity tasks that failed. +type CapacityTaskFailure struct { + _ struct{} `type:"structure"` + + // The reason that the specified capacity task failed. + // + // Reason is a required field + Reason *string `type:"string" required:"true"` + + // The type of failure. + Type *string `type:"string" enum:"CapacityTaskFailureType"` +} + +// 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 CapacityTaskFailure) 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 CapacityTaskFailure) GoString() string { + return s.String() +} + +// SetReason sets the Reason field's value. +func (s *CapacityTaskFailure) SetReason(v string) *CapacityTaskFailure { + s.Reason = &v + return s +} + +// SetType sets the Type field's value. +func (s *CapacityTaskFailure) SetType(v string) *CapacityTaskFailure { + s.Type = &v + return s +} + +// The summary of the capacity task. +type CapacityTaskSummary struct { + _ struct{} `type:"structure"` + + // The ID of the specified capacity task. + CapacityTaskId *string `min:"21" type:"string"` + + // The status of the capacity task. + CapacityTaskStatus *string `type:"string" enum:"CapacityTaskStatus"` + + // The date that the specified capacity task successfully ran. + CompletionDate *time.Time `type:"timestamp"` + + // The date that the specified capacity task was created. + CreationDate *time.Time `type:"timestamp"` + + // The date that the specified capacity was last modified. + LastModifiedDate *time.Time `type:"timestamp"` + + // The ID of the Amazon Web Services Outposts order of the host associated with + // the capacity task. + OrderId *string `min:"1" type:"string"` + + // The ID of the Outpost associated with the specified capacity task. + OutpostId *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 CapacityTaskSummary) 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 CapacityTaskSummary) GoString() string { + return s.String() +} + +// SetCapacityTaskId sets the CapacityTaskId field's value. +func (s *CapacityTaskSummary) SetCapacityTaskId(v string) *CapacityTaskSummary { + s.CapacityTaskId = &v + return s +} + +// SetCapacityTaskStatus sets the CapacityTaskStatus field's value. +func (s *CapacityTaskSummary) SetCapacityTaskStatus(v string) *CapacityTaskSummary { + s.CapacityTaskStatus = &v + return s +} + +// SetCompletionDate sets the CompletionDate field's value. +func (s *CapacityTaskSummary) SetCompletionDate(v time.Time) *CapacityTaskSummary { + s.CompletionDate = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *CapacityTaskSummary) SetCreationDate(v time.Time) *CapacityTaskSummary { + s.CreationDate = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *CapacityTaskSummary) SetLastModifiedDate(v time.Time) *CapacityTaskSummary { + s.LastModifiedDate = &v + return s +} + +// SetOrderId sets the OrderId field's value. +func (s *CapacityTaskSummary) SetOrderId(v string) *CapacityTaskSummary { + s.OrderId = &v + return s +} + +// SetOutpostId sets the OutpostId field's value. +func (s *CapacityTaskSummary) SetOutpostId(v string) *CapacityTaskSummary { + s.OutpostId = &v + return s +} + +// Information about a catalog item. +type CatalogItem struct { + _ struct{} `type:"structure"` + + // The ID of the catalog item. + CatalogItemId *string `min:"1" type:"string"` + + // Information about the EC2 capacity of an item. + EC2Capacities []*EC2Capacity `type:"list"` + + // The status of a catalog item. + ItemStatus *string `type:"string" enum:"CatalogItemStatus"` + + // Information about the power draw of an item. + PowerKva *float64 `type:"float"` + + // The supported storage options for the catalog item. + SupportedStorage []*string `type:"list" enum:"SupportedStorageEnum"` + + // The uplink speed this catalog item requires for the connection to the Region. + SupportedUplinkGbps []*int64 `type:"list"` + + // The weight of the item in pounds. + WeightLbs *int64 `type:"integer"` } // String returns the string representation. @@ -3868,7 +4656,7 @@ func (s *CreateSiteOutput) SetSite(v *Site) *CreateSiteOutput { type DeleteOutpostInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID or the Amazon Resource Name (ARN) of the Outpost. + // The ID or ARN of the Outpost. // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` @@ -4057,6 +4845,196 @@ func (s *EC2Capacity) SetQuantity(v string) *EC2Capacity { return s } +type GetCapacityTaskInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // ID of the capacity task. + // + // CapacityTaskId is a required field + CapacityTaskId *string `location:"uri" locationName:"CapacityTaskId" min:"21" type:"string" required:"true"` + + // ID or ARN of the Outpost associated with the specified capacity task. + // + // OutpostIdentifier is a required field + OutpostIdentifier *string `location:"uri" locationName:"OutpostId" 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 GetCapacityTaskInput) 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 GetCapacityTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCapacityTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCapacityTaskInput"} + if s.CapacityTaskId == nil { + invalidParams.Add(request.NewErrParamRequired("CapacityTaskId")) + } + if s.CapacityTaskId != nil && len(*s.CapacityTaskId) < 21 { + invalidParams.Add(request.NewErrParamMinLen("CapacityTaskId", 21)) + } + if s.OutpostIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("OutpostIdentifier")) + } + if s.OutpostIdentifier != nil && len(*s.OutpostIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutpostIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCapacityTaskId sets the CapacityTaskId field's value. +func (s *GetCapacityTaskInput) SetCapacityTaskId(v string) *GetCapacityTaskInput { + s.CapacityTaskId = &v + return s +} + +// SetOutpostIdentifier sets the OutpostIdentifier field's value. +func (s *GetCapacityTaskInput) SetOutpostIdentifier(v string) *GetCapacityTaskInput { + s.OutpostIdentifier = &v + return s +} + +type GetCapacityTaskOutput struct { + _ struct{} `type:"structure"` + + // ID of the capacity task. + CapacityTaskId *string `min:"21" type:"string"` + + // Status of the capacity task. + // + // A capacity task can have one of the following statuses: + // + // * REQUESTED - The capacity task was created and is awaiting the next step + // by Amazon Web Services Outposts. + // + // * IN_PROGRESS - The capacity task is running and cannot be cancelled. + // + // * WAITING_FOR_EVACUATION - The capacity task requires capacity to run. + // You must stop the recommended EC2 running instances to free up capacity + // for the task to run. + CapacityTaskStatus *string `type:"string" enum:"CapacityTaskStatus"` + + // The date the capacity task ran successfully. + CompletionDate *time.Time `type:"timestamp"` + + // The date the capacity task was created. + CreationDate *time.Time `type:"timestamp"` + + // Performs a dry run to determine if you are above or below instance capacity. + DryRun *bool `type:"boolean"` + + // Reason why the capacity task failed. + Failed *CapacityTaskFailure `type:"structure"` + + // The date the capacity task was last modified. + LastModifiedDate *time.Time `type:"timestamp"` + + // ID of the Amazon Web Services Outposts order associated with the specified + // capacity task. + OrderId *string `min:"1" type:"string"` + + // ID of the Outpost associated with the specified capacity task. + OutpostId *string `min:"1" type:"string"` + + // List of instance pools requested in the capacity task. + RequestedInstancePools []*InstanceTypeCapacity `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetCapacityTaskOutput) 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 GetCapacityTaskOutput) GoString() string { + return s.String() +} + +// SetCapacityTaskId sets the CapacityTaskId field's value. +func (s *GetCapacityTaskOutput) SetCapacityTaskId(v string) *GetCapacityTaskOutput { + s.CapacityTaskId = &v + return s +} + +// SetCapacityTaskStatus sets the CapacityTaskStatus field's value. +func (s *GetCapacityTaskOutput) SetCapacityTaskStatus(v string) *GetCapacityTaskOutput { + s.CapacityTaskStatus = &v + return s +} + +// SetCompletionDate sets the CompletionDate field's value. +func (s *GetCapacityTaskOutput) SetCompletionDate(v time.Time) *GetCapacityTaskOutput { + s.CompletionDate = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *GetCapacityTaskOutput) SetCreationDate(v time.Time) *GetCapacityTaskOutput { + s.CreationDate = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *GetCapacityTaskOutput) SetDryRun(v bool) *GetCapacityTaskOutput { + s.DryRun = &v + return s +} + +// SetFailed sets the Failed field's value. +func (s *GetCapacityTaskOutput) SetFailed(v *CapacityTaskFailure) *GetCapacityTaskOutput { + s.Failed = v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *GetCapacityTaskOutput) SetLastModifiedDate(v time.Time) *GetCapacityTaskOutput { + s.LastModifiedDate = &v + return s +} + +// SetOrderId sets the OrderId field's value. +func (s *GetCapacityTaskOutput) SetOrderId(v string) *GetCapacityTaskOutput { + s.OrderId = &v + return s +} + +// SetOutpostId sets the OutpostId field's value. +func (s *GetCapacityTaskOutput) SetOutpostId(v string) *GetCapacityTaskOutput { + s.OutpostId = &v + return s +} + +// SetRequestedInstancePools sets the RequestedInstancePools field's value. +func (s *GetCapacityTaskOutput) SetRequestedInstancePools(v []*InstanceTypeCapacity) *GetCapacityTaskOutput { + s.RequestedInstancePools = v + return s +} + type GetCatalogItemInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -4309,7 +5287,7 @@ func (s *GetOrderOutput) SetOrder(v *Order) *GetOrderOutput { type GetOutpostInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID or the Amazon Resource Name (ARN) of the Outpost. + // The ID or ARN of the Outpost. // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` @@ -4364,7 +5342,7 @@ type GetOutpostInstanceTypesInput struct { // The pagination token. NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` - // The ID or the Amazon Resource Name (ARN) of the Outpost. + // The ID or ARN of the Outpost. // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` @@ -4517,6 +5495,136 @@ func (s *GetOutpostOutput) SetOutpost(v *Outpost) *GetOutpostOutput { return s } +type GetOutpostSupportedInstanceTypesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum page size. + MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` + + // The pagination token. + NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` + + // The ID for the Amazon Web Services Outposts order. + // + // OrderId is a required field + OrderId *string `location:"querystring" locationName:"OrderId" min:"1" type:"string" required:"true"` + + // The ID or ARN of the Outpost. + // + // OutpostIdentifier is a required field + OutpostIdentifier *string `location:"uri" locationName:"OutpostId" 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 GetOutpostSupportedInstanceTypesInput) 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 GetOutpostSupportedInstanceTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetOutpostSupportedInstanceTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetOutpostSupportedInstanceTypesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.OrderId == nil { + invalidParams.Add(request.NewErrParamRequired("OrderId")) + } + if s.OrderId != nil && len(*s.OrderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OrderId", 1)) + } + if s.OutpostIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("OutpostIdentifier")) + } + if s.OutpostIdentifier != nil && len(*s.OutpostIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutpostIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetOutpostSupportedInstanceTypesInput) SetMaxResults(v int64) *GetOutpostSupportedInstanceTypesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetOutpostSupportedInstanceTypesInput) SetNextToken(v string) *GetOutpostSupportedInstanceTypesInput { + s.NextToken = &v + return s +} + +// SetOrderId sets the OrderId field's value. +func (s *GetOutpostSupportedInstanceTypesInput) SetOrderId(v string) *GetOutpostSupportedInstanceTypesInput { + s.OrderId = &v + return s +} + +// SetOutpostIdentifier sets the OutpostIdentifier field's value. +func (s *GetOutpostSupportedInstanceTypesInput) SetOutpostIdentifier(v string) *GetOutpostSupportedInstanceTypesInput { + s.OutpostIdentifier = &v + return s +} + +type GetOutpostSupportedInstanceTypesOutput struct { + _ struct{} `type:"structure"` + + // Information about the instance types. + InstanceTypes []*InstanceTypeItem `type:"list"` + + // The pagination token. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetOutpostSupportedInstanceTypesOutput) 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 GetOutpostSupportedInstanceTypesOutput) GoString() string { + return s.String() +} + +// SetInstanceTypes sets the InstanceTypes field's value. +func (s *GetOutpostSupportedInstanceTypesOutput) SetInstanceTypes(v []*InstanceTypeItem) *GetOutpostSupportedInstanceTypesOutput { + s.InstanceTypes = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetOutpostSupportedInstanceTypesOutput) SetNextToken(v string) *GetOutpostSupportedInstanceTypesOutput { + s.NextToken = &v + return s +} + type GetSiteAddressInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -4703,9 +5811,74 @@ func (s GetSiteOutput) GoString() string { return s.String() } -// SetSite sets the Site field's value. -func (s *GetSiteOutput) SetSite(v *Site) *GetSiteOutput { - s.Site = v +// SetSite sets the Site field's value. +func (s *GetSiteOutput) SetSite(v *Site) *GetSiteOutput { + s.Site = v + return s +} + +// The instance type that you specify determines the combination of CPU, memory, +// storage, and networking capacity. +type InstanceTypeCapacity struct { + _ struct{} `type:"structure"` + + // The number of instances for the specified instance type. + // + // Count is a required field + Count *int64 `type:"integer" required:"true"` + + // The instance type of the hosts. + // + // InstanceType is a required field + InstanceType *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InstanceTypeCapacity) 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 InstanceTypeCapacity) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InstanceTypeCapacity) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InstanceTypeCapacity"} + if s.Count == nil { + invalidParams.Add(request.NewErrParamRequired("Count")) + } + if s.InstanceType == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceType")) + } + if s.InstanceType != nil && len(*s.InstanceType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceType", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCount sets the Count field's value. +func (s *InstanceTypeCapacity) SetCount(v int64) *InstanceTypeCapacity { + s.Count = &v + return s +} + +// SetInstanceType sets the InstanceType field's value. +func (s *InstanceTypeCapacity) SetInstanceType(v string) *InstanceTypeCapacity { + s.InstanceType = &v return s } @@ -5132,6 +6305,123 @@ func (s *ListAssetsOutput) SetNextToken(v string) *ListAssetsOutput { return s } +type ListCapacityTasksInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A list of statuses. For example, REQUESTED or WAITING_FOR_EVACUATION. + CapacityTaskStatusFilter []*string `location:"querystring" locationName:"CapacityTaskStatusFilter" type:"list" enum:"CapacityTaskStatus"` + + // The maximum page size. + MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` + + // The pagination token. + NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` + + // Filters the results by an Outpost ID or an Outpost ARN. + OutpostIdentifierFilter *string `location:"querystring" locationName:"OutpostIdentifierFilter" 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 ListCapacityTasksInput) 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 ListCapacityTasksInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListCapacityTasksInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCapacityTasksInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.OutpostIdentifierFilter != nil && len(*s.OutpostIdentifierFilter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutpostIdentifierFilter", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCapacityTaskStatusFilter sets the CapacityTaskStatusFilter field's value. +func (s *ListCapacityTasksInput) SetCapacityTaskStatusFilter(v []*string) *ListCapacityTasksInput { + s.CapacityTaskStatusFilter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListCapacityTasksInput) SetMaxResults(v int64) *ListCapacityTasksInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCapacityTasksInput) SetNextToken(v string) *ListCapacityTasksInput { + s.NextToken = &v + return s +} + +// SetOutpostIdentifierFilter sets the OutpostIdentifierFilter field's value. +func (s *ListCapacityTasksInput) SetOutpostIdentifierFilter(v string) *ListCapacityTasksInput { + s.OutpostIdentifierFilter = &v + return s +} + +type ListCapacityTasksOutput struct { + _ struct{} `type:"structure"` + + // Lists all the capacity tasks. + CapacityTasks []*CapacityTaskSummary `type:"list"` + + // The pagination token. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListCapacityTasksOutput) 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 ListCapacityTasksOutput) GoString() string { + return s.String() +} + +// SetCapacityTasks sets the CapacityTasks field's value. +func (s *ListCapacityTasksOutput) SetCapacityTasks(v []*CapacityTaskSummary) *ListCapacityTasksOutput { + s.CapacityTasks = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCapacityTasksOutput) SetNextToken(v string) *ListCapacityTasksOutput { + s.NextToken = &v + return s +} + type ListCatalogItemsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -6451,6 +7741,222 @@ func (s *Site) SetTags(v map[string]*string) *Site { return s } +type StartCapacityTaskInput struct { + _ struct{} `type:"structure"` + + // You can request a dry run to determine if the instance type and instance + // size changes is above or below available instance capacity. Requesting a + // dry run does not make any changes to your plan. + DryRun *bool `type:"boolean"` + + // The instance pools specified in the capacity task. + // + // InstancePools is a required field + InstancePools []*InstanceTypeCapacity `type:"list" required:"true"` + + // The ID of the Amazon Web Services Outposts order associated with the specified + // capacity task. + // + // OrderId is a required field + OrderId *string `min:"1" type:"string" required:"true"` + + // The ID or ARN of the Outposts associated with the specified capacity task. + // + // OutpostIdentifier is a required field + OutpostIdentifier *string `location:"uri" locationName:"OutpostId" 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 StartCapacityTaskInput) 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 StartCapacityTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartCapacityTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartCapacityTaskInput"} + if s.InstancePools == nil { + invalidParams.Add(request.NewErrParamRequired("InstancePools")) + } + if s.OrderId == nil { + invalidParams.Add(request.NewErrParamRequired("OrderId")) + } + if s.OrderId != nil && len(*s.OrderId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OrderId", 1)) + } + if s.OutpostIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("OutpostIdentifier")) + } + if s.OutpostIdentifier != nil && len(*s.OutpostIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutpostIdentifier", 1)) + } + if s.InstancePools != nil { + for i, v := range s.InstancePools { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InstancePools", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *StartCapacityTaskInput) SetDryRun(v bool) *StartCapacityTaskInput { + s.DryRun = &v + return s +} + +// SetInstancePools sets the InstancePools field's value. +func (s *StartCapacityTaskInput) SetInstancePools(v []*InstanceTypeCapacity) *StartCapacityTaskInput { + s.InstancePools = v + return s +} + +// SetOrderId sets the OrderId field's value. +func (s *StartCapacityTaskInput) SetOrderId(v string) *StartCapacityTaskInput { + s.OrderId = &v + return s +} + +// SetOutpostIdentifier sets the OutpostIdentifier field's value. +func (s *StartCapacityTaskInput) SetOutpostIdentifier(v string) *StartCapacityTaskInput { + s.OutpostIdentifier = &v + return s +} + +type StartCapacityTaskOutput struct { + _ struct{} `type:"structure"` + + // ID of the capacity task that you want to start. + CapacityTaskId *string `min:"21" type:"string"` + + // Status of the specified capacity task. + CapacityTaskStatus *string `type:"string" enum:"CapacityTaskStatus"` + + // Date that the specified capacity task ran successfully. + CompletionDate *time.Time `type:"timestamp"` + + // Date that the specified capacity task was created. + CreationDate *time.Time `type:"timestamp"` + + // Results of the dry run showing if the specified capacity task is above or + // below the available instance capacity. + DryRun *bool `type:"boolean"` + + // Reason that the specified capacity task failed. + Failed *CapacityTaskFailure `type:"structure"` + + // Date that the specified capacity task was last modified. + LastModifiedDate *time.Time `type:"timestamp"` + + // ID of the Amazon Web Services Outposts order of the host associated with + // the capacity task. + OrderId *string `min:"1" type:"string"` + + // ID of the Outpost associated with the capacity task. + OutpostId *string `min:"1" type:"string"` + + // List of the instance pools requested in the specified capacity task. + RequestedInstancePools []*InstanceTypeCapacity `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartCapacityTaskOutput) 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 StartCapacityTaskOutput) GoString() string { + return s.String() +} + +// SetCapacityTaskId sets the CapacityTaskId field's value. +func (s *StartCapacityTaskOutput) SetCapacityTaskId(v string) *StartCapacityTaskOutput { + s.CapacityTaskId = &v + return s +} + +// SetCapacityTaskStatus sets the CapacityTaskStatus field's value. +func (s *StartCapacityTaskOutput) SetCapacityTaskStatus(v string) *StartCapacityTaskOutput { + s.CapacityTaskStatus = &v + return s +} + +// SetCompletionDate sets the CompletionDate field's value. +func (s *StartCapacityTaskOutput) SetCompletionDate(v time.Time) *StartCapacityTaskOutput { + s.CompletionDate = &v + return s +} + +// SetCreationDate sets the CreationDate field's value. +func (s *StartCapacityTaskOutput) SetCreationDate(v time.Time) *StartCapacityTaskOutput { + s.CreationDate = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *StartCapacityTaskOutput) SetDryRun(v bool) *StartCapacityTaskOutput { + s.DryRun = &v + return s +} + +// SetFailed sets the Failed field's value. +func (s *StartCapacityTaskOutput) SetFailed(v *CapacityTaskFailure) *StartCapacityTaskOutput { + s.Failed = v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *StartCapacityTaskOutput) SetLastModifiedDate(v time.Time) *StartCapacityTaskOutput { + s.LastModifiedDate = &v + return s +} + +// SetOrderId sets the OrderId field's value. +func (s *StartCapacityTaskOutput) SetOrderId(v string) *StartCapacityTaskOutput { + s.OrderId = &v + return s +} + +// SetOutpostId sets the OutpostId field's value. +func (s *StartCapacityTaskOutput) SetOutpostId(v string) *StartCapacityTaskOutput { + s.OutpostId = &v + return s +} + +// SetRequestedInstancePools sets the RequestedInstancePools field's value. +func (s *StartCapacityTaskOutput) SetRequestedInstancePools(v []*InstanceTypeCapacity) *StartCapacityTaskOutput { + s.RequestedInstancePools = v + return s +} + type StartConnectionInput struct { _ struct{} `type:"structure"` @@ -6768,7 +8274,7 @@ type UpdateOutpostInput struct { // The name of the Outpost. Name *string `min:"1" type:"string"` - // The ID or the Amazon Resource Name (ARN) of the Outpost. + // The ID or ARN of the Outpost. // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` @@ -7432,6 +8938,46 @@ func AssetType_Values() []string { } } +const ( + // CapacityTaskFailureTypeUnsupportedCapacityConfiguration is a CapacityTaskFailureType enum value + CapacityTaskFailureTypeUnsupportedCapacityConfiguration = "UNSUPPORTED_CAPACITY_CONFIGURATION" +) + +// CapacityTaskFailureType_Values returns all elements of the CapacityTaskFailureType enum +func CapacityTaskFailureType_Values() []string { + return []string{ + CapacityTaskFailureTypeUnsupportedCapacityConfiguration, + } +} + +const ( + // CapacityTaskStatusRequested is a CapacityTaskStatus enum value + CapacityTaskStatusRequested = "REQUESTED" + + // CapacityTaskStatusInProgress is a CapacityTaskStatus enum value + CapacityTaskStatusInProgress = "IN_PROGRESS" + + // CapacityTaskStatusFailed is a CapacityTaskStatus enum value + CapacityTaskStatusFailed = "FAILED" + + // CapacityTaskStatusCompleted is a CapacityTaskStatus enum value + CapacityTaskStatusCompleted = "COMPLETED" + + // CapacityTaskStatusCancelled is a CapacityTaskStatus enum value + CapacityTaskStatusCancelled = "CANCELLED" +) + +// CapacityTaskStatus_Values returns all elements of the CapacityTaskStatus enum +func CapacityTaskStatus_Values() []string { + return []string{ + CapacityTaskStatusRequested, + CapacityTaskStatusInProgress, + CapacityTaskStatusFailed, + CapacityTaskStatusCompleted, + CapacityTaskStatusCancelled, + } +} + const ( // CatalogItemClassRack is a CatalogItemClass enum value CatalogItemClassRack = "RACK" diff --git a/service/outposts/outpostsiface/interface.go b/service/outposts/outpostsiface/interface.go index 068472f8e0c..87ece053257 100644 --- a/service/outposts/outpostsiface/interface.go +++ b/service/outposts/outpostsiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // AWS Outposts. // func myFunc(svc outpostsiface.OutpostsAPI) bool { -// // Make svc.CancelOrder request +// // Make svc.CancelCapacityTask request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockOutpostsClient struct { // outpostsiface.OutpostsAPI // } -// func (m *mockOutpostsClient) CancelOrder(input *outposts.CancelOrderInput) (*outposts.CancelOrderOutput, error) { +// func (m *mockOutpostsClient) CancelCapacityTask(input *outposts.CancelCapacityTaskInput) (*outposts.CancelCapacityTaskOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,10 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type OutpostsAPI interface { + CancelCapacityTask(*outposts.CancelCapacityTaskInput) (*outposts.CancelCapacityTaskOutput, error) + CancelCapacityTaskWithContext(aws.Context, *outposts.CancelCapacityTaskInput, ...request.Option) (*outposts.CancelCapacityTaskOutput, error) + CancelCapacityTaskRequest(*outposts.CancelCapacityTaskInput) (*request.Request, *outposts.CancelCapacityTaskOutput) + CancelOrder(*outposts.CancelOrderInput) (*outposts.CancelOrderOutput, error) CancelOrderWithContext(aws.Context, *outposts.CancelOrderInput, ...request.Option) (*outposts.CancelOrderOutput, error) CancelOrderRequest(*outposts.CancelOrderInput) (*request.Request, *outposts.CancelOrderOutput) @@ -84,6 +88,10 @@ type OutpostsAPI interface { DeleteSiteWithContext(aws.Context, *outposts.DeleteSiteInput, ...request.Option) (*outposts.DeleteSiteOutput, error) DeleteSiteRequest(*outposts.DeleteSiteInput) (*request.Request, *outposts.DeleteSiteOutput) + GetCapacityTask(*outposts.GetCapacityTaskInput) (*outposts.GetCapacityTaskOutput, error) + GetCapacityTaskWithContext(aws.Context, *outposts.GetCapacityTaskInput, ...request.Option) (*outposts.GetCapacityTaskOutput, error) + GetCapacityTaskRequest(*outposts.GetCapacityTaskInput) (*request.Request, *outposts.GetCapacityTaskOutput) + GetCatalogItem(*outposts.GetCatalogItemInput) (*outposts.GetCatalogItemOutput, error) GetCatalogItemWithContext(aws.Context, *outposts.GetCatalogItemInput, ...request.Option) (*outposts.GetCatalogItemOutput, error) GetCatalogItemRequest(*outposts.GetCatalogItemInput) (*request.Request, *outposts.GetCatalogItemOutput) @@ -107,6 +115,13 @@ type OutpostsAPI interface { GetOutpostInstanceTypesPages(*outposts.GetOutpostInstanceTypesInput, func(*outposts.GetOutpostInstanceTypesOutput, bool) bool) error GetOutpostInstanceTypesPagesWithContext(aws.Context, *outposts.GetOutpostInstanceTypesInput, func(*outposts.GetOutpostInstanceTypesOutput, bool) bool, ...request.Option) error + GetOutpostSupportedInstanceTypes(*outposts.GetOutpostSupportedInstanceTypesInput) (*outposts.GetOutpostSupportedInstanceTypesOutput, error) + GetOutpostSupportedInstanceTypesWithContext(aws.Context, *outposts.GetOutpostSupportedInstanceTypesInput, ...request.Option) (*outposts.GetOutpostSupportedInstanceTypesOutput, error) + GetOutpostSupportedInstanceTypesRequest(*outposts.GetOutpostSupportedInstanceTypesInput) (*request.Request, *outposts.GetOutpostSupportedInstanceTypesOutput) + + GetOutpostSupportedInstanceTypesPages(*outposts.GetOutpostSupportedInstanceTypesInput, func(*outposts.GetOutpostSupportedInstanceTypesOutput, bool) bool) error + GetOutpostSupportedInstanceTypesPagesWithContext(aws.Context, *outposts.GetOutpostSupportedInstanceTypesInput, func(*outposts.GetOutpostSupportedInstanceTypesOutput, bool) bool, ...request.Option) error + GetSite(*outposts.GetSiteInput) (*outposts.GetSiteOutput, error) GetSiteWithContext(aws.Context, *outposts.GetSiteInput, ...request.Option) (*outposts.GetSiteOutput, error) GetSiteRequest(*outposts.GetSiteInput) (*request.Request, *outposts.GetSiteOutput) @@ -122,6 +137,13 @@ type OutpostsAPI interface { ListAssetsPages(*outposts.ListAssetsInput, func(*outposts.ListAssetsOutput, bool) bool) error ListAssetsPagesWithContext(aws.Context, *outposts.ListAssetsInput, func(*outposts.ListAssetsOutput, bool) bool, ...request.Option) error + ListCapacityTasks(*outposts.ListCapacityTasksInput) (*outposts.ListCapacityTasksOutput, error) + ListCapacityTasksWithContext(aws.Context, *outposts.ListCapacityTasksInput, ...request.Option) (*outposts.ListCapacityTasksOutput, error) + ListCapacityTasksRequest(*outposts.ListCapacityTasksInput) (*request.Request, *outposts.ListCapacityTasksOutput) + + ListCapacityTasksPages(*outposts.ListCapacityTasksInput, func(*outposts.ListCapacityTasksOutput, bool) bool) error + ListCapacityTasksPagesWithContext(aws.Context, *outposts.ListCapacityTasksInput, func(*outposts.ListCapacityTasksOutput, bool) bool, ...request.Option) error + ListCatalogItems(*outposts.ListCatalogItemsInput) (*outposts.ListCatalogItemsOutput, error) ListCatalogItemsWithContext(aws.Context, *outposts.ListCatalogItemsInput, ...request.Option) (*outposts.ListCatalogItemsOutput, error) ListCatalogItemsRequest(*outposts.ListCatalogItemsInput) (*request.Request, *outposts.ListCatalogItemsOutput) @@ -154,6 +176,10 @@ type OutpostsAPI interface { ListTagsForResourceWithContext(aws.Context, *outposts.ListTagsForResourceInput, ...request.Option) (*outposts.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*outposts.ListTagsForResourceInput) (*request.Request, *outposts.ListTagsForResourceOutput) + StartCapacityTask(*outposts.StartCapacityTaskInput) (*outposts.StartCapacityTaskOutput, error) + StartCapacityTaskWithContext(aws.Context, *outposts.StartCapacityTaskInput, ...request.Option) (*outposts.StartCapacityTaskOutput, error) + StartCapacityTaskRequest(*outposts.StartCapacityTaskInput) (*request.Request, *outposts.StartCapacityTaskOutput) + StartConnection(*outposts.StartConnectionInput) (*outposts.StartConnectionOutput, error) StartConnectionWithContext(aws.Context, *outposts.StartConnectionInput, ...request.Option) (*outposts.StartConnectionOutput, error) StartConnectionRequest(*outposts.StartConnectionInput) (*request.Request, *outposts.StartConnectionOutput) diff --git a/service/wellarchitected/api.go b/service/wellarchitected/api.go index 4787bc5af23..c4c8ccaa054 100644 --- a/service/wellarchitected/api.go +++ b/service/wellarchitected/api.go @@ -2517,6 +2517,94 @@ func (c *WellArchitected) GetConsolidatedReportPagesWithContext(ctx aws.Context, return p.Err() } +const opGetGlobalSettings = "GetGlobalSettings" + +// GetGlobalSettingsRequest generates a "aws/request.Request" representing the +// client's request for the GetGlobalSettings 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 GetGlobalSettings for more information on using the GetGlobalSettings +// 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 GetGlobalSettingsRequest method. +// req, resp := client.GetGlobalSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetGlobalSettings +func (c *WellArchitected) GetGlobalSettingsRequest(input *GetGlobalSettingsInput) (req *request.Request, output *GetGlobalSettingsOutput) { + op := &request.Operation{ + Name: opGetGlobalSettings, + HTTPMethod: "GET", + HTTPPath: "/global-settings", + } + + if input == nil { + input = &GetGlobalSettingsInput{} + } + + output = &GetGlobalSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetGlobalSettings API operation for AWS Well-Architected Tool. +// +// Global settings for all workloads. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Well-Architected Tool's +// API operation GetGlobalSettings for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetGlobalSettings +func (c *WellArchitected) GetGlobalSettings(input *GetGlobalSettingsInput) (*GetGlobalSettingsOutput, error) { + req, out := c.GetGlobalSettingsRequest(input) + return out, req.Send() +} + +// GetGlobalSettingsWithContext is the same as GetGlobalSettings with the addition of +// the ability to pass a context and additional request options. +// +// See GetGlobalSettings 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 *WellArchitected) GetGlobalSettingsWithContext(ctx aws.Context, input *GetGlobalSettingsInput, opts ...request.Option) (*GetGlobalSettingsOutput, error) { + req, out := c.GetGlobalSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetLens = "GetLens" // GetLensRequest generates a "aws/request.Request" representing the @@ -4131,7 +4219,7 @@ func (c *WellArchitected) ListLensReviewImprovementsRequest(input *ListLensRevie // ListLensReviewImprovements API operation for AWS Well-Architected Tool. // -// List lens review improvements. +// List the improvements of a particular lens review. // // 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 @@ -6683,7 +6771,7 @@ func (c *WellArchitected) UpdateGlobalSettingsRequest(input *UpdateGlobalSetting // UpdateGlobalSettings API operation for AWS Well-Architected Tool. // -// Updates whether the Amazon Web Services account is opted into organization +// Update whether the Amazon Web Services account is opted into organization // sharing and discovery integration features. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -6732,6 +6820,101 @@ func (c *WellArchitected) UpdateGlobalSettingsWithContext(ctx aws.Context, input return out, req.Send() } +const opUpdateIntegration = "UpdateIntegration" + +// UpdateIntegrationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateIntegration 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 UpdateIntegration for more information on using the UpdateIntegration +// 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 UpdateIntegrationRequest method. +// req, resp := client.UpdateIntegrationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateIntegration +func (c *WellArchitected) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *UpdateIntegrationOutput) { + op := &request.Operation{ + Name: opUpdateIntegration, + HTTPMethod: "POST", + HTTPPath: "/workloads/{WorkloadId}/updateIntegration", + } + + if input == nil { + input = &UpdateIntegrationInput{} + } + + output = &UpdateIntegrationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateIntegration API operation for AWS Well-Architected Tool. +// +// Update integration features. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Well-Architected Tool's +// API operation UpdateIntegration for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The user input is not valid. +// +// - ConflictException +// The resource has already been processed, was deleted, or is too large. +// +// - ResourceNotFoundException +// The requested resource was not found. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateIntegration +func (c *WellArchitected) UpdateIntegration(input *UpdateIntegrationInput) (*UpdateIntegrationOutput, error) { + req, out := c.UpdateIntegrationRequest(input) + return out, req.Send() +} + +// UpdateIntegrationWithContext is the same as UpdateIntegration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateIntegration 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 *WellArchitected) UpdateIntegrationWithContext(ctx aws.Context, input *UpdateIntegrationInput, opts ...request.Option) (*UpdateIntegrationOutput, error) { + req, out := c.UpdateIntegrationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateLensReview = "UpdateLensReview" // UpdateLensReviewRequest generates a "aws/request.Request" representing the @@ -7560,6 +7743,9 @@ func (c *WellArchitected) UpgradeLensReviewRequest(input *UpgradeLensReviewInput // - ThrottlingException // Request was denied due to request throttling. // +// - ServiceQuotaExceededException +// The user has reached their resource quota. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpgradeLensReview func (c *WellArchitected) UpgradeLensReview(input *UpgradeLensReviewInput) (*UpgradeLensReviewOutput, error) { req, out := c.UpgradeLensReviewRequest(input) @@ -7655,6 +7841,9 @@ func (c *WellArchitected) UpgradeProfileVersionRequest(input *UpgradeProfileVers // - ThrottlingException // Request was denied due to request throttling. // +// - ServiceQuotaExceededException +// The user has reached their resource quota. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpgradeProfileVersion func (c *WellArchitected) UpgradeProfileVersion(input *UpgradeProfileVersionInput) (*UpgradeProfileVersionOutput, error) { req, out := c.UpgradeProfileVersionRequest(input) @@ -7837,6 +8026,155 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Account-level: Input for the Jira configuration. +type AccountJiraConfigurationInput_ struct { + _ struct{} `type:"structure"` + + // Account-level: Configuration status of the Jira integration. + IntegrationStatus *string `type:"string" enum:"IntegrationStatusInput_"` + + // Account-level: Jira issue management status. + IssueManagementStatus *string `type:"string" enum:"AccountJiraIssueManagementStatus"` + + // Account-level: Jira issue management type. + IssueManagementType *string `type:"string" enum:"IssueManagementType"` + + // Account-level: Jira project key to sync workloads to. + JiraProjectKey *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 AccountJiraConfigurationInput_) 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 AccountJiraConfigurationInput_) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AccountJiraConfigurationInput_) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AccountJiraConfigurationInput_"} + if s.JiraProjectKey != nil && len(*s.JiraProjectKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JiraProjectKey", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIntegrationStatus sets the IntegrationStatus field's value. +func (s *AccountJiraConfigurationInput_) SetIntegrationStatus(v string) *AccountJiraConfigurationInput_ { + s.IntegrationStatus = &v + return s +} + +// SetIssueManagementStatus sets the IssueManagementStatus field's value. +func (s *AccountJiraConfigurationInput_) SetIssueManagementStatus(v string) *AccountJiraConfigurationInput_ { + s.IssueManagementStatus = &v + return s +} + +// SetIssueManagementType sets the IssueManagementType field's value. +func (s *AccountJiraConfigurationInput_) SetIssueManagementType(v string) *AccountJiraConfigurationInput_ { + s.IssueManagementType = &v + return s +} + +// SetJiraProjectKey sets the JiraProjectKey field's value. +func (s *AccountJiraConfigurationInput_) SetJiraProjectKey(v string) *AccountJiraConfigurationInput_ { + s.JiraProjectKey = &v + return s +} + +// Account-level: Output configuration of the Jira integration. +type AccountJiraConfigurationOutput_ struct { + _ struct{} `type:"structure"` + + // Account-level: Configuration status of the Jira integration. + IntegrationStatus *string `type:"string" enum:"IntegrationStatus"` + + // Account-level: Jira issue management status. + IssueManagementStatus *string `type:"string" enum:"AccountJiraIssueManagementStatus"` + + // Account-level: Jira issue management type. + IssueManagementType *string `type:"string" enum:"IssueManagementType"` + + // Account-level: Jira project key to sync workloads to. + JiraProjectKey *string `min:"1" type:"string"` + + // Account-level: Status message on configuration of the Jira integration. + StatusMessage *string `min:"1" type:"string"` + + // Account-level: Jira subdomain URL. + Subdomain *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 AccountJiraConfigurationOutput_) 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 AccountJiraConfigurationOutput_) GoString() string { + return s.String() +} + +// SetIntegrationStatus sets the IntegrationStatus field's value. +func (s *AccountJiraConfigurationOutput_) SetIntegrationStatus(v string) *AccountJiraConfigurationOutput_ { + s.IntegrationStatus = &v + return s +} + +// SetIssueManagementStatus sets the IssueManagementStatus field's value. +func (s *AccountJiraConfigurationOutput_) SetIssueManagementStatus(v string) *AccountJiraConfigurationOutput_ { + s.IssueManagementStatus = &v + return s +} + +// SetIssueManagementType sets the IssueManagementType field's value. +func (s *AccountJiraConfigurationOutput_) SetIssueManagementType(v string) *AccountJiraConfigurationOutput_ { + s.IssueManagementType = &v + return s +} + +// SetJiraProjectKey sets the JiraProjectKey field's value. +func (s *AccountJiraConfigurationOutput_) SetJiraProjectKey(v string) *AccountJiraConfigurationOutput_ { + s.JiraProjectKey = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *AccountJiraConfigurationOutput_) SetStatusMessage(v string) *AccountJiraConfigurationOutput_ { + s.StatusMessage = &v + return s +} + +// SetSubdomain sets the Subdomain field's value. +func (s *AccountJiraConfigurationOutput_) SetSubdomain(v string) *AccountJiraConfigurationOutput_ { + s.Subdomain = &v + return s +} + // The choice level additional resources for a custom lens. // // This field does not apply to Amazon Web Services official lenses. @@ -7916,6 +8254,9 @@ type Answer struct { // Defines whether this question is applicable to a lens review. IsApplicable *bool `type:"boolean"` + // Configuration of the Jira integration. + JiraConfiguration *JiraConfiguration `type:"structure"` + // The notes associated with the workload. // // For a review template, these are the notes that will be associated with the @@ -8002,6 +8343,12 @@ func (s *Answer) SetIsApplicable(v bool) *Answer { return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *Answer) SetJiraConfiguration(v *JiraConfiguration) *Answer { + s.JiraConfiguration = v + return s +} + // SetNotes sets the Notes field's value. func (s *Answer) SetNotes(v string) *Answer { s.Notes = &v @@ -8063,6 +8410,9 @@ type AnswerSummary struct { // Defines whether this question is applicable to a lens review. IsApplicable *bool `type:"boolean"` + // Configuration of the Jira integration. + JiraConfiguration *JiraConfiguration `type:"structure"` + // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. @@ -8125,6 +8475,12 @@ func (s *AnswerSummary) SetIsApplicable(v bool) *AnswerSummary { return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *AnswerSummary) SetJiraConfiguration(v *JiraConfiguration) *AnswerSummary { + s.JiraConfiguration = v + return s +} + // SetPillarId sets the PillarId field's value. func (s *AnswerSummary) SetPillarId(v string) *AnswerSummary { s.PillarId = &v @@ -10292,6 +10648,9 @@ type CreateWorkloadInput struct { // * Other IndustryType *string `type:"string"` + // Jira configuration settings when creating a workload. + JiraConfiguration *WorkloadJiraConfigurationInput_ `type:"structure"` + // The list of lenses associated with the workload. Each lens is identified // by its LensSummary$LensAlias. // @@ -10384,6 +10743,11 @@ func (s *CreateWorkloadInput) Validate() error { if s.WorkloadName != nil && len(*s.WorkloadName) < 3 { invalidParams.Add(request.NewErrParamMinLen("WorkloadName", 3)) } + if s.JiraConfiguration != nil { + if err := s.JiraConfiguration.Validate(); err != nil { + invalidParams.AddNested("JiraConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -10451,6 +10815,12 @@ func (s *CreateWorkloadInput) SetIndustryType(v string) *CreateWorkloadInput { return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *CreateWorkloadInput) SetJiraConfiguration(v *WorkloadJiraConfigurationInput_) *CreateWorkloadInput { + s.JiraConfiguration = v + return s +} + // SetLenses sets the Lenses field's value. func (s *CreateWorkloadInput) SetLenses(v []*string) *CreateWorkloadInput { s.Lenses = v @@ -12155,13 +12525,84 @@ func (s *GetConsolidatedReportOutput) SetNextToken(v string) *GetConsolidatedRep return s } -type GetLensInput struct { +type GetGlobalSettingsInput struct { _ struct{} `type:"structure" nopayload:"true"` +} - // The alias of the lens. - // - // For Amazon Web Services official lenses, this is either the lens alias, such - // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. +// 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 GetGlobalSettingsInput) 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 GetGlobalSettingsInput) GoString() string { + return s.String() +} + +type GetGlobalSettingsOutput struct { + _ struct{} `type:"structure"` + + // Discovery integration status. + DiscoveryIntegrationStatus *string `type:"string" enum:"DiscoveryIntegrationStatus"` + + // Jira configuration status. + JiraConfiguration *AccountJiraConfigurationOutput_ `type:"structure"` + + // Amazon Web Services Organizations sharing status. + OrganizationSharingStatus *string `type:"string" enum:"OrganizationSharingStatus"` +} + +// 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 GetGlobalSettingsOutput) 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 GetGlobalSettingsOutput) GoString() string { + return s.String() +} + +// SetDiscoveryIntegrationStatus sets the DiscoveryIntegrationStatus field's value. +func (s *GetGlobalSettingsOutput) SetDiscoveryIntegrationStatus(v string) *GetGlobalSettingsOutput { + s.DiscoveryIntegrationStatus = &v + return s +} + +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *GetGlobalSettingsOutput) SetJiraConfiguration(v *AccountJiraConfigurationOutput_) *GetGlobalSettingsOutput { + s.JiraConfiguration = v + return s +} + +// SetOrganizationSharingStatus sets the OrganizationSharingStatus field's value. +func (s *GetGlobalSettingsOutput) SetOrganizationSharingStatus(v string) *GetGlobalSettingsOutput { + s.OrganizationSharingStatus = &v + return s +} + +type GetLensInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The alias of the lens. + // + // For Amazon Web Services official lenses, this is either the lens alias, such + // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. // Note that some operations (such as ExportLens and CreateLensShare) are not // permitted on Amazon Web Services official lenses. // @@ -13556,6 +13997,9 @@ type ImprovementSummary struct { // The improvement plan details. ImprovementPlans []*ChoiceImprovementPlan `type:"list"` + // Configuration of the Jira integration. + JiraConfiguration *JiraConfiguration `type:"structure"` + // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. @@ -13601,6 +14045,12 @@ func (s *ImprovementSummary) SetImprovementPlans(v []*ChoiceImprovementPlan) *Im return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *ImprovementSummary) SetJiraConfiguration(v *JiraConfiguration) *ImprovementSummary { + s.JiraConfiguration = v + return s +} + // SetPillarId sets the PillarId field's value. func (s *ImprovementSummary) SetPillarId(v string) *ImprovementSummary { s.PillarId = &v @@ -13690,6 +14140,99 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } +// Configuration of the Jira integration. +type JiraConfiguration struct { + _ struct{} `type:"structure"` + + // The URL of the associated Jira issue. + JiraIssueUrl *string `min:"1" type:"string"` + + // The date and time recorded. + LastSyncedTime *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 JiraConfiguration) 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 JiraConfiguration) GoString() string { + return s.String() +} + +// SetJiraIssueUrl sets the JiraIssueUrl field's value. +func (s *JiraConfiguration) SetJiraIssueUrl(v string) *JiraConfiguration { + s.JiraIssueUrl = &v + return s +} + +// SetLastSyncedTime sets the LastSyncedTime field's value. +func (s *JiraConfiguration) SetLastSyncedTime(v time.Time) *JiraConfiguration { + s.LastSyncedTime = &v + return s +} + +// Selected questions in the workload. +type JiraSelectedQuestionConfiguration struct { + _ struct{} `type:"structure"` + + // Selected pillars in the workload. + SelectedPillars []*SelectedPillar `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JiraSelectedQuestionConfiguration) 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 JiraSelectedQuestionConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JiraSelectedQuestionConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JiraSelectedQuestionConfiguration"} + if s.SelectedPillars != nil { + for i, v := range s.SelectedPillars { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SelectedPillars", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSelectedPillars sets the SelectedPillars field's value. +func (s *JiraSelectedQuestionConfiguration) SetSelectedPillars(v []*SelectedPillar) *JiraSelectedQuestionConfiguration { + s.SelectedPillars = v + return s +} + // A lens return object. type Lens struct { _ struct{} `type:"structure"` @@ -13830,6 +14373,9 @@ func (s *LensMetric) SetRiskCounts(v map[string]*int64) *LensMetric { type LensReview struct { _ struct{} `type:"structure"` + // Jira configuration status of the Lens review. + JiraConfiguration *JiraSelectedQuestionConfiguration `type:"structure"` + // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such @@ -13897,6 +14443,12 @@ func (s LensReview) GoString() string { return s.String() } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *LensReview) SetJiraConfiguration(v *JiraSelectedQuestionConfiguration) *LensReview { + s.JiraConfiguration = v + return s +} + // SetLensAlias sets the LensAlias field's value. func (s *LensReview) SetLensAlias(v string) *LensReview { s.LensAlias = &v @@ -19065,6 +19617,62 @@ func (s *ReviewTemplateSummary) SetUpdatedAt(v time.Time) *ReviewTemplateSummary return s } +// The selected pillar. +type SelectedPillar struct { + _ struct{} `type:"structure"` + + // The ID used to identify a pillar, for example, security. + // + // A pillar is identified by its PillarReviewSummary$PillarId. + PillarId *string `min:"1" type:"string"` + + // Selected question IDs in the selected pillar. + SelectedQuestionIds []*string `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SelectedPillar) 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 SelectedPillar) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SelectedPillar) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SelectedPillar"} + if s.PillarId != nil && len(*s.PillarId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PillarId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPillarId sets the PillarId field's value. +func (s *SelectedPillar) SetPillarId(v string) *SelectedPillar { + s.PillarId = &v + return s +} + +// SetSelectedQuestionIds sets the SelectedQuestionIds field's value. +func (s *SelectedPillar) SetSelectedQuestionIds(v []*string) *SelectedPillar { + s.SelectedQuestionIds = v + return s +} + // The user has reached their resource quota. type ServiceQuotaExceededException struct { _ struct{} `type:"structure"` @@ -19925,6 +20533,9 @@ type UpdateGlobalSettingsInput struct { // The status of discovery support settings. DiscoveryIntegrationStatus *string `type:"string" enum:"DiscoveryIntegrationStatus"` + // The status of Jira integration settings. + JiraConfiguration *AccountJiraConfigurationInput_ `type:"structure"` + // The status of organization sharing settings. OrganizationSharingStatus *string `type:"string" enum:"OrganizationSharingStatus"` } @@ -19947,12 +20558,33 @@ func (s UpdateGlobalSettingsInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateGlobalSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateGlobalSettingsInput"} + if s.JiraConfiguration != nil { + if err := s.JiraConfiguration.Validate(); err != nil { + invalidParams.AddNested("JiraConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetDiscoveryIntegrationStatus sets the DiscoveryIntegrationStatus field's value. func (s *UpdateGlobalSettingsInput) SetDiscoveryIntegrationStatus(v string) *UpdateGlobalSettingsInput { s.DiscoveryIntegrationStatus = &v return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *UpdateGlobalSettingsInput) SetJiraConfiguration(v *AccountJiraConfigurationInput_) *UpdateGlobalSettingsInput { + s.JiraConfiguration = v + return s +} + // SetOrganizationSharingStatus sets the OrganizationSharingStatus field's value. func (s *UpdateGlobalSettingsInput) SetOrganizationSharingStatus(v string) *UpdateGlobalSettingsInput { s.OrganizationSharingStatus = &v @@ -19981,10 +20613,122 @@ func (s UpdateGlobalSettingsOutput) GoString() string { return s.String() } +type UpdateIntegrationInput struct { + _ struct{} `type:"structure"` + + // A unique case-sensitive string used to ensure that this request is idempotent + // (executes only once). + // + // You should not reuse the same token for other requests. If you retry a request + // with the same client request token and the same parameters after the original + // request has completed successfully, the result of the original request is + // returned. + // + // This token is listed as required, however, if you do not specify it, the + // Amazon Web Services SDKs automatically generate one for you. If you are not + // using the Amazon Web Services SDK or the CLI, you must provide this token + // or the request will fail. + ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // Which integrated service to update. + // + // IntegratingService is a required field + IntegratingService *string `type:"string" required:"true" enum:"IntegratingService"` + + // The ID assigned to the workload. This ID is unique within an Amazon Web Services + // Region. + // + // WorkloadId is a required field + WorkloadId *string `location:"uri" locationName:"WorkloadId" min:"32" 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 UpdateIntegrationInput) 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 UpdateIntegrationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateIntegrationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIntegrationInput"} + if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1)) + } + if s.IntegratingService == nil { + invalidParams.Add(request.NewErrParamRequired("IntegratingService")) + } + if s.WorkloadId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkloadId")) + } + if s.WorkloadId != nil && len(*s.WorkloadId) < 32 { + invalidParams.Add(request.NewErrParamMinLen("WorkloadId", 32)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *UpdateIntegrationInput) SetClientRequestToken(v string) *UpdateIntegrationInput { + s.ClientRequestToken = &v + return s +} + +// SetIntegratingService sets the IntegratingService field's value. +func (s *UpdateIntegrationInput) SetIntegratingService(v string) *UpdateIntegrationInput { + s.IntegratingService = &v + return s +} + +// SetWorkloadId sets the WorkloadId field's value. +func (s *UpdateIntegrationInput) SetWorkloadId(v string) *UpdateIntegrationInput { + s.WorkloadId = &v + return s +} + +type UpdateIntegrationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateIntegrationOutput) 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 UpdateIntegrationOutput) GoString() string { + return s.String() +} + // Input for update lens review. type UpdateLensReviewInput struct { _ struct{} `type:"structure"` + // Configuration of the Jira integration. + JiraConfiguration *JiraSelectedQuestionConfiguration `type:"structure"` + // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such @@ -20051,6 +20795,11 @@ func (s *UpdateLensReviewInput) Validate() error { if s.WorkloadId != nil && len(*s.WorkloadId) < 32 { invalidParams.Add(request.NewErrParamMinLen("WorkloadId", 32)) } + if s.JiraConfiguration != nil { + if err := s.JiraConfiguration.Validate(); err != nil { + invalidParams.AddNested("JiraConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -20058,6 +20807,12 @@ func (s *UpdateLensReviewInput) Validate() error { return nil } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *UpdateLensReviewInput) SetJiraConfiguration(v *JiraSelectedQuestionConfiguration) *UpdateLensReviewInput { + s.JiraConfiguration = v + return s +} + // SetLensAlias sets the LensAlias field's value. func (s *UpdateLensReviewInput) SetLensAlias(v string) *UpdateLensReviewInput { s.LensAlias = &v @@ -20918,6 +21673,9 @@ type UpdateWorkloadInput struct { // access to the workload is restricted until an owner is added. IsReviewOwnerUpdateAcknowledged *bool `type:"boolean"` + // Configuration of the Jira integration. + JiraConfiguration *WorkloadJiraConfigurationInput_ `type:"structure"` + // The list of non-Amazon Web Services Regions associated with the workload. NonAwsRegions []*string `type:"list"` @@ -20984,6 +21742,11 @@ func (s *UpdateWorkloadInput) Validate() error { if s.WorkloadName != nil && len(*s.WorkloadName) < 3 { invalidParams.Add(request.NewErrParamMinLen("WorkloadName", 3)) } + if s.JiraConfiguration != nil { + if err := s.JiraConfiguration.Validate(); err != nil { + invalidParams.AddNested("JiraConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -21057,6 +21820,12 @@ func (s *UpdateWorkloadInput) SetIsReviewOwnerUpdateAcknowledged(v bool) *Update return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *UpdateWorkloadInput) SetJiraConfiguration(v *WorkloadJiraConfigurationInput_) *UpdateWorkloadInput { + s.JiraConfiguration = v + return s +} + // SetNonAwsRegions sets the NonAwsRegions field's value. func (s *UpdateWorkloadInput) SetNonAwsRegions(v []*string) *UpdateWorkloadInput { s.NonAwsRegions = v @@ -21882,6 +22651,9 @@ type Workload struct { // access to the workload is restricted until an owner is added. IsReviewOwnerUpdateAcknowledged *bool `type:"boolean"` + // Jira configuration for a specific workload. + JiraConfiguration *WorkloadJiraConfigurationOutput_ `type:"structure"` + // The list of lenses associated with the workload. Each lens is identified // by its LensSummary$LensAlias. // @@ -22028,6 +22800,12 @@ func (s *Workload) SetIsReviewOwnerUpdateAcknowledged(v bool) *Workload { return s } +// SetJiraConfiguration sets the JiraConfiguration field's value. +func (s *Workload) SetJiraConfiguration(v *WorkloadJiraConfigurationOutput_) *Workload { + s.JiraConfiguration = v + return s +} + // SetLenses sets the Lenses field's value. func (s *Workload) SetLenses(v []*string) *Workload { s.Lenses = v @@ -22167,6 +22945,128 @@ func (s *WorkloadDiscoveryConfig) SetWorkloadResourceDefinition(v []*string) *Wo return s } +// Workload-level: Input for the Jira configuration. +type WorkloadJiraConfigurationInput_ struct { + _ struct{} `type:"structure"` + + // Workload-level: Jira issue management status. + IssueManagementStatus *string `type:"string" enum:"WorkloadIssueManagementStatus"` + + // Workload-level: Jira issue management type. + IssueManagementType *string `type:"string" enum:"IssueManagementType"` + + // Workload-level: Jira project key to sync workloads to. + JiraProjectKey *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 WorkloadJiraConfigurationInput_) 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 WorkloadJiraConfigurationInput_) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *WorkloadJiraConfigurationInput_) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "WorkloadJiraConfigurationInput_"} + if s.JiraProjectKey != nil && len(*s.JiraProjectKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JiraProjectKey", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIssueManagementStatus sets the IssueManagementStatus field's value. +func (s *WorkloadJiraConfigurationInput_) SetIssueManagementStatus(v string) *WorkloadJiraConfigurationInput_ { + s.IssueManagementStatus = &v + return s +} + +// SetIssueManagementType sets the IssueManagementType field's value. +func (s *WorkloadJiraConfigurationInput_) SetIssueManagementType(v string) *WorkloadJiraConfigurationInput_ { + s.IssueManagementType = &v + return s +} + +// SetJiraProjectKey sets the JiraProjectKey field's value. +func (s *WorkloadJiraConfigurationInput_) SetJiraProjectKey(v string) *WorkloadJiraConfigurationInput_ { + s.JiraProjectKey = &v + return s +} + +// Workload-level: Output configuration of the Jira integration. +type WorkloadJiraConfigurationOutput_ struct { + _ struct{} `type:"structure"` + + // Workload-level: Jira issue management status. + IssueManagementStatus *string `type:"string" enum:"WorkloadIssueManagementStatus"` + + // Workload-level: Jira issue management type. + IssueManagementType *string `type:"string" enum:"IssueManagementType"` + + // Workload-level: Jira project key to sync workloads to. + JiraProjectKey *string `min:"1" type:"string"` + + // Workload-level: Status message on configuration of the Jira integration. + StatusMessage *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 WorkloadJiraConfigurationOutput_) 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 WorkloadJiraConfigurationOutput_) GoString() string { + return s.String() +} + +// SetIssueManagementStatus sets the IssueManagementStatus field's value. +func (s *WorkloadJiraConfigurationOutput_) SetIssueManagementStatus(v string) *WorkloadJiraConfigurationOutput_ { + s.IssueManagementStatus = &v + return s +} + +// SetIssueManagementType sets the IssueManagementType field's value. +func (s *WorkloadJiraConfigurationOutput_) SetIssueManagementType(v string) *WorkloadJiraConfigurationOutput_ { + s.IssueManagementType = &v + return s +} + +// SetJiraProjectKey sets the JiraProjectKey field's value. +func (s *WorkloadJiraConfigurationOutput_) SetJiraProjectKey(v string) *WorkloadJiraConfigurationOutput_ { + s.JiraProjectKey = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *WorkloadJiraConfigurationOutput_) SetStatusMessage(v string) *WorkloadJiraConfigurationOutput_ { + s.StatusMessage = &v + return s +} + // The profile associated with a workload. type WorkloadProfile struct { _ struct{} `type:"structure"` @@ -22489,6 +23389,22 @@ func (s *WorkloadSummary) SetWorkloadName(v string) *WorkloadSummary { return s } +const ( + // AccountJiraIssueManagementStatusEnabled is a AccountJiraIssueManagementStatus enum value + AccountJiraIssueManagementStatusEnabled = "ENABLED" + + // AccountJiraIssueManagementStatusDisabled is a AccountJiraIssueManagementStatus enum value + AccountJiraIssueManagementStatusDisabled = "DISABLED" +) + +// AccountJiraIssueManagementStatus_Values returns all elements of the AccountJiraIssueManagementStatus enum +func AccountJiraIssueManagementStatus_Values() []string { + return []string{ + AccountJiraIssueManagementStatusEnabled, + AccountJiraIssueManagementStatusDisabled, + } +} + const ( // AdditionalResourceTypeHelpfulResource is a AdditionalResourceType enum value AdditionalResourceTypeHelpfulResource = "HELPFUL_RESOURCE" @@ -22717,6 +23633,62 @@ func ImportLensStatus_Values() []string { } } +const ( + // IntegratingServiceJira is a IntegratingService enum value + IntegratingServiceJira = "JIRA" +) + +// IntegratingService_Values returns all elements of the IntegratingService enum +func IntegratingService_Values() []string { + return []string{ + IntegratingServiceJira, + } +} + +const ( + // IntegrationStatusConfigured is a IntegrationStatus enum value + IntegrationStatusConfigured = "CONFIGURED" + + // IntegrationStatusNotConfigured is a IntegrationStatus enum value + IntegrationStatusNotConfigured = "NOT_CONFIGURED" +) + +// IntegrationStatus_Values returns all elements of the IntegrationStatus enum +func IntegrationStatus_Values() []string { + return []string{ + IntegrationStatusConfigured, + IntegrationStatusNotConfigured, + } +} + +const ( + // IntegrationStatusInputNotConfigured is a IntegrationStatusInput_ enum value + IntegrationStatusInputNotConfigured = "NOT_CONFIGURED" +) + +// IntegrationStatusInput__Values returns all elements of the IntegrationStatusInput_ enum +func IntegrationStatusInput__Values() []string { + return []string{ + IntegrationStatusInputNotConfigured, + } +} + +const ( + // IssueManagementTypeAuto is a IssueManagementType enum value + IssueManagementTypeAuto = "AUTO" + + // IssueManagementTypeManual is a IssueManagementType enum value + IssueManagementTypeManual = "MANUAL" +) + +// IssueManagementType_Values returns all elements of the IssueManagementType enum +func IssueManagementType_Values() []string { + return []string{ + IssueManagementTypeAuto, + IssueManagementTypeManual, + } +} + const ( // LensStatusCurrent is a LensStatus enum value LensStatusCurrent = "CURRENT" @@ -23171,3 +24143,23 @@ func WorkloadImprovementStatus_Values() []string { WorkloadImprovementStatusRiskAcknowledged, } } + +const ( + // WorkloadIssueManagementStatusEnabled is a WorkloadIssueManagementStatus enum value + WorkloadIssueManagementStatusEnabled = "ENABLED" + + // WorkloadIssueManagementStatusDisabled is a WorkloadIssueManagementStatus enum value + WorkloadIssueManagementStatusDisabled = "DISABLED" + + // WorkloadIssueManagementStatusInherit is a WorkloadIssueManagementStatus enum value + WorkloadIssueManagementStatusInherit = "INHERIT" +) + +// WorkloadIssueManagementStatus_Values returns all elements of the WorkloadIssueManagementStatus enum +func WorkloadIssueManagementStatus_Values() []string { + return []string{ + WorkloadIssueManagementStatusEnabled, + WorkloadIssueManagementStatusDisabled, + WorkloadIssueManagementStatusInherit, + } +} diff --git a/service/wellarchitected/wellarchitectediface/interface.go b/service/wellarchitected/wellarchitectediface/interface.go index d25f400d36b..10df88f34b0 100644 --- a/service/wellarchitected/wellarchitectediface/interface.go +++ b/service/wellarchitected/wellarchitectediface/interface.go @@ -159,6 +159,10 @@ type WellArchitectedAPI interface { GetConsolidatedReportPages(*wellarchitected.GetConsolidatedReportInput, func(*wellarchitected.GetConsolidatedReportOutput, bool) bool) error GetConsolidatedReportPagesWithContext(aws.Context, *wellarchitected.GetConsolidatedReportInput, func(*wellarchitected.GetConsolidatedReportOutput, bool) bool, ...request.Option) error + GetGlobalSettings(*wellarchitected.GetGlobalSettingsInput) (*wellarchitected.GetGlobalSettingsOutput, error) + GetGlobalSettingsWithContext(aws.Context, *wellarchitected.GetGlobalSettingsInput, ...request.Option) (*wellarchitected.GetGlobalSettingsOutput, error) + GetGlobalSettingsRequest(*wellarchitected.GetGlobalSettingsInput) (*request.Request, *wellarchitected.GetGlobalSettingsOutput) + GetLens(*wellarchitected.GetLensInput) (*wellarchitected.GetLensOutput, error) GetLensWithContext(aws.Context, *wellarchitected.GetLensInput, ...request.Option) (*wellarchitected.GetLensOutput, error) GetLensRequest(*wellarchitected.GetLensInput) (*request.Request, *wellarchitected.GetLensOutput) @@ -353,6 +357,10 @@ type WellArchitectedAPI interface { UpdateGlobalSettingsWithContext(aws.Context, *wellarchitected.UpdateGlobalSettingsInput, ...request.Option) (*wellarchitected.UpdateGlobalSettingsOutput, error) UpdateGlobalSettingsRequest(*wellarchitected.UpdateGlobalSettingsInput) (*request.Request, *wellarchitected.UpdateGlobalSettingsOutput) + UpdateIntegration(*wellarchitected.UpdateIntegrationInput) (*wellarchitected.UpdateIntegrationOutput, error) + UpdateIntegrationWithContext(aws.Context, *wellarchitected.UpdateIntegrationInput, ...request.Option) (*wellarchitected.UpdateIntegrationOutput, error) + UpdateIntegrationRequest(*wellarchitected.UpdateIntegrationInput) (*request.Request, *wellarchitected.UpdateIntegrationOutput) + UpdateLensReview(*wellarchitected.UpdateLensReviewInput) (*wellarchitected.UpdateLensReviewOutput, error) UpdateLensReviewWithContext(aws.Context, *wellarchitected.UpdateLensReviewInput, ...request.Option) (*wellarchitected.UpdateLensReviewOutput, error) UpdateLensReviewRequest(*wellarchitected.UpdateLensReviewInput) (*request.Request, *wellarchitected.UpdateLensReviewOutput)