From 6f2f8e9cc0456f4695477ab9492f27f540495ccd Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 16 Oct 2023 11:34:58 -0700 Subject: [PATCH] Release v1.45.26 (2023-10-16) (#5023) Release v1.45.26 (2023-10-16) === ### Service Client Updates * `service/cloudformation`: Updates service API * SDK and documentation updates for UpdateReplacePolicy * `service/drs`: Updates service API and documentation * `service/entityresolution`: Updates service API, documentation, and paginators * `service/managedblockchain-query`: Updates service API, documentation, and paginators * `service/mediapackagev2`: Updates service API and documentation * `service/opensearch`: Updates service API and documentation * `service/redshift`: Updates service API and documentation * Added support for managing credentials of provisioned cluster admin using AWS Secrets Manager. * `service/redshift-serverless`: Updates service API and documentation * `service/sesv2`: Updates service API and documentation * `service/transfer`: Updates service documentation * Documentation updates for AWS Transfer Family * `service/xray`: Updates service API and documentation * This releases enhances GetTraceSummaries API to support new TimeRangeType Service to query trace summaries by segment end time. --- CHANGELOG.md | 20 + aws/endpoints/defaults.go | 24 + aws/version.go | 2 +- .../apis/cloudformation/2010-05-15/api-2.json | 1 + models/apis/drs/2020-02-26/api-2.json | 14 +- models/apis/drs/2020-02-26/docs-2.json | 11 + .../entityresolution/2018-05-10/api-2.json | 3463 +++++++--- .../entityresolution/2018-05-10/docs-2.json | 423 +- .../2018-05-10/endpoint-rule-set-1.json | 64 +- .../2018-05-10/paginators-1.json | 18 + .../2023-05-04/api-2.json | 141 +- .../2023-05-04/docs-2.json | 93 +- .../2023-05-04/paginators-1.json | 6 + .../apis/mediapackagev2/2022-12-25/api-2.json | 26 +- .../mediapackagev2/2022-12-25/docs-2.json | 26 +- .../2022-12-25/endpoint-rule-set-1.json | 64 +- .../2022-12-25/endpoint-tests-1.json | 123 +- models/apis/opensearch/2021-01-01/api-2.json | 56 +- models/apis/opensearch/2021-01-01/docs-2.json | 53 +- .../2021-01-01/endpoint-rule-set-1.json | 344 +- .../redshift-serverless/2021-04-21/api-2.json | 10 + .../2021-04-21/docs-2.json | 16 +- .../2021-04-21/endpoint-rule-set-1.json | 302 +- .../2021-04-21/endpoint-tests-1.json | 307 +- models/apis/redshift/2012-12-01/api-2.json | 29 +- models/apis/redshift/2012-12-01/docs-2.json | 20 +- .../2012-12-01/endpoint-rule-set-1.json | 362 +- models/apis/sesv2/2019-09-27/api-2.json | 33 +- models/apis/sesv2/2019-09-27/docs-2.json | 46 +- .../sesv2/2019-09-27/endpoint-rule-set-1.json | 40 +- models/apis/transfer/2018-11-05/docs-2.json | 16 +- models/apis/xray/2016-04-12/api-2.json | 3 +- models/apis/xray/2016-04-12/docs-2.json | 2 +- models/endpoints/endpoints.json | 12 + service/cloudformation/api.go | 4 + service/drs/api.go | 100 +- service/entityresolution/api.go | 6096 +++++++++++++---- .../entityresolutioniface/interface.go | 53 +- service/managedblockchainquery/api.go | 951 ++- .../managedblockchainqueryiface/interface.go | 11 + service/mediapackagev2/api.go | 6 +- service/opensearchservice/api.go | 128 +- service/redshift/api.go | 133 +- service/redshiftserverless/api.go | 112 + service/sesv2/api.go | 181 +- service/transfer/api.go | 16 +- service/xray/api.go | 8 +- 47 files changed, 10544 insertions(+), 3425 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf36e4a19d2..3ea2364632e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +Release v1.45.26 (2023-10-16) +=== + +### Service Client Updates +* `service/cloudformation`: Updates service API + * SDK and documentation updates for UpdateReplacePolicy +* `service/drs`: Updates service API and documentation +* `service/entityresolution`: Updates service API, documentation, and paginators +* `service/managedblockchain-query`: Updates service API, documentation, and paginators +* `service/mediapackagev2`: Updates service API and documentation +* `service/opensearch`: Updates service API and documentation +* `service/redshift`: Updates service API and documentation + * Added support for managing credentials of provisioned cluster admin using AWS Secrets Manager. +* `service/redshift-serverless`: Updates service API and documentation +* `service/sesv2`: Updates service API and documentation +* `service/transfer`: Updates service documentation + * Documentation updates for AWS Transfer Family +* `service/xray`: Updates service API and documentation + * This releases enhances GetTraceSummaries API to support new TimeRangeType Service to query trace summaries by segment end time. + Release v1.45.25 (2023-10-12) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 5f97b40a61d..6d276bf7b5f 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -38047,21 +38047,45 @@ var awsusgovPartition = partition{ endpointKey{ Region: "us-gov-east-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "lakeformation.us-gov-east-1.api.aws", + }, endpointKey{ Region: "us-gov-east-1", Variant: fipsVariant, }: endpoint{ Hostname: "lakeformation-fips.us-gov-east-1.amazonaws.com", }, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{ + Hostname: "lakeformation-fips.us-gov-east-1.api.aws", + }, endpointKey{ Region: "us-gov-west-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "lakeformation.us-gov-west-1.api.aws", + }, endpointKey{ Region: "us-gov-west-1", Variant: fipsVariant, }: endpoint{ Hostname: "lakeformation-fips.us-gov-west-1.amazonaws.com", }, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{ + Hostname: "lakeformation-fips.us-gov-west-1.api.aws", + }, }, }, "lambda": service{ diff --git a/aws/version.go b/aws/version.go index d03e5617034..3dafeed9867 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.45.25" +const SDKVersion = "1.45.26" diff --git a/models/apis/cloudformation/2010-05-15/api-2.json b/models/apis/cloudformation/2010-05-15/api-2.json index 1e8f4bc5c41..b28e24377c2 100644 --- a/models/apis/cloudformation/2010-05-15/api-2.json +++ b/models/apis/cloudformation/2010-05-15/api-2.json @@ -3125,6 +3125,7 @@ "CreationPolicy", "UpdatePolicy", "DeletionPolicy", + "UpdateReplacePolicy", "Tags" ] }, diff --git a/models/apis/drs/2020-02-26/api-2.json b/models/apis/drs/2020-02-26/api-2.json index 04ebbe19f4e..03ef34741a0 100644 --- a/models/apis/drs/2020-02-26/api-2.json +++ b/models/apis/drs/2020-02-26/api-2.json @@ -1032,6 +1032,7 @@ "copyTags":{"shape":"Boolean"}, "exportBucketArn":{"shape":"ARN"}, "launchDisposition":{"shape":"LaunchDisposition"}, + "launchIntoSourceInstance":{"shape":"Boolean"}, "licensing":{"shape":"Licensing"}, "postLaunchEnabled":{"shape":"Boolean"}, "tags":{"shape":"TagsMap"}, @@ -1992,6 +1993,7 @@ "copyTags":{"shape":"Boolean"}, "ec2LaunchTemplateID":{"shape":"BoundedString"}, "launchDisposition":{"shape":"LaunchDisposition"}, + "launchIntoInstanceProperties":{"shape":"LaunchIntoInstanceProperties"}, "licensing":{"shape":"Licensing"}, "name":{"shape":"SmallBoundedString"}, "postLaunchEnabled":{"shape":"Boolean"}, @@ -2008,6 +2010,7 @@ "exportBucketArn":{"shape":"ARN"}, "launchConfigurationTemplateID":{"shape":"LaunchConfigurationTemplateID"}, "launchDisposition":{"shape":"LaunchDisposition"}, + "launchIntoSourceInstance":{"shape":"Boolean"}, "licensing":{"shape":"Licensing"}, "postLaunchEnabled":{"shape":"Boolean"}, "tags":{"shape":"TagsMap"}, @@ -2039,6 +2042,12 @@ "STARTED" ] }, + "LaunchIntoInstanceProperties":{ + "type":"structure", + "members":{ + "launchIntoEC2InstanceID":{"shape":"EC2InstanceID"} + } + }, "LaunchStatus":{ "type":"string", "enum":[ @@ -2272,6 +2281,7 @@ "actionVersion", "active", "category", + "description", "name", "optional", "order", @@ -2845,7 +2855,7 @@ "type":"string", "max":1011, "min":1, - "pattern":"^([A-Za-z0-9-])+$" + "pattern":"^([A-Za-z0-9-/:])+$" }, "StagingArea":{ "type":"structure", @@ -3143,6 +3153,7 @@ "copyPrivateIp":{"shape":"Boolean"}, "copyTags":{"shape":"Boolean"}, "launchDisposition":{"shape":"LaunchDisposition"}, + "launchIntoInstanceProperties":{"shape":"LaunchIntoInstanceProperties"}, "licensing":{"shape":"Licensing"}, "name":{"shape":"SmallBoundedString"}, "postLaunchEnabled":{"shape":"Boolean"}, @@ -3159,6 +3170,7 @@ "exportBucketArn":{"shape":"ARN"}, "launchConfigurationTemplateID":{"shape":"LaunchConfigurationTemplateID"}, "launchDisposition":{"shape":"LaunchDisposition"}, + "launchIntoSourceInstance":{"shape":"Boolean"}, "licensing":{"shape":"Licensing"}, "postLaunchEnabled":{"shape":"Boolean"}, "targetInstanceTypeRightSizingMethod":{"shape":"TargetInstanceTypeRightSizingMethod"} diff --git a/models/apis/drs/2020-02-26/docs-2.json b/models/apis/drs/2020-02-26/docs-2.json index c4f2c06a26a..81cfd5e9557 100644 --- a/models/apis/drs/2020-02-26/docs-2.json +++ b/models/apis/drs/2020-02-26/docs-2.json @@ -148,6 +148,7 @@ "ConversionProperties$forceUefi": "
Whether the volume being converted uses UEFI or not
", "CreateLaunchConfigurationTemplateRequest$copyPrivateIp": "Copy private IP.
", "CreateLaunchConfigurationTemplateRequest$copyTags": "Copy tags.
", + "CreateLaunchConfigurationTemplateRequest$launchIntoSourceInstance": "DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
", "CreateLaunchConfigurationTemplateRequest$postLaunchEnabled": "Whether we want to activate post-launch actions.
", "CreateReplicationConfigurationTemplateRequest$associateDefaultSecurityGroup": "Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.
", "CreateReplicationConfigurationTemplateRequest$autoReplicateNewDisks": "Whether to allow the AWS replication agent to automatically replicate newly added disks.
", @@ -161,6 +162,7 @@ "LaunchConfiguration$postLaunchEnabled": "Whether we want to activate post-launch actions for the Source Server.
", "LaunchConfigurationTemplate$copyPrivateIp": "Copy private IP.
", "LaunchConfigurationTemplate$copyTags": "Copy tags.
", + "LaunchConfigurationTemplate$launchIntoSourceInstance": "DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
", "LaunchConfigurationTemplate$postLaunchEnabled": "Post-launch actions activated.
", "Licensing$osByol": "Whether to enable \"Bring your own license\" or not.
", "NetworkInterface$isPrimary": "Whether this is the primary network interface.
", @@ -189,6 +191,7 @@ "UpdateLaunchConfigurationRequest$postLaunchEnabled": "Whether we want to enable post-launch actions for the Source Server.
", "UpdateLaunchConfigurationTemplateRequest$copyPrivateIp": "Copy private IP.
", "UpdateLaunchConfigurationTemplateRequest$copyTags": "Copy tags.
", + "UpdateLaunchConfigurationTemplateRequest$launchIntoSourceInstance": "DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
", "UpdateLaunchConfigurationTemplateRequest$postLaunchEnabled": "Whether we want to activate post-launch actions.
", "UpdateReplicationConfigurationRequest$associateDefaultSecurityGroup": "Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
", "UpdateReplicationConfigurationRequest$autoReplicateNewDisks": "Whether to allow the AWS replication agent to automatically replicate newly added disks.
", @@ -589,6 +592,7 @@ "IdentificationHints$awsInstanceID": "AWS Instance ID identification hint.
", "JobLogEventData$conversionServerID": "The ID of a conversion server.
", "JobLogEventData$targetInstanceID": "The ID of a Recovery Instance.
", + "LaunchIntoInstanceProperties$launchIntoEC2InstanceID": "Optionally holds EC2 instance ID of an instance to launch into, instead of launching a new instance during drill, recovery or failback.
", "RecoveryInstance$ec2InstanceID": "The EC2 instance ID of the Recovery Instance.
" } }, @@ -1086,6 +1090,13 @@ "UpdateLaunchConfigurationTemplateRequest$launchDisposition": "Launch disposition.
" } }, + "LaunchIntoInstanceProperties": { + "base": "Launch into existing instance.
", + "refs": { + "LaunchConfiguration$launchIntoInstanceProperties": "Launch into existing instance properties.
", + "UpdateLaunchConfigurationRequest$launchIntoInstanceProperties": "Launch into existing instance properties.
" + } + }, "LaunchStatus": { "base": null, "refs": { diff --git a/models/apis/entityresolution/2018-05-10/api-2.json b/models/apis/entityresolution/2018-05-10/api-2.json index 7e480b8d2ee..fcfdbc355bb 100644 --- a/models/apis/entityresolution/2018-05-10/api-2.json +++ b/models/apis/entityresolution/2018-05-10/api-2.json @@ -1,352 +1,1001 @@ { - "version":"2.0", - "metadata":{ - "apiVersion":"2018-05-10", - "endpointPrefix":"entityresolution", - "jsonVersion":"1.1", - "protocol":"rest-json", - "serviceAbbreviation":"AWSEntityResolution", - "serviceFullName":"AWS EntityResolution", - "serviceId":"EntityResolution", - "signatureVersion":"v4", - "signingName":"entityresolution", - "uid":"entityresolution-2018-05-10" + "metadata": { + "apiVersion": "2018-05-10", + "endpointPrefix": "entityresolution", + "jsonVersion": "1.1", + "protocol": "rest-json", + "serviceAbbreviation": "AWSEntityResolution", + "serviceFullName": "AWS EntityResolution", + "serviceId": "EntityResolution", + "signatureVersion": "v4", + "signingName": "entityresolution", + "uid": "entityresolution-2018-05-10" }, - "operations":{ - "CreateMatchingWorkflow":{ - "name":"CreateMatchingWorkflow", - "http":{ - "method":"POST", - "requestUri":"/matchingworkflows", - "responseCode":200 - }, - "input":{"shape":"CreateMatchingWorkflowInput"}, - "output":{"shape":"CreateMatchingWorkflowOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ExceedsLimitException"}, - {"shape":"ConflictException"}, - {"shape":"ValidationException"} - ] - }, - "CreateSchemaMapping":{ - "name":"CreateSchemaMapping", - "http":{ - "method":"POST", - "requestUri":"/schemas", - "responseCode":200 - }, - "input":{"shape":"CreateSchemaMappingInput"}, - "output":{"shape":"CreateSchemaMappingOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ExceedsLimitException"}, - {"shape":"ConflictException"}, - {"shape":"ValidationException"} - ] - }, - "DeleteMatchingWorkflow":{ - "name":"DeleteMatchingWorkflow", - "http":{ - "method":"DELETE", - "requestUri":"/matchingworkflows/{workflowName}", - "responseCode":200 - }, - "input":{"shape":"DeleteMatchingWorkflowInput"}, - "output":{"shape":"DeleteMatchingWorkflowOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ], - "idempotent":true - }, - "DeleteSchemaMapping":{ - "name":"DeleteSchemaMapping", - "http":{ - "method":"DELETE", - "requestUri":"/schemas/{schemaName}", - "responseCode":200 - }, - "input":{"shape":"DeleteSchemaMappingInput"}, - "output":{"shape":"DeleteSchemaMappingOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ConflictException"}, - {"shape":"ValidationException"} - ], - "idempotent":true - }, - "GetMatchId":{ - "name":"GetMatchId", - "http":{ - "method":"POST", - "requestUri":"/matchingworkflows/{workflowName}/matches", - "responseCode":200 - }, - "input":{"shape":"GetMatchIdInput"}, - "output":{"shape":"GetMatchIdOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ] - }, - "GetMatchingJob":{ - "name":"GetMatchingJob", - "http":{ - "method":"GET", - "requestUri":"/matchingworkflows/{workflowName}/jobs/{jobId}", - "responseCode":200 - }, - "input":{"shape":"GetMatchingJobInput"}, - "output":{"shape":"GetMatchingJobOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ] - }, - "GetMatchingWorkflow":{ - "name":"GetMatchingWorkflow", - "http":{ - "method":"GET", - "requestUri":"/matchingworkflows/{workflowName}", - "responseCode":200 - }, - "input":{"shape":"GetMatchingWorkflowInput"}, - "output":{"shape":"GetMatchingWorkflowOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ] - }, - "GetSchemaMapping":{ - "name":"GetSchemaMapping", - "http":{ - "method":"GET", - "requestUri":"/schemas/{schemaName}", - "responseCode":200 - }, - "input":{"shape":"GetSchemaMappingInput"}, - "output":{"shape":"GetSchemaMappingOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ] - }, - "ListMatchingJobs":{ - "name":"ListMatchingJobs", - "http":{ - "method":"GET", - "requestUri":"/matchingworkflows/{workflowName}/jobs", - "responseCode":200 - }, - "input":{"shape":"ListMatchingJobsInput"}, - "output":{"shape":"ListMatchingJobsOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ] - }, - "ListMatchingWorkflows":{ - "name":"ListMatchingWorkflows", - "http":{ - "method":"GET", - "requestUri":"/matchingworkflows", - "responseCode":200 - }, - "input":{"shape":"ListMatchingWorkflowsInput"}, - "output":{"shape":"ListMatchingWorkflowsOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ] - }, - "ListSchemaMappings":{ - "name":"ListSchemaMappings", - "http":{ - "method":"GET", - "requestUri":"/schemas", - "responseCode":200 - }, - "input":{"shape":"ListSchemaMappingsInput"}, - "output":{"shape":"ListSchemaMappingsOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ] - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/tags/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"ListTagsForResourceInput"}, - "output":{"shape":"ListTagsForResourceOutput"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"} - ] - }, - "StartMatchingJob":{ - "name":"StartMatchingJob", - "http":{ - "method":"POST", - "requestUri":"/matchingworkflows/{workflowName}/jobs", - "responseCode":200 - }, - "input":{"shape":"StartMatchingJobInput"}, - "output":{"shape":"StartMatchingJobOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ExceedsLimitException"}, - {"shape":"ConflictException"}, - {"shape":"ValidationException"} - ] - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"TagResourceInput"}, - "output":{"shape":"TagResourceOutput"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"} - ] - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"UntagResourceInput"}, - "output":{"shape":"UntagResourceOutput"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"} - ], - "idempotent":true - }, - "UpdateMatchingWorkflow":{ - "name":"UpdateMatchingWorkflow", - "http":{ - "method":"PUT", - "requestUri":"/matchingworkflows/{workflowName}", - "responseCode":200 - }, - "input":{"shape":"UpdateMatchingWorkflowInput"}, - "output":{"shape":"UpdateMatchingWorkflowOutput"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"} - ], - "idempotent":true + "operations": { + "CreateIdMappingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ExceedsLimitException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/idmappingworkflows", + "responseCode": 200 + }, + "input": { + "shape": "CreateIdMappingWorkflowInput" + }, + "name": "CreateIdMappingWorkflow", + "output": { + "shape": "CreateIdMappingWorkflowOutput" + } + }, + "CreateMatchingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ExceedsLimitException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/matchingworkflows", + "responseCode": 200 + }, + "input": { + "shape": "CreateMatchingWorkflowInput" + }, + "name": "CreateMatchingWorkflow", + "output": { + "shape": "CreateMatchingWorkflowOutput" + } + }, + "CreateSchemaMapping": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ExceedsLimitException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/schemas", + "responseCode": 200 + }, + "input": { + "shape": "CreateSchemaMappingInput" + }, + "name": "CreateSchemaMapping", + "output": { + "shape": "CreateSchemaMappingOutput" + } + }, + "DeleteIdMappingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/idmappingworkflows/{workflowName}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "DeleteIdMappingWorkflowInput" + }, + "name": "DeleteIdMappingWorkflow", + "output": { + "shape": "DeleteIdMappingWorkflowOutput" + } + }, + "DeleteMatchingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/matchingworkflows/{workflowName}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "DeleteMatchingWorkflowInput" + }, + "name": "DeleteMatchingWorkflow", + "output": { + "shape": "DeleteMatchingWorkflowOutput" + } + }, + "DeleteSchemaMapping": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/schemas/{schemaName}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "DeleteSchemaMappingInput" + }, + "name": "DeleteSchemaMapping", + "output": { + "shape": "DeleteSchemaMappingOutput" + } + }, + "GetIdMappingJob": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/idmappingworkflows/{workflowName}/jobs/{jobId}", + "responseCode": 200 + }, + "input": { + "shape": "GetIdMappingJobInput" + }, + "name": "GetIdMappingJob", + "output": { + "shape": "GetIdMappingJobOutput" + } + }, + "GetIdMappingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/idmappingworkflows/{workflowName}", + "responseCode": 200 + }, + "input": { + "shape": "GetIdMappingWorkflowInput" + }, + "name": "GetIdMappingWorkflow", + "output": { + "shape": "GetIdMappingWorkflowOutput" + } + }, + "GetMatchId": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/matchingworkflows/{workflowName}/matches", + "responseCode": 200 + }, + "input": { + "shape": "GetMatchIdInput" + }, + "name": "GetMatchId", + "output": { + "shape": "GetMatchIdOutput" + } + }, + "GetMatchingJob": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/matchingworkflows/{workflowName}/jobs/{jobId}", + "responseCode": 200 + }, + "input": { + "shape": "GetMatchingJobInput" + }, + "name": "GetMatchingJob", + "output": { + "shape": "GetMatchingJobOutput" + } + }, + "GetMatchingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/matchingworkflows/{workflowName}", + "responseCode": 200 + }, + "input": { + "shape": "GetMatchingWorkflowInput" + }, + "name": "GetMatchingWorkflow", + "output": { + "shape": "GetMatchingWorkflowOutput" + } + }, + "GetSchemaMapping": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/schemas/{schemaName}", + "responseCode": 200 + }, + "input": { + "shape": "GetSchemaMappingInput" + }, + "name": "GetSchemaMapping", + "output": { + "shape": "GetSchemaMappingOutput" + } + }, + "ListIdMappingJobs": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/idmappingworkflows/{workflowName}/jobs", + "responseCode": 200 + }, + "input": { + "shape": "ListIdMappingJobsInput" + }, + "name": "ListIdMappingJobs", + "output": { + "shape": "ListIdMappingJobsOutput" + } + }, + "ListIdMappingWorkflows": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/idmappingworkflows", + "responseCode": 200 + }, + "input": { + "shape": "ListIdMappingWorkflowsInput" + }, + "name": "ListIdMappingWorkflows", + "output": { + "shape": "ListIdMappingWorkflowsOutput" + } + }, + "ListMatchingJobs": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/matchingworkflows/{workflowName}/jobs", + "responseCode": 200 + }, + "input": { + "shape": "ListMatchingJobsInput" + }, + "name": "ListMatchingJobs", + "output": { + "shape": "ListMatchingJobsOutput" + } + }, + "ListMatchingWorkflows": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/matchingworkflows", + "responseCode": 200 + }, + "input": { + "shape": "ListMatchingWorkflowsInput" + }, + "name": "ListMatchingWorkflows", + "output": { + "shape": "ListMatchingWorkflowsOutput" + } + }, + "ListProviderServices": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/providerservices", + "responseCode": 200 + }, + "input": { + "shape": "ListProviderServicesInput" + }, + "name": "ListProviderServices", + "output": { + "shape": "ListProviderServicesOutput" + } + }, + "ListSchemaMappings": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/schemas", + "responseCode": 200 + }, + "input": { + "shape": "ListSchemaMappingsInput" + }, + "name": "ListSchemaMappings", + "output": { + "shape": "ListSchemaMappingsOutput" + } + }, + "ListTagsForResource": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "GET", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsForResourceInput" + }, + "name": "ListTagsForResource", + "output": { + "shape": "ListTagsForResourceOutput" + } + }, + "StartIdMappingJob": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ExceedsLimitException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/idmappingworkflows/{workflowName}/jobs", + "responseCode": 200 + }, + "input": { + "shape": "StartIdMappingJobInput" + }, + "name": "StartIdMappingJob", + "output": { + "shape": "StartIdMappingJobOutput" + } + }, + "StartMatchingJob": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ExceedsLimitException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/matchingworkflows/{workflowName}/jobs", + "responseCode": 200 + }, + "input": { + "shape": "StartMatchingJobInput" + }, + "name": "StartMatchingJob", + "output": { + "shape": "StartMatchingJobOutput" + } + }, + "TagResource": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "TagResourceInput" + }, + "name": "TagResource", + "output": { + "shape": "TagResourceOutput" + } + }, + "UntagResource": { + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "http": { + "method": "DELETE", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "UntagResourceInput" + }, + "name": "UntagResource", + "output": { + "shape": "UntagResourceOutput" + } + }, + "UpdateIdMappingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "PUT", + "requestUri": "/idmappingworkflows/{workflowName}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "UpdateIdMappingWorkflowInput" + }, + "name": "UpdateIdMappingWorkflow", + "output": { + "shape": "UpdateIdMappingWorkflowOutput" + } + }, + "UpdateMatchingWorkflow": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "PUT", + "requestUri": "/matchingworkflows/{workflowName}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "UpdateMatchingWorkflowInput" + }, + "name": "UpdateMatchingWorkflow", + "output": { + "shape": "UpdateMatchingWorkflowOutput" + } + }, + "UpdateSchemaMapping": { + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "PUT", + "requestUri": "/schemas/{schemaName}", + "responseCode": 200 + }, + "idempotent": true, + "input": { + "shape": "UpdateSchemaMappingInput" + }, + "name": "UpdateSchemaMapping", + "output": { + "shape": "UpdateSchemaMappingOutput" + } } }, - "shapes":{ - "AccessDeniedException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "shapes": { + "AccessDeniedException": { + "error": { + "httpStatusCode": 403, + "senderFault": true }, - "error":{ - "httpStatusCode":403, - "senderFault":true + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } }, - "exception":true + "type": "structure" }, - "AttributeMatchingModel":{ - "type":"string", - "enum":[ + "AttributeMatchingModel": { + "enum": [ "ONE_TO_ONE", "MANY_TO_MANY" - ] + ], + "type": "string" + }, + "AttributeName": { + "max": 255, + "min": 0, + "pattern": "^[a-zA-Z_0-9- \\t]*$", + "type": "string" + }, + "AwsAccountId": { + "pattern": "\\d{12}", + "type": "string" + }, + "AwsAccountIdList": { + "member": { + "shape": "AwsAccountId" + }, + "type": "list" }, - "AttributeName":{ - "type":"string", - "max":255, - "min":0, - "pattern":"^[a-zA-Z_0-9- \\t]*$" + "Boolean": { + "box": true, + "type": "boolean" }, - "Boolean":{ - "type":"boolean", - "box":true + "ConflictException": { + "error": { + "httpStatusCode": 400, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "type": "structure" }, - "ConflictException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "CreateIdMappingWorkflowInput": { + "members": { + "description": { + "shape": "Description" + }, + "idMappingTechniques": { + "shape": "IdMappingTechniques" + }, + "inputSourceConfig": { + "shape": "IdMappingWorkflowInputSourceConfig" + }, + "outputSourceConfig": { + "shape": "IdMappingWorkflowOutputSourceConfig" + }, + "roleArn": { + "shape": "RoleArn" + }, + "tags": { + "shape": "TagMap" + }, + "workflowName": { + "shape": "EntityName" + } }, - "error":{ - "httpStatusCode":400, - "senderFault":true + "required": [ + "idMappingTechniques", + "inputSourceConfig", + "outputSourceConfig", + "roleArn", + "workflowName" + ], + "type": "structure" + }, + "CreateIdMappingWorkflowOutput": { + "members": { + "description": { + "shape": "Description" + }, + "idMappingTechniques": { + "shape": "IdMappingTechniques" + }, + "inputSourceConfig": { + "shape": "IdMappingWorkflowInputSourceConfig" + }, + "outputSourceConfig": { + "shape": "IdMappingWorkflowOutputSourceConfig" + }, + "roleArn": { + "shape": "RoleArn" + }, + "workflowArn": { + "shape": "IdMappingWorkflowArn" + }, + "workflowName": { + "shape": "EntityName" + } }, - "exception":true + "required": [ + "idMappingTechniques", + "inputSourceConfig", + "outputSourceConfig", + "roleArn", + "workflowArn", + "workflowName" + ], + "type": "structure" }, - "CreateMatchingWorkflowInput":{ - "type":"structure", - "required":[ + "CreateMatchingWorkflowInput": { + "members": { + "description": { + "shape": "Description" + }, + "incrementalRunConfig": { + "shape": "IncrementalRunConfig" + }, + "inputSourceConfig": { + "shape": "InputSourceConfig" + }, + "outputSourceConfig": { + "shape": "OutputSourceConfig" + }, + "resolutionTechniques": { + "shape": "ResolutionTechniques" + }, + "roleArn": { + "shape": "String" + }, + "tags": { + "shape": "TagMap" + }, + "workflowName": { + "shape": "EntityName" + } + }, + "required": [ "inputSourceConfig", "outputSourceConfig", "resolutionTechniques", "roleArn", "workflowName" ], - "members":{ - "description":{"shape":"Description"}, - "incrementalRunConfig":{"shape":"IncrementalRunConfig"}, - "inputSourceConfig":{"shape":"InputSourceConfig"}, - "outputSourceConfig":{"shape":"OutputSourceConfig"}, - "resolutionTechniques":{"shape":"ResolutionTechniques"}, - "roleArn":{"shape":"String"}, - "tags":{"shape":"TagMap"}, - "workflowName":{"shape":"EntityName"} - } + "type": "structure" }, - "CreateMatchingWorkflowOutput":{ - "type":"structure", - "required":[ + "CreateMatchingWorkflowOutput": { + "members": { + "description": { + "shape": "Description" + }, + "incrementalRunConfig": { + "shape": "IncrementalRunConfig" + }, + "inputSourceConfig": { + "shape": "InputSourceConfig" + }, + "outputSourceConfig": { + "shape": "OutputSourceConfig" + }, + "resolutionTechniques": { + "shape": "ResolutionTechniques" + }, + "roleArn": { + "shape": "String" + }, + "workflowArn": { + "shape": "MatchingWorkflowArn" + }, + "workflowName": { + "shape": "EntityName" + } + }, + "required": [ "inputSourceConfig", "outputSourceConfig", "resolutionTechniques", @@ -354,186 +1003,394 @@ "workflowArn", "workflowName" ], - "members":{ - "description":{"shape":"Description"}, - "incrementalRunConfig":{"shape":"IncrementalRunConfig"}, - "inputSourceConfig":{"shape":"InputSourceConfig"}, - "outputSourceConfig":{"shape":"OutputSourceConfig"}, - "resolutionTechniques":{"shape":"ResolutionTechniques"}, - "roleArn":{"shape":"String"}, - "workflowArn":{"shape":"MatchingWorkflowArn"}, - "workflowName":{"shape":"EntityName"} - } + "type": "structure" }, - "CreateSchemaMappingInput":{ - "type":"structure", - "required":[ + "CreateSchemaMappingInput": { + "members": { + "description": { + "shape": "Description" + }, + "mappedInputFields": { + "shape": "SchemaInputAttributes" + }, + "schemaName": { + "shape": "EntityName" + }, + "tags": { + "shape": "TagMap" + } + }, + "required": [ "mappedInputFields", "schemaName" ], - "members":{ - "description":{"shape":"Description"}, - "mappedInputFields":{"shape":"SchemaInputAttributes"}, - "schemaName":{"shape":"EntityName"}, - "tags":{"shape":"TagMap"} - } + "type": "structure" }, - "CreateSchemaMappingOutput":{ - "type":"structure", - "required":[ + "CreateSchemaMappingOutput": { + "members": { + "description": { + "shape": "Description" + }, + "mappedInputFields": { + "shape": "SchemaInputAttributes" + }, + "schemaArn": { + "shape": "SchemaMappingArn" + }, + "schemaName": { + "shape": "EntityName" + } + }, + "required": [ "description", "mappedInputFields", "schemaArn", "schemaName" ], - "members":{ - "description":{"shape":"Description"}, - "mappedInputFields":{"shape":"SchemaInputAttributes"}, - "schemaArn":{"shape":"SchemaMappingArn"}, - "schemaName":{"shape":"EntityName"} - } - }, - "DeleteMatchingWorkflowInput":{ - "type":"structure", - "required":["workflowName"], - "members":{ - "workflowName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"workflowName" + "type": "structure" + }, + "DeleteIdMappingWorkflowInput": { + "members": { + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" } - } - }, - "DeleteMatchingWorkflowOutput":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"} - } + }, + "required": [ + "workflowName" + ], + "type": "structure" }, - "DeleteSchemaMappingInput":{ - "type":"structure", - "required":["schemaName"], - "members":{ - "schemaName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"schemaName" + "DeleteIdMappingWorkflowOutput": { + "members": { + "message": { + "shape": "String" } - } + }, + "required": [ + "message" + ], + "type": "structure" + }, + "DeleteMatchingWorkflowInput": { + "members": { + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } + }, + "required": [ + "workflowName" + ], + "type": "structure" }, - "DeleteSchemaMappingOutput":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"} - } + "DeleteMatchingWorkflowOutput": { + "members": { + "message": { + "shape": "String" + } + }, + "required": [ + "message" + ], + "type": "structure" + }, + "DeleteSchemaMappingInput": { + "members": { + "schemaName": { + "location": "uri", + "locationName": "schemaName", + "shape": "EntityName" + } + }, + "required": [ + "schemaName" + ], + "type": "structure" }, - "Description":{ - "type":"string", - "max":255, - "min":0 - }, - "EntityName":{ - "type":"string", - "max":255, - "min":0, - "pattern":"^[a-zA-Z_0-9-]*$" - }, - "ErrorDetails":{ - "type":"structure", - "members":{ - "errorMessage":{"shape":"ErrorMessage"} - } + "DeleteSchemaMappingOutput": { + "members": { + "message": { + "shape": "String" + } + }, + "required": [ + "message" + ], + "type": "structure" + }, + "Description": { + "max": 255, + "min": 0, + "type": "string" + }, + "EntityName": { + "max": 255, + "min": 1, + "pattern": "^[a-zA-Z_0-9-]*$", + "type": "string" + }, + "ErrorDetails": { + "members": { + "errorMessage": { + "shape": "ErrorMessage" + } + }, + "type": "structure" }, - "ErrorMessage":{ - "type":"string", - "max":2048, - "min":1 + "ErrorMessage": { + "max": 2048, + "min": 1, + "type": "string" }, - "ExceedsLimitException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"}, - "quotaName":{"shape":"String"}, - "quotaValue":{"shape":"Integer"} + "ExceedsLimitException": { + "error": { + "httpStatusCode": 402, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + }, + "quotaName": { + "shape": "String" + }, + "quotaValue": { + "shape": "Integer" + } }, - "error":{ - "httpStatusCode":402, - "senderFault":true + "type": "structure" + }, + "GetIdMappingJobInput": { + "members": { + "jobId": { + "location": "uri", + "locationName": "jobId", + "shape": "JobId" + }, + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } }, - "exception":true + "required": [ + "jobId", + "workflowName" + ], + "type": "structure" }, - "GetMatchIdInput":{ - "type":"structure", - "required":[ - "record", + "GetIdMappingJobOutput": { + "members": { + "endTime": { + "shape": "Timestamp" + }, + "errorDetails": { + "shape": "ErrorDetails" + }, + "jobId": { + "shape": "JobId" + }, + "metrics": { + "shape": "IdMappingJobMetrics" + }, + "startTime": { + "shape": "Timestamp" + }, + "status": { + "shape": "JobStatus" + } + }, + "required": [ + "jobId", + "startTime", + "status" + ], + "type": "structure" + }, + "GetIdMappingWorkflowInput": { + "members": { + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } + }, + "required": [ "workflowName" ], - "members":{ - "record":{"shape":"RecordAttributeMap"}, - "workflowName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"workflowName" + "type": "structure" + }, + "GetIdMappingWorkflowOutput": { + "members": { + "createdAt": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "idMappingTechniques": { + "shape": "IdMappingTechniques" + }, + "inputSourceConfig": { + "shape": "IdMappingWorkflowInputSourceConfig" + }, + "outputSourceConfig": { + "shape": "IdMappingWorkflowOutputSourceConfig" + }, + "roleArn": { + "shape": "RoleArn" + }, + "tags": { + "shape": "TagMap" + }, + "updatedAt": { + "shape": "Timestamp" + }, + "workflowArn": { + "shape": "IdMappingWorkflowArn" + }, + "workflowName": { + "shape": "EntityName" } - } + }, + "required": [ + "createdAt", + "idMappingTechniques", + "inputSourceConfig", + "outputSourceConfig", + "roleArn", + "updatedAt", + "workflowArn", + "workflowName" + ], + "type": "structure" }, - "GetMatchIdOutput":{ - "type":"structure", - "members":{ - "matchId":{"shape":"String"} - } + "GetMatchIdInput": { + "members": { + "record": { + "shape": "RecordAttributeMap" + }, + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } + }, + "required": [ + "record", + "workflowName" + ], + "type": "structure" }, - "GetMatchingJobInput":{ - "type":"structure", - "required":[ + "GetMatchIdOutput": { + "members": { + "matchId": { + "shape": "String" + } + }, + "type": "structure" + }, + "GetMatchingJobInput": { + "members": { + "jobId": { + "location": "uri", + "locationName": "jobId", + "shape": "JobId" + }, + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } + }, + "required": [ "jobId", "workflowName" ], - "members":{ - "jobId":{ - "shape":"JobId", - "location":"uri", - "locationName":"jobId" + "type": "structure" + }, + "GetMatchingJobOutput": { + "members": { + "endTime": { + "shape": "Timestamp" + }, + "errorDetails": { + "shape": "ErrorDetails" + }, + "jobId": { + "shape": "JobId" + }, + "metrics": { + "shape": "JobMetrics" }, - "workflowName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"workflowName" + "startTime": { + "shape": "Timestamp" + }, + "status": { + "shape": "JobStatus" } - } - }, - "GetMatchingJobOutput":{ - "type":"structure", - "required":[ + }, + "required": [ "jobId", "startTime", "status" ], - "members":{ - "endTime":{"shape":"Timestamp"}, - "errorDetails":{"shape":"ErrorDetails"}, - "jobId":{"shape":"JobId"}, - "metrics":{"shape":"JobMetrics"}, - "startTime":{"shape":"Timestamp"}, - "status":{"shape":"JobStatus"} - } - }, - "GetMatchingWorkflowInput":{ - "type":"structure", - "required":["workflowName"], - "members":{ - "workflowName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"workflowName" + "type": "structure" + }, + "GetMatchingWorkflowInput": { + "members": { + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" } - } + }, + "required": [ + "workflowName" + ], + "type": "structure" }, - "GetMatchingWorkflowOutput":{ - "type":"structure", - "required":[ + "GetMatchingWorkflowOutput": { + "members": { + "createdAt": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "incrementalRunConfig": { + "shape": "IncrementalRunConfig" + }, + "inputSourceConfig": { + "shape": "InputSourceConfig" + }, + "outputSourceConfig": { + "shape": "OutputSourceConfig" + }, + "resolutionTechniques": { + "shape": "ResolutionTechniques" + }, + "roleArn": { + "shape": "String" + }, + "tags": { + "shape": "TagMap" + }, + "updatedAt": { + "shape": "Timestamp" + }, + "workflowArn": { + "shape": "MatchingWorkflowArn" + }, + "workflowName": { + "shape": "EntityName" + } + }, + "required": [ "createdAt", "inputSourceConfig", "outputSourceConfig", @@ -543,399 +1400,890 @@ "workflowArn", "workflowName" ], - "members":{ - "createdAt":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "incrementalRunConfig":{"shape":"IncrementalRunConfig"}, - "inputSourceConfig":{"shape":"InputSourceConfig"}, - "outputSourceConfig":{"shape":"OutputSourceConfig"}, - "resolutionTechniques":{"shape":"ResolutionTechniques"}, - "roleArn":{"shape":"String"}, - "tags":{"shape":"TagMap"}, - "updatedAt":{"shape":"Timestamp"}, - "workflowArn":{"shape":"MatchingWorkflowArn"}, - "workflowName":{"shape":"EntityName"} - } - }, - "GetSchemaMappingInput":{ - "type":"structure", - "required":["schemaName"], - "members":{ - "schemaName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"schemaName" + "type": "structure" + }, + "GetProviderServiceInput": { + "members": { + "providerName": { + "location": "uri", + "locationName": "providerName", + "shape": "EntityName" + }, + "providerServiceName": { + "location": "uri", + "locationName": "providerServiceName", + "shape": "ProviderServiceArn" } - } + }, + "required": [ + "providerName", + "providerServiceName" + ], + "type": "structure" + }, + "GetSchemaMappingInput": { + "members": { + "schemaName": { + "location": "uri", + "locationName": "schemaName", + "shape": "EntityName" + } + }, + "required": [ + "schemaName" + ], + "type": "structure" }, - "GetSchemaMappingOutput":{ - "type":"structure", - "required":[ + "GetSchemaMappingOutput": { + "members": { + "createdAt": { + "shape": "Timestamp" + }, + "description": { + "shape": "Description" + }, + "hasWorkflows": { + "shape": "Boolean" + }, + "mappedInputFields": { + "shape": "SchemaInputAttributes" + }, + "schemaArn": { + "shape": "SchemaMappingArn" + }, + "schemaName": { + "shape": "EntityName" + }, + "tags": { + "shape": "TagMap" + }, + "updatedAt": { + "shape": "Timestamp" + } + }, + "required": [ "createdAt", + "hasWorkflows", "mappedInputFields", "schemaArn", "schemaName", "updatedAt" ], - "members":{ - "createdAt":{"shape":"Timestamp"}, - "description":{"shape":"Description"}, - "mappedInputFields":{"shape":"SchemaInputAttributes"}, - "schemaArn":{"shape":"SchemaMappingArn"}, - "schemaName":{"shape":"EntityName"}, - "tags":{"shape":"TagMap"}, - "updatedAt":{"shape":"Timestamp"} - } + "type": "structure" }, - "IncrementalRunConfig":{ - "type":"structure", - "members":{ - "incrementalRunType":{"shape":"IncrementalRunType"} - } + "IdMappingJobMetrics": { + "members": { + "inputRecords": { + "shape": "Integer" + }, + "recordsNotProcessed": { + "shape": "Integer" + }, + "totalRecordsProcessed": { + "shape": "Integer" + } + }, + "type": "structure" + }, + "IdMappingTechniques": { + "members": { + "idMappingType": { + "shape": "IdMappingType" + }, + "providerProperties": { + "shape": "ProviderProperties" + } + }, + "required": [ + "idMappingType", + "providerProperties" + ], + "type": "structure" }, - "IncrementalRunType":{ - "type":"string", - "enum":["IMMEDIATE"] + "IdMappingType": { + "enum": [ + "PROVIDER" + ], + "type": "string" + }, + "IdMappingWorkflowArn": { + "pattern": "^arn:(aws|aws-us-gov|aws-cn):entityresolution:.*:[0-9]+:(idmappingworkflow/.*)$", + "type": "string" }, - "InputSource":{ - "type":"structure", - "required":[ + "IdMappingWorkflowInputSource": { + "members": { + "inputSourceARN": { + "shape": "IdMappingWorkflowInputSourceInputSourceARNString" + }, + "schemaName": { + "shape": "EntityName" + } + }, + "required": [ "inputSourceARN", "schemaName" ], - "members":{ - "applyNormalization":{"shape":"Boolean"}, - "inputSourceARN":{"shape":"InputSourceInputSourceARNString"}, - "schemaName":{"shape":"EntityName"} - } + "type": "structure" }, - "InputSourceConfig":{ - "type":"list", - "member":{"shape":"InputSource"}, - "max":20, - "min":1 - }, - "InputSourceInputSourceARNString":{ - "type":"string", - "pattern":"^arn:aws:.*:.*:[0-9]+:.*$" - }, - "Integer":{ - "type":"integer", - "box":true - }, - "InternalServerException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} - }, - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true, - "retryable":{"throttling":false} - }, - "JobId":{ - "type":"string", - "pattern":"^[a-f0-9]{32}$" - }, - "JobList":{ - "type":"list", - "member":{"shape":"JobSummary"} - }, - "JobMetrics":{ - "type":"structure", - "members":{ - "inputRecords":{"shape":"Integer"}, - "matchIDs":{"shape":"Integer"}, - "recordsNotProcessed":{"shape":"Integer"}, - "totalRecordsProcessed":{"shape":"Integer"} - } + "IdMappingWorkflowInputSourceConfig": { + "max": 20, + "member": { + "shape": "IdMappingWorkflowInputSource" + }, + "min": 1, + "type": "list" + }, + "IdMappingWorkflowInputSourceInputSourceARNString": { + "pattern": "^arn:aws:.*:.*:[0-9]+:.*$", + "type": "string" + }, + "IdMappingWorkflowList": { + "member": { + "shape": "IdMappingWorkflowSummary" + }, + "type": "list" + }, + "IdMappingWorkflowOutputSource": { + "members": { + "KMSArn": { + "shape": "KMSArn" + }, + "outputS3Path": { + "shape": "S3Path" + } + }, + "required": [ + "outputS3Path" + ], + "type": "structure" + }, + "IdMappingWorkflowOutputSourceConfig": { + "max": 1, + "member": { + "shape": "IdMappingWorkflowOutputSource" + }, + "min": 1, + "type": "list" + }, + "IdMappingWorkflowSummary": { + "members": { + "createdAt": { + "shape": "Timestamp" + }, + "updatedAt": { + "shape": "Timestamp" + }, + "workflowArn": { + "shape": "IdMappingWorkflowArn" + }, + "workflowName": { + "shape": "EntityName" + } + }, + "required": [ + "createdAt", + "updatedAt", + "workflowArn", + "workflowName" + ], + "type": "structure" + }, + "IncrementalRunConfig": { + "members": { + "incrementalRunType": { + "shape": "IncrementalRunType" + } + }, + "type": "structure" + }, + "IncrementalRunType": { + "enum": [ + "IMMEDIATE" + ], + "type": "string" + }, + "InputSource": { + "members": { + "applyNormalization": { + "shape": "Boolean" + }, + "inputSourceARN": { + "shape": "InputSourceInputSourceARNString" + }, + "schemaName": { + "shape": "EntityName" + } + }, + "required": [ + "inputSourceARN", + "schemaName" + ], + "type": "structure" + }, + "InputSourceConfig": { + "max": 20, + "member": { + "shape": "InputSource" + }, + "min": 1, + "type": "list" + }, + "InputSourceInputSourceARNString": { + "pattern": "^arn:aws:.*:.*:[0-9]+:.*$", + "type": "string" + }, + "Integer": { + "box": true, + "type": "integer" + }, + "IntermediateSourceConfiguration": { + "members": { + "intermediateS3Path": { + "shape": "S3Path" + } + }, + "required": [ + "intermediateS3Path" + ], + "type": "structure" + }, + "InternalServerException": { + "error": { + "httpStatusCode": 500 + }, + "exception": true, + "fault": true, + "members": { + "message": { + "shape": "ErrorMessage" + } + }, + "retryable": { + "throttling": false + }, + "type": "structure" + }, + "JobId": { + "pattern": "^[a-f0-9]{32}$", + "type": "string" + }, + "JobList": { + "member": { + "shape": "JobSummary" + }, + "type": "list" + }, + "JobMetrics": { + "members": { + "inputRecords": { + "shape": "Integer" + }, + "matchIDs": { + "shape": "Integer" + }, + "recordsNotProcessed": { + "shape": "Integer" + }, + "totalRecordsProcessed": { + "shape": "Integer" + } + }, + "type": "structure" }, - "JobStatus":{ - "type":"string", - "enum":[ + "JobStatus": { + "enum": [ "RUNNING", "SUCCEEDED", "FAILED", "QUEUED" - ] + ], + "type": "string" }, - "JobSummary":{ - "type":"structure", - "required":[ + "JobSummary": { + "members": { + "endTime": { + "shape": "Timestamp" + }, + "jobId": { + "shape": "JobId" + }, + "startTime": { + "shape": "Timestamp" + }, + "status": { + "shape": "JobStatus" + } + }, + "required": [ "jobId", "startTime", "status" ], - "members":{ - "endTime":{"shape":"Timestamp"}, - "jobId":{"shape":"JobId"}, - "startTime":{"shape":"Timestamp"}, - "status":{"shape":"JobStatus"} - } - }, - "KMSArn":{ - "type":"string", - "pattern":"^arn:aws:kms:.*:[0-9]+:.*$" - }, - "ListMatchingJobsInput":{ - "type":"structure", - "required":["workflowName"], - "members":{ - "maxResults":{ - "shape":"ListMatchingJobsInputMaxResultsInteger", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "workflowName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"workflowName" + "type": "structure" + }, + "KMSArn": { + "pattern": "^arn:aws:kms:.*:[0-9]+:.*$", + "type": "string" + }, + "ListIdMappingJobsInput": { + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "ListIdMappingJobsInputMaxResultsInteger" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "NextToken" + }, + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" } - } + }, + "required": [ + "workflowName" + ], + "type": "structure" + }, + "ListIdMappingJobsInputMaxResultsInteger": { + "box": true, + "max": 25, + "min": 1, + "type": "integer" + }, + "ListIdMappingJobsOutput": { + "members": { + "jobs": { + "shape": "JobList" + }, + "nextToken": { + "shape": "NextToken" + } + }, + "type": "structure" + }, + "ListIdMappingWorkflowsInput": { + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "ListIdMappingWorkflowsInputMaxResultsInteger" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "NextToken" + } + }, + "type": "structure" }, - "ListMatchingJobsInputMaxResultsInteger":{ - "type":"integer", - "box":true, - "max":25, - "min":1 - }, - "ListMatchingJobsOutput":{ - "type":"structure", - "members":{ - "jobs":{"shape":"JobList"}, - "nextToken":{"shape":"NextToken"} - } + "ListIdMappingWorkflowsInputMaxResultsInteger": { + "box": true, + "max": 25, + "type": "integer" }, - "ListMatchingWorkflowsInput":{ - "type":"structure", - "members":{ - "maxResults":{ - "shape":"ListMatchingWorkflowsInputMaxResultsInteger", - "location":"querystring", - "locationName":"maxResults" + "ListIdMappingWorkflowsOutput": { + "members": { + "nextToken": { + "shape": "NextToken" }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" + "workflowSummaries": { + "shape": "IdMappingWorkflowList" } - } - }, - "ListMatchingWorkflowsInputMaxResultsInteger":{ - "type":"integer", - "box":true, - "max":25 + }, + "type": "structure" + }, + "ListMatchingJobsInput": { + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "ListMatchingJobsInputMaxResultsInteger" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "NextToken" + }, + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } + }, + "required": [ + "workflowName" + ], + "type": "structure" + }, + "ListMatchingJobsInputMaxResultsInteger": { + "box": true, + "max": 25, + "min": 1, + "type": "integer" + }, + "ListMatchingJobsOutput": { + "members": { + "jobs": { + "shape": "JobList" + }, + "nextToken": { + "shape": "NextToken" + } + }, + "type": "structure" + }, + "ListMatchingWorkflowsInput": { + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "ListMatchingWorkflowsInputMaxResultsInteger" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "NextToken" + } + }, + "type": "structure" }, - "ListMatchingWorkflowsOutput":{ - "type":"structure", - "members":{ - "nextToken":{"shape":"NextToken"}, - "workflowSummaries":{"shape":"MatchingWorkflowList"} - } + "ListMatchingWorkflowsInputMaxResultsInteger": { + "box": true, + "max": 25, + "type": "integer" }, - "ListSchemaMappingsInput":{ - "type":"structure", - "members":{ - "maxResults":{ - "shape":"ListSchemaMappingsInputMaxResultsInteger", - "location":"querystring", - "locationName":"maxResults" + "ListMatchingWorkflowsOutput": { + "members": { + "nextToken": { + "shape": "NextToken" }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" + "workflowSummaries": { + "shape": "MatchingWorkflowList" } - } - }, - "ListSchemaMappingsInputMaxResultsInteger":{ - "type":"integer", - "box":true, - "max":25 + }, + "type": "structure" + }, + "ListProviderServicesInput": { + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "ListProviderServicesInputMaxResultsInteger" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "NextToken" + }, + "providerName": { + "location": "querystring", + "locationName": "providerName", + "shape": "EntityName" + } + }, + "type": "structure" + }, + "ListProviderServicesInputMaxResultsInteger": { + "box": true, + "max": 25, + "min": 15, + "type": "integer" + }, + "ListProviderServicesOutput": { + "members": { + "nextToken": { + "shape": "NextToken" + }, + "providerServiceSummaries": { + "shape": "ProviderServiceList" + } + }, + "type": "structure" + }, + "ListSchemaMappingsInput": { + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "shape": "ListSchemaMappingsInputMaxResultsInteger" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken", + "shape": "NextToken" + } + }, + "type": "structure" }, - "ListSchemaMappingsOutput":{ - "type":"structure", - "members":{ - "nextToken":{"shape":"NextToken"}, - "schemaList":{"shape":"SchemaMappingList"} - } + "ListSchemaMappingsInputMaxResultsInteger": { + "box": true, + "max": 25, + "type": "integer" }, - "ListTagsForResourceInput":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"VeniceGlobalArn", - "location":"uri", - "locationName":"resourceArn" + "ListSchemaMappingsOutput": { + "members": { + "nextToken": { + "shape": "NextToken" + }, + "schemaList": { + "shape": "SchemaMappingList" } - } + }, + "type": "structure" + }, + "ListTagsForResourceInput": { + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn", + "shape": "VeniceGlobalArn" + } + }, + "required": [ + "resourceArn" + ], + "type": "structure" }, - "ListTagsForResourceOutput":{ - "type":"structure", - "required":["tags"], - "members":{ - "tags":{"shape":"TagMap"} - } + "ListTagsForResourceOutput": { + "members": { + "tags": { + "shape": "TagMap" + } + }, + "required": [ + "tags" + ], + "type": "structure" }, - "MatchingWorkflowArn":{ - "type":"string", - "pattern":"^arn:(aws|aws-us-gov|aws-cn):entityresolution:.*:[0-9]+:(matchingworkflow/.*)$" + "MatchingWorkflowArn": { + "pattern": "^arn:(aws|aws-us-gov|aws-cn):entityresolution:.*:[0-9]+:(matchingworkflow/.*)$", + "type": "string" }, - "MatchingWorkflowList":{ - "type":"list", - "member":{"shape":"MatchingWorkflowSummary"} + "MatchingWorkflowList": { + "member": { + "shape": "MatchingWorkflowSummary" + }, + "type": "list" }, - "MatchingWorkflowSummary":{ - "type":"structure", - "required":[ + "MatchingWorkflowSummary": { + "members": { + "createdAt": { + "shape": "Timestamp" + }, + "resolutionType": { + "shape": "ResolutionType" + }, + "updatedAt": { + "shape": "Timestamp" + }, + "workflowArn": { + "shape": "MatchingWorkflowArn" + }, + "workflowName": { + "shape": "EntityName" + } + }, + "required": [ "createdAt", + "resolutionType", "updatedAt", "workflowArn", "workflowName" ], - "members":{ - "createdAt":{"shape":"Timestamp"}, - "updatedAt":{"shape":"Timestamp"}, - "workflowArn":{"shape":"MatchingWorkflowArn"}, - "workflowName":{"shape":"EntityName"} - } - }, - "NextToken":{ - "type":"string", - "max":1024, - "min":1, - "pattern":"^[a-zA-Z_0-9-=+/]*$" - }, - "OutputAttribute":{ - "type":"structure", - "required":["name"], - "members":{ - "hashed":{"shape":"Boolean"}, - "name":{"shape":"AttributeName"} - } + "type": "structure" + }, + "NextToken": { + "max": 1024, + "min": 1, + "pattern": "^[a-zA-Z_0-9-=+/]*$", + "type": "string" + }, + "OutputAttribute": { + "members": { + "hashed": { + "shape": "Boolean" + }, + "name": { + "shape": "AttributeName" + } + }, + "required": [ + "name" + ], + "type": "structure" }, - "OutputSource":{ - "type":"structure", - "required":[ + "OutputSource": { + "members": { + "KMSArn": { + "shape": "KMSArn" + }, + "applyNormalization": { + "shape": "Boolean" + }, + "output": { + "shape": "OutputSourceOutputList" + }, + "outputS3Path": { + "shape": "S3Path" + } + }, + "required": [ "output", "outputS3Path" ], - "members":{ - "KMSArn":{"shape":"KMSArn"}, - "applyNormalization":{"shape":"Boolean"}, - "output":{"shape":"OutputSourceOutputList"}, - "outputS3Path":{"shape":"S3Path"} - } + "type": "structure" + }, + "OutputSourceConfig": { + "max": 1, + "member": { + "shape": "OutputSource" + }, + "min": 1, + "type": "list" + }, + "OutputSourceOutputList": { + "max": 750, + "member": { + "shape": "OutputAttribute" + }, + "min": 0, + "type": "list" + }, + "ProviderEndpointConfiguration": { + "members": { + "marketplaceConfiguration": { + "shape": "ProviderMarketplaceConfiguration" + } + }, + "type": "structure", + "union": true + }, + "ProviderIntermediateDataAccessConfiguration": { + "members": { + "awsAccountIds": { + "shape": "AwsAccountIdList" + }, + "requiredBucketActions": { + "shape": "RequiredBucketActionsList" + } + }, + "type": "structure" + }, + "ProviderMarketplaceConfiguration": { + "members": { + "assetId": { + "shape": "String" + }, + "dataSetId": { + "shape": "String" + }, + "listingId": { + "shape": "String" + }, + "revisionId": { + "shape": "String" + } + }, + "required": [ + "assetId", + "dataSetId", + "listingId", + "revisionId" + ], + "type": "structure" + }, + "ProviderProperties": { + "members": { + "intermediateSourceConfiguration": { + "shape": "IntermediateSourceConfiguration" + }, + "providerServiceArn": { + "shape": "ProviderServiceArn" + } + }, + "required": [ + "providerServiceArn" + ], + "type": "structure" + }, + "ProviderServiceArn": { + "max": 255, + "min": 20, + "pattern": "^arn:(aws|aws-us-gov|aws-cn):(entityresolution):([a-z]{2}-[a-z-]+?-[0-9])::providerservice/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$", + "type": "string" + }, + "ProviderServiceDisplayName": { + "max": 255, + "min": 0, + "type": "string" + }, + "ProviderServiceList": { + "member": { + "shape": "ProviderServiceSummary" + }, + "type": "list" + }, + "ProviderServiceSummary": { + "members": { + "providerName": { + "shape": "EntityName" + }, + "providerServiceArn": { + "shape": "ProviderServiceArn" + }, + "providerServiceDisplayName": { + "shape": "ProviderServiceDisplayName" + }, + "providerServiceName": { + "shape": "EntityName" + }, + "providerServiceType": { + "shape": "ServiceType" + } + }, + "required": [ + "providerName", + "providerServiceArn", + "providerServiceDisplayName", + "providerServiceName", + "providerServiceType" + ], + "type": "structure" }, - "OutputSourceConfig":{ - "type":"list", - "member":{"shape":"OutputSource"}, - "max":1, - "min":1 - }, - "OutputSourceOutputList":{ - "type":"list", - "member":{"shape":"OutputAttribute"}, - "max":750, - "min":0 - }, - "RecordAttributeMap":{ - "type":"map", - "key":{"shape":"RecordAttributeMapKeyString"}, - "value":{"shape":"RecordAttributeMapValueString"}, - "sensitive":true - }, - "RecordAttributeMapKeyString":{ - "type":"string", - "max":255, - "min":0, - "pattern":"^[a-zA-Z_0-9- \\t]*$" - }, - "RecordAttributeMapValueString":{ - "type":"string", - "max":255, - "min":0, - "pattern":"^[a-zA-Z_0-9-.@ ()+\\t]*$" - }, - "ResolutionTechniques":{ - "type":"structure", - "required":["resolutionType"], - "members":{ - "resolutionType":{"shape":"ResolutionType"}, - "ruleBasedProperties":{"shape":"RuleBasedProperties"} + "RecordAttributeMap": { + "key": { + "shape": "RecordAttributeMapKeyString" + }, + "sensitive": true, + "type": "map", + "value": { + "shape": "RecordAttributeMapValueString" } }, - "ResolutionType":{ - "type":"string", - "enum":[ + "RecordAttributeMapKeyString": { + "max": 255, + "min": 0, + "pattern": "^[a-zA-Z_0-9- \\t]*$", + "type": "string" + }, + "RecordAttributeMapValueString": { + "max": 255, + "min": 0, + "pattern": "^[a-zA-Z_0-9-.@ ()+\\t]*$", + "type": "string" + }, + "RequiredBucketActionsList": { + "member": { + "shape": "String" + }, + "type": "list" + }, + "ResolutionTechniques": { + "members": { + "providerProperties": { + "shape": "ProviderProperties" + }, + "resolutionType": { + "shape": "ResolutionType" + }, + "ruleBasedProperties": { + "shape": "RuleBasedProperties" + } + }, + "required": [ + "resolutionType" + ], + "type": "structure" + }, + "ResolutionType": { + "enum": [ "RULE_MATCHING", - "ML_MATCHING" - ] + "ML_MATCHING", + "PROVIDER" + ], + "type": "string" }, - "ResourceNotFoundException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "ResourceNotFoundException": { + "error": { + "httpStatusCode": 404, + "senderFault": true }, - "error":{ - "httpStatusCode":404, - "senderFault":true + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } }, - "exception":true + "type": "structure" }, - "Rule":{ - "type":"structure", - "required":[ + "RoleArn": { + "pattern": "^arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$", + "type": "string" + }, + "Rule": { + "members": { + "matchingKeys": { + "shape": "RuleMatchingKeysList" + }, + "ruleName": { + "shape": "RuleRuleNameString" + } + }, + "required": [ "matchingKeys", "ruleName" ], - "members":{ - "matchingKeys":{"shape":"RuleMatchingKeysList"}, - "ruleName":{"shape":"RuleRuleNameString"} - } + "type": "structure" }, - "RuleBasedProperties":{ - "type":"structure", - "required":[ + "RuleBasedProperties": { + "members": { + "attributeMatchingModel": { + "shape": "AttributeMatchingModel" + }, + "rules": { + "shape": "RuleBasedPropertiesRulesList" + } + }, + "required": [ "attributeMatchingModel", "rules" ], - "members":{ - "attributeMatchingModel":{"shape":"AttributeMatchingModel"}, - "rules":{"shape":"RuleBasedPropertiesRulesList"} - } + "type": "structure" + }, + "RuleBasedPropertiesRulesList": { + "max": 15, + "member": { + "shape": "Rule" + }, + "min": 1, + "type": "list" }, - "RuleBasedPropertiesRulesList":{ - "type":"list", - "member":{"shape":"Rule"}, - "max":15, - "min":1 - }, - "RuleMatchingKeysList":{ - "type":"list", - "member":{"shape":"AttributeName"}, - "max":15, - "min":1 - }, - "RuleRuleNameString":{ - "type":"string", - "max":255, - "min":0, - "pattern":"^[a-zA-Z_0-9- \\t]*$" - }, - "S3Path":{ - "type":"string", - "pattern":"^s3://([^/]+)/?(.*?([^/]+)/?)$" - }, - "SchemaAttributeType":{ - "type":"string", - "enum":[ + "RuleMatchingKeysList": { + "max": 15, + "member": { + "shape": "AttributeName" + }, + "min": 1, + "type": "list" + }, + "RuleRuleNameString": { + "max": 255, + "min": 0, + "pattern": "^[a-zA-Z_0-9- \\t]*$", + "type": "string" + }, + "S3Path": { + "max": 1024, + "min": 1, + "pattern": "^s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?$", + "type": "string" + }, + "SchemaAttributeType": { + "enum": [ "NAME", "NAME_FIRST", "NAME_MIDDLE", @@ -954,206 +2302,423 @@ "EMAIL_ADDRESS", "UNIQUE_ID", "DATE", - "STRING" - ] + "STRING", + "PROVIDER_ID" + ], + "type": "string" }, - "SchemaInputAttribute":{ - "type":"structure", - "required":[ + "SchemaInputAttribute": { + "members": { + "fieldName": { + "shape": "AttributeName" + }, + "groupName": { + "shape": "AttributeName" + }, + "matchKey": { + "shape": "AttributeName" + }, + "subType": { + "shape": "AttributeName" + }, + "type": { + "shape": "SchemaAttributeType" + } + }, + "required": [ "fieldName", "type" ], - "members":{ - "fieldName":{"shape":"AttributeName"}, - "groupName":{"shape":"AttributeName"}, - "matchKey":{"shape":"AttributeName"}, - "type":{"shape":"SchemaAttributeType"} - } + "type": "structure" }, - "SchemaInputAttributes":{ - "type":"list", - "member":{"shape":"SchemaInputAttribute"}, - "max":25, - "min":2 + "SchemaInputAttributes": { + "max": 25, + "member": { + "shape": "SchemaInputAttribute" + }, + "min": 2, + "type": "list" }, - "SchemaMappingArn":{ - "type":"string", - "pattern":"^arn:(aws|aws-us-gov|aws-cn):entityresolution:.*:[0-9]+:(schemamapping/.*)$" + "SchemaMappingArn": { + "pattern": "^arn:(aws|aws-us-gov|aws-cn):entityresolution:.*:[0-9]+:(schemamapping/.*)$", + "type": "string" }, - "SchemaMappingList":{ - "type":"list", - "member":{"shape":"SchemaMappingSummary"} + "SchemaMappingList": { + "member": { + "shape": "SchemaMappingSummary" + }, + "type": "list" }, - "SchemaMappingSummary":{ - "type":"structure", - "required":[ + "SchemaMappingSummary": { + "members": { + "createdAt": { + "shape": "Timestamp" + }, + "hasWorkflows": { + "shape": "Boolean" + }, + "schemaArn": { + "shape": "SchemaMappingArn" + }, + "schemaName": { + "shape": "EntityName" + }, + "updatedAt": { + "shape": "Timestamp" + } + }, + "required": [ "createdAt", + "hasWorkflows", "schemaArn", "schemaName", "updatedAt" ], - "members":{ - "createdAt":{"shape":"Timestamp"}, - "schemaArn":{"shape":"SchemaMappingArn"}, - "schemaName":{"shape":"EntityName"}, - "updatedAt":{"shape":"Timestamp"} - } + "type": "structure" }, - "StartMatchingJobInput":{ - "type":"structure", - "required":["workflowName"], - "members":{ - "workflowName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"workflowName" + "ServiceType": { + "enum": [ + "ASSIGNMENT", + "ID_MAPPING" + ], + "type": "string" + }, + "StartIdMappingJobInput": { + "members": { + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" } - } + }, + "required": [ + "workflowName" + ], + "type": "structure" }, - "StartMatchingJobOutput":{ - "type":"structure", - "required":["jobId"], - "members":{ - "jobId":{"shape":"JobId"} + "StartIdMappingJobOutput": { + "members": { + "jobId": { + "shape": "JobId" + } + }, + "required": [ + "jobId" + ], + "type": "structure" + }, + "StartMatchingJobInput": { + "members": { + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } + }, + "required": [ + "workflowName" + ], + "type": "structure" + }, + "StartMatchingJobOutput": { + "members": { + "jobId": { + "shape": "JobId" + } + }, + "required": [ + "jobId" + ], + "type": "structure" + }, + "String": { + "type": "string" + }, + "TagKey": { + "max": 128, + "min": 1, + "type": "string" + }, + "TagKeyList": { + "max": 200, + "member": { + "shape": "TagKey" + }, + "min": 0, + "type": "list" + }, + "TagMap": { + "key": { + "shape": "TagKey" + }, + "max": 200, + "min": 0, + "type": "map", + "value": { + "shape": "TagValue" } }, - "String":{"type":"string"}, - "TagKey":{ - "type":"string", - "max":128, - "min":1 - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":200, - "min":0 - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":200, - "min":0 - }, - "TagResourceInput":{ - "type":"structure", - "required":[ + "TagResourceInput": { + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn", + "shape": "VeniceGlobalArn" + }, + "tags": { + "shape": "TagMap" + } + }, + "required": [ "resourceArn", "tags" ], - "members":{ - "resourceArn":{ - "shape":"VeniceGlobalArn", - "location":"uri", - "locationName":"resourceArn" - }, - "tags":{"shape":"TagMap"} - } + "type": "structure" }, - "TagResourceOutput":{ - "type":"structure", - "members":{ - } + "TagResourceOutput": { + "members": {}, + "type": "structure" }, - "TagValue":{ - "type":"string", - "max":256, - "min":0 + "TagValue": { + "max": 256, + "min": 0, + "type": "string" }, - "ThrottlingException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "ThrottlingException": { + "error": { + "httpStatusCode": 429, + "senderFault": true + }, + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } }, - "error":{ - "httpStatusCode":429, - "senderFault":true + "retryable": { + "throttling": true }, - "exception":true, - "retryable":{"throttling":true} + "type": "structure" + }, + "Timestamp": { + "type": "timestamp" }, - "Timestamp":{"type":"timestamp"}, - "UntagResourceInput":{ - "type":"structure", - "required":[ + "UntagResourceInput": { + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn", + "shape": "VeniceGlobalArn" + }, + "tagKeys": { + "location": "querystring", + "locationName": "tagKeys", + "shape": "TagKeyList" + } + }, + "required": [ "resourceArn", "tagKeys" ], - "members":{ - "resourceArn":{ - "shape":"VeniceGlobalArn", - "location":"uri", - "locationName":"resourceArn" + "type": "structure" + }, + "UntagResourceOutput": { + "members": {}, + "type": "structure" + }, + "UpdateIdMappingWorkflowInput": { + "members": { + "description": { + "shape": "Description" + }, + "idMappingTechniques": { + "shape": "IdMappingTechniques" }, - "tagKeys":{ - "shape":"TagKeyList", - "location":"querystring", - "locationName":"tagKeys" + "inputSourceConfig": { + "shape": "IdMappingWorkflowInputSourceConfig" + }, + "outputSourceConfig": { + "shape": "IdMappingWorkflowOutputSourceConfig" + }, + "roleArn": { + "shape": "RoleArn" + }, + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" } - } + }, + "required": [ + "idMappingTechniques", + "inputSourceConfig", + "outputSourceConfig", + "roleArn", + "workflowName" + ], + "type": "structure" }, - "UntagResourceOutput":{ - "type":"structure", - "members":{ - } + "UpdateIdMappingWorkflowOutput": { + "members": { + "description": { + "shape": "Description" + }, + "idMappingTechniques": { + "shape": "IdMappingTechniques" + }, + "inputSourceConfig": { + "shape": "IdMappingWorkflowInputSourceConfig" + }, + "outputSourceConfig": { + "shape": "IdMappingWorkflowOutputSourceConfig" + }, + "roleArn": { + "shape": "RoleArn" + }, + "workflowArn": { + "shape": "IdMappingWorkflowArn" + }, + "workflowName": { + "shape": "EntityName" + } + }, + "required": [ + "idMappingTechniques", + "inputSourceConfig", + "outputSourceConfig", + "roleArn", + "workflowArn", + "workflowName" + ], + "type": "structure" }, - "UpdateMatchingWorkflowInput":{ - "type":"structure", - "required":[ + "UpdateMatchingWorkflowInput": { + "members": { + "description": { + "shape": "Description" + }, + "incrementalRunConfig": { + "shape": "IncrementalRunConfig" + }, + "inputSourceConfig": { + "shape": "InputSourceConfig" + }, + "outputSourceConfig": { + "shape": "OutputSourceConfig" + }, + "resolutionTechniques": { + "shape": "ResolutionTechniques" + }, + "roleArn": { + "shape": "String" + }, + "workflowName": { + "location": "uri", + "locationName": "workflowName", + "shape": "EntityName" + } + }, + "required": [ "inputSourceConfig", "outputSourceConfig", "resolutionTechniques", "roleArn", "workflowName" ], - "members":{ - "description":{"shape":"Description"}, - "incrementalRunConfig":{"shape":"IncrementalRunConfig"}, - "inputSourceConfig":{"shape":"InputSourceConfig"}, - "outputSourceConfig":{"shape":"OutputSourceConfig"}, - "resolutionTechniques":{"shape":"ResolutionTechniques"}, - "roleArn":{"shape":"String"}, - "workflowName":{ - "shape":"EntityName", - "location":"uri", - "locationName":"workflowName" - } - } + "type": "structure" }, - "UpdateMatchingWorkflowOutput":{ - "type":"structure", - "required":[ + "UpdateMatchingWorkflowOutput": { + "members": { + "description": { + "shape": "Description" + }, + "incrementalRunConfig": { + "shape": "IncrementalRunConfig" + }, + "inputSourceConfig": { + "shape": "InputSourceConfig" + }, + "outputSourceConfig": { + "shape": "OutputSourceConfig" + }, + "resolutionTechniques": { + "shape": "ResolutionTechniques" + }, + "roleArn": { + "shape": "String" + }, + "workflowName": { + "shape": "EntityName" + } + }, + "required": [ "inputSourceConfig", "outputSourceConfig", "resolutionTechniques", "roleArn", "workflowName" ], - "members":{ - "description":{"shape":"Description"}, - "incrementalRunConfig":{"shape":"IncrementalRunConfig"}, - "inputSourceConfig":{"shape":"InputSourceConfig"}, - "outputSourceConfig":{"shape":"OutputSourceConfig"}, - "resolutionTechniques":{"shape":"ResolutionTechniques"}, - "roleArn":{"shape":"String"}, - "workflowName":{"shape":"EntityName"} - } + "type": "structure" + }, + "UpdateSchemaMappingInput": { + "members": { + "description": { + "shape": "Description" + }, + "mappedInputFields": { + "shape": "SchemaInputAttributes" + }, + "schemaName": { + "location": "uri", + "locationName": "schemaName", + "shape": "EntityName" + } + }, + "required": [ + "mappedInputFields", + "schemaName" + ], + "type": "structure" + }, + "UpdateSchemaMappingOutput": { + "members": { + "description": { + "shape": "Description" + }, + "mappedInputFields": { + "shape": "SchemaInputAttributes" + }, + "schemaArn": { + "shape": "SchemaMappingArn" + }, + "schemaName": { + "shape": "EntityName" + } + }, + "required": [ + "mappedInputFields", + "schemaArn", + "schemaName" + ], + "type": "structure" }, - "ValidationException":{ - "type":"structure", - "members":{ - "message":{"shape":"ErrorMessage"} + "ValidationException": { + "error": { + "httpStatusCode": 400, + "senderFault": true }, - "error":{ - "httpStatusCode":400, - "senderFault":true + "exception": true, + "members": { + "message": { + "shape": "ErrorMessage" + } }, - "exception":true + "type": "structure" }, - "VeniceGlobalArn":{ - "type":"string", - "pattern":"^arn:(aws|aws-us-gov|aws-cn):(entityresolution):.*:[0-9]+:((schemamapping|matchingworkflow)/[a-zA-Z0-9_-]+)$" + "VeniceGlobalArn": { + "pattern": "^arn:(aws|aws-us-gov|aws-cn):(entityresolution):.*:[0-9]+:((schemamapping|matchingworkflow|idmappingworkflow)/[a-zA-Z0-9_-]+)$", + "type": "string" } - } -} + }, + "version": "2.0" +} \ No newline at end of file diff --git a/models/apis/entityresolution/2018-05-10/docs-2.json b/models/apis/entityresolution/2018-05-10/docs-2.json index ef2839635c7..2fad322718e 100644 --- a/models/apis/entityresolution/2018-05-10/docs-2.json +++ b/models/apis/entityresolution/2018-05-10/docs-2.json @@ -2,22 +2,33 @@ "version": "2.0", "service": "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": { + "CreateIdMappingWorkflow": "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 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 MatchingWorkflow
with a given name. This operation will succeed even if a workflow with the given name does not exist.
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 DataIntegrationWorkflow
object that references the SchemaMapping
in the workflow's InputSourceConfig
.
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 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 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.
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.
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 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 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 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 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 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.
The subtype of the attribute, selected from a list of values.
" + } + }, + "AwsAccountId": { + "base": null, + "refs": { + "AwsAccountIdList$member": null + } + }, + "AwsAccountIdList": { + "base": null, + "refs": { + "ProviderIntermediateDataAccessConfiguration$awsAccountIds": "The Amazon Web Services account that provider can use to read or write data into the customer's intermediate S3 bucket.
" } }, "Boolean": { "base": null, "refs": { + "GetProviderServiceOutput$anonymizedOutput": "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.
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 the schema mapping has been applied to a workflow.
" } }, "ConflictException": { @@ -54,6 +81,16 @@ "refs": { } }, + "CreateIdMappingWorkflowInput": { + "base": null, + "refs": { + } + }, + "CreateIdMappingWorkflowOutput": { + "base": null, + "refs": { + } + }, "CreateMatchingWorkflowInput": { "base": null, "refs": { @@ -74,6 +111,16 @@ "refs": { } }, + "DeleteIdMappingWorkflowInput": { + "base": null, + "refs": { + } + }, + "DeleteIdMappingWorkflowOutput": { + "base": null, + "refs": { + } + }, "DeleteMatchingWorkflowInput": { "base": null, "refs": { @@ -97,43 +144,79 @@ "Description": { "base": null, "refs": { + "CreateIdMappingWorkflowInput$description": "A description of the workflow.
", + "CreateIdMappingWorkflowOutput$description": "A description of the workflow.
", "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.
", "GetMatchingWorkflowOutput$description": "A description of the workflow.
", "GetSchemaMappingOutput$description": "A description of the schema.
", + "UpdateIdMappingWorkflowInput$description": "A description of the workflow.
", + "UpdateIdMappingWorkflowOutput$description": "A description of the workflow.
", "UpdateMatchingWorkflowInput$description": "A description of the workflow.
", - "UpdateMatchingWorkflowOutput$description": "A description of the workflow.
" + "UpdateMatchingWorkflowOutput$description": "A description of the workflow.
", + "UpdateSchemaMappingInput$description": "A description of the schema.
", + "UpdateSchemaMappingOutput$description": "A description of the schema.
" + } + }, + "Document": { + "base": null, + "refs": { + "GetProviderServiceOutput$providerConfigurationDefinition": "The definition of the provider configuration.
", + "GetProviderServiceOutput$providerEntityOutputDefinition": "The definition of the provider entity output.
", + "ProviderProperties$providerConfiguration": "The required configuration fields to use with the provider service.
" } }, "EntityName": { "base": null, "refs": { - "CreateMatchingWorkflowInput$workflowName": "The name of the workflow. There cannot be multiple DataIntegrationWorkflows
with the same name.
The name of the workflow. There can't be multiple IdMappingWorkflows
with the same name.
The name of the workflow.
", + "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 cannot be multiple SchemaMappings
with the same name.
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.
", "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.
", "GetMatchIdInput$workflowName": "The name of the workflow.
", "GetMatchingJobInput$workflowName": "The name of the workflow.
", "GetMatchingWorkflowInput$workflowName": "The name of the workflow.
", "GetMatchingWorkflowOutput$workflowName": "The name of the workflow.
", + "GetProviderServiceInput$providerName": "The name of the provider. This name is typically the company name.
", + "GetProviderServiceOutput$providerName": "The name of the provider. This name is typically the company name.
", + "GetProviderServiceOutput$providerServiceName": "The name of the product that the provider service provides.
", "GetSchemaMappingInput$schemaName": "The name of the schema to be retrieved.
", "GetSchemaMappingOutput$schemaName": "The name of the schema.
", + "IdMappingWorkflowInputSource$schemaName": "The name of the schema to be retrieved.
", + "IdMappingWorkflowSummary$workflowName": "The name of the workflow.
", "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.
", "UpdateMatchingWorkflowInput$workflowName": "The name of the workflow to be retrieved.
", - "UpdateMatchingWorkflowOutput$workflowName": "The name of the workflow.
" + "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.
" } }, "ErrorDetails": { "base": "An object containing an error message, if there was an error.
", "refs": { + "GetIdMappingJobOutput$errorDetails": null, "GetMatchingJobOutput$errorDetails": "An object containing an error message, if there was an error.
" } }, @@ -155,6 +238,26 @@ "refs": { } }, + "GetIdMappingJobInput": { + "base": null, + "refs": { + } + }, + "GetIdMappingJobOutput": { + "base": null, + "refs": { + } + }, + "GetIdMappingWorkflowInput": { + "base": null, + "refs": { + } + }, + "GetIdMappingWorkflowOutput": { + "base": null, + "refs": { + } + }, "GetMatchIdInput": { "base": null, "refs": { @@ -185,6 +288,16 @@ "refs": { } }, + "GetProviderServiceInput": { + "base": null, + "refs": { + } + }, + "GetProviderServiceOutput": { + "base": null, + "refs": { + } + }, "GetSchemaMappingInput": { "base": null, "refs": { @@ -195,6 +308,87 @@ "refs": { } }, + "IdMappingJobMetrics": { + "base": "An object containing InputRecords
, TotalRecordsProcessed
, MatchIDs
, and RecordsNotProcessed
.
Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
" + } + }, + "IdMappingTechniques": { + "base": "An object which defines the ID mapping techniques and provider configurations.
", + "refs": { + "CreateIdMappingWorkflowInput$idMappingTechniques": "An object which defines the idMappingType
and the providerProperties
.
An object which defines the idMappingType
and the providerProperties
.
An object which defines the idMappingType
and the providerProperties
.
An object which defines the idMappingType
and the providerProperties
.
An object which defines the idMappingType
and the providerProperties
.
The type of ID mapping.
" + } + }, + "IdMappingWorkflowArn": { + "base": null, + "refs": { + "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.
" + } + }, + "IdMappingWorkflowInputSource": { + "base": "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 Gluetable ARN for the input source table.
" + } + }, + "IdMappingWorkflowList": { + "base": null, + "refs": { + "ListIdMappingWorkflowsOutput$workflowSummaries": "A list of IdMappingWorkflowSummary
objects.
The output source for the ID mapping workflow.
", + "refs": { + "IdMappingWorkflowOutputSourceConfig$member": null + } + }, + "IdMappingWorkflowOutputSourceConfig": { + "base": null, + "refs": { + "CreateIdMappingWorkflowInput$outputSourceConfig": "A list of IdMappingWorkflowOutputSource
objects, each of which contains fields OutputS3Path
and Output
.
A list of IdMappingWorkflowOutputSource
objects, each of which contains fields OutputS3Path
and Output
.
A list of OutputSource
objects, each of which contains fields OutputS3Path
and KMSArn
.
A list of OutputSource
objects, each of which contains fields OutputS3Path
and KMSArn
.
A list of OutputSource
objects, each of which contains fields OutputS3Path
and KMSArn
.
A list of IdMappingWorkflowSummary
objects, each of which contain the fields WorkflowName
, WorkflowArn
, CreatedAt
, and UpdatedAt
.
An object which defines an incremental run type and has only incrementalRunType
as a field.
The current quota value for the customers.
", + "IdMappingJobMetrics$inputRecords": "The total number of input records.
", + "IdMappingJobMetrics$recordsNotProcessed": "The total number of records that did not get processed.
", + "IdMappingJobMetrics$totalRecordsProcessed": "The total number of records processed.
", "JobMetrics$inputRecords": "The total number of input records.
", "JobMetrics$matchIDs": "The total number of matchID
s generated.
The total number of records that did not get processed.
", "JobMetrics$totalRecordsProcessed": "The total number of records processed.
" } }, + "IntermediateSourceConfiguration": { + "base": "The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
", + "refs": { + "ProviderProperties$intermediateSourceConfiguration": "The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
" + } + }, "InternalServerException": { "base": "This exception occurs when there is an internal failure in the Entity Resolution service. HTTP Status Code: 500
The ID of the job.
", + "GetIdMappingJobOutput$jobId": "The ID of the job.
", "GetMatchingJobInput$jobId": "The ID of the job.
", "GetMatchingJobOutput$jobId": "The ID of the job.
", "JobSummary$jobId": "The ID of the job.
", + "StartIdMappingJobOutput$jobId": "The ID of the job.
", "StartMatchingJobOutput$jobId": "The ID of the job.
" } }, "JobList": { "base": null, "refs": { + "ListIdMappingJobsOutput$jobs": "A list of JobSummary
objects.
A list of JobSummary
objects, each of which contain the ID, status, start time, and end time of a job.
The current status of the job.
", "GetMatchingJobOutput$status": "The current status of the job.
", "JobSummary$status": "The current status of the job.
" } @@ -285,9 +493,42 @@ "KMSArn": { "base": null, "refs": { + "IdMappingWorkflowOutputSource$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.
" } }, + "ListIdMappingJobsInput": { + "base": null, + "refs": { + } + }, + "ListIdMappingJobsInputMaxResultsInteger": { + "base": null, + "refs": { + "ListIdMappingJobsInput$maxResults": "The maximum number of objects returned per page.
" + } + }, + "ListIdMappingJobsOutput": { + "base": null, + "refs": { + } + }, + "ListIdMappingWorkflowsInput": { + "base": null, + "refs": { + } + }, + "ListIdMappingWorkflowsInputMaxResultsInteger": { + "base": null, + "refs": { + "ListIdMappingWorkflowsInput$maxResults": "The maximum number of objects returned per page.
" + } + }, + "ListIdMappingWorkflowsOutput": { + "base": null, + "refs": { + } + }, "ListMatchingJobsInput": { "base": null, "refs": { @@ -320,6 +561,22 @@ "refs": { } }, + "ListProviderServicesInput": { + "base": null, + "refs": { + } + }, + "ListProviderServicesInputMaxResultsInteger": { + "base": null, + "refs": { + "ListProviderServicesInput$maxResults": "The maximum number of objects returned per page.
" + } + }, + "ListProviderServicesOutput": { + "base": null, + "refs": { + } + }, "ListSchemaMappingsInput": { "base": null, "refs": { @@ -369,12 +626,18 @@ "NextToken": { "base": null, "refs": { - "ListMatchingJobsInput$nextToken": "The pagination token from the previous ListSchemaMappings
API call.
The pagination token from the previous ListSchemaMappings
API call.
The pagination token from the previous ListSchemaMappings
API call.
The pagination token from the previous ListSchemaMappings
API call.
The pagination token from the previous ListSchemaMappings
API call.
The pagination token from the previous ListDomains
API call.
The pagination token from the previous API call.
", + "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.
", + "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.
", + "ListMatchingWorkflowsOutput$nextToken": "The pagination token from the previous API call.
", + "ListProviderServicesInput$nextToken": "The pagination token from the previous API call.
", + "ListProviderServicesOutput$nextToken": "The pagination token from the previous API call.
", + "ListSchemaMappingsInput$nextToken": "The pagination token from the previous API call.
", + "ListSchemaMappingsOutput$nextToken": "The pagination token from the previous API call.
" } }, "OutputAttribute": { @@ -405,6 +668,59 @@ "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 required configuration fields to use with the provider service.
", + "refs": { + "GetProviderServiceOutput$providerEndpointConfiguration": "The required configuration fields to use with the provider service.
" + } + }, + "ProviderIntermediateDataAccessConfiguration": { + "base": "The required configuration fields to give intermediate access to a provider service.
", + "refs": { + "GetProviderServiceOutput$providerIntermediateDataAccessConfiguration": "The Amazon Web Services accounts and the S3 permissions that are required by some providers to create an S3 bucket for intermediate data storage.
" + } + }, + "ProviderMarketplaceConfiguration": { + "base": "The identifiers of the provider service, from Data Exchange.
", + "refs": { + "ProviderEndpointConfiguration$marketplaceConfiguration": "The identifiers of the provider service, from Data Exchange.
" + } + }, + "ProviderProperties": { + "base": "An object containing the providerServiceARN
, intermediateSourceConfiguration
, and providerConfiguration
.
An object which defines any additional configurations required by the provider service.
", + "ResolutionTechniques$providerProperties": "The properties of the provider service.
" + } + }, + "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.
", + "ProviderProperties$providerServiceArn": "The ARN of the provider service.
", + "ProviderServiceSummary$providerServiceArn": "The ARN (Amazon Resource Name) that Entity Resolution generated for the providerService
.
The display name of the provider service.
", + "ProviderServiceSummary$providerServiceDisplayName": "The display name of the provider service.
" + } + }, + "ProviderServiceList": { + "base": null, + "refs": { + "ListProviderServicesOutput$providerServiceSummaries": "A list of ProviderServices
objects.
A list of ProviderService
objects, each of which contain the fields providerName
, providerServiceArn
, providerServiceName
, and providerServiceType
.
The S3 bucket actions that the provider requires permission for.
" + } + }, "ResolutionTechniques": { "base": "An object which defines the resolutionType
and the ruleBasedProperties
.
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 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.
" + } + }, "Rule": { "base": "An object containing RuleName
, and MatchingKeys
.
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.
" } }, @@ -487,7 +822,7 @@ } }, "SchemaInputAttribute": { - "base": "An object containing FieldField
, Type
, GroupName
, and MatchKey
.
An object containing FieldName
, Type
, GroupName
, and MatchKey
.
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.
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.
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information Venice uses for matching.
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information Venice uses for matching.
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.
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.
The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping
.
The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping.
", - "SchemaMappingSummary$schemaArn": "The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping
.
The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping
.
The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping
.
The type of provider service.
", + "ProviderServiceSummary$providerServiceType": "The type of provider service.
" + } + }, + "StartIdMappingJobInput": { + "base": null, + "refs": { + } + }, + "StartIdMappingJobOutput": { + "base": null, + "refs": { + } + }, "StartMatchingJobInput": { "base": null, "refs": { @@ -535,11 +890,17 @@ "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.
", "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.
", + "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, "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.
" } @@ -560,8 +921,10 @@ "TagMap": { "base": null, "refs": { + "CreateIdMappingWorkflowInput$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.
", "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.
", @@ -592,12 +955,18 @@ "Timestamp": { "base": null, "refs": { + "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.
", "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.
", "GetMatchingWorkflowOutput$updatedAt": "The timestamp of when the workflow was last updated.
", "GetSchemaMappingOutput$createdAt": "The timestamp of when the SchemaMapping
was created.
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.
", "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.
", @@ -616,6 +985,16 @@ "refs": { } }, + "UpdateIdMappingWorkflowInput": { + "base": null, + "refs": { + } + }, + "UpdateIdMappingWorkflowOutput": { + "base": null, + "refs": { + } + }, "UpdateMatchingWorkflowInput": { "base": null, "refs": { @@ -626,6 +1005,16 @@ "refs": { } }, + "UpdateSchemaMappingInput": { + "base": null, + "refs": { + } + }, + "UpdateSchemaMappingOutput": { + "base": null, + "refs": { + } + }, "ValidationException": { "base": "The input fails to satisfy the constraints specified by Entity Resolution. HTTP Status Code: 400
Amazon Managed Blockchain (AMB) Query provides you with convenient access to multi-blockchain network data, which makes it easier for you to extract contextual data related to blockchain activity. You can use AMB Query to read data from public blockchain networks, such as Bitcoin Mainnet and Ethereum Mainnet. You can also get information such as the current and historical balances of addresses, or you can get a list of blockchain transactions for a given time period. Additionally, you can get details of a given transaction, such as transaction events, which you can further analyze or use in business logic for your applications.
", "operations": { - "BatchGetTokenBalance": "Gets the token balance for a batch of tokens by using the GetTokenBalance
action for every token in the request.
Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
Gets the token balance for a batch of tokens by using the BatchGetTokenBalance
action for every token in the request.
Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
Gets the information about a specific contract deployed on the blockchain.
The Bitcoin blockchain networks do not support this operation.
Metadata is currently only available for some ERC-20
contracts. Metadata will be available for additional contracts in the future.
Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.
Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
Get the details of a transaction.
", - "ListTokenBalances": "This action returns the following for a given a blockchain network:
Lists all token balances owned by an address (either a contact address or a wallet address).
Lists all token balances for all tokens created by a contract.
Lists all token balances for a given token.
You must always specify the network property of the tokenFilter
when using this operation.
Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).
The Bitcoin blockchain networks do not support this operation.
", + "ListTokenBalances": "This action returns the following for a given blockchain network:
Lists all token balances owned by an address (either a contract address or a wallet address).
Lists all token balances for all tokens created by a contract.
Lists all token balances for a given token.
You must always specify the network property of the tokenFilter
when using this operation.
An array of TransactionEvent
objects. Each object contains details about the transaction event.
Lists all of the transactions on a given wallet address or to a specific contract.
" }, @@ -15,6 +17,18 @@ "refs": { } }, + "AssetContract": { + "base": "This container contains information about an contract.
", + "refs": { + "AssetContractList$member": null + } + }, + "AssetContractList": { + "base": null, + "refs": { + "ListAssetContractsOutput$contracts": "An array of contract objects that contain the properties for each contract.
" + } + }, "BatchGetTokenBalanceErrorItem": { "base": "Error generated from a failed BatchGetTokenBalance
request.
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
This time will only be recorded up to the second.
The timestamp
of the last transaction at which the balance for the token in the wallet was updated.
The Timestamp
of the last transaction at which the balance for the token in the wallet was updated.
The address of the contract deployer.
", + "ContractFilter$deployerAddress": "The network address of the deployer.
", + "ContractIdentifier$contractAddress": "Container for the blockchain address about a contract.
", + "GetAssetContractOutput$deployerAddress": "The address of the deployer of contract.
", "ListTransactionsInput$address": "The address (either a contract or wallet), whose transactions are being requested.
", "OwnerFilter$address": "The contract or wallet address.
", "OwnerIdentifier$address": "The contract or wallet address for the owner.
", @@ -93,6 +111,26 @@ "TransactionEvent$contractAddress": "The blockchain address. for the contract
" } }, + "ContractFilter": { + "base": "The contract or wallet address by which to filter the request.
", + "refs": { + "ListAssetContractsInput$contractFilter": "Contains the filter parameter for the request.
" + } + }, + "ContractIdentifier": { + "base": "Container for the blockchain address and network information about a contract.
", + "refs": { + "AssetContract$contractIdentifier": "The container for the contract identifier containing its blockchain network and address.
", + "GetAssetContractInput$contractIdentifier": "Contains the blockchain address and network information about the contract.
", + "GetAssetContractOutput$contractIdentifier": "Contains the blockchain address and network information about the contract.
" + } + }, + "ContractMetadata": { + "base": "The metadata of the contract.
", + "refs": { + "GetAssetContractOutput$metadata": null + } + }, "ErrorType": { "base": null, "refs": { @@ -110,6 +148,16 @@ "ValidationException$message": "The container for the exception message.
" } }, + "GetAssetContractInput": { + "base": null, + "refs": { + } + }, + "GetAssetContractOutput": { + "base": null, + "refs": { + } + }, "GetTokenBalanceInput": { "base": null, "refs": { @@ -118,7 +166,7 @@ "GetTokenBalanceInputList": { "base": null, "refs": { - "BatchGetTokenBalanceInput$getTokenBalanceInputs": "An array of GetTokenBalanceInput
objects whose balance is being requested.
An array of BatchGetTokenBalanceInputItem
objects whose balance is being requested.
The decimals used by the token contract.
", "InternalServerException$retryAfterSeconds": "The container of the retryAfterSeconds
value.
The container of the retryAfterSeconds
value.
The signature of the transaction. The Z coordinate of a point V.
", @@ -150,6 +199,22 @@ "refs": { } }, + "ListAssetContractsInput": { + "base": null, + "refs": { + } + }, + "ListAssetContractsInputMaxResultsInteger": { + "base": null, + "refs": { + "ListAssetContractsInput$maxResults": "The maximum number of contracts to list.
" + } + }, + "ListAssetContractsOutput": { + "base": null, + "refs": { + } + }, "ListTokenBalancesInput": { "base": null, "refs": { @@ -220,6 +285,8 @@ "NextToken": { "base": null, "refs": { + "ListAssetContractsInput$nextToken": "The pagination token that indicates the next set of results to retrieve.
", + "ListAssetContractsOutput$nextToken": "The pagination token that indicates the next set of results to retrieve.
", "ListTokenBalancesInput$nextToken": "The pagination token that indicates the next set of results to retrieve.
", "ListTokenBalancesOutput$nextToken": "The pagination token that indicates the next set of results to retrieve.
", "ListTransactionEventsInput$nextToken": "The pagination token that indicates the next set of results to retrieve.
", @@ -248,12 +315,14 @@ "QueryNetwork": { "base": null, "refs": { + "ContractFilter$network": "The blockchain network of the contract.
", + "ContractIdentifier$network": "The blockchain network of the contract.
", "GetTransactionInput$network": "The blockchain network where the transaction occurred.
", "ListTransactionEventsInput$network": "The blockchain network where the transaction events occurred.
", "ListTransactionsInput$network": "The blockchain network where the transactions occurred.
", "TokenFilter$network": "The blockchain network of the token.
", "TokenIdentifier$network": "The blockchain network of the token.
", - "Transaction$network": "The blockchain network where the transaction occured.
", + "Transaction$network": "The blockchain network where the transaction occurred.
", "TransactionEvent$network": "The blockchain network where the transaction occurred.
", "TransactionOutputItem$network": "The blockchain network where the transaction occurred.
" } @@ -262,10 +331,18 @@ "base": null, "refs": { "TokenFilter$tokenId": "The unique identifier of the token.
", - "TokenIdentifier$tokenId": "The unique identifier of the token.
", + "TokenIdentifier$tokenId": "The unique identifier of the token.
You must specify this container with btc
for the native BTC token, and eth
for the native ETH token. For all other token types you must specify the tokenId
in the 64 character hexadecimal tokenid
format.
The unique identifier for the token involved in the transaction.
" } }, + "QueryTokenStandard": { + "base": null, + "refs": { + "AssetContract$tokenStandard": "The token standard of the contract.
", + "ContractFilter$tokenStandard": "The container for the token standard.
", + "GetAssetContractOutput$tokenStandard": "The token standard of the contract requested.
" + } + }, "QueryTransactionEventType": { "base": null, "refs": { @@ -338,6 +415,8 @@ "BatchGetTokenBalanceErrorItem$errorCode": "The error code associated with the error.
", "BatchGetTokenBalanceErrorItem$errorMessage": "The message associated with the error.
", "BatchGetTokenBalanceOutputItem$balance": "The container for the token balance.
", + "ContractMetadata$name": "The name of the token contract.
", + "ContractMetadata$symbol": "The symbol of the token contract.
", "GetTokenBalanceOutput$balance": "The container for the token balance.
", "TokenBalance$balance": "The container of the token balance.
", "Transaction$blockNumber": "The block number in which the transaction is recorded.
", @@ -382,7 +461,7 @@ "TokenFilter": { "base": "The container of the token filter like the contract address on a given blockchain network or a unique token identifier on a given blockchain network.
You must always specify the network property of this container when using this operation.
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
The policy assigned to the channel.
", + "GetOriginEndpointPolicyResponse$Policy": "The policy assigned to the origin endpoint.
", "PutChannelPolicyRequest$Policy": "The policy to attach to the specified channel.
", "PutOriginEndpointPolicyRequest$Policy": "The policy to attach to the specified origin endpoint.
" } @@ -523,14 +525,22 @@ "ResourceDescription": { "base": null, "refs": { + "ChannelGroupListConfiguration$Description": "Any descriptive information that you want to add to the channel group for future identification purposes.
", + "ChannelListConfiguration$Description": "Any descriptive information that you want to add to the channel for future identification purposes.
", "CreateChannelGroupRequest$Description": "Enter any descriptive text that helps you to identify the channel group.
", + "CreateChannelGroupResponse$Description": "The description for your channel group.
", "CreateChannelRequest$Description": "Enter any descriptive text that helps you to identify the channel.
", + "CreateChannelResponse$Description": "The description for your channel.
", "CreateOriginEndpointRequest$Description": "Enter any descriptive text that helps you to identify the origin endpoint.
", "CreateOriginEndpointResponse$Description": "The description for your origin endpoint.
", + "GetChannelGroupResponse$Description": "The description for your channel group.
", + "GetChannelResponse$Description": "The description for your channel.
", "GetOriginEndpointResponse$Description": "The description for your origin endpoint.
", "OriginEndpointListConfiguration$Description": "Any descriptive information that you want to add to the origin endpoint for future identification purposes.
", "UpdateChannelGroupRequest$Description": "Any descriptive information that you want to add to the channel group for future identification purposes.
", + "UpdateChannelGroupResponse$Description": "The description for your channel group.
", "UpdateChannelRequest$Description": "Any descriptive information that you want to add to the channel for future identification purposes.
", + "UpdateChannelResponse$Description": "The description for your channel.
", "UpdateOriginEndpointRequest$Description": "Any descriptive information that you want to add to the origin endpoint for future identification purposes.
", "UpdateOriginEndpointResponse$Description": "The description of the origin endpoint.
" } @@ -570,6 +580,9 @@ "GetOriginEndpointPolicyRequest$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.
", "GetOriginEndpointPolicyRequest$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.
", "GetOriginEndpointPolicyRequest$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.
", + "GetOriginEndpointPolicyResponse$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.
", + "GetOriginEndpointPolicyResponse$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.
", + "GetOriginEndpointPolicyResponse$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.
", "GetOriginEndpointRequest$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.
", "GetOriginEndpointRequest$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.
", "GetOriginEndpointRequest$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.
", @@ -703,38 +716,27 @@ "AccessDeniedException$Message": null, "ChannelGroupListConfiguration$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.
", "ChannelGroupListConfiguration$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", - "ChannelGroupListConfiguration$Description": "Any descriptive information that you want to add to the channel group for future identification purposes.
", "ChannelListConfiguration$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "ChannelListConfiguration$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.
", "ChannelListConfiguration$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.
", - "ChannelListConfiguration$Description": "Any descriptive information that you want to add to the channel for future identification purposes.
", "ConflictException$Message": null, "CreateChannelGroupResponse$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.
", "CreateChannelGroupResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "CreateChannelGroupResponse$EgressDomain": "The output domain where the source stream should be sent. Integrate the egress domain with a downstream CDN (such as Amazon CloudFront) or playback device.
", - "CreateChannelGroupResponse$Description": "The description for your channel group.
", "CreateChannelResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "CreateChannelResponse$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.
", "CreateChannelResponse$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.
", - "CreateChannelResponse$Description": "The description for your channel.
", "CreateOriginEndpointResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "GetChannelGroupResponse$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.
", "GetChannelGroupResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "GetChannelGroupResponse$EgressDomain": "The output domain where the source stream should be sent. Integrate the domain with a downstream CDN (such as Amazon CloudFront) or playback device.
", - "GetChannelGroupResponse$Description": "The description for your channel group.
", "GetChannelPolicyResponse$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.
", "GetChannelPolicyResponse$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.
", - "GetChannelPolicyResponse$Policy": "The policy assigned to the channel.
", "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.
", - "GetChannelResponse$Description": "The description for your channel.
", "GetHlsManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", "GetLowLatencyHlsManifestConfiguration$Url": "The egress domain URL for stream delivery from MediaPackage.
", - "GetOriginEndpointPolicyResponse$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.
", - "GetOriginEndpointPolicyResponse$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.
", - "GetOriginEndpointPolicyResponse$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.
", - "GetOriginEndpointPolicyResponse$Policy": "The policy assigned to the origin endpoint.
", "GetOriginEndpointResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "IngestEndpoint$Id": "The system-generated unique identifier for the IngestEndpoint.
", "IngestEndpoint$Url": "The ingest domain URL where the source stream should be sent.
", @@ -754,11 +756,9 @@ "UpdateChannelGroupResponse$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.
", "UpdateChannelGroupResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "UpdateChannelGroupResponse$EgressDomain": "The output domain where the source stream is sent. Integrate the domain with a downstream CDN (such as Amazon CloudFront) or playback device.
", - "UpdateChannelGroupResponse$Description": "The description for your channel group.
", "UpdateChannelResponse$Arn": "The Amazon Resource Name (ARN) associated with the resource.
", "UpdateChannelResponse$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.
", "UpdateChannelResponse$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.
", - "UpdateChannelResponse$Description": "The description for your channel.
", "UpdateOriginEndpointResponse$Arn": "The ARN associated with the resource.
", "ValidationException$Message": null } diff --git a/models/apis/mediapackagev2/2022-12-25/endpoint-rule-set-1.json b/models/apis/mediapackagev2/2022-12-25/endpoint-rule-set-1.json index 78b14b1846a..989dda667e2 100644 --- a/models/apis/mediapackagev2/2022-12-25/endpoint-rule-set-1.json +++ b/models/apis/mediapackagev2/2022-12-25/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/mediapackagev2/2022-12-25/endpoint-tests-1.json b/models/apis/mediapackagev2/2022-12-25/endpoint-tests-1.json index a74e6078b1d..94df0b1e9be 100644 --- a/models/apis/mediapackagev2/2022-12-25/endpoint-tests-1.json +++ b/models/apis/mediapackagev2/2022-12-25/endpoint-tests-1.json @@ -1,54 +1,54 @@ { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediapackagev2-fips.us-gov-east-1.api.aws" + "url": "https://mediapackagev2-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediapackagev2-fips.us-gov-east-1.amazonaws.com" + "url": "https://mediapackagev2-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediapackagev2.us-gov-east-1.api.aws" + "url": "https://mediapackagev2.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediapackagev2.us-gov-east-1.amazonaws.com" + "url": "https://mediapackagev2.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": false } }, @@ -60,8 +60,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -73,8 +73,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -86,8 +86,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -99,108 +99,108 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://mediapackagev2-fips.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediapackagev2-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://mediapackagev2-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://mediapackagev2.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediapackagev2.us-iso-east-1.c2s.ic.gov" + "url": "https://mediapackagev2.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://mediapackagev2-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediapackagev2-fips.us-east-1.amazonaws.com" + "url": "https://mediapackagev2-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://mediapackagev2.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediapackagev2.us-east-1.amazonaws.com" + "url": "https://mediapackagev2.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false } }, @@ -210,8 +210,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -223,8 +223,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -234,8 +234,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -247,21 +247,34 @@ } }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -272,8 +285,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -284,11 +297,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index 2f9d131ed10..db267d31aa3 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -1822,12 +1822,14 @@ "enum":[ "PackageID", "PackageName", - "PackageStatus" + "PackageStatus", + "PackageType", + "EngineVersion" ] }, "DescribePackagesFilterValue":{ "type":"string", - "pattern":"^[0-9a-zA-Z\\*\\.\\\\/\\?-]*$" + "pattern":"^[0-9a-zA-Z\\*\\.\\_\\\\\\/\\?-]+$" }, "DescribePackagesFilterValues":{ "type":"list", @@ -2244,6 +2246,10 @@ "Elasticsearch" ] }, + "EngineVersion":{ + "type":"string", + "pattern":"^Elasticsearch_[0-9]{1}\\.[0-9]{1,2}$|^OpenSearch_[0-9]{1,2}\\.[0-9]{1,2}$" + }, "EnvironmentInfo":{ "type":"structure", "members":{ @@ -3106,17 +3112,22 @@ "CreatedAt":{"shape":"CreatedAt"}, "LastUpdatedAt":{"shape":"LastUpdated"}, "AvailablePackageVersion":{"shape":"PackageVersion"}, - "ErrorDetails":{"shape":"ErrorDetails"} + "ErrorDetails":{"shape":"ErrorDetails"}, + "EngineVersion":{"shape":"EngineVersion"}, + "AvailablePluginProperties":{"shape":"PluginProperties"} } }, "PackageDetailsList":{ "type":"list", "member":{"shape":"PackageDetails"} }, - "PackageID":{"type":"string"}, + "PackageID":{ + "type":"string", + "pattern":"^([FG][0-9]+)$" + }, "PackageName":{ "type":"string", - "max":28, + "max":256, "min":3, "pattern":"[a-z][a-z0-9\\-]+" }, @@ -3142,7 +3153,10 @@ }, "PackageType":{ "type":"string", - "enum":["TXT-DICTIONARY"] + "enum":[ + "TXT-DICTIONARY", + "ZIP-PLUGIN" + ] }, "PackageVersion":{"type":"string"}, "PackageVersionHistory":{ @@ -3150,7 +3164,8 @@ "members":{ "PackageVersion":{"shape":"PackageVersion"}, "CommitMessage":{"shape":"CommitMessage"}, - "CreatedAt":{"shape":"CreatedAt"} + "CreatedAt":{"shape":"CreatedAt"}, + "PluginProperties":{"shape":"PluginProperties"} } }, "PackageVersionHistoryList":{ @@ -3164,6 +3179,32 @@ "pattern":".*", "sensitive":true }, + "PluginClassName":{ + "type":"string", + "max":1024 + }, + "PluginDescription":{ + "type":"string", + "max":1024 + }, + "PluginName":{ + "type":"string", + "max":1024 + }, + "PluginProperties":{ + "type":"structure", + "members":{ + "Name":{"shape":"PluginName"}, + "Description":{"shape":"PluginDescription"}, + "Version":{"shape":"PluginVersion"}, + "ClassName":{"shape":"PluginClassName"}, + "UncompressedSizeInBytes":{"shape":"UncompressedPluginSizeInBytes"} + } + }, + "PluginVersion":{ + "type":"string", + "max":1024 + }, "PolicyDocument":{ "type":"string", "max":102400, @@ -3623,6 +3664,7 @@ "type":"integer", "min":0 }, + "UncompressedPluginSizeInBytes":{"type":"long"}, "UpdateDomainConfigRequest":{ "type":"structure", "required":["DomainName"], diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index b9f29c3038a..76fe7d31b21 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -51,7 +51,7 @@ "RemoveTags": "Removes the specified set of tags from an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains.
", "RevokeVpcEndpointAccess": "Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
", "StartServiceSoftwareUpdate": "Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.
", - "UpdateDomainConfig": "Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.sl
", + "UpdateDomainConfig": "Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.
", "UpdatePackage": "Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.
", "UpdateScheduledAction": "Reschedules a planned domain configuration change for a later time. This change can be a scheduled service software update or a blue/green Auto-Tune enhancement.
", "UpdateVpcEndpoint": "Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
", @@ -598,7 +598,7 @@ } }, "CrossClusterSearchConnectionProperties": { - "base": "Cross cluster search specific connection properties.
", + "base": "Cross-cluster search specific connection properties.
", "refs": { "ConnectionProperties$CrossClusterSearch": "The connection properties for cross cluster search.
" } @@ -997,7 +997,7 @@ "DomainNameList": { "base": "A list of OpenSearch Service domain names.
", "refs": { - "DescribeDomainsRequest$DomainNames": "Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.
" + "DescribeDomainsRequest$DomainNames": "Array of OpenSearch Service domain names that you want information about. You must specify at least one domain name.
" } }, "DomainNodesStatus": { @@ -1154,6 +1154,12 @@ "ListDomainNamesRequest$EngineType": "Filters the output by domain engine type.
" } }, + "EngineVersion": { + "base": null, + "refs": { + "PackageDetails$EngineVersion": "Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
" + } + }, "EnvironmentInfo": { "base": "Information about the active domain environment.
", "refs": { @@ -1917,6 +1923,37 @@ "MasterUserOptions$MasterUserPassword": "Password for the master user. Only specify if InternalUserDatabaseEnabled
is true
.
The name of the class to load.
" + } + }, + "PluginDescription": { + "base": null, + "refs": { + "PluginProperties$Description": "The description of the plugin.
" + } + }, + "PluginName": { + "base": null, + "refs": { + "PluginProperties$Name": "The name of the plugin.
" + } + }, + "PluginProperties": { + "base": "Basic information about the plugin.
", + "refs": { + "PackageDetails$AvailablePluginProperties": "If the package is a ZIP-PLUGIN
package, additional information about plugin properties.
Additional information about plugin properties if the package is a ZIP-PLUGIN
package.
The version of the plugin.
" + } + }, "PolicyDocument": { "base": "Access policy rules for an Amazon OpenSearch Service domain endpoint. For more information, see Configuring access policies. The maximum size of a policy document is 100 KB.
", "refs": { @@ -2162,9 +2199,9 @@ } }, "SkipUnavailableStatus": { - "base": "Status of SkipUnavailable param for outbound connection.
ENABLED - The SkipUnavailable param is enabled for the connection.
DISABLED - The SkipUnavailable param is disabled for the connection.
The status of SkipUnavailable
setting for the outbound connection.
ENABLED - The SkipUnavailable
setting is enabled for the connection.
DISABLED - The SkipUnavailable
setting is disabled for the connection.
Status of SkipUnavailable param for outbound connection.
" + "CrossClusterSearchConnectionProperties$SkipUnavailable": "The status of the SkipUnavailable
setting for the outbound connection. This feature allows you to specify some clusters as optional and ensure that your cross-cluster queries return partial results despite failures on one or more remote clusters.
The latest version of the entity.
" } }, + "UncompressedPluginSizeInBytes": { + "base": null, + "refs": { + "PluginProperties$UncompressedSizeInBytes": "The uncompressed size of the plugin.
" + } + }, "UpdateDomainConfigRequest": { "base": "Container for the request parameters to the UpdateDomain
operation.
If true
, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword
if manageAdminPassword
is true. If manageAdminPassword
is false or not set, Amazon Redshift uses adminUserPassword
for the admin user account's password.
The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
", "CreateWorkgroupRequest$publiclyAccessible": "A value that specifies whether the workgroup can be accessed from a public network.
", + "RestoreFromSnapshotRequest$manageAdminPassword": "If true
, Amazon Redshift uses Secrets Manager to manage the restored snapshot's admin credentials. If MmanageAdminPassword
is false or not set, Amazon Redshift uses the admin credentials that the namespace or cluster had at the time the snapshot was taken.
Indicates whether name identifiers for database, schema, and table are case sensitive. If true, the names are case sensitive. If false, the names are not case sensitive. The default is false.
", + "UpdateNamespaceRequest$manageAdminPassword": "If true
, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword
if manageAdminPassword
is true. If manageAdminPassword
is false or not set, Amazon Redshift uses adminUserPassword
for the admin user account's password.
The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
", "UpdateWorkgroupRequest$publiclyAccessible": "A value that specifies whether the workgroup can be accessible from a public network.
", "Workgroup$enhancedVpcRouting": "The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
", @@ -166,9 +169,9 @@ "DbPassword": { "base": null, "refs": { - "CreateNamespaceRequest$adminUserPassword": "The password of the administrator for the first database created in the namespace.
", + "CreateNamespaceRequest$adminUserPassword": "The password of the administrator for the first database created in the namespace.
You can't use adminUserPassword
if manageAdminPassword
is true.
A temporary password that authorizes the user name returned by DbUser
to log on to the database DbName
.
The password of the administrator for the first database created in the namespace. This parameter must be updated together with adminUsername
.
The password of the administrator for the first database created in the namespace. This parameter must be updated together with adminUsername
.
You can't use adminUserPassword
if manageAdminPassword
is true.
The unique identifier of the KMS key used to encrypt the snapshot.
" + "CreateNamespaceRequest$adminPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword
is true.
The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
", + "RestoreFromSnapshotRequest$adminPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
", + "Snapshot$adminPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
", + "Snapshot$kmsKeyId": "The unique identifier of the KMS key used to encrypt the snapshot.
", + "UpdateNamespaceRequest$adminPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword
is true.
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
", "ListWorkgroupsRequest$nextToken": "If your initial ListWorkgroups operation returns a nextToken
, you can include the returned nextToken
in following ListNamespaces operations, which returns results in the next page.
If nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.
The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
", "Namespace$dbName": "The name of the first database created in the namespace.
", "Namespace$defaultIamRoleArn": "The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
", "Namespace$kmsKeyId": "The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
", @@ -835,6 +844,7 @@ "RestoreTableFromSnapshotRequest$targetSchemaName": "The name of the schema to restore the table to.
", "RestoreTableFromSnapshotRequest$workgroupName": "The workgroup to restore the table to.
", "ServiceQuotaExceededException$message": null, + "Snapshot$adminPasswordSecretArn": "The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
", "Snapshot$adminUsername": "The username of the database within a snapshot.
", "Snapshot$namespaceArn": "The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
", "Snapshot$namespaceName": "The name of the namepsace.
", diff --git a/models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json b/models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json index 9d7f5e0e96d..0bf166b4b28 100644 --- a/models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json +++ b/models/apis/redshift-serverless/2021-04-21/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,64 +45,17 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "ref": "UseFIPS" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + true ] } - ] + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" }, { "conditions": [ @@ -111,19 +63,51 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ { - "fn": "booleanEquals", + "ref": "Region" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", "argv": [ { - "ref": "UseDualStack" - }, - true - ] + "ref": "Region" + } + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -133,38 +117,57 @@ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "UseFIPS" + }, + true ] }, { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], "type": "tree", "rules": [ { @@ -177,52 +180,46 @@ "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "UseFIPS" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], "type": "tree", "rules": [ { @@ -235,52 +232,46 @@ "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } + "ref": "UseDualStack" + }, + true ] } ], "type": "tree", "rules": [ { - "conditions": [], + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], "type": "tree", "rules": [ { @@ -293,20 +284,14 @@ "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "type": "tree", - "rules": [ { "conditions": [], "endpoint": { @@ -319,6 +304,11 @@ ] } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json b/models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json index e819595b457..413ef0a553d 100644 --- a/models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json +++ b/models/apis/redshift-serverless/2021-04-21/endpoint-tests-1.json @@ -1,81 +1,55 @@ { "testCases": [ { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://redshift-serverless-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://redshift-serverless-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://redshift-serverless.ap-northeast-1.amazonaws.com" } }, "params": { - "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.cn-north-1.amazonaws.com.cn" + "url": "https://redshift-serverless.ap-northeast-2.amazonaws.com" } }, "params": { - "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://redshift-serverless.ap-southeast-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.us-iso-east-1.c2s.ic.gov" + "url": "https://redshift-serverless.ap-southeast-2.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -87,21 +61,21 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.us-east-1.amazonaws.com" + "url": "https://redshift-serverless.eu-north-1.amazonaws.com" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -113,8 +87,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -126,138 +100,138 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.ap-southeast-1.amazonaws.com" + "url": "https://redshift-serverless.us-east-1.amazonaws.com" } }, "params": { - "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.ap-southeast-2.amazonaws.com" + "url": "https://redshift-serverless.us-east-2.amazonaws.com" } }, "params": { - "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.eu-north-1.amazonaws.com" + "url": "https://redshift-serverless.us-west-2.amazonaws.com" } }, "params": { - "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.us-east-2.amazonaws.com" + "url": "https://redshift-serverless-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.us-west-2.amazonaws.com" + "url": "https://redshift-serverless-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.ap-northeast-1.amazonaws.com" + "url": "https://redshift-serverless.us-east-1.api.aws" } }, "params": { - "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.ap-northeast-2.amazonaws.com" + "url": "https://redshift-serverless-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless-fips.us-east-1.api.aws" + "url": "https://redshift-serverless-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift-serverless-fips.us-east-1.amazonaws.com" + "url": "https://redshift-serverless.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-serverless.us-east-1.api.aws" + "url": "https://redshift-serverless.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -269,8 +243,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -282,8 +256,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -295,8 +269,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -308,8 +282,67 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://redshift-serverless.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -321,8 +354,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -334,12 +378,12 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -347,8 +391,21 @@ }, "params": { "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -359,8 +416,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -371,10 +428,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/redshift/2012-12-01/api-2.json b/models/apis/redshift/2012-12-01/api-2.json index e2a7d65b4e1..9fb3f3e781e 100644 --- a/models/apis/redshift/2012-12-01/api-2.json +++ b/models/apis/redshift/2012-12-01/api-2.json @@ -2603,7 +2603,9 @@ "ReservedNodeExchangeStatus":{"shape":"ReservedNodeExchangeStatus"}, "CustomDomainName":{"shape":"String"}, "CustomDomainCertificateArn":{"shape":"String"}, - "CustomDomainCertificateExpiryDate":{"shape":"TStamp"} + "CustomDomainCertificateExpiryDate":{"shape":"TStamp"}, + "MasterPasswordSecretArn":{"shape":"String"}, + "MasterPasswordSecretKmsKeyId":{"shape":"String"} }, "wrapper":true }, @@ -3095,8 +3097,7 @@ "required":[ "ClusterIdentifier", "NodeType", - "MasterUsername", - "MasterUserPassword" + "MasterUsername" ], "members":{ "DBName":{"shape":"String"}, @@ -3104,7 +3105,7 @@ "ClusterType":{"shape":"String"}, "NodeType":{"shape":"String"}, "MasterUsername":{"shape":"String"}, - "MasterUserPassword":{"shape":"String"}, + "MasterUserPassword":{"shape":"SensitiveString"}, "ClusterSecurityGroups":{"shape":"ClusterSecurityGroupNameList"}, "VpcSecurityGroupIds":{"shape":"VpcSecurityGroupIdList"}, "ClusterSubnetGroupName":{"shape":"String"}, @@ -3132,7 +3133,9 @@ "AvailabilityZoneRelocation":{"shape":"BooleanOptional"}, "AquaConfigurationStatus":{"shape":"AquaConfigurationStatus"}, "DefaultIamRoleArn":{"shape":"String"}, - "LoadSampleData":{"shape":"String"} + "LoadSampleData":{"shape":"String"}, + "ManageMasterPassword":{"shape":"BooleanOptional"}, + "MasterPasswordSecretKmsKeyId":{"shape":"String"} } }, "CreateClusterParameterGroupMessage":{ @@ -5205,7 +5208,7 @@ "NumberOfNodes":{"shape":"IntegerOptional"}, "ClusterSecurityGroups":{"shape":"ClusterSecurityGroupNameList"}, "VpcSecurityGroupIds":{"shape":"VpcSecurityGroupIdList"}, - "MasterUserPassword":{"shape":"String"}, + "MasterUserPassword":{"shape":"SensitiveString"}, "ClusterParameterGroupName":{"shape":"String"}, "AutomatedSnapshotRetentionPeriod":{"shape":"IntegerOptional"}, "ManualSnapshotRetentionPeriod":{"shape":"IntegerOptional"}, @@ -5223,7 +5226,9 @@ "KmsKeyId":{"shape":"String"}, "AvailabilityZoneRelocation":{"shape":"BooleanOptional"}, "AvailabilityZone":{"shape":"String"}, - "Port":{"shape":"IntegerOptional"} + "Port":{"shape":"IntegerOptional"}, + "ManageMasterPassword":{"shape":"BooleanOptional"}, + "MasterPasswordSecretKmsKeyId":{"shape":"String"} } }, "ModifyClusterParameterGroupMessage":{ @@ -5647,7 +5652,7 @@ "PendingModifiedValues":{ "type":"structure", "members":{ - "MasterUserPassword":{"shape":"String"}, + "MasterUserPassword":{"shape":"SensitiveString"}, "NodeType":{"shape":"String"}, "NumberOfNodes":{"shape":"IntegerOptional"}, "ClusterType":{"shape":"String"}, @@ -6021,7 +6026,9 @@ "DefaultIamRoleArn":{"shape":"String"}, "ReservedNodeId":{"shape":"String"}, "TargetReservedNodeOfferingId":{"shape":"String"}, - "Encrypted":{"shape":"BooleanOptional"} + "Encrypted":{"shape":"BooleanOptional"}, + "ManageMasterPassword":{"shape":"BooleanOptional"}, + "MasterPasswordSecretKmsKeyId":{"shape":"String"} } }, "RestoreFromClusterSnapshotResult":{ @@ -6383,7 +6390,9 @@ "MaintenanceTrackName":{"shape":"String"}, "ManualSnapshotRetentionPeriod":{"shape":"IntegerOptional"}, "ManualSnapshotRemainingDays":{"shape":"IntegerOptional"}, - "SnapshotRetentionStartTime":{"shape":"TStamp"} + "SnapshotRetentionStartTime":{"shape":"TStamp"}, + "MasterPasswordSecretArn":{"shape":"String"}, + "MasterPasswordSecretKmsKeyId":{"shape":"String"} }, "wrapper":true }, diff --git a/models/apis/redshift/2012-12-01/docs-2.json b/models/apis/redshift/2012-12-01/docs-2.json index bd1f4df6bfc..e501788e0c9 100644 --- a/models/apis/redshift/2012-12-01/docs-2.json +++ b/models/apis/redshift/2012-12-01/docs-2.json @@ -58,7 +58,7 @@ "DescribeClusterTracks": "Returns a list of all the available maintenance tracks.
", "DescribeClusterVersions": "Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
", "DescribeClusters": "Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner
and environment
for tag keys, and admin
and test
for tag values, all clusters that have any combination of those values are returned.
If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them.
", - "DescribeCustomDomainAssociations": "Contains information for custom domain associations for a cluster.
", + "DescribeCustomDomainAssociations": "Contains information about custom domain associations for a cluster.
", "DescribeDataShares": "Shows the status of any inbound or outbound datashares available in the specified account.
", "DescribeDataSharesForConsumer": "Returns a list of datashares where the account identifier being called is a consumer account identifier.
", "DescribeDataSharesForProducer": "Returns a list of datashares when the account identifier being called is a producer account identifier.
", @@ -424,6 +424,7 @@ "CreateClusterMessage$Encrypted": "If true
, the data in the cluster is encrypted at rest.
Default: false
", "CreateClusterMessage$EnhancedVpcRouting": "An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true
, enhanced VPC routing is enabled.
Default: false
", "CreateClusterMessage$AvailabilityZoneRelocation": "The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster is created.
", + "CreateClusterMessage$ManageMasterPassword": "If true
, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials. You can't use MasterUserPassword
if ManageMasterPassword
is true. If ManageMasterPassword
is false or not set, Amazon Redshift uses MasterUserPassword
for the admin user account's password.
A boolean value; set to true
to activate the subscription, and set to false
to create the subscription but not activate it.
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about state
of the scheduled action, see ScheduledAction.
An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true
, enhanced VPC routing is enabled.
Default: false
", "ModifyClusterMessage$Encrypted": "Indicates whether the cluster is encrypted. If the value is encrypted (true) and you provide a value for the KmsKeyId
parameter, we encrypt the cluster with the provided KmsKeyId
. If you don't provide a KmsKeyId
, we encrypt with the default key.
If the value is not encrypted (false), then the cluster is decrypted.
", "ModifyClusterMessage$AvailabilityZoneRelocation": "The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
", + "ModifyClusterMessage$ManageMasterPassword": "If true
, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials. You can't use MasterUserPassword
if ManageMasterPassword
is true. If ManageMasterPassword
is false or not set, Amazon Redshift uses MasterUserPassword
for the admin user account's password.
A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
", "ModifyEventSubscriptionMessage$Enabled": "A Boolean value indicating if the subscription is enabled. true
indicates the subscription is enabled
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
", @@ -449,6 +451,7 @@ "RestoreFromClusterSnapshotMessage$EnhancedVpcRouting": "An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true
, enhanced VPC routing is enabled.
Default: false
", "RestoreFromClusterSnapshotMessage$AvailabilityZoneRelocation": "The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster is restored.
", "RestoreFromClusterSnapshotMessage$Encrypted": "Enables support for restoring an unencrypted snapshot to a cluster encrypted with Key Management Service (KMS) and a customer managed key.
", + "RestoreFromClusterSnapshotMessage$ManageMasterPassword": "If true
, Amazon Redshift uses Secrets Manager to manage the restored cluster's admin credentials. If ManageMasterPassword
is false or not set, Amazon Redshift uses the admin credentials the cluster had at the time the snapshot was taken.
Indicates whether name identifiers for database, schema, and table are case sensitive. If true
, the names are case sensitive. If false
(default), the names are not case sensitive.
A temporary password that authorizes the user name returned by DbUser
to log on to the database DbName
.
A temporary password that you provide when you connect to a database.
" + "ClusterExtendedCredentials$DbPassword": "A temporary password that you provide when you connect to a database.
", + "CreateClusterMessage$MasterUserPassword": "The password associated with the admin user account for the cluster that is being created.
You can't use MasterUserPassword
if ManageMasterPassword
is true
.
Constraints:
Must be between 8 and 64 characters in length.
Must contain at least one uppercase letter.
Must contain at least one lowercase letter.
Must contain one number.
Can be any printable ASCII character (ASCII code 33-126) except '
(single quote), \"
(double quote), \\
, /
, or @
.
The new password for the cluster admin user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword
element exists in the PendingModifiedValues
element of the operation response.
You can't use MasterUserPassword
if ManageMasterPassword
is true
.
Operations never return the password, so this operation provides a way to regain access to the admin user account for a cluster if the password is lost.
Default: Uses existing setting.
Constraints:
Must be between 8 and 64 characters in length.
Must contain at least one uppercase letter.
Must contain at least one lowercase letter.
Must contain one number.
Can be any printable ASCII character (ASCII code 33-126) except '
(single quote), \"
(double quote), \\
, /
, or @
.
The pending or in-progress change of the admin user password for the cluster.
" } }, "Snapshot": { @@ -3063,6 +3069,8 @@ "Cluster$DefaultIamRoleArn": "The Amazon Resource Name (ARN) for the IAM role set as default for the cluster.
", "Cluster$CustomDomainName": "The custom domain name associated with the cluster.
", "Cluster$CustomDomainCertificateArn": "The certificate Amazon Resource Name (ARN) for the custom domain name.
", + "Cluster$MasterPasswordSecretArn": "The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
", + "Cluster$MasterPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
", "ClusterAssociatedToSchedule$ClusterIdentifier": "", "ClusterCredentials$DbUser": "A database user name that is authorized to log on to the database DbName
using the password DbPassword
. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups
parameter is specifed, DbUser
is added to the listed groups for any sessions created using these credentials.
The unique identifier of the cluster.
", @@ -3114,7 +3122,6 @@ "CreateClusterMessage$ClusterType": "The type of the cluster. When cluster type is specified as
single-node
, the NumberOfNodes parameter is not required.
multi-node
, the NumberOfNodes parameter is required.
Valid Values: multi-node
| single-node
Default: multi-node
The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.
Valid Values: ds2.xlarge
| ds2.8xlarge
| dc1.large
| dc1.8xlarge
| dc2.large
| dc2.8xlarge
| ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
The user name associated with the admin user account for the cluster that is being created.
Constraints:
Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be PUBLIC
.
Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon (:) or a slash (/).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
The password associated with the admin user account for the cluster that is being created.
Constraints:
Must be between 8 and 64 characters in length.
Must contain at least one uppercase letter.
Must contain at least one lowercase letter.
Must contain one number.
Can be any printable ASCII character (ASCII code 33-126) except '
(single quote), \"
(double quote), \\
, /
, or @
.
The name of a cluster subnet group to be associated with this cluster.
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
", "CreateClusterMessage$AvailabilityZone": "The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.
Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example: us-east-2d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
", "CreateClusterMessage$PreferredMaintenanceWindow": "The weekly time range (in UTC) during which automated cluster maintenance can occur.
Format: ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Minimum 30-minute window.
", @@ -3129,6 +3136,7 @@ "CreateClusterMessage$SnapshotScheduleIdentifier": "A unique identifier for the snapshot schedule.
", "CreateClusterMessage$DefaultIamRoleArn": "The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created.
", "CreateClusterMessage$LoadSampleData": "A flag that specifies whether to load sample data once the cluster is created.
", + "CreateClusterMessage$MasterPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ManageMasterPassword
is true.
The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique withing your Amazon Web Services account.
This value is stored as a lower-case string.
The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is \"redshift-1.0\".
", "CreateClusterParameterGroupMessage$Description": "A description of the parameter group.
", @@ -3379,7 +3387,6 @@ "ModifyClusterMessage$ClusterIdentifier": "The unique identifier of the cluster to be modified.
Example: examplecluster
The new cluster type.
When you submit your cluster resize request, your existing cluster goes into a read-only mode. After Amazon Redshift provisions a new cluster based on your resize requirements, there will be outage for a period while the old cluster is deleted and your connection is switched to the new cluster. You can use DescribeResize to track the progress of the resize request.
Valid Values: multi-node | single-node
The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.
For more information about resizing clusters, go to Resizing Clusters in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
Valid Values: ds2.xlarge
| ds2.8xlarge
| dc1.large
| dc1.8xlarge
| dc2.large
| dc2.8xlarge
| ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
The new password for the cluster admin user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword
element exists in the PendingModifiedValues
element of the operation response.
Operations never return the password, so this operation provides a way to regain access to the admin user account for a cluster if the password is lost.
Default: Uses existing setting.
Constraints:
Must be between 8 and 64 characters in length.
Must contain at least one uppercase letter.
Must contain at least one lowercase letter.
Must contain one number.
Can be any printable ASCII character (ASCII code 33-126) except '
(single quote), \"
(double quote), \\
, /
, or @
.
The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster.
Default: Uses existing setting.
Constraints: The cluster parameter group must be in the same parameter group family that matches the cluster version.
", "ModifyClusterMessage$PreferredMaintenanceWindow": "The weekly time range (in UTC) during which system maintenance can occur, if necessary. If system maintenance is necessary during the window, it may result in an outage.
This maintenance window change is made immediately. If the new maintenance window indicates the current time, there must be at least 120 minutes between the current time and end of the window in order to ensure that pending changes are applied.
Default: Uses existing setting.
Format: ddd:hh24:mi-ddd:hh24:mi, for example wed:07:30-wed:08:00
.
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Must be at least 30 minutes.
", "ModifyClusterMessage$ClusterVersion": "The new version number of the Amazon Redshift engine to upgrade to.
For major version upgrades, if a non-default cluster parameter group is currently in use, a new cluster parameter group in the cluster parameter group family for the new version must be specified. The new cluster parameter group can be the default for that cluster parameter group family. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.
Example: 1.0
The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues
for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
The Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
", "ModifyClusterMessage$AvailabilityZone": "The option to initiate relocation for an Amazon Redshift cluster to the target Availability Zone.
", + "ModifyClusterMessage$MasterPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ManageMasterPassword
is true.
The name of the parameter group to be modified.
", "ModifyClusterSnapshotMessage$SnapshotIdentifier": "The identifier of the snapshot whose setting you want to modify.
", "ModifyClusterSnapshotScheduleMessage$ClusterIdentifier": "A unique identifier for the cluster whose snapshot schedule you want to modify.
", @@ -3430,7 +3438,6 @@ "Parameter$MinimumEngineVersion": "The earliest engine version to which the parameter can apply.
", "PauseClusterMessage$ClusterIdentifier": "The identifier of the cluster to be paused.
", "PendingActionsList$member": null, - "PendingModifiedValues$MasterUserPassword": "The pending or in-progress change of the admin user password for the cluster.
", "PendingModifiedValues$NodeType": "The pending or in-progress change of the cluster's node type.
", "PendingModifiedValues$ClusterType": "The pending or in-progress change of the cluster type.
", "PendingModifiedValues$ClusterVersion": "The pending or in-progress change of the service version.
", @@ -3492,6 +3499,7 @@ "RestoreFromClusterSnapshotMessage$DefaultIamRoleArn": "The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified while it was restored from a snapshot.
", "RestoreFromClusterSnapshotMessage$ReservedNodeId": "The identifier of the target reserved node offering.
", "RestoreFromClusterSnapshotMessage$TargetReservedNodeOfferingId": "The identifier of the target reserved node offering.
", + "RestoreFromClusterSnapshotMessage$MasterPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret. You can only use this parameter if ManageMasterPassword
is true.
The status of the restore action. Returns starting, restoring, completed, or failed.
", "RestoreTableFromClusterSnapshotMessage$ClusterIdentifier": "The identifier of the Amazon Redshift cluster to restore the table to.
", "RestoreTableFromClusterSnapshotMessage$SnapshotIdentifier": "The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier
parameter.
For manual snapshots, the Amazon Web Services account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.
", "Snapshot$SourceRegion": "The source region from which the snapshot was copied.
", "Snapshot$MaintenanceTrackName": "The name of the maintenance track for the snapshot.
", + "Snapshot$MasterPasswordSecretArn": "The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
", + "Snapshot$MasterPasswordSecretKmsKeyId": "The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.
", "SnapshotCopyGrant$SnapshotCopyGrantName": "The name of the snapshot copy grant.
", "SnapshotCopyGrant$KmsKeyId": "The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.
", "SnapshotCopyGrantMessage$Marker": "An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant
request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
", diff --git a/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json b/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json index af8ff95a9d0..2b88e273eeb 100644 --- a/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json +++ b/models/apis/redshift/2012-12-01/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,92 +140,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://redshift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://redshift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -221,155 +225,115 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, + "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] } ] } ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://redshift.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [], - "endpoint": { - "url": "https://redshift-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "endpoint": { + "url": "https://redshift.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://redshift-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://redshift.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://redshift.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://redshift.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://redshift.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/sesv2/2019-09-27/api-2.json b/models/apis/sesv2/2019-09-27/api-2.json index 85493a0bf8a..00e29715114 100644 --- a/models/apis/sesv2/2019-09-27/api-2.json +++ b/models/apis/sesv2/2019-09-27/api-2.json @@ -1372,6 +1372,7 @@ "min":1, "sensitive":true }, + "AdminEmail":{"type":"string"}, "AlreadyExistsException":{ "type":"structure", "members":{ @@ -2906,7 +2907,8 @@ "Policies":{"shape":"PolicyMap"}, "Tags":{"shape":"TagList"}, "ConfigurationSetName":{"shape":"ConfigurationSetName"}, - "VerificationStatus":{"shape":"VerificationStatus"} + "VerificationStatus":{"shape":"VerificationStatus"}, + "VerificationInfo":{"shape":"VerificationInfo"} } }, "GetEmailTemplateRequest":{ @@ -3829,6 +3831,7 @@ "min":1 }, "PoolName":{"type":"string"}, + "PrimaryNameServer":{"type":"string"}, "PrivateKey":{ "type":"string", "max":20480, @@ -4291,6 +4294,14 @@ "type":"string", "pattern":"^s3:\\/\\/([^\\/]+)\\/(.*?([^\\/]+)\\/?)$" }, + "SOARecord":{ + "type":"structure", + "members":{ + "PrimaryNameServer":{"shape":"PrimaryNameServer"}, + "AdminEmail":{"shape":"AdminEmail"}, + "SerialNumber":{"shape":"SerialNumber"} + } + }, "ScalingMode":{ "type":"string", "enum":[ @@ -4392,6 +4403,7 @@ }, "SendingPoolName":{"type":"string"}, "SentLast24Hours":{"type":"double"}, + "SerialNumber":{"type":"long"}, "SnsDestination":{ "type":"structure", "required":["TopicArn"], @@ -4811,6 +4823,25 @@ "GuardianOptions":{"shape":"GuardianOptions"} } }, + "VerificationError":{ + "type":"string", + "enum":[ + "SERVICE_ERROR", + "DNS_SERVER_ERROR", + "HOST_NOT_FOUND", + "TYPE_NOT_FOUND", + "INVALID_VALUE" + ] + }, + "VerificationInfo":{ + "type":"structure", + "members":{ + "LastCheckedTimestamp":{"shape":"Timestamp"}, + "LastSuccessTimestamp":{"shape":"Timestamp"}, + "ErrorType":{"shape":"VerificationError"}, + "SOARecord":{"shape":"SOARecord"} + } + }, "VerificationStatus":{ "type":"string", "enum":[ diff --git a/models/apis/sesv2/2019-09-27/docs-2.json b/models/apis/sesv2/2019-09-27/docs-2.json index 825e0657ac7..7bda1dbdef9 100644 --- a/models/apis/sesv2/2019-09-27/docs-2.json +++ b/models/apis/sesv2/2019-09-27/docs-2.json @@ -120,6 +120,12 @@ "PutAccountDetailsRequest$AdditionalContactEmailAddresses": "Additional email addresses that you would like to be notified regarding Amazon SES matters.
" } }, + "AdminEmail": { + "base": null, + "refs": { + "SOARecord$AdminEmail": "Administrative contact email from the SOA record.
" + } + }, "AlreadyExistsException": { "base": "The resource specified in your request already exists.
", "refs": { @@ -1992,7 +1998,7 @@ "ListDeliverabilityTestReportsRequest$PageSize": "The number of results to show in a single call to ListDeliverabilityTestReports
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 0, and can be no more than 1000.
", "ListDomainDeliverabilityCampaignsRequest$PageSize": "The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns
operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken
element, which you can use to obtain additional results.
The number of results to show in a single call to ListEmailIdentities
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 0, and can be no more than 1000.
", - "ListEmailTemplatesRequest$PageSize": "The number of results to show in a single call to ListEmailTemplates
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 10.
", + "ListEmailTemplatesRequest$PageSize": "The number of results to show in a single call to ListEmailTemplates
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
", "ListExportJobsRequest$PageSize": "Maximum number of export jobs to return at once. Use this parameter to paginate results. If additional export jobs exist beyond the specified limit, the NextToken
element is sent in the response. Use the NextToken
value in subsequent calls to ListExportJobs
to retrieve additional export jobs.
Maximum number of import jobs to return at once. Use this parameter to paginate results. If additional import jobs exist beyond the specified limit, the NextToken
element is sent in the response. Use the NextToken
value in subsequent requests to retrieve additional addresses.
The number of results to show in a single call to ListRecommendations
. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
", @@ -2275,6 +2281,12 @@ "PutDedicatedIpPoolScalingAttributesRequest$PoolName": "The name of the dedicated IP pool.
" } }, + "PrimaryNameServer": { + "base": null, + "refs": { + "SOARecord$PrimaryNameServer": "Primary name server specified in the SOA record.
" + } + }, "PrivateKey": { "base": null, "refs": { @@ -2522,13 +2534,13 @@ "RawMessage": { "base": "Represents the raw content of an email message.
", "refs": { - "EmailContent$Raw": "The raw email message. The message has to meet the following criteria:
The message has to contain a header and a body, separated by one blank line.
All of the required header fields must be present in the message.
Each part of a multipart MIME message must be formatted properly.
If you include attachments, they must be in a file format that the Amazon SES API v2 supports.
The entire message must be Base64 encoded.
If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.
The raw email message. The message has to meet the following criteria:
The message has to contain a header and a body, separated by one blank line.
All of the required header fields must be present in the message.
Each part of a multipart MIME message must be formatted properly.
If you include attachments, they must be in a file format that the Amazon SES API v2 supports.
The raw data of the message needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you.
If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.
The raw email message. The message has to meet the following criteria:
The message has to contain a header and a body, separated by one blank line.
All of the required header fields must be present in the message.
Each part of a multipart MIME message must be formatted properly.
Attachments must be in a file format that the Amazon SES API v2 supports.
The entire message must be Base64 encoded.
If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.
The raw email message. The message has to meet the following criteria:
The message has to contain a header and a body, separated by one blank line.
All of the required header fields must be present in the message.
Each part of a multipart MIME message must be formatted properly.
Attachments must be in a file format that the Amazon SES supports.
The entire message must be Base64 encoded.
If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.
The raw email message. The message has to meet the following criteria:
The message has to contain a header and a body, separated by one blank line.
All of the required header fields must be present in the message.
Each part of a multipart MIME message must be formatted properly.
Attachments must be in a file format that the Amazon SES supports.
The raw data of the message needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you.
If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.
An Amazon S3 URL in the format s3://<bucket_name>/<object>.
" } }, + "SOARecord": { + "base": "An object that contains information about the start of authority (SOA) record associated with the identity.
", + "refs": { + "VerificationInfo$SOARecord": "An object that contains information about the start of authority (SOA) record associated with the identity.
" + } + }, "ScalingMode": { "base": null, "refs": { @@ -2706,6 +2724,12 @@ "SendQuota$SentLast24Hours": "The number of emails sent from your Amazon SES account in the current Amazon Web Services Region over the past 24 hours.
" } }, + "SerialNumber": { + "base": null, + "refs": { + "SOARecord$SerialNumber": "Serial number from the SOA record.
" + } + }, "SnsDestination": { "base": "An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.
", "refs": { @@ -2922,7 +2946,9 @@ "Recommendation$LastUpdatedTimestamp": "The last time the recommendation was updated.
", "SuppressedDestination$LastUpdateTime": "The date and time when the suppressed destination was last updated, shown in Unix time format.
", "SuppressedDestinationSummary$LastUpdateTime": "The date and time when the suppressed destination was last updated, shown in Unix time format.
", - "TimestampList$member": null + "TimestampList$member": null, + "VerificationInfo$LastCheckedTimestamp": "The last time a verification attempt was made for this identity.
", + "VerificationInfo$LastSuccessTimestamp": "The last time a successful verification was made for this identity.
" } }, "TimestampList": { @@ -3103,6 +3129,18 @@ "PutConfigurationSetVdmOptionsRequest$VdmOptions": "The VDM options to apply to the configuration set.
" } }, + "VerificationError": { + "base": null, + "refs": { + "VerificationInfo$ErrorType": "Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity. Below are the possible values:
INVALID_VALUE
– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record.
TYPE_NOT_FOUND
– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record.
HOST_NOT_FOUND
– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s).
SERVICE_ERROR
– A temporary issue is preventing Amazon SES from determining the verification status of the domain.
DNS_SERVER_ERROR
– The DNS server encountered an issue and was unable to complete the request.
An object that contains additional information about the verification status for the identity.
", + "refs": { + "GetEmailIdentityResponse$VerificationInfo": "An object that contains additional information about the verification status for the identity.
" + } + }, "VerificationStatus": { "base": null, "refs": { diff --git a/models/apis/sesv2/2019-09-27/endpoint-rule-set-1.json b/models/apis/sesv2/2019-09-27/endpoint-rule-set-1.json index 900cfc973ee..658dc3ff9e4 100644 --- a/models/apis/sesv2/2019-09-27/endpoint-rule-set-1.json +++ b/models/apis/sesv2/2019-09-27/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index 16fac58a469..8f2c80addfd 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -803,17 +803,17 @@ "HomeDirectory": { "base": null, "refs": { - "CreateAccessRequest$HomeDirectory": "The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
The landing directory (folder) for files transferred by using the AS2 protocol.
A BaseDirectory
example is /DOC-EXAMPLE-BUCKET/home/mydirectory
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
The landing directory (folder) for files that are transferred by using the AS2 protocol.
", - "DescribedUser$HomeDirectory": "The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
To change the landing directory (folder) for files that are transferred, provide the bucket folder that you want to use; for example, /DOC-EXAMPLE-BUCKET/home/mydirectory
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to LOGICAL
.
The landing directory (folder) for a user when they log in to the server using the client.
A HomeDirectory
example is /bucket_name/home/mydirectory
.
The HomeDirectory
parameter is only used if HomeDirectoryType
is set to PATH
.
A parameter to indicate whether to query trace summaries by TraceId or Event time.
" + "GetTraceSummariesRequest$TimeRangeType": "A parameter to indicate whether to query trace summaries by TraceId, Event (trace update time), or Service (segment end time).
" } }, "TimeSeriesServiceStatistics": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 94f3cc15ef3..05891f468ad 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -22683,12 +22683,24 @@ "variants" : [ { "hostname" : "lakeformation-fips.us-gov-east-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "lakeformation-fips.us-gov-east-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "lakeformation.us-gov-east-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-gov-west-1" : { "variants" : [ { "hostname" : "lakeformation-fips.us-gov-west-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "lakeformation-fips.us-gov-west-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "lakeformation.us-gov-west-1.api.aws", + "tags" : [ "dualstack" ] } ] } } diff --git a/service/cloudformation/api.go b/service/cloudformation/api.go index a70ffd5b95c..667919cff41 100644 --- a/service/cloudformation/api.go +++ b/service/cloudformation/api.go @@ -24696,6 +24696,9 @@ const ( // ResourceAttributeDeletionPolicy is a ResourceAttribute enum value ResourceAttributeDeletionPolicy = "DeletionPolicy" + // ResourceAttributeUpdateReplacePolicy is a ResourceAttribute enum value + ResourceAttributeUpdateReplacePolicy = "UpdateReplacePolicy" + // ResourceAttributeTags is a ResourceAttribute enum value ResourceAttributeTags = "Tags" ) @@ -24708,6 +24711,7 @@ func ResourceAttribute_Values() []string { ResourceAttributeCreationPolicy, ResourceAttributeUpdatePolicy, ResourceAttributeDeletionPolicy, + ResourceAttributeUpdateReplacePolicy, ResourceAttributeTags, } } diff --git a/service/drs/api.go b/service/drs/api.go index 583ccd6b284..ce0894e9cb3 100644 --- a/service/drs/api.go +++ b/service/drs/api.go @@ -5874,6 +5874,11 @@ type CreateLaunchConfigurationTemplateInput struct { // Launch disposition. LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + // DRS will set the 'launch into instance ID' of any source server when performing + // a drill, recovery or failback to the previous region or availability zone, + // using the instance ID of the source instance. + LaunchIntoSourceInstance *bool `locationName:"launchIntoSourceInstance" type:"boolean"` + // Licensing. Licensing *Licensing `locationName:"licensing" type:"structure"` @@ -5946,6 +5951,12 @@ func (s *CreateLaunchConfigurationTemplateInput) SetLaunchDisposition(v string) return s } +// SetLaunchIntoSourceInstance sets the LaunchIntoSourceInstance field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetLaunchIntoSourceInstance(v bool) *CreateLaunchConfigurationTemplateInput { + s.LaunchIntoSourceInstance = &v + return s +} + // SetLicensing sets the Licensing field's value. func (s *CreateLaunchConfigurationTemplateInput) SetLicensing(v *Licensing) *CreateLaunchConfigurationTemplateInput { s.Licensing = v @@ -9117,6 +9128,9 @@ type GetLaunchConfigurationOutput struct { // The state of the Recovery Instance in EC2 after the recovery operation. LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + // Launch into existing instance properties. + LaunchIntoInstanceProperties *LaunchIntoInstanceProperties `locationName:"launchIntoInstanceProperties" type:"structure"` + // The licensing configuration to be used for this launch configuration. Licensing *Licensing `locationName:"licensing" type:"structure"` @@ -9176,6 +9190,12 @@ func (s *GetLaunchConfigurationOutput) SetLaunchDisposition(v string) *GetLaunch return s } +// SetLaunchIntoInstanceProperties sets the LaunchIntoInstanceProperties field's value. +func (s *GetLaunchConfigurationOutput) SetLaunchIntoInstanceProperties(v *LaunchIntoInstanceProperties) *GetLaunchConfigurationOutput { + s.LaunchIntoInstanceProperties = v + return s +} + // SetLicensing sets the Licensing field's value. func (s *GetLaunchConfigurationOutput) SetLicensing(v *Licensing) *GetLaunchConfigurationOutput { s.Licensing = v @@ -10187,6 +10207,11 @@ type LaunchConfigurationTemplate struct { // Launch disposition. LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + // DRS will set the 'launch into instance ID' of any source server when performing + // a drill, recovery or failback to the previous region or availability zone, + // using the instance ID of the source instance. + LaunchIntoSourceInstance *bool `locationName:"launchIntoSourceInstance" type:"boolean"` + // Licensing. Licensing *Licensing `locationName:"licensing" type:"structure"` @@ -10258,6 +10283,12 @@ func (s *LaunchConfigurationTemplate) SetLaunchDisposition(v string) *LaunchConf return s } +// SetLaunchIntoSourceInstance sets the LaunchIntoSourceInstance field's value. +func (s *LaunchConfigurationTemplate) SetLaunchIntoSourceInstance(v bool) *LaunchConfigurationTemplate { + s.LaunchIntoSourceInstance = &v + return s +} + // SetLicensing sets the Licensing field's value. func (s *LaunchConfigurationTemplate) SetLicensing(v *Licensing) *LaunchConfigurationTemplate { s.Licensing = v @@ -10282,6 +10313,39 @@ func (s *LaunchConfigurationTemplate) SetTargetInstanceTypeRightSizingMethod(v s return s } +// Launch into existing instance. +type LaunchIntoInstanceProperties struct { + _ struct{} `type:"structure"` + + // Optionally holds EC2 instance ID of an instance to launch into, instead of + // launching a new instance during drill, recovery or failback. + LaunchIntoEC2InstanceID *string `locationName:"launchIntoEC2InstanceID" 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 LaunchIntoInstanceProperties) 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 LaunchIntoInstanceProperties) GoString() string { + return s.String() +} + +// SetLaunchIntoEC2InstanceID sets the LaunchIntoEC2InstanceID field's value. +func (s *LaunchIntoInstanceProperties) SetLaunchIntoEC2InstanceID(v string) *LaunchIntoInstanceProperties { + s.LaunchIntoEC2InstanceID = &v + return s +} + // Configuration of a machine's license. type Licensing struct { _ struct{} `type:"structure"` @@ -11222,7 +11286,9 @@ type PutLaunchActionInput struct { Category *string `locationName:"category" type:"string" required:"true" enum:"LaunchActionCategory"` // Launch action description. - Description *string `locationName:"description" type:"string"` + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` // Launch action name. // @@ -11293,6 +11359,9 @@ func (s *PutLaunchActionInput) Validate() error { if s.Category == nil { invalidParams.Add(request.NewErrParamRequired("Category")) } + if s.Description == nil { + invalidParams.Add(request.NewErrParamRequired("Description")) + } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } @@ -14996,6 +15065,9 @@ type UpdateLaunchConfigurationInput struct { // The state of the Recovery Instance in EC2 after the recovery operation. LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + // Launch into existing instance properties. + LaunchIntoInstanceProperties *LaunchIntoInstanceProperties `locationName:"launchIntoInstanceProperties" type:"structure"` + // The licensing configuration to be used for this launch configuration. Licensing *Licensing `locationName:"licensing" type:"structure"` @@ -15068,6 +15140,12 @@ func (s *UpdateLaunchConfigurationInput) SetLaunchDisposition(v string) *UpdateL return s } +// SetLaunchIntoInstanceProperties sets the LaunchIntoInstanceProperties field's value. +func (s *UpdateLaunchConfigurationInput) SetLaunchIntoInstanceProperties(v *LaunchIntoInstanceProperties) *UpdateLaunchConfigurationInput { + s.LaunchIntoInstanceProperties = v + return s +} + // SetLicensing sets the Licensing field's value. func (s *UpdateLaunchConfigurationInput) SetLicensing(v *Licensing) *UpdateLaunchConfigurationInput { s.Licensing = v @@ -15115,6 +15193,9 @@ type UpdateLaunchConfigurationOutput struct { // The state of the Recovery Instance in EC2 after the recovery operation. LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + // Launch into existing instance properties. + LaunchIntoInstanceProperties *LaunchIntoInstanceProperties `locationName:"launchIntoInstanceProperties" type:"structure"` + // The licensing configuration to be used for this launch configuration. Licensing *Licensing `locationName:"licensing" type:"structure"` @@ -15174,6 +15255,12 @@ func (s *UpdateLaunchConfigurationOutput) SetLaunchDisposition(v string) *Update return s } +// SetLaunchIntoInstanceProperties sets the LaunchIntoInstanceProperties field's value. +func (s *UpdateLaunchConfigurationOutput) SetLaunchIntoInstanceProperties(v *LaunchIntoInstanceProperties) *UpdateLaunchConfigurationOutput { + s.LaunchIntoInstanceProperties = v + return s +} + // SetLicensing sets the Licensing field's value. func (s *UpdateLaunchConfigurationOutput) SetLicensing(v *Licensing) *UpdateLaunchConfigurationOutput { s.Licensing = v @@ -15224,6 +15311,11 @@ type UpdateLaunchConfigurationTemplateInput struct { // Launch disposition. LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + // DRS will set the 'launch into instance ID' of any source server when performing + // a drill, recovery or failback to the previous region or availability zone, + // using the instance ID of the source instance. + LaunchIntoSourceInstance *bool `locationName:"launchIntoSourceInstance" type:"boolean"` + // Licensing. Licensing *Licensing `locationName:"licensing" type:"structure"` @@ -15301,6 +15393,12 @@ func (s *UpdateLaunchConfigurationTemplateInput) SetLaunchDisposition(v string) return s } +// SetLaunchIntoSourceInstance sets the LaunchIntoSourceInstance field's value. +func (s *UpdateLaunchConfigurationTemplateInput) SetLaunchIntoSourceInstance(v bool) *UpdateLaunchConfigurationTemplateInput { + s.LaunchIntoSourceInstance = &v + return s +} + // SetLicensing sets the Licensing field's value. func (s *UpdateLaunchConfigurationTemplateInput) SetLicensing(v *Licensing) *UpdateLaunchConfigurationTemplateInput { s.Licensing = v diff --git a/service/entityresolution/api.go b/service/entityresolution/api.go index 5d55edf5a53..b9d634c2270 100644 --- a/service/entityresolution/api.go +++ b/service/entityresolution/api.go @@ -13,6 +13,110 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restjson" ) +const opCreateIdMappingWorkflow = "CreateIdMappingWorkflow" + +// CreateIdMappingWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the CreateIdMappingWorkflow 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 CreateIdMappingWorkflow for more information on using the CreateIdMappingWorkflow +// 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 CreateIdMappingWorkflowRequest method. +// req, resp := client.CreateIdMappingWorkflowRequest(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/CreateIdMappingWorkflow +func (c *EntityResolution) CreateIdMappingWorkflowRequest(input *CreateIdMappingWorkflowInput) (req *request.Request, output *CreateIdMappingWorkflowOutput) { + op := &request.Operation{ + Name: opCreateIdMappingWorkflow, + HTTPMethod: "POST", + HTTPPath: "/idmappingworkflows", + } + + if input == nil { + input = &CreateIdMappingWorkflowInput{} + } + + output = &CreateIdMappingWorkflowOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateIdMappingWorkflow API operation for AWS EntityResolution. +// +// 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. +// +// 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 CreateIdMappingWorkflow 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/CreateIdMappingWorkflow +func (c *EntityResolution) CreateIdMappingWorkflow(input *CreateIdMappingWorkflowInput) (*CreateIdMappingWorkflowOutput, error) { + req, out := c.CreateIdMappingWorkflowRequest(input) + return out, req.Send() +} + +// CreateIdMappingWorkflowWithContext is the same as CreateIdMappingWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See CreateIdMappingWorkflow 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) CreateIdMappingWorkflowWithContext(ctx aws.Context, input *CreateIdMappingWorkflowInput, opts ...request.Option) (*CreateIdMappingWorkflowOutput, error) { + req, out := c.CreateIdMappingWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateMatchingWorkflow = "CreateMatchingWorkflow" // CreateMatchingWorkflowRequest generates a "aws/request.Request" representing the @@ -221,6 +325,98 @@ func (c *EntityResolution) CreateSchemaMappingWithContext(ctx aws.Context, input return out, req.Send() } +const opDeleteIdMappingWorkflow = "DeleteIdMappingWorkflow" + +// DeleteIdMappingWorkflowRequest generates a "aws/request.Request" representing the +// client's request for the DeleteIdMappingWorkflow 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 DeleteIdMappingWorkflow for more information on using the DeleteIdMappingWorkflow +// 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 DeleteIdMappingWorkflowRequest method. +// req, resp := client.DeleteIdMappingWorkflowRequest(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/DeleteIdMappingWorkflow +func (c *EntityResolution) DeleteIdMappingWorkflowRequest(input *DeleteIdMappingWorkflowInput) (req *request.Request, output *DeleteIdMappingWorkflowOutput) { + op := &request.Operation{ + Name: opDeleteIdMappingWorkflow, + HTTPMethod: "DELETE", + HTTPPath: "/idmappingworkflows/{workflowName}", + } + + if input == nil { + input = &DeleteIdMappingWorkflowInput{} + } + + output = &DeleteIdMappingWorkflowOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteIdMappingWorkflow API operation for AWS EntityResolution. +// +// Deletes the IdMappingWorkflow 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 DeleteIdMappingWorkflow 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 +// +// - 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/DeleteIdMappingWorkflow +func (c *EntityResolution) DeleteIdMappingWorkflow(input *DeleteIdMappingWorkflowInput) (*DeleteIdMappingWorkflowOutput, error) { + req, out := c.DeleteIdMappingWorkflowRequest(input) + return out, req.Send() +} + +// DeleteIdMappingWorkflowWithContext is the same as DeleteIdMappingWorkflow with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteIdMappingWorkflow 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) DeleteIdMappingWorkflowWithContext(ctx aws.Context, input *DeleteIdMappingWorkflowInput, opts ...request.Option) (*DeleteIdMappingWorkflowOutput, error) { + req, out := c.DeleteIdMappingWorkflowRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteMatchingWorkflow = "DeleteMatchingWorkflow" // DeleteMatchingWorkflowRequest generates a "aws/request.Request" representing the @@ -358,7 +554,7 @@ func (c *EntityResolution) DeleteSchemaMappingRequest(input *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 DataIntegrationWorkflow object that references the SchemaMapping +// 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 @@ -412,58 +608,58 @@ func (c *EntityResolution) DeleteSchemaMappingWithContext(ctx aws.Context, input 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: // @@ -485,80 +681,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: // @@ -580,79 +775,80 @@ 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 opGetMatchId = "GetMatchId" -// GetMatchingWorkflowRequest generates a "aws/request.Request" representing the -// client's request for the GetMatchingWorkflow 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 GetMatchingWorkflow for more information on using the GetMatchingWorkflow +// 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 GetMatchingWorkflowRequest method. -// req, resp := client.GetMatchingWorkflowRequest(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/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/GetMatchId +func (c *EntityResolution) GetMatchIdRequest(input *GetMatchIdInput) (req *request.Request, output *GetMatchIdOutput) { op := &request.Operation{ - Name: opGetMatchingWorkflow, - HTTPMethod: "GET", - HTTPPath: "/matchingworkflows/{workflowName}", + Name: opGetMatchId, + HTTPMethod: "POST", + HTTPPath: "/matchingworkflows/{workflowName}/matches", } if input == nil { - input = &GetMatchingWorkflowInput{} + input = &GetMatchIdInput{} } - output = &GetMatchingWorkflowOutput{} + output = &GetMatchIdOutput{} req = c.newRequest(op, input, output) return } -// GetMatchingWorkflow API operation for AWS EntityResolution. +// GetMatchId API operation for AWS EntityResolution. // -// Returns the MatchingWorkflow with a given name, if it exists. +// 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 GetMatchingWorkflow for usage and error information. +// API operation GetMatchId for usage and error information. // // Returned Error Types: // @@ -674,79 +870,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/GetMatchId +func (c *EntityResolution) GetMatchId(input *GetMatchIdInput) (*GetMatchIdOutput, error) { + req, out := c.GetMatchIdRequest(input) return out, req.Send() } -// GetMatchingWorkflowWithContext is the same as GetMatchingWorkflow 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 GetMatchingWorkflow 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) GetMatchingWorkflowWithContext(ctx aws.Context, input *GetMatchingWorkflowInput, opts ...request.Option) (*GetMatchingWorkflowOutput, error) { - req, out := c.GetMatchingWorkflowRequest(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 opGetSchemaMapping = "GetSchemaMapping" +const opGetMatchingJob = "GetMatchingJob" -// GetSchemaMappingRequest generates a "aws/request.Request" representing the -// client's request for the GetSchemaMapping 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 GetSchemaMapping for more information on using the GetSchemaMapping +// 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 GetSchemaMappingRequest method. -// req, resp := client.GetSchemaMappingRequest(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/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/GetMatchingJob +func (c *EntityResolution) GetMatchingJobRequest(input *GetMatchingJobInput) (req *request.Request, output *GetMatchingJobOutput) { op := &request.Operation{ - Name: opGetSchemaMapping, + Name: opGetMatchingJob, HTTPMethod: "GET", - HTTPPath: "/schemas/{schemaName}", + HTTPPath: "/matchingworkflows/{workflowName}/jobs/{jobId}", } if input == nil { - input = &GetSchemaMappingInput{} + input = &GetMatchingJobInput{} } - output = &GetSchemaMappingOutput{} + output = &GetMatchingJobOutput{} req = c.newRequest(op, input, output) return } -// GetSchemaMapping API operation for AWS EntityResolution. +// GetMatchingJob API operation for AWS EntityResolution. // -// Returns the SchemaMapping of a given name. +// 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 GetSchemaMapping for usage and error information. +// API operation GetMatchingJob for usage and error information. // // Returned Error Types: // @@ -768,85 +965,79 @@ 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/GetMatchingJob +func (c *EntityResolution) GetMatchingJob(input *GetMatchingJobInput) (*GetMatchingJobOutput, error) { + req, out := c.GetMatchingJobRequest(input) return out, req.Send() } -// GetSchemaMappingWithContext is the same as GetSchemaMapping 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 GetSchemaMapping 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) GetSchemaMappingWithContext(ctx aws.Context, input *GetSchemaMappingInput, opts ...request.Option) (*GetSchemaMappingOutput, error) { - req, out := c.GetSchemaMappingRequest(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() } -const opListMatchingJobs = "ListMatchingJobs" +const opGetMatchingWorkflow = "GetMatchingWorkflow" -// ListMatchingJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListMatchingJobs 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 ListMatchingJobs for more information on using the ListMatchingJobs +// 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 ListMatchingJobsRequest method. -// req, resp := client.ListMatchingJobsRequest(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/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/GetMatchingWorkflow +func (c *EntityResolution) GetMatchingWorkflowRequest(input *GetMatchingWorkflowInput) (req *request.Request, output *GetMatchingWorkflowOutput) { op := &request.Operation{ - Name: opListMatchingJobs, + Name: opGetMatchingWorkflow, HTTPMethod: "GET", - HTTPPath: "/matchingworkflows/{workflowName}/jobs", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, + HTTPPath: "/matchingworkflows/{workflowName}", } if input == nil { - input = &ListMatchingJobsInput{} + input = &GetMatchingWorkflowInput{} } - output = &ListMatchingJobsOutput{} + output = &GetMatchingWorkflowOutput{} req = c.newRequest(op, input, output) return } -// ListMatchingJobs API operation for AWS EntityResolution. +// GetMatchingWorkflow API operation for AWS EntityResolution. // -// Lists all jobs for a given workflow. +// 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 ListMatchingJobs for usage and error information. +// API operation GetMatchingWorkflow for usage and error information. // // Returned Error Types: // @@ -868,109 +1059,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/GetMatchingWorkflow +func (c *EntityResolution) GetMatchingWorkflow(input *GetMatchingWorkflowInput) (*GetMatchingWorkflowOutput, error) { + req, out := c.GetMatchingWorkflowRequest(input) return out, req.Send() } -// ListMatchingJobsWithContext is the same as ListMatchingJobs 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 ListMatchingJobs 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) ListMatchingJobsWithContext(ctx aws.Context, input *ListMatchingJobsInput, opts ...request.Option) (*ListMatchingJobsOutput, error) { - req, out := c.ListMatchingJobsRequest(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() } -// 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"}, @@ -980,25 +1214,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: // @@ -1009,6 +1242,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 @@ -1017,64 +1253,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 @@ -1082,7 +1318,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 } } @@ -1090,36 +1326,36 @@ func (c *EntityResolution) ListMatchingWorkflowsPagesWithContext(ctx aws.Context return p.Err() } -const opListSchemaMappings = "ListSchemaMappings" +const opListIdMappingWorkflows = "ListIdMappingWorkflows" -// ListSchemaMappingsRequest generates a "aws/request.Request" representing the -// client's request for the ListSchemaMappings 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 ListSchemaMappings for more information on using the ListSchemaMappings +// 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 ListSchemaMappingsRequest method. -// req, resp := client.ListSchemaMappingsRequest(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/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/ListIdMappingWorkflows +func (c *EntityResolution) ListIdMappingWorkflowsRequest(input *ListIdMappingWorkflowsInput) (req *request.Request, output *ListIdMappingWorkflowsOutput) { op := &request.Operation{ - Name: opListSchemaMappings, + Name: opListIdMappingWorkflows, HTTPMethod: "GET", - HTTPPath: "/schemas", + HTTPPath: "/idmappingworkflows", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -1129,25 +1365,25 @@ func (c *EntityResolution) ListSchemaMappingsRequest(input *ListSchemaMappingsIn } if input == nil { - input = &ListSchemaMappingsInput{} + input = &ListIdMappingWorkflowsInput{} } - output = &ListSchemaMappingsOutput{} + output = &ListIdMappingWorkflowsOutput{} req = c.newRequest(op, input, output) return } -// ListSchemaMappings API operation for AWS EntityResolution. +// ListIdMappingWorkflows 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 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 ListSchemaMappings for usage and error information. +// API operation ListIdMappingWorkflows for usage and error information. // // Returned Error Types: // @@ -1166,64 +1402,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/ListIdMappingWorkflows +func (c *EntityResolution) ListIdMappingWorkflows(input *ListIdMappingWorkflowsInput) (*ListIdMappingWorkflowsOutput, error) { + req, out := c.ListIdMappingWorkflowsRequest(input) return out, req.Send() } -// ListSchemaMappingsWithContext is the same as ListSchemaMappings 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 ListSchemaMappings 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) ListSchemaMappingsWithContext(ctx aws.Context, input *ListSchemaMappingsInput, opts ...request.Option) (*ListSchemaMappingsOutput, error) { - req, out := c.ListSchemaMappingsRequest(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() } -// ListSchemaMappingsPages iterates over the pages of a ListSchemaMappings 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 ListSchemaMappings 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 ListSchemaMappings operation. +// // Example iterating over at most 3 pages of a ListIdMappingWorkflows operation. // pageNum := 0 -// err := client.ListSchemaMappingsPages(params, -// func(page *entityresolution.ListSchemaMappingsOutput, lastPage bool) bool { +// err := client.ListIdMappingWorkflowsPages(params, +// func(page *entityresolution.ListIdMappingWorkflowsOutput, 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) ListIdMappingWorkflowsPages(input *ListIdMappingWorkflowsInput, fn func(*ListIdMappingWorkflowsOutput, bool) bool) error { + return c.ListIdMappingWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListSchemaMappingsPagesWithContext same as ListSchemaMappingsPages 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) ListSchemaMappingsPagesWithContext(ctx aws.Context, input *ListSchemaMappingsInput, fn func(*ListSchemaMappingsOutput, 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 *ListSchemaMappingsInput + var inCpy *ListIdMappingWorkflowsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListSchemaMappingsRequest(inCpy) + req, _ := c.ListIdMappingWorkflowsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1231,7 +1467,7 @@ func (c *EntityResolution) ListSchemaMappingsPagesWithContext(ctx aws.Context, i } for p.Next() { - if !fn(p.Page().(*ListSchemaMappingsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListIdMappingWorkflowsOutput), !p.HasNextPage()) { break } } @@ -1239,61 +1475,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 @@ -1301,84 +1545,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 opStartMatchingJob = "StartMatchingJob" +// 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) +} -// StartMatchingJobRequest generates a "aws/request.Request" representing the -// client's request for the StartMatchingJob 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 StartMatchingJob for more information on using the StartMatchingJob +// 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 StartMatchingJobRequest method. -// req, resp := client.StartMatchingJobRequest(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/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/ListMatchingWorkflows +func (c *EntityResolution) ListMatchingWorkflowsRequest(input *ListMatchingWorkflowsInput) (req *request.Request, output *ListMatchingWorkflowsOutput) { op := &request.Operation{ - Name: opStartMatchingJob, - HTTPMethod: "POST", - HTTPPath: "/matchingworkflows/{workflowName}/jobs", + Name: opListMatchingWorkflows, + HTTPMethod: "GET", + HTTPPath: "/matchingworkflows", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &StartMatchingJobInput{} + input = &ListMatchingWorkflowsInput{} } - output = &StartMatchingJobOutput{} + output = &ListMatchingWorkflowsOutput{} req = c.newRequest(op, input, output) return } -// StartMatchingJob API operation for AWS EntityResolution. +// ListMatchingWorkflows 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 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 StartMatchingJob for usage and error information. +// API operation ListMatchingWorkflows for usage and error information. // // Returned Error Types: // @@ -1389,291 +1694,440 @@ 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/ListMatchingWorkflows +func (c *EntityResolution) ListMatchingWorkflows(input *ListMatchingWorkflowsInput) (*ListMatchingWorkflowsOutput, error) { + req, out := c.ListMatchingWorkflowsRequest(input) return out, req.Send() } -// StartMatchingJobWithContext is the same as StartMatchingJob 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 StartMatchingJob 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) StartMatchingJobWithContext(ctx aws.Context, input *StartMatchingJobInput, opts ...request.Option) (*StartMatchingJobOutput, error) { - req, out := c.StartMatchingJobRequest(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 opTagResource = "TagResource" +// 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) +} -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource 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 TagResource for more information on using the TagResource +// 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 TagResourceRequest method. -// req, resp := client.TagResourceRequest(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/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/ListProviderServices +func (c *EntityResolution) ListProviderServicesRequest(input *ListProviderServicesInput) (req *request.Request, output *ListProviderServicesOutput) { op := &request.Operation{ - Name: opTagResource, - HTTPMethod: "POST", - HTTPPath: "/tags/{resourceArn}", + Name: opListProviderServices, + HTTPMethod: "GET", + HTTPPath: "/providerservices", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &TagResourceInput{} + input = &ListProviderServicesInput{} } - output = &TagResourceOutput{} + output = &ListProviderServicesOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for AWS EntityResolution. +// ListProviderServices 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 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 TagResource for usage and error information. +// API operation ListProviderServices 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/ListProviderServices +func (c *EntityResolution) ListProviderServices(input *ListProviderServicesInput) (*ListProviderServicesOutput, error) { + req, out := c.ListProviderServicesRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource 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 TagResource 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) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(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 opUntagResource = "UntagResource" +// 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) +} -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource 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 UntagResource for more information on using the UntagResource +// 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 UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(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/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/ListSchemaMappings +func (c *EntityResolution) ListSchemaMappingsRequest(input *ListSchemaMappingsInput) (req *request.Request, output *ListSchemaMappingsOutput) { op := &request.Operation{ - Name: opUntagResource, - HTTPMethod: "DELETE", - 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 = &UntagResourceInput{} + input = &ListSchemaMappingsInput{} } - output = &UntagResourceOutput{} + output = &ListSchemaMappingsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for AWS EntityResolution. +// ListSchemaMappings 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 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 UntagResource 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 // -// 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/ListSchemaMappings +func (c *EntityResolution) ListSchemaMappings(input *ListSchemaMappingsInput) (*ListSchemaMappingsOutput, error) { + req, out := c.ListSchemaMappingsRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource 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 UntagResource 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) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(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 opUpdateMatchingWorkflow = "UpdateMatchingWorkflow" +// 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) +} -// UpdateMatchingWorkflowRequest generates a "aws/request.Request" representing the -// client's request for the UpdateMatchingWorkflow 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 UpdateMatchingWorkflow for more information on using the UpdateMatchingWorkflow +// 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 UpdateMatchingWorkflowRequest method. -// req, resp := client.UpdateMatchingWorkflowRequest(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/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/ListTagsForResource +func (c *EntityResolution) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ - Name: opUpdateMatchingWorkflow, - HTTPMethod: "PUT", - HTTPPath: "/matchingworkflows/{workflowName}", + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", } if input == nil { - input = &UpdateMatchingWorkflowInput{} + input = &ListTagsForResourceInput{} } - output = &UpdateMatchingWorkflowOutput{} + output = &ListTagsForResourceOutput{} req = c.newRequest(op, input, output) return } -// UpdateMatchingWorkflow API operation for AWS EntityResolution. +// ListTagsForResource 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. +// 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 UpdateMatchingWorkflow for usage and error information. +// API operation ListTagsForResource 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 @@ -1681,43 +2135,2241 @@ func (c *EntityResolution) UpdateMatchingWorkflowRequest(input *UpdateMatchingWo // - 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) +// 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() } -// UpdateMatchingWorkflowWithContext is the same as UpdateMatchingWorkflow 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 UpdateMatchingWorkflow 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) UpdateMatchingWorkflowWithContext(ctx aws.Context, input *UpdateMatchingWorkflowInput, opts ...request.Option) (*UpdateMatchingWorkflowOutput, error) { - req, out := c.UpdateMatchingWorkflowRequest(input) - req.SetContext(ctx) +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 opStartIdMappingJob = "StartIdMappingJob" + +// 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 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 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/StartIdMappingJob +func (c *EntityResolution) StartIdMappingJobRequest(input *StartIdMappingJobInput) (req *request.Request, output *StartIdMappingJobOutput) { + op := &request.Operation{ + Name: opStartIdMappingJob, + HTTPMethod: "POST", + HTTPPath: "/idmappingworkflows/{workflowName}/jobs", + } + + if input == nil { + input = &StartIdMappingJobInput{} + } + + output = &StartIdMappingJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartIdMappingJob API operation for AWS EntityResolution. +// +// 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 StartIdMappingJob 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 +// +// - 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) + return out, req.Send() +} + +// StartIdMappingJobWithContext is the same as StartIdMappingJob 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. +// +// 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) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartMatchingJob = "StartMatchingJob" + +// 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 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 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/StartMatchingJob +func (c *EntityResolution) StartMatchingJobRequest(input *StartMatchingJobInput) (req *request.Request, output *StartMatchingJobOutput) { + op := &request.Operation{ + Name: opStartMatchingJob, + HTTPMethod: "POST", + HTTPPath: "/matchingworkflows/{workflowName}/jobs", + } + + if input == nil { + input = &StartMatchingJobInput{} + } + + output = &StartMatchingJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartMatchingJob API operation for AWS EntityResolution. +// +// 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 StartMatchingJob 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 +// +// - 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) + return out, req.Send() +} + +// StartMatchingJobWithContext is the same as StartMatchingJob 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. +// +// 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) + 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:"-"` +const opTagResource = "TagResource" + +// 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. +// +// 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 +// 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}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// 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 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. +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 +} + +// 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 +type ConflictException 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 ConflictException) 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 ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +type CreateIdMappingWorkflowInput 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 is a required field + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + + // 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"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The name of the workflow. There can't be multiple IdMappingWorkflows with + // the same name. + // + // 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 CreateIdMappingWorkflowInput) 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 CreateIdMappingWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateIdMappingWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateIdMappingWorkflowInput"} + if s.IdMappingTechniques == nil { + invalidParams.Add(request.NewErrParamRequired("IdMappingTechniques")) + } + if s.InputSourceConfig == nil { + invalidParams.Add(request.NewErrParamRequired("InputSourceConfig")) + } + 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.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 is a required field + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + + // 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"` + + // 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 CreateMatchingWorkflowInput struct { + _ struct{} `type:"structure"` + + // A description of the workflow. + Description *string `locationName:"description" type:"string"` + + // An object which defines an incremental run type and has only incrementalRunType + // as a field. + IncrementalRunConfig *IncrementalRunConfig `locationName:"incrementalRunConfig" type:"structure"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + // + // InputSourceConfig is a required field + InputSourceConfig []*InputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` + + // A list of OutputSource objects, each of which contains fields OutputS3Path, + // ApplyNormalization, and Output. + // + // OutputSourceConfig is a required field + OutputSourceConfig []*OutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + + // An object which defines the resolutionType and the ruleBasedProperties. + // + // ResolutionTechniques is a required field + ResolutionTechniques *ResolutionTechniques `locationName:"resolutionTechniques" type:"structure" required:"true"` + + // 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"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + // The name of the workflow. There can't be multiple MatchingWorkflows with + // the same name. + // + // 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 CreateMatchingWorkflowInput) 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 CreateMatchingWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateMatchingWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateMatchingWorkflowInput"} + if s.InputSourceConfig == nil { + invalidParams.Add(request.NewErrParamRequired("InputSourceConfig")) + } + 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.ResolutionTechniques == nil { + invalidParams.Add(request.NewErrParamRequired("ResolutionTechniques")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + 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.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 s.ResolutionTechniques != nil { + if err := s.ResolutionTechniques.Validate(); err != nil { + invalidParams.AddNested("ResolutionTechniques", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateMatchingWorkflowInput) SetDescription(v string) *CreateMatchingWorkflowInput { + s.Description = &v + return s +} + +// SetIncrementalRunConfig sets the IncrementalRunConfig field's value. +func (s *CreateMatchingWorkflowInput) SetIncrementalRunConfig(v *IncrementalRunConfig) *CreateMatchingWorkflowInput { + s.IncrementalRunConfig = v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *CreateMatchingWorkflowInput) SetInputSourceConfig(v []*InputSource) *CreateMatchingWorkflowInput { + s.InputSourceConfig = v + return s +} + +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *CreateMatchingWorkflowInput) SetOutputSourceConfig(v []*OutputSource) *CreateMatchingWorkflowInput { + s.OutputSourceConfig = v + return s +} + +// SetResolutionTechniques sets the ResolutionTechniques field's value. +func (s *CreateMatchingWorkflowInput) SetResolutionTechniques(v *ResolutionTechniques) *CreateMatchingWorkflowInput { + s.ResolutionTechniques = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateMatchingWorkflowInput) SetRoleArn(v string) *CreateMatchingWorkflowInput { + s.RoleArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateMatchingWorkflowInput) SetTags(v map[string]*string) *CreateMatchingWorkflowInput { + s.Tags = v + return s +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *CreateMatchingWorkflowInput) SetWorkflowName(v string) *CreateMatchingWorkflowInput { + s.WorkflowName = &v + return s +} + +type CreateMatchingWorkflowOutput struct { + _ struct{} `type:"structure"` + + // A description of the workflow. + Description *string `locationName:"description" type:"string"` + + // An object which defines an incremental run type and has only incrementalRunType + // as a field. + IncrementalRunConfig *IncrementalRunConfig `locationName:"incrementalRunConfig" type:"structure"` + + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + // + // InputSourceConfig is a required field + InputSourceConfig []*InputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` + + // A list of OutputSource objects, each of which contains fields OutputS3Path, + // ApplyNormalization, and Output. + // + // OutputSourceConfig is a required field + OutputSourceConfig []*OutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + + // An object which defines the resolutionType and the ruleBasedProperties. + // + // ResolutionTechniques is a required field + ResolutionTechniques *ResolutionTechniques `locationName:"resolutionTechniques" type:"structure" required:"true"` + + // 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"` + + // The ARN (Amazon Resource Name) that Entity Resolution generated for the MatchingWorkflow. + // + // 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 CreateMatchingWorkflowOutput) 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 CreateMatchingWorkflowOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *CreateMatchingWorkflowOutput) SetDescription(v string) *CreateMatchingWorkflowOutput { + s.Description = &v + return s +} + +// SetIncrementalRunConfig sets the IncrementalRunConfig field's value. +func (s *CreateMatchingWorkflowOutput) SetIncrementalRunConfig(v *IncrementalRunConfig) *CreateMatchingWorkflowOutput { + s.IncrementalRunConfig = v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *CreateMatchingWorkflowOutput) SetInputSourceConfig(v []*InputSource) *CreateMatchingWorkflowOutput { + s.InputSourceConfig = v + return s +} + +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *CreateMatchingWorkflowOutput) SetOutputSourceConfig(v []*OutputSource) *CreateMatchingWorkflowOutput { + s.OutputSourceConfig = v + return s +} + +// SetResolutionTechniques sets the ResolutionTechniques field's value. +func (s *CreateMatchingWorkflowOutput) SetResolutionTechniques(v *ResolutionTechniques) *CreateMatchingWorkflowOutput { + s.ResolutionTechniques = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateMatchingWorkflowOutput) SetRoleArn(v string) *CreateMatchingWorkflowOutput { + s.RoleArn = &v + return s +} + +// SetWorkflowArn sets the WorkflowArn field's value. +func (s *CreateMatchingWorkflowOutput) SetWorkflowArn(v string) *CreateMatchingWorkflowOutput { + s.WorkflowArn = &v + return s +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *CreateMatchingWorkflowOutput) SetWorkflowName(v string) *CreateMatchingWorkflowOutput { + s.WorkflowName = &v + return s +} + +type CreateSchemaMappingInput struct { + _ struct{} `type:"structure"` + + // A description of the schema. + Description *string `locationName:"description" type:"string"` + + // 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. + // + // MappedInputFields is a required field + MappedInputFields []*SchemaInputAttribute `locationName:"mappedInputFields" min:"2" type:"list" required:"true"` + + // The name of the schema. There can't be multiple SchemaMappings with the same + // name. + // + // SchemaName is a required field + SchemaName *string `locationName:"schemaName" min:"1" type:"string" required:"true"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSchemaMappingInput) 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 CreateSchemaMappingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateSchemaMappingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSchemaMappingInput"} + if s.MappedInputFields == nil { + invalidParams.Add(request.NewErrParamRequired("MappedInputFields")) + } + if s.MappedInputFields != nil && len(s.MappedInputFields) < 2 { + invalidParams.Add(request.NewErrParamMinLen("MappedInputFields", 2)) + } + if s.SchemaName == nil { + invalidParams.Add(request.NewErrParamRequired("SchemaName")) + } + if s.SchemaName != nil && len(*s.SchemaName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) + } + if s.MappedInputFields != nil { + for i, v := range s.MappedInputFields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MappedInputFields", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateSchemaMappingInput) SetDescription(v string) *CreateSchemaMappingInput { + s.Description = &v + return s +} + +// SetMappedInputFields sets the MappedInputFields field's value. +func (s *CreateSchemaMappingInput) SetMappedInputFields(v []*SchemaInputAttribute) *CreateSchemaMappingInput { + s.MappedInputFields = v + return s +} + +// SetSchemaName sets the SchemaName field's value. +func (s *CreateSchemaMappingInput) SetSchemaName(v string) *CreateSchemaMappingInput { + s.SchemaName = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateSchemaMappingInput) SetTags(v map[string]*string) *CreateSchemaMappingInput { + s.Tags = v + return s +} + +type CreateSchemaMappingOutput struct { + _ struct{} `type:"structure"` + + // A description of the schema. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // 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. + // + // MappedInputFields is a required field + MappedInputFields []*SchemaInputAttribute `locationName:"mappedInputFields" min:"2" type:"list" required:"true"` + + // The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping. + // + // SchemaArn is a required field + SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"` + + // The name of the schema. + // + // SchemaName is a required field + SchemaName *string `locationName:"schemaName" 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 CreateSchemaMappingOutput) 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 CreateSchemaMappingOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *CreateSchemaMappingOutput) SetDescription(v string) *CreateSchemaMappingOutput { + s.Description = &v + return s +} + +// SetMappedInputFields sets the MappedInputFields field's value. +func (s *CreateSchemaMappingOutput) SetMappedInputFields(v []*SchemaInputAttribute) *CreateSchemaMappingOutput { + s.MappedInputFields = 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 DeleteMatchingWorkflowInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // 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"` +} + +// 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 DeleteMatchingWorkflowInput) 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 DeleteMatchingWorkflowInput) 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")) + } + 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 *DeleteMatchingWorkflowInput) SetWorkflowName(v string) *DeleteMatchingWorkflowInput { + s.WorkflowName = &v + return s +} + +type DeleteMatchingWorkflowOutput 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 DeleteMatchingWorkflowOutput) 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 DeleteMatchingWorkflowOutput) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *DeleteMatchingWorkflowOutput) SetMessage(v string) *DeleteMatchingWorkflowOutput { + s.Message = &v + return s +} + +type DeleteSchemaMappingInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the schema to delete. + // + // SchemaName is a required field + SchemaName *string `location:"uri" locationName:"schemaName" 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 DeleteSchemaMappingInput) 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 DeleteSchemaMappingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteSchemaMappingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteSchemaMappingInput"} + if s.SchemaName == nil { + invalidParams.Add(request.NewErrParamRequired("SchemaName")) + } + if s.SchemaName != nil && len(*s.SchemaName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSchemaName sets the SchemaName field's value. +func (s *DeleteSchemaMappingInput) SetSchemaName(v string) *DeleteSchemaMappingInput { + s.SchemaName = &v + return s +} + +type DeleteSchemaMappingOutput 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 DeleteSchemaMappingOutput) 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 DeleteSchemaMappingOutput) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *DeleteSchemaMappingOutput) SetMessage(v string) *DeleteSchemaMappingOutput { + s.Message = &v + return s +} + +// An object containing an error message, if there was an error. +type ErrorDetails struct { + _ struct{} `type:"structure"` + + // The error message from the job, if there is one. + ErrorMessage *string `locationName:"errorMessage" 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 ErrorDetails) 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 ErrorDetails) GoString() string { + return s.String() +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *ErrorDetails) SetErrorMessage(v string) *ErrorDetails { + s.ErrorMessage = &v + return s +} + +// 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 +type ExceedsLimitException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" min:"1" type:"string"` + + // The name of the quota that has been breached. + QuotaName *string `locationName:"quotaName" type:"string"` + + // The current quota value for the customers. + QuotaValue *int64 `locationName:"quotaValue" type:"integer"` +} + +// 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 ExceedsLimitException) 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 ExceedsLimitException) GoString() string { + return s.String() +} + +func newErrorExceedsLimitException(v protocol.ResponseMetadata) error { + return &ExceedsLimitException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ExceedsLimitException) Code() string { + return "ExceedsLimitException" +} + +// Message returns the exception's message. +func (s *ExceedsLimitException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ExceedsLimitException) OrigErr() error { + return nil +} + +func (s *ExceedsLimitException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ExceedsLimitException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ExceedsLimitException) RequestID() string { + return s.RespMetadata.RequestID +} + +type GetIdMappingJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the job. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" type:"string" required:"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 GetIdMappingJobInput) 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 GetIdMappingJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetIdMappingJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIdMappingJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 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 invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *GetIdMappingJobInput) SetJobId(v string) *GetIdMappingJobInput { + s.JobId = &v + return s +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *GetIdMappingJobInput) SetWorkflowName(v string) *GetIdMappingJobInput { + s.WorkflowName = &v + return s +} + +type GetIdMappingJobOutput struct { + _ struct{} `type:"structure"` + + // The time at which the job has finished. + EndTime *time.Time `locationName:"endTime" type:"timestamp"` + + // An object containing an error message, if there was an error. + ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` + + // The ID of the job. + // + // JobId is a required field + JobId *string `locationName:"jobId" type:"string" required:"true"` + + // Metrics associated with the execution, specifically total records processed, + // unique IDs generated, and records the execution skipped. + Metrics *IdMappingJobMetrics `locationName:"metrics" type:"structure"` + + // The time at which the job was started. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + + // The current status of the job. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` +} + +// 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 GetIdMappingJobOutput) 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 GetIdMappingJobOutput) GoString() string { + return s.String() +} + +// SetEndTime sets the EndTime field's value. +func (s *GetIdMappingJobOutput) SetEndTime(v time.Time) *GetIdMappingJobOutput { + s.EndTime = &v + return s +} + +// SetErrorDetails sets the ErrorDetails field's value. +func (s *GetIdMappingJobOutput) SetErrorDetails(v *ErrorDetails) *GetIdMappingJobOutput { + s.ErrorDetails = v + return s +} + +// SetJobId sets the JobId field's value. +func (s *GetIdMappingJobOutput) SetJobId(v string) *GetIdMappingJobOutput { + s.JobId = &v + return s +} + +// SetMetrics sets the Metrics field's value. +func (s *GetIdMappingJobOutput) SetMetrics(v *IdMappingJobMetrics) *GetIdMappingJobOutput { + s.Metrics = 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 is a required field + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + + // 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"` + + // 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 +} + +// SetWorkflowName sets the WorkflowName field's value. +func (s *GetIdMappingWorkflowOutput) SetWorkflowName(v string) *GetIdMappingWorkflowOutput { + s.WorkflowName = &v + return s +} - Message_ *string `locationName:"message" min:"1" type:"string"` +type GetMatchIdInput struct { + _ struct{} `type:"structure"` + + // The record to fetch the Match ID for. + // + // Record is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GetMatchIdInput's + // String and GoString methods. + // + // Record is a required field + Record map[string]*string `locationName:"record" type:"map" required:"true" sensitive:"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. @@ -1725,7 +4377,7 @@ type AccessDeniedException 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 AccessDeniedException) String() string { +func (s GetMatchIdInput) String() string { return awsutil.Prettify(s) } @@ -1734,56 +4386,84 @@ func (s AccessDeniedException) 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 AccessDeniedException) GoString() string { +func (s GetMatchIdInput) GoString() string { return s.String() } -func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { - return &AccessDeniedException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMatchIdInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMatchIdInput"} + if s.Record == nil { + invalidParams.Add(request.NewErrParamRequired("Record")) + } + 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 } -// Code returns the exception type name. -func (s *AccessDeniedException) Code() string { - return "AccessDeniedException" +// SetRecord sets the Record field's value. +func (s *GetMatchIdInput) SetRecord(v map[string]*string) *GetMatchIdInput { + s.Record = v + return s } -// Message returns the exception's message. -func (s *AccessDeniedException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetWorkflowName sets the WorkflowName field's value. +func (s *GetMatchIdInput) SetWorkflowName(v string) *GetMatchIdInput { + s.WorkflowName = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *AccessDeniedException) OrigErr() error { - return nil +type GetMatchIdOutput struct { + _ struct{} `type:"structure"` + + // The unique identifiers for this group of match records. + MatchId *string `locationName:"matchId" type:"string"` } -func (s *AccessDeniedException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// 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 GetMatchIdOutput) String() string { + return awsutil.Prettify(s) } -// Status code returns the HTTP status code for the request's response error. -func (s *AccessDeniedException) StatusCode() int { - return s.RespMetadata.StatusCode +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetMatchIdOutput) GoString() string { + return s.String() } -// RequestID returns the service's response RequestID for request. -func (s *AccessDeniedException) RequestID() string { - return s.RespMetadata.RequestID +// SetMatchId sets the MatchId field's value. +func (s *GetMatchIdOutput) SetMatchId(v string) *GetMatchIdOutput { + s.MatchId = &v + return s } -// 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 -type ConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type GetMatchingJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` - Message_ *string `locationName:"message" min:"1" type:"string"` + // The ID of the job. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"jobId" type:"string" required:"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. @@ -1791,7 +4471,7 @@ type ConflictException 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 ConflictException) String() string { +func (s GetMatchingJobInput) String() string { return awsutil.Prettify(s) } @@ -1800,88 +4480,134 @@ func (s ConflictException) 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 ConflictException) GoString() string { +func (s GetMatchingJobInput) GoString() string { return s.String() } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMatchingJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMatchingJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) } -} - -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" -} - -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.WorkflowName == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowName")) + } + if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetJobId sets the JobId field's value. +func (s *GetMatchingJobInput) SetJobId(v string) *GetMatchingJobInput { + s.JobId = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID +// SetWorkflowName sets the WorkflowName field's value. +func (s *GetMatchingJobInput) SetWorkflowName(v string) *GetMatchingJobInput { + s.WorkflowName = &v + return s } -type CreateMatchingWorkflowInput struct { +type GetMatchingJobOutput struct { _ struct{} `type:"structure"` - // A description of the workflow. - Description *string `locationName:"description" type:"string"` + // The time at which the job has finished. + EndTime *time.Time `locationName:"endTime" type:"timestamp"` - // An object which defines an incremental run type and has only incrementalRunType - // as a field. - IncrementalRunConfig *IncrementalRunConfig `locationName:"incrementalRunConfig" type:"structure"` + // An object containing an error message, if there was an error. + ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` - // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. + // The ID of the job. // - // InputSourceConfig is a required field - InputSourceConfig []*InputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` + // JobId is a required field + JobId *string `locationName:"jobId" type:"string" required:"true"` - // A list of OutputSource objects, each of which contains fields OutputS3Path, - // ApplyNormalization, and Output. - // - // OutputSourceConfig is a required field - OutputSourceConfig []*OutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + // Metrics associated with the execution, specifically total records processed, + // unique IDs generated, and records the execution skipped. + Metrics *JobMetrics `locationName:"metrics" type:"structure"` - // An object which defines the resolutionType and the ruleBasedProperties. + // The time at which the job was started. // - // ResolutionTechniques is a required field - ResolutionTechniques *ResolutionTechniques `locationName:"resolutionTechniques" type:"structure" required:"true"` + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` - // 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. + // The current status of the job. // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` +} + +// 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 GetMatchingJobOutput) 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 GetMatchingJobOutput) GoString() string { + return s.String() +} + +// SetEndTime sets the EndTime field's value. +func (s *GetMatchingJobOutput) SetEndTime(v time.Time) *GetMatchingJobOutput { + s.EndTime = &v + return s +} + +// SetErrorDetails sets the ErrorDetails field's value. +func (s *GetMatchingJobOutput) SetErrorDetails(v *ErrorDetails) *GetMatchingJobOutput { + s.ErrorDetails = v + return s +} + +// SetJobId sets the JobId field's value. +func (s *GetMatchingJobOutput) SetJobId(v string) *GetMatchingJobOutput { + s.JobId = &v + return s +} + +// SetMetrics sets the Metrics field's value. +func (s *GetMatchingJobOutput) SetMetrics(v *JobMetrics) *GetMatchingJobOutput { + s.Metrics = v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetMatchingJobOutput) SetStartTime(v time.Time) *GetMatchingJobOutput { + s.StartTime = &v + return s +} - // The tags used to organize, track, or control access for this resource. - Tags map[string]*string `locationName:"tags" type:"map"` +// SetStatus sets the Status field's value. +func (s *GetMatchingJobOutput) SetStatus(v string) *GetMatchingJobOutput { + s.Status = &v + return s +} + +type GetMatchingWorkflowInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The name of the workflow. There cannot be multiple DataIntegrationWorkflows - // with the same name. + // The name of the workflow. // // WorkflowName is a required field - WorkflowName *string `locationName:"workflowName" type:"string" required:"true"` + WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -1889,7 +4615,7 @@ type CreateMatchingWorkflowInput 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 CreateMatchingWorkflowInput) String() string { +func (s GetMatchingWorkflowInput) String() string { return awsutil.Prettify(s) } @@ -1898,58 +4624,18 @@ func (s CreateMatchingWorkflowInput) 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 CreateMatchingWorkflowInput) GoString() string { +func (s GetMatchingWorkflowInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateMatchingWorkflowInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateMatchingWorkflowInput"} - if s.InputSourceConfig == nil { - invalidParams.Add(request.NewErrParamRequired("InputSourceConfig")) - } - 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.ResolutionTechniques == nil { - invalidParams.Add(request.NewErrParamRequired("ResolutionTechniques")) - } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } +func (s *GetMatchingWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMatchingWorkflowInput"} if s.WorkflowName == nil { invalidParams.Add(request.NewErrParamRequired("WorkflowName")) } - 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 s.ResolutionTechniques != nil { - if err := s.ResolutionTechniques.Validate(); err != nil { - invalidParams.AddNested("ResolutionTechniques", err.(request.ErrInvalidParams)) - } + if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) } if invalidParams.Len() > 0 { @@ -1958,57 +4644,20 @@ func (s *CreateMatchingWorkflowInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateMatchingWorkflowInput) SetDescription(v string) *CreateMatchingWorkflowInput { - s.Description = &v - return s -} - -// SetIncrementalRunConfig sets the IncrementalRunConfig field's value. -func (s *CreateMatchingWorkflowInput) SetIncrementalRunConfig(v *IncrementalRunConfig) *CreateMatchingWorkflowInput { - s.IncrementalRunConfig = v - return s -} - -// SetInputSourceConfig sets the InputSourceConfig field's value. -func (s *CreateMatchingWorkflowInput) SetInputSourceConfig(v []*InputSource) *CreateMatchingWorkflowInput { - s.InputSourceConfig = v - return s -} - -// SetOutputSourceConfig sets the OutputSourceConfig field's value. -func (s *CreateMatchingWorkflowInput) SetOutputSourceConfig(v []*OutputSource) *CreateMatchingWorkflowInput { - s.OutputSourceConfig = v - return s -} - -// SetResolutionTechniques sets the ResolutionTechniques field's value. -func (s *CreateMatchingWorkflowInput) SetResolutionTechniques(v *ResolutionTechniques) *CreateMatchingWorkflowInput { - s.ResolutionTechniques = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateMatchingWorkflowInput) SetRoleArn(v string) *CreateMatchingWorkflowInput { - s.RoleArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateMatchingWorkflowInput) SetTags(v map[string]*string) *CreateMatchingWorkflowInput { - s.Tags = v - return s -} - // SetWorkflowName sets the WorkflowName field's value. -func (s *CreateMatchingWorkflowInput) SetWorkflowName(v string) *CreateMatchingWorkflowInput { +func (s *GetMatchingWorkflowInput) SetWorkflowName(v string) *GetMatchingWorkflowInput { s.WorkflowName = &v return s } -type CreateMatchingWorkflowOutput struct { +type GetMatchingWorkflowOutput 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"` @@ -2033,11 +4682,19 @@ type CreateMatchingWorkflowOutput struct { ResolutionTechniques *ResolutionTechniques `locationName:"resolutionTechniques" type:"structure" required:"true"` // 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. + // this role to access resources on your behalf. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" 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 MatchingWorkflow. // // WorkflowArn is a required field @@ -2046,7 +4703,7 @@ type CreateMatchingWorkflowOutput struct { // The name of the workflow. // // WorkflowName is a required field - WorkflowName *string `locationName:"workflowName" type:"string" required:"true"` + WorkflowName *string `locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -2054,7 +4711,7 @@ type CreateMatchingWorkflowOutput 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 CreateMatchingWorkflowOutput) String() string { +func (s GetMatchingWorkflowOutput) String() string { return awsutil.Prettify(s) } @@ -2063,79 +4720,83 @@ func (s CreateMatchingWorkflowOutput) 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 CreateMatchingWorkflowOutput) GoString() string { +func (s GetMatchingWorkflowOutput) GoString() string { return s.String() } +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetMatchingWorkflowOutput) SetCreatedAt(v time.Time) *GetMatchingWorkflowOutput { + s.CreatedAt = &v + return s +} + // SetDescription sets the Description field's value. -func (s *CreateMatchingWorkflowOutput) SetDescription(v string) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetDescription(v string) *GetMatchingWorkflowOutput { s.Description = &v return s } // SetIncrementalRunConfig sets the IncrementalRunConfig field's value. -func (s *CreateMatchingWorkflowOutput) SetIncrementalRunConfig(v *IncrementalRunConfig) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetIncrementalRunConfig(v *IncrementalRunConfig) *GetMatchingWorkflowOutput { s.IncrementalRunConfig = v return s } // SetInputSourceConfig sets the InputSourceConfig field's value. -func (s *CreateMatchingWorkflowOutput) SetInputSourceConfig(v []*InputSource) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetInputSourceConfig(v []*InputSource) *GetMatchingWorkflowOutput { s.InputSourceConfig = v return s } // SetOutputSourceConfig sets the OutputSourceConfig field's value. -func (s *CreateMatchingWorkflowOutput) SetOutputSourceConfig(v []*OutputSource) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetOutputSourceConfig(v []*OutputSource) *GetMatchingWorkflowOutput { s.OutputSourceConfig = v return s } // SetResolutionTechniques sets the ResolutionTechniques field's value. -func (s *CreateMatchingWorkflowOutput) SetResolutionTechniques(v *ResolutionTechniques) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetResolutionTechniques(v *ResolutionTechniques) *GetMatchingWorkflowOutput { s.ResolutionTechniques = v return s } // SetRoleArn sets the RoleArn field's value. -func (s *CreateMatchingWorkflowOutput) SetRoleArn(v string) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetRoleArn(v string) *GetMatchingWorkflowOutput { s.RoleArn = &v return s } +// SetTags sets the Tags field's value. +func (s *GetMatchingWorkflowOutput) SetTags(v map[string]*string) *GetMatchingWorkflowOutput { + s.Tags = v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetMatchingWorkflowOutput) SetUpdatedAt(v time.Time) *GetMatchingWorkflowOutput { + s.UpdatedAt = &v + return s +} + // SetWorkflowArn sets the WorkflowArn field's value. -func (s *CreateMatchingWorkflowOutput) SetWorkflowArn(v string) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetWorkflowArn(v string) *GetMatchingWorkflowOutput { s.WorkflowArn = &v return s } // SetWorkflowName sets the WorkflowName field's value. -func (s *CreateMatchingWorkflowOutput) SetWorkflowName(v string) *CreateMatchingWorkflowOutput { +func (s *GetMatchingWorkflowOutput) SetWorkflowName(v string) *GetMatchingWorkflowOutput { s.WorkflowName = &v return s } -type CreateSchemaMappingInput struct { - _ struct{} `type:"structure"` - - // A description of the schema. - Description *string `locationName:"description" type:"string"` - - // 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. - // - // MappedInputFields is a required field - MappedInputFields []*SchemaInputAttribute `locationName:"mappedInputFields" min:"2" type:"list" required:"true"` +type GetSchemaMappingInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The name of the schema. There cannot be multiple SchemaMappings with the - // same name. + // The name of the schema to be retrieved. // // SchemaName is a required field - SchemaName *string `locationName:"schemaName" type:"string" required:"true"` - - // The tags used to organize, track, or control access for this resource. - Tags map[string]*string `locationName:"tags" type:"map"` + SchemaName *string `location:"uri" locationName:"schemaName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -2143,7 +4804,7 @@ type CreateSchemaMappingInput 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 CreateSchemaMappingInput) String() string { +func (s GetSchemaMappingInput) String() string { return awsutil.Prettify(s) } @@ -2152,31 +4813,18 @@ func (s CreateSchemaMappingInput) 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 CreateSchemaMappingInput) GoString() string { +func (s GetSchemaMappingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateSchemaMappingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateSchemaMappingInput"} - if s.MappedInputFields == nil { - invalidParams.Add(request.NewErrParamRequired("MappedInputFields")) - } - if s.MappedInputFields != nil && len(s.MappedInputFields) < 2 { - invalidParams.Add(request.NewErrParamMinLen("MappedInputFields", 2)) - } +func (s *GetSchemaMappingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSchemaMappingInput"} if s.SchemaName == nil { invalidParams.Add(request.NewErrParamRequired("SchemaName")) } - if s.MappedInputFields != nil { - for i, v := range s.MappedInputFields { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MappedInputFields", i), err.(request.ErrInvalidParams)) - } - } + if s.SchemaName != nil && len(*s.SchemaName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) } if invalidParams.Len() > 0 { @@ -2185,41 +4833,31 @@ func (s *CreateSchemaMappingInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateSchemaMappingInput) SetDescription(v string) *CreateSchemaMappingInput { - s.Description = &v - return s -} - -// SetMappedInputFields sets the MappedInputFields field's value. -func (s *CreateSchemaMappingInput) SetMappedInputFields(v []*SchemaInputAttribute) *CreateSchemaMappingInput { - s.MappedInputFields = v - return s -} - // SetSchemaName sets the SchemaName field's value. -func (s *CreateSchemaMappingInput) SetSchemaName(v string) *CreateSchemaMappingInput { +func (s *GetSchemaMappingInput) SetSchemaName(v string) *GetSchemaMappingInput { s.SchemaName = &v return s } -// SetTags sets the Tags field's value. -func (s *CreateSchemaMappingInput) SetTags(v map[string]*string) *CreateSchemaMappingInput { - s.Tags = v - return s -} - -type CreateSchemaMappingOutput struct { +type GetSchemaMappingOutput struct { _ struct{} `type:"structure"` + // The timestamp of when the SchemaMapping was created. + // + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` + // A description of the schema. + Description *string `locationName:"description" type:"string"` + + // Specifies whether the schema mapping has been applied to a workflow. // - // Description is a required field - Description *string `locationName:"description" type:"string" required:"true"` + // HasWorkflows is a required field + HasWorkflows *bool `locationName:"hasWorkflows" type:"boolean" required:"true"` // 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. + // Venice uses for matching. // // MappedInputFields is a required field MappedInputFields []*SchemaInputAttribute `locationName:"mappedInputFields" min:"2" type:"list" required:"true"` @@ -2232,7 +4870,15 @@ type CreateSchemaMappingOutput struct { // The name of the schema. // // SchemaName is a required field - SchemaName *string `locationName:"schemaName" type:"string" required:"true"` + SchemaName *string `locationName:"schemaName" min:"1" 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 SchemaMapping was last updated. + // + // UpdatedAt is a required field + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` } // String returns the string representation. @@ -2240,7 +4886,7 @@ type CreateSchemaMappingOutput 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 CreateSchemaMappingOutput) String() string { +func (s GetSchemaMappingOutput) String() string { return awsutil.Prettify(s) } @@ -2249,41 +4895,70 @@ func (s CreateSchemaMappingOutput) 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 CreateSchemaMappingOutput) GoString() string { +func (s GetSchemaMappingOutput) GoString() string { return s.String() } +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetSchemaMappingOutput) SetCreatedAt(v time.Time) *GetSchemaMappingOutput { + s.CreatedAt = &v + return s +} + // SetDescription sets the Description field's value. -func (s *CreateSchemaMappingOutput) SetDescription(v string) *CreateSchemaMappingOutput { +func (s *GetSchemaMappingOutput) SetDescription(v string) *GetSchemaMappingOutput { s.Description = &v return s } +// SetHasWorkflows sets the HasWorkflows field's value. +func (s *GetSchemaMappingOutput) SetHasWorkflows(v bool) *GetSchemaMappingOutput { + s.HasWorkflows = &v + return s +} + // SetMappedInputFields sets the MappedInputFields field's value. -func (s *CreateSchemaMappingOutput) SetMappedInputFields(v []*SchemaInputAttribute) *CreateSchemaMappingOutput { +func (s *GetSchemaMappingOutput) SetMappedInputFields(v []*SchemaInputAttribute) *GetSchemaMappingOutput { s.MappedInputFields = v return s } // SetSchemaArn sets the SchemaArn field's value. -func (s *CreateSchemaMappingOutput) SetSchemaArn(v string) *CreateSchemaMappingOutput { +func (s *GetSchemaMappingOutput) SetSchemaArn(v string) *GetSchemaMappingOutput { s.SchemaArn = &v return s } // SetSchemaName sets the SchemaName field's value. -func (s *CreateSchemaMappingOutput) SetSchemaName(v string) *CreateSchemaMappingOutput { +func (s *GetSchemaMappingOutput) SetSchemaName(v string) *GetSchemaMappingOutput { s.SchemaName = &v return s } -type DeleteMatchingWorkflowInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetTags sets the Tags field's value. +func (s *GetSchemaMappingOutput) SetTags(v map[string]*string) *GetSchemaMappingOutput { + s.Tags = v + return s +} - // The name of the workflow to be retrieved. - // - // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetSchemaMappingOutput) SetUpdatedAt(v time.Time) *GetSchemaMappingOutput { + s.UpdatedAt = &v + return s +} + +// An object containing InputRecords, TotalRecordsProcessed, MatchIDs, and RecordsNotProcessed. +type IdMappingJobMetrics struct { + _ struct{} `type:"structure"` + + // The total number of input records. + InputRecords *int64 `locationName:"inputRecords" type:"integer"` + + // The total number of records that did not get processed. + RecordsNotProcessed *int64 `locationName:"recordsNotProcessed" type:"integer"` + + // The total number of records processed. + TotalRecordsProcessed *int64 `locationName:"totalRecordsProcessed" type:"integer"` } // String returns the string representation. @@ -2291,7 +4966,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 IdMappingJobMetrics) String() string { return awsutil.Prettify(s) } @@ -2300,39 +4975,42 @@ 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 IdMappingJobMetrics) 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")) - } - if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) - } +// SetInputRecords sets the InputRecords field's value. +func (s *IdMappingJobMetrics) SetInputRecords(v int64) *IdMappingJobMetrics { + s.InputRecords = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetRecordsNotProcessed sets the RecordsNotProcessed field's value. +func (s *IdMappingJobMetrics) SetRecordsNotProcessed(v int64) *IdMappingJobMetrics { + s.RecordsNotProcessed = &v + return s } -// SetWorkflowName sets the WorkflowName field's value. -func (s *DeleteMatchingWorkflowInput) SetWorkflowName(v string) *DeleteMatchingWorkflowInput { - s.WorkflowName = &v +// SetTotalRecordsProcessed sets the TotalRecordsProcessed field's value. +func (s *IdMappingJobMetrics) SetTotalRecordsProcessed(v int64) *IdMappingJobMetrics { + s.TotalRecordsProcessed = &v return s } -type DeleteMatchingWorkflowOutput struct { +// An object which defines the ID mapping techniques and provider configurations. +type IdMappingTechniques struct { _ struct{} `type:"structure"` - // A successful operation message. + // The type of ID mapping. // - // Message is a required field - Message *string `locationName:"message" type:"string" required:"true"` + // 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 is a required field + ProviderProperties *ProviderProperties `locationName:"providerProperties" type:"structure" required:"true"` } // String returns the string representation. @@ -2340,7 +5018,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 IdMappingTechniques) String() string { return awsutil.Prettify(s) } @@ -2349,23 +5027,56 @@ 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 IdMappingTechniques) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *DeleteMatchingWorkflowOutput) SetMessage(v string) *DeleteMatchingWorkflowOutput { - s.Message = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *IdMappingTechniques) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IdMappingTechniques"} + 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)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdMappingType sets the IdMappingType field's value. +func (s *IdMappingTechniques) SetIdMappingType(v string) *IdMappingTechniques { + s.IdMappingType = &v return s } -type DeleteSchemaMappingInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetProviderProperties sets the ProviderProperties field's value. +func (s *IdMappingTechniques) SetProviderProperties(v *ProviderProperties) *IdMappingTechniques { + s.ProviderProperties = v + return s +} - // The name of the schema to delete. +// An object containing InputSourceARN and SchemaName. +type IdMappingWorkflowInputSource struct { + _ struct{} `type:"structure"` + + // An Gluetable 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 is a required field - SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` + SchemaName *string `locationName:"schemaName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -2373,7 +5084,7 @@ type DeleteSchemaMappingInput 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 DeleteSchemaMappingInput) String() string { +func (s IdMappingWorkflowInputSource) String() string { return awsutil.Prettify(s) } @@ -2382,13 +5093,16 @@ func (s DeleteSchemaMappingInput) 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 DeleteSchemaMappingInput) GoString() string { +func (s IdMappingWorkflowInputSource) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteSchemaMappingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteSchemaMappingInput"} +func (s *IdMappingWorkflowInputSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IdMappingWorkflowInputSource"} + if s.InputSourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("InputSourceARN")) + } if s.SchemaName == nil { invalidParams.Add(request.NewErrParamRequired("SchemaName")) } @@ -2402,91 +5116,30 @@ func (s *DeleteSchemaMappingInput) Validate() error { return nil } -// SetSchemaName sets the SchemaName field's value. -func (s *DeleteSchemaMappingInput) SetSchemaName(v string) *DeleteSchemaMappingInput { - s.SchemaName = &v +// SetInputSourceARN sets the InputSourceARN field's value. +func (s *IdMappingWorkflowInputSource) SetInputSourceARN(v string) *IdMappingWorkflowInputSource { + s.InputSourceARN = &v return s } -type DeleteSchemaMappingOutput 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 DeleteSchemaMappingOutput) 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 DeleteSchemaMappingOutput) GoString() string { - return s.String() -} - -// SetMessage sets the Message field's value. -func (s *DeleteSchemaMappingOutput) SetMessage(v string) *DeleteSchemaMappingOutput { - s.Message = &v +// SetSchemaName sets the SchemaName field's value. +func (s *IdMappingWorkflowInputSource) SetSchemaName(v string) *IdMappingWorkflowInputSource { + s.SchemaName = &v return s } -// An object containing an error message, if there was an error. -type ErrorDetails struct { +// The output source for the ID mapping workflow. +type IdMappingWorkflowOutputSource struct { _ struct{} `type:"structure"` - // The error message from the job, if there is one. - ErrorMessage *string `locationName:"errorMessage" 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 ErrorDetails) 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 ErrorDetails) GoString() string { - return s.String() -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *ErrorDetails) SetErrorMessage(v string) *ErrorDetails { - s.ErrorMessage = &v - return s -} - -// 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 -type ExceedsLimitException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" min:"1" type:"string"` - - // The name of the quota that has been breached. - QuotaName *string `locationName:"quotaName" type:"string"` + // Customer KMS ARN for encryption at rest. If not provided, system will use + // an Entity Resolution managed KMS key. + KMSArn *string `type:"string"` - // The current quota value for the customers. - QuotaValue *int64 `locationName:"quotaValue" type:"integer"` + // 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"` } // String returns the string representation. @@ -2494,7 +5147,7 @@ type ExceedsLimitException 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 ExceedsLimitException) String() string { +func (s IdMappingWorkflowOutputSource) String() string { return awsutil.Prettify(s) } @@ -2503,64 +5156,62 @@ func (s ExceedsLimitException) 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 ExceedsLimitException) GoString() string { +func (s IdMappingWorkflowOutputSource) GoString() string { return s.String() } -func newErrorExceedsLimitException(v protocol.ResponseMetadata) error { - return &ExceedsLimitException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *IdMappingWorkflowOutputSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IdMappingWorkflowOutputSource"} + if s.OutputS3Path == nil { + invalidParams.Add(request.NewErrParamRequired("OutputS3Path")) } -} - -// Code returns the exception type name. -func (s *ExceedsLimitException) Code() string { - return "ExceedsLimitException" -} - -// Message returns the exception's message. -func (s *ExceedsLimitException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.OutputS3Path != nil && len(*s.OutputS3Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutputS3Path", 1)) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ExceedsLimitException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *ExceedsLimitException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ExceedsLimitException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetKMSArn sets the KMSArn field's value. +func (s *IdMappingWorkflowOutputSource) SetKMSArn(v string) *IdMappingWorkflowOutputSource { + s.KMSArn = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ExceedsLimitException) RequestID() string { - return s.RespMetadata.RequestID +// SetOutputS3Path sets the OutputS3Path field's value. +func (s *IdMappingWorkflowOutputSource) SetOutputS3Path(v string) *IdMappingWorkflowOutputSource { + s.OutputS3Path = &v + return s } -type GetMatchIdInput struct { +// A list of IdMappingWorkflowSummary objects, each of which contain the fields +// WorkflowName, WorkflowArn, CreatedAt, and UpdatedAt. +type IdMappingWorkflowSummary struct { _ struct{} `type:"structure"` - // The record to fetch the Match ID for. + // The timestamp of when the workflow was created. // - // Record is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by GetMatchIdInput's - // String and GoString methods. + // CreatedAt is a required field + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` + + // The timestamp of when the workflow was last updated. // - // Record is a required field - Record map[string]*string `locationName:"record" type:"map" required:"true" sensitive:"true"` + // 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 `location:"uri" locationName:"workflowName" type:"string" required:"true"` + WorkflowName *string `locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -2568,7 +5219,7 @@ type GetMatchIdInput 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 GetMatchIdInput) String() string { +func (s IdMappingWorkflowSummary) String() string { return awsutil.Prettify(s) } @@ -2577,46 +5228,41 @@ func (s GetMatchIdInput) 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 GetMatchIdInput) GoString() string { +func (s IdMappingWorkflowSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetMatchIdInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetMatchIdInput"} - if s.Record == nil { - invalidParams.Add(request.NewErrParamRequired("Record")) - } - if s.WorkflowName == nil { - invalidParams.Add(request.NewErrParamRequired("WorkflowName")) - } - if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) - } +// SetCreatedAt sets the CreatedAt field's value. +func (s *IdMappingWorkflowSummary) SetCreatedAt(v time.Time) *IdMappingWorkflowSummary { + s.CreatedAt = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *IdMappingWorkflowSummary) SetUpdatedAt(v time.Time) *IdMappingWorkflowSummary { + s.UpdatedAt = &v + return s } -// SetRecord sets the Record field's value. -func (s *GetMatchIdInput) SetRecord(v map[string]*string) *GetMatchIdInput { - s.Record = v +// SetWorkflowArn sets the WorkflowArn field's value. +func (s *IdMappingWorkflowSummary) SetWorkflowArn(v string) *IdMappingWorkflowSummary { + s.WorkflowArn = &v return s } // SetWorkflowName sets the WorkflowName field's value. -func (s *GetMatchIdInput) SetWorkflowName(v string) *GetMatchIdInput { +func (s *IdMappingWorkflowSummary) SetWorkflowName(v string) *IdMappingWorkflowSummary { s.WorkflowName = &v return s } -type GetMatchIdOutput struct { +// An object which defines an incremental run type and has only incrementalRunType +// as a field. +type IncrementalRunConfig struct { _ struct{} `type:"structure"` - // The unique identifiers for this group of match records. - MatchId *string `locationName:"matchId" type:"string"` + // The type of incremental run. It takes only one value: IMMEDIATE. + IncrementalRunType *string `locationName:"incrementalRunType" type:"string" enum:"IncrementalRunType"` } // String returns the string representation. @@ -2624,7 +5270,7 @@ type GetMatchIdOutput 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 GetMatchIdOutput) String() string { +func (s IncrementalRunConfig) String() string { return awsutil.Prettify(s) } @@ -2633,28 +5279,35 @@ func (s GetMatchIdOutput) 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 GetMatchIdOutput) GoString() string { +func (s IncrementalRunConfig) GoString() string { return s.String() } -// SetMatchId sets the MatchId field's value. -func (s *GetMatchIdOutput) SetMatchId(v string) *GetMatchIdOutput { - s.MatchId = &v +// SetIncrementalRunType sets the IncrementalRunType field's value. +func (s *IncrementalRunConfig) SetIncrementalRunType(v string) *IncrementalRunConfig { + s.IncrementalRunType = &v return s } -type GetMatchingJobInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// An object containing InputSourceARN, SchemaName, and ApplyNormalization. +type InputSource struct { + _ struct{} `type:"structure"` - // The ID of the job. + // 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"` + + // An Glue table ARN for the input source table. // - // JobId is a required field - JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` + // InputSourceARN is a required field + InputSourceARN *string `locationName:"inputSourceARN" type:"string" required:"true"` - // The name of the workflow. + // The name of the schema to be retrieved. // - // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` + // SchemaName is a required field + SchemaName *string `locationName:"schemaName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -2662,7 +5315,7 @@ type GetMatchingJobInput 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 GetMatchingJobInput) String() string { +func (s InputSource) String() string { return awsutil.Prettify(s) } @@ -2671,24 +5324,21 @@ func (s GetMatchingJobInput) 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 GetMatchingJobInput) GoString() string { +func (s InputSource) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetMatchingJobInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetMatchingJobInput"} - if s.JobId == nil { - invalidParams.Add(request.NewErrParamRequired("JobId")) - } - if s.JobId != nil && len(*s.JobId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) +func (s *InputSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputSource"} + if s.InputSourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("InputSourceARN")) } - if s.WorkflowName == nil { - invalidParams.Add(request.NewErrParamRequired("WorkflowName")) + if s.SchemaName == nil { + invalidParams.Add(request.NewErrParamRequired("SchemaName")) } - if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + if s.SchemaName != nil && len(*s.SchemaName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) } if invalidParams.Len() > 0 { @@ -2697,45 +5347,33 @@ func (s *GetMatchingJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetMatchingJobInput) SetJobId(v string) *GetMatchingJobInput { - s.JobId = &v +// SetApplyNormalization sets the ApplyNormalization field's value. +func (s *InputSource) SetApplyNormalization(v bool) *InputSource { + s.ApplyNormalization = &v return s } -// SetWorkflowName sets the WorkflowName field's value. -func (s *GetMatchingJobInput) SetWorkflowName(v string) *GetMatchingJobInput { - s.WorkflowName = &v +// SetInputSourceARN sets the InputSourceARN field's value. +func (s *InputSource) SetInputSourceARN(v string) *InputSource { + s.InputSourceARN = &v return s } -type GetMatchingJobOutput struct { - _ struct{} `type:"structure"` - - // The time at which the job has finished. - EndTime *time.Time `locationName:"endTime" type:"timestamp"` - - // An object containing an error message, if there was an error. - ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` - - // The ID of the job. - // - // JobId is a required field - JobId *string `locationName:"jobId" type:"string" required:"true"` - - // Metrics associated with the execution, specifically total records processed, - // unique IDs generated, and records the execution skipped. - Metrics *JobMetrics `locationName:"metrics" type:"structure"` +// SetSchemaName sets the SchemaName field's value. +func (s *InputSource) SetSchemaName(v string) *InputSource { + s.SchemaName = &v + return s +} - // The time at which the job was started. - // - // StartTime is a required field - StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` +// The Amazon S3 location that temporarily stores your data while it processes. +// Your information won't be saved permanently. +type IntermediateSourceConfiguration struct { + _ struct{} `type:"structure"` - // The current status of the job. + // The Amazon S3 location (bucket and prefix). For example: s3://provider_bucket/DOC-EXAMPLE-BUCKET // - // Status is a required field - Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` + // IntermediateS3Path is a required field + IntermediateS3Path *string `locationName:"intermediateS3Path" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -2743,7 +5381,7 @@ type GetMatchingJobOutput 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 GetMatchingJobOutput) String() string { +func (s IntermediateSourceConfiguration) String() string { return awsutil.Prettify(s) } @@ -2752,53 +5390,39 @@ func (s GetMatchingJobOutput) 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 GetMatchingJobOutput) GoString() string { +func (s IntermediateSourceConfiguration) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *GetMatchingJobOutput) SetEndTime(v time.Time) *GetMatchingJobOutput { - s.EndTime = &v - return s -} - -// SetErrorDetails sets the ErrorDetails field's value. -func (s *GetMatchingJobOutput) SetErrorDetails(v *ErrorDetails) *GetMatchingJobOutput { - s.ErrorDetails = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *GetMatchingJobOutput) SetJobId(v string) *GetMatchingJobOutput { - s.JobId = &v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *GetMatchingJobOutput) SetMetrics(v *JobMetrics) *GetMatchingJobOutput { - s.Metrics = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *IntermediateSourceConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IntermediateSourceConfiguration"} + if s.IntermediateS3Path == nil { + invalidParams.Add(request.NewErrParamRequired("IntermediateS3Path")) + } + if s.IntermediateS3Path != nil && len(*s.IntermediateS3Path) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IntermediateS3Path", 1)) + } -// SetStartTime sets the StartTime field's value. -func (s *GetMatchingJobOutput) SetStartTime(v time.Time) *GetMatchingJobOutput { - s.StartTime = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *GetMatchingJobOutput) SetStatus(v string) *GetMatchingJobOutput { - s.Status = &v +// SetIntermediateS3Path sets the IntermediateS3Path field's value. +func (s *IntermediateSourceConfiguration) SetIntermediateS3Path(v string) *IntermediateSourceConfiguration { + s.IntermediateS3Path = &v return s } -type GetMatchingWorkflowInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// This exception occurs when there is an internal failure in the Entity Resolution +// service. HTTP Status Code: 500 +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The name of the workflow. - // - // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` + Message_ *string `locationName:"message" min:"1" type:"string"` } // String returns the string representation. @@ -2806,7 +5430,7 @@ type GetMatchingWorkflowInput 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 GetMatchingWorkflowInput) String() string { +func (s InternalServerException) String() string { return awsutil.Prettify(s) } @@ -2815,86 +5439,63 @@ func (s GetMatchingWorkflowInput) 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 GetMatchingWorkflowInput) GoString() string { +func (s InternalServerException) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetMatchingWorkflowInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetMatchingWorkflowInput"} - 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 +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, } - return nil } -// SetWorkflowName sets the WorkflowName field's value. -func (s *GetMatchingWorkflowInput) SetWorkflowName(v string) *GetMatchingWorkflowInput { - s.WorkflowName = &v - return s +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" } -type GetMatchingWorkflowOutput 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"` +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - // An object which defines an incremental run type and has only incrementalRunType - // as a field. - IncrementalRunConfig *IncrementalRunConfig `locationName:"incrementalRunConfig" type:"structure"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} - // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. - // - // InputSourceConfig is a required field - InputSourceConfig []*InputSource `locationName:"inputSourceConfig" min:"1" type:"list" required:"true"` +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} - // A list of OutputSource objects, each of which contains fields OutputS3Path, - // ApplyNormalization, and Output. - // - // OutputSourceConfig is a required field - OutputSourceConfig []*OutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // An object which defines the resolutionType and the ruleBasedProperties. - // - // ResolutionTechniques is a required field - ResolutionTechniques *ResolutionTechniques `locationName:"resolutionTechniques" type:"structure" required:"true"` +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} - // 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"` +// An object containing InputRecords, TotalRecordsProcessed, MatchIDs, and RecordsNotProcessed. +type JobMetrics struct { + _ struct{} `type:"structure"` - // The tags used to organize, track, or control access for this resource. - Tags map[string]*string `locationName:"tags" type:"map"` + // The total number of input records. + InputRecords *int64 `locationName:"inputRecords" type:"integer"` - // The timestamp of when the workflow was last updated. - // - // UpdatedAt is a required field - UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` + // The total number of matchIDs generated. + MatchIDs *int64 `locationName:"matchIDs" type:"integer"` - // The ARN (Amazon Resource Name) that Entity Resolution generated for the MatchingWorkflow. - // - // WorkflowArn is a required field - WorkflowArn *string `locationName:"workflowArn" type:"string" required:"true"` + // The total number of records that did not get processed. + RecordsNotProcessed *int64 `locationName:"recordsNotProcessed" type:"integer"` - // The name of the workflow. - // - // WorkflowName is a required field - WorkflowName *string `locationName:"workflowName" type:"string" required:"true"` + // The total number of records processed. + TotalRecordsProcessed *int64 `locationName:"totalRecordsProcessed" type:"integer"` } // String returns the string representation. @@ -2902,7 +5503,7 @@ type GetMatchingWorkflowOutput 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 GetMatchingWorkflowOutput) String() string { +func (s JobMetrics) String() string { return awsutil.Prettify(s) } @@ -2911,83 +5512,55 @@ func (s GetMatchingWorkflowOutput) 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 GetMatchingWorkflowOutput) GoString() string { +func (s JobMetrics) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetMatchingWorkflowOutput) SetCreatedAt(v time.Time) *GetMatchingWorkflowOutput { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetMatchingWorkflowOutput) SetDescription(v string) *GetMatchingWorkflowOutput { - s.Description = &v - return s -} - -// SetIncrementalRunConfig sets the IncrementalRunConfig field's value. -func (s *GetMatchingWorkflowOutput) SetIncrementalRunConfig(v *IncrementalRunConfig) *GetMatchingWorkflowOutput { - s.IncrementalRunConfig = v - return s -} - -// SetInputSourceConfig sets the InputSourceConfig field's value. -func (s *GetMatchingWorkflowOutput) SetInputSourceConfig(v []*InputSource) *GetMatchingWorkflowOutput { - s.InputSourceConfig = v - return s -} - -// SetOutputSourceConfig sets the OutputSourceConfig field's value. -func (s *GetMatchingWorkflowOutput) SetOutputSourceConfig(v []*OutputSource) *GetMatchingWorkflowOutput { - s.OutputSourceConfig = v +// SetInputRecords sets the InputRecords field's value. +func (s *JobMetrics) SetInputRecords(v int64) *JobMetrics { + s.InputRecords = &v return s } -// SetResolutionTechniques sets the ResolutionTechniques field's value. -func (s *GetMatchingWorkflowOutput) SetResolutionTechniques(v *ResolutionTechniques) *GetMatchingWorkflowOutput { - s.ResolutionTechniques = v +// SetMatchIDs sets the MatchIDs field's value. +func (s *JobMetrics) SetMatchIDs(v int64) *JobMetrics { + s.MatchIDs = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *GetMatchingWorkflowOutput) SetRoleArn(v string) *GetMatchingWorkflowOutput { - s.RoleArn = &v +// SetRecordsNotProcessed sets the RecordsNotProcessed field's value. +func (s *JobMetrics) SetRecordsNotProcessed(v int64) *JobMetrics { + s.RecordsNotProcessed = &v return s } -// SetTags sets the Tags field's value. -func (s *GetMatchingWorkflowOutput) SetTags(v map[string]*string) *GetMatchingWorkflowOutput { - s.Tags = v +// SetTotalRecordsProcessed sets the TotalRecordsProcessed field's value. +func (s *JobMetrics) SetTotalRecordsProcessed(v int64) *JobMetrics { + s.TotalRecordsProcessed = &v return s } -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *GetMatchingWorkflowOutput) SetUpdatedAt(v time.Time) *GetMatchingWorkflowOutput { - s.UpdatedAt = &v - return s -} +// An object containing the JobId, Status, StartTime, and EndTime of a job. +type JobSummary struct { + _ struct{} `type:"structure"` -// SetWorkflowArn sets the WorkflowArn field's value. -func (s *GetMatchingWorkflowOutput) SetWorkflowArn(v string) *GetMatchingWorkflowOutput { - s.WorkflowArn = &v - return s -} + // The time at which the job has finished. + EndTime *time.Time `locationName:"endTime" type:"timestamp"` -// SetWorkflowName sets the WorkflowName field's value. -func (s *GetMatchingWorkflowOutput) SetWorkflowName(v string) *GetMatchingWorkflowOutput { - s.WorkflowName = &v - return s -} + // The ID of the job. + // + // JobId is a required field + JobId *string `locationName:"jobId" type:"string" required:"true"` -type GetSchemaMappingInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // The time at which the job was started. + // + // StartTime is a required field + StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` - // The name of the schema to be retrieved. + // The current status of the job. // - // SchemaName is a required field - SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` } // String returns the string representation. @@ -2995,7 +5568,7 @@ type GetSchemaMappingInput 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 GetSchemaMappingInput) String() string { +func (s JobSummary) String() string { return awsutil.Prettify(s) } @@ -3004,67 +5577,47 @@ func (s GetSchemaMappingInput) 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 GetSchemaMappingInput) GoString() string { +func (s JobSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetSchemaMappingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetSchemaMappingInput"} - if s.SchemaName == nil { - invalidParams.Add(request.NewErrParamRequired("SchemaName")) - } - if s.SchemaName != nil && len(*s.SchemaName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetEndTime sets the EndTime field's value. +func (s *JobSummary) SetEndTime(v time.Time) *JobSummary { + s.EndTime = &v + return s } -// SetSchemaName sets the SchemaName field's value. -func (s *GetSchemaMappingInput) SetSchemaName(v string) *GetSchemaMappingInput { - s.SchemaName = &v +// SetJobId sets the JobId field's value. +func (s *JobSummary) SetJobId(v string) *JobSummary { + s.JobId = &v return s } -type GetSchemaMappingOutput struct { - _ struct{} `type:"structure"` - - // The timestamp of when the SchemaMapping was created. - // - // CreatedAt is a required field - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` - - // A description of the schema. - Description *string `locationName:"description" type:"string"` +// SetStartTime sets the StartTime field's value. +func (s *JobSummary) SetStartTime(v time.Time) *JobSummary { + s.StartTime = &v + return s +} - // A list of MappedInputFields. Each MappedInputField corresponds to a column - // the source data table, and contains column name plus additional information - // Venice uses for matching. - // - // MappedInputFields is a required field - MappedInputFields []*SchemaInputAttribute `locationName:"mappedInputFields" min:"2" type:"list" required:"true"` +// SetStatus sets the Status field's value. +func (s *JobSummary) SetStatus(v string) *JobSummary { + s.Status = &v + return s +} - // The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping. - // - // SchemaArn is a required field - SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"` +type ListIdMappingJobsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The name of the schema. - // - // SchemaName is a required field - SchemaName *string `locationName:"schemaName" type:"string" required:"true"` + // The maximum number of objects returned per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The tags used to organize, track, or control access for this resource. - Tags map[string]*string `locationName:"tags" type:"map"` + // The pagination token from the previous API call. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` - // The timestamp of when the SchemaMapping was last updated. + // The name of the workflow to be retrieved. // - // UpdatedAt is a required field - UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` + // WorkflowName is a required field + WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3072,7 +5625,7 @@ type GetSchemaMappingOutput 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 GetSchemaMappingOutput) String() string { +func (s ListIdMappingJobsInput) String() string { return awsutil.Prettify(s) } @@ -3081,59 +5634,58 @@ func (s GetSchemaMappingOutput) 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 GetSchemaMappingOutput) GoString() string { +func (s ListIdMappingJobsInput) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetSchemaMappingOutput) SetCreatedAt(v time.Time) *GetSchemaMappingOutput { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetSchemaMappingOutput) SetDescription(v string) *GetSchemaMappingOutput { - s.Description = &v - return s -} - -// SetMappedInputFields sets the MappedInputFields field's value. -func (s *GetSchemaMappingOutput) SetMappedInputFields(v []*SchemaInputAttribute) *GetSchemaMappingOutput { - s.MappedInputFields = v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListIdMappingJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIdMappingJobsInput"} + 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.WorkflowName == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowName")) + } + if s.WorkflowName != nil && len(*s.WorkflowName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowName", 1)) + } -// SetSchemaArn sets the SchemaArn field's value. -func (s *GetSchemaMappingOutput) SetSchemaArn(v string) *GetSchemaMappingOutput { - s.SchemaArn = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSchemaName sets the SchemaName field's value. -func (s *GetSchemaMappingOutput) SetSchemaName(v string) *GetSchemaMappingOutput { - s.SchemaName = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListIdMappingJobsInput) SetMaxResults(v int64) *ListIdMappingJobsInput { + s.MaxResults = &v return s } -// SetTags sets the Tags field's value. -func (s *GetSchemaMappingOutput) SetTags(v map[string]*string) *GetSchemaMappingOutput { - s.Tags = v +// SetNextToken sets the NextToken field's value. +func (s *ListIdMappingJobsInput) SetNextToken(v string) *ListIdMappingJobsInput { + s.NextToken = &v return s } -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *GetSchemaMappingOutput) SetUpdatedAt(v time.Time) *GetSchemaMappingOutput { - s.UpdatedAt = &v +// SetWorkflowName sets the WorkflowName field's value. +func (s *ListIdMappingJobsInput) SetWorkflowName(v string) *ListIdMappingJobsInput { + s.WorkflowName = &v return s } -// An object which defines an incremental run type and has only incrementalRunType -// as a field. -type IncrementalRunConfig struct { +type ListIdMappingJobsOutput struct { _ struct{} `type:"structure"` - // The type of incremental run. It takes only one value: IMMEDIATE. - IncrementalRunType *string `locationName:"incrementalRunType" type:"string" enum:"IncrementalRunType"` + // A list of JobSummary objects. + Jobs []*JobSummary `locationName:"jobs" type:"list"` + + // The pagination token from the previous API call. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -3141,7 +5693,7 @@ type IncrementalRunConfig 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 IncrementalRunConfig) String() string { +func (s ListIdMappingJobsOutput) String() string { return awsutil.Prettify(s) } @@ -3150,35 +5702,30 @@ func (s IncrementalRunConfig) 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 IncrementalRunConfig) GoString() string { +func (s ListIdMappingJobsOutput) GoString() string { return s.String() } -// SetIncrementalRunType sets the IncrementalRunType field's value. -func (s *IncrementalRunConfig) SetIncrementalRunType(v string) *IncrementalRunConfig { - s.IncrementalRunType = &v +// SetJobs sets the Jobs field's value. +func (s *ListIdMappingJobsOutput) SetJobs(v []*JobSummary) *ListIdMappingJobsOutput { + s.Jobs = v return s } -// An object containing InputSourceARN, SchemaName, and ApplyNormalization. -type InputSource struct { - _ struct{} `type:"structure"` +// SetNextToken sets the NextToken field's value. +func (s *ListIdMappingJobsOutput) SetNextToken(v string) *ListIdMappingJobsOutput { + s.NextToken = &v + return s +} - // 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"` +type ListIdMappingWorkflowsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // An Glue table ARN for the input source table. - // - // InputSourceARN is a required field - InputSourceARN *string `locationName:"inputSourceARN" type:"string" required:"true"` + // The maximum number of objects returned per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // The name of the schema to be retrieved. - // - // SchemaName is a required field - SchemaName *string `locationName:"schemaName" type:"string" required:"true"` + // The pagination token from the previous API call. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -3186,7 +5733,7 @@ type InputSource 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 InputSource) String() string { +func (s ListIdMappingWorkflowsInput) String() string { return awsutil.Prettify(s) } @@ -3195,18 +5742,15 @@ func (s InputSource) 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 InputSource) GoString() string { +func (s ListIdMappingWorkflowsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *InputSource) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "InputSource"} - if s.InputSourceARN == nil { - invalidParams.Add(request.NewErrParamRequired("InputSourceARN")) - } - if s.SchemaName == nil { - invalidParams.Add(request.NewErrParamRequired("SchemaName")) +func (s *ListIdMappingWorkflowsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIdMappingWorkflowsInput"} + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } if invalidParams.Len() > 0 { @@ -3215,31 +5759,26 @@ func (s *InputSource) Validate() error { return nil } -// SetApplyNormalization sets the ApplyNormalization field's value. -func (s *InputSource) SetApplyNormalization(v bool) *InputSource { - s.ApplyNormalization = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListIdMappingWorkflowsInput) SetMaxResults(v int64) *ListIdMappingWorkflowsInput { + s.MaxResults = &v return s } -// SetInputSourceARN sets the InputSourceARN field's value. -func (s *InputSource) SetInputSourceARN(v string) *InputSource { - s.InputSourceARN = &v +// SetNextToken sets the NextToken field's value. +func (s *ListIdMappingWorkflowsInput) SetNextToken(v string) *ListIdMappingWorkflowsInput { + s.NextToken = &v return s } -// SetSchemaName sets the SchemaName field's value. -func (s *InputSource) SetSchemaName(v string) *InputSource { - s.SchemaName = &v - return s -} +type ListIdMappingWorkflowsOutput struct { + _ struct{} `type:"structure"` -// This exception occurs when there is an internal failure in the Entity Resolution -// service. HTTP Status Code: 500 -type InternalServerException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The pagination token from the previous API call. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` - Message_ *string `locationName:"message" min:"1" type:"string"` + // A list of IdMappingWorkflowSummary objects. + WorkflowSummaries []*IdMappingWorkflowSummary `locationName:"workflowSummaries" type:"list"` } // String returns the string representation. @@ -3247,7 +5786,7 @@ type InternalServerException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerException) String() string { +func (s ListIdMappingWorkflowsOutput) String() string { return awsutil.Prettify(s) } @@ -3256,63 +5795,35 @@ func (s InternalServerException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InternalServerException) GoString() string { +func (s ListIdMappingWorkflowsOutput) GoString() string { return s.String() } -func newErrorInternalServerException(v protocol.ResponseMetadata) error { - return &InternalServerException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *InternalServerException) Code() string { - return "InternalServerException" -} - -// Message returns the exception's message. -func (s *InternalServerException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalServerException) OrigErr() error { - return nil -} - -func (s *InternalServerException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *InternalServerException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetNextToken sets the NextToken field's value. +func (s *ListIdMappingWorkflowsOutput) SetNextToken(v string) *ListIdMappingWorkflowsOutput { + s.NextToken = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InternalServerException) RequestID() string { - return s.RespMetadata.RequestID +// SetWorkflowSummaries sets the WorkflowSummaries field's value. +func (s *ListIdMappingWorkflowsOutput) SetWorkflowSummaries(v []*IdMappingWorkflowSummary) *ListIdMappingWorkflowsOutput { + s.WorkflowSummaries = v + return s } -// An object containing InputRecords, TotalRecordsProcessed, MatchIDs, and RecordsNotProcessed. -type JobMetrics struct { - _ struct{} `type:"structure"` - - // The total number of input records. - InputRecords *int64 `locationName:"inputRecords" type:"integer"` +type ListMatchingJobsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The total number of matchIDs generated. - MatchIDs *int64 `locationName:"matchIDs" type:"integer"` + // The maximum number of objects returned per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The total number of records that did not get processed. - RecordsNotProcessed *int64 `locationName:"recordsNotProcessed" type:"integer"` + // The pagination token from the previous API call. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` - // The total number of records processed. - TotalRecordsProcessed *int64 `locationName:"totalRecordsProcessed" type:"integer"` + // 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"` } // String returns the string representation. @@ -3320,7 +5831,7 @@ 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 ListMatchingJobsInput) String() string { return awsutil.Prettify(s) } @@ -3329,55 +5840,59 @@ 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 ListMatchingJobsInput) GoString() string { return s.String() } -// SetInputRecords sets the InputRecords field's value. -func (s *JobMetrics) SetInputRecords(v int64) *JobMetrics { - s.InputRecords = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListMatchingJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMatchingJobsInput"} + 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.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 } -// SetMatchIDs sets the MatchIDs field's value. -func (s *JobMetrics) SetMatchIDs(v int64) *JobMetrics { - s.MatchIDs = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListMatchingJobsInput) SetMaxResults(v int64) *ListMatchingJobsInput { + s.MaxResults = &v return s } -// SetRecordsNotProcessed sets the RecordsNotProcessed field's value. -func (s *JobMetrics) SetRecordsNotProcessed(v int64) *JobMetrics { - s.RecordsNotProcessed = &v +// SetNextToken sets the NextToken field's value. +func (s *ListMatchingJobsInput) SetNextToken(v string) *ListMatchingJobsInput { + s.NextToken = &v return s } -// SetTotalRecordsProcessed sets the TotalRecordsProcessed field's value. -func (s *JobMetrics) SetTotalRecordsProcessed(v int64) *JobMetrics { - s.TotalRecordsProcessed = &v +// SetWorkflowName sets the WorkflowName field's value. +func (s *ListMatchingJobsInput) SetWorkflowName(v string) *ListMatchingJobsInput { + s.WorkflowName = &v return s } -// An object containing the JobId, Status, StartTime, and EndTime of a job. -type JobSummary struct { +type ListMatchingJobsOutput struct { _ struct{} `type:"structure"` - // The time at which the job has finished. - EndTime *time.Time `locationName:"endTime" type:"timestamp"` - - // The ID of the job. - // - // JobId is a required field - JobId *string `locationName:"jobId" type:"string" required:"true"` - - // The time at which the job was started. - // - // StartTime is a required field - StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` + // A list of JobSummary objects, each of which contain the ID, status, start + // time, and end time of a job. + Jobs []*JobSummary `locationName:"jobs" type:"list"` - // The current status of the job. - // - // Status is a required field - Status *string `locationName:"status" type:"string" required:"true" enum:"JobStatus"` + // The pagination token from the previous API call. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` } // String returns the string representation. @@ -3385,7 +5900,7 @@ type JobSummary 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 JobSummary) String() string { +func (s ListMatchingJobsOutput) String() string { return awsutil.Prettify(s) } @@ -3394,47 +5909,30 @@ func (s JobSummary) 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 JobSummary) GoString() string { +func (s ListMatchingJobsOutput) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *JobSummary) SetEndTime(v time.Time) *JobSummary { - s.EndTime = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobSummary) SetJobId(v string) *JobSummary { - s.JobId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *JobSummary) SetStartTime(v time.Time) *JobSummary { - s.StartTime = &v +// SetJobs sets the Jobs field's value. +func (s *ListMatchingJobsOutput) SetJobs(v []*JobSummary) *ListMatchingJobsOutput { + s.Jobs = v return s } -// SetStatus sets the Status field's value. -func (s *JobSummary) SetStatus(v string) *JobSummary { - s.Status = &v +// SetNextToken sets the NextToken field's value. +func (s *ListMatchingJobsOutput) SetNextToken(v string) *ListMatchingJobsOutput { + s.NextToken = &v return s } -type ListMatchingJobsInput struct { +type ListMatchingWorkflowsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of objects returned per page. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // The pagination token from the previous ListSchemaMappings API call. + // The pagination token from the previous API call. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` - - // The name of the workflow to be retrieved. - // - // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` } // String returns the string representation. @@ -3442,7 +5940,7 @@ type ListMatchingJobsInput 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 ListMatchingJobsInput) String() string { +func (s ListMatchingWorkflowsInput) String() string { return awsutil.Prettify(s) } @@ -3451,25 +5949,16 @@ func (s ListMatchingJobsInput) 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 ListMatchingJobsInput) GoString() string { +func (s ListMatchingWorkflowsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListMatchingJobsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListMatchingJobsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } +func (s *ListMatchingWorkflowsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMatchingWorkflowsInput"} if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 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 invalidParams.Len() > 0 { return invalidParams @@ -3478,32 +5967,26 @@ func (s *ListMatchingJobsInput) Validate() error { } // SetMaxResults sets the MaxResults field's value. -func (s *ListMatchingJobsInput) SetMaxResults(v int64) *ListMatchingJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListMatchingJobsInput) SetNextToken(v string) *ListMatchingJobsInput { - s.NextToken = &v +func (s *ListMatchingWorkflowsInput) SetMaxResults(v int64) *ListMatchingWorkflowsInput { + s.MaxResults = &v return s } -// SetWorkflowName sets the WorkflowName field's value. -func (s *ListMatchingJobsInput) SetWorkflowName(v string) *ListMatchingJobsInput { - s.WorkflowName = &v +// SetNextToken sets the NextToken field's value. +func (s *ListMatchingWorkflowsInput) SetNextToken(v string) *ListMatchingWorkflowsInput { + s.NextToken = &v return s } -type ListMatchingJobsOutput struct { +type ListMatchingWorkflowsOutput struct { _ struct{} `type:"structure"` - // A list of JobSummary objects, each of which contain the ID, status, start - // time, and end time of a job. - Jobs []*JobSummary `locationName:"jobs" type:"list"` - - // The pagination token from the previous ListSchemaMappings API call. + // The pagination token from the previous API call. NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // A list of MatchingWorkflowSummary objects, each of which contain the fields + // WorkflowName, WorkflowArn, CreatedAt, and UpdatedAt. + WorkflowSummaries []*MatchingWorkflowSummary `locationName:"workflowSummaries" type:"list"` } // String returns the string representation. @@ -3511,7 +5994,7 @@ type ListMatchingJobsOutput 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 ListMatchingJobsOutput) String() string { +func (s ListMatchingWorkflowsOutput) String() string { return awsutil.Prettify(s) } @@ -3520,30 +6003,33 @@ func (s ListMatchingJobsOutput) 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 ListMatchingJobsOutput) GoString() string { +func (s ListMatchingWorkflowsOutput) GoString() string { return s.String() } -// SetJobs sets the Jobs field's value. -func (s *ListMatchingJobsOutput) SetJobs(v []*JobSummary) *ListMatchingJobsOutput { - s.Jobs = v +// SetNextToken sets the NextToken field's value. +func (s *ListMatchingWorkflowsOutput) SetNextToken(v string) *ListMatchingWorkflowsOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListMatchingJobsOutput) SetNextToken(v string) *ListMatchingJobsOutput { - s.NextToken = &v +// SetWorkflowSummaries sets the WorkflowSummaries field's value. +func (s *ListMatchingWorkflowsOutput) SetWorkflowSummaries(v []*MatchingWorkflowSummary) *ListMatchingWorkflowsOutput { + s.WorkflowSummaries = v return s } -type ListMatchingWorkflowsInput struct { +type ListProviderServicesInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of objects returned per page. - MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"15" type:"integer"` - // The pagination token from the previous ListSchemaMappings API call. + // The pagination token from the previous API call. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` + + // The name of the provider. This name is typically the company name. + ProviderName *string `location:"querystring" locationName:"providerName" min:"1" type:"string"` } // String returns the string representation. @@ -3551,7 +6037,7 @@ type ListMatchingWorkflowsInput 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 ListMatchingWorkflowsInput) String() string { +func (s ListProviderServicesInput) String() string { return awsutil.Prettify(s) } @@ -3560,16 +6046,22 @@ func (s ListMatchingWorkflowsInput) 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 ListMatchingWorkflowsInput) GoString() string { +func (s ListProviderServicesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListMatchingWorkflowsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListMatchingWorkflowsInput"} +func (s *ListProviderServicesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListProviderServicesInput"} + if s.MaxResults != nil && *s.MaxResults < 15 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 15)) + } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } + if s.ProviderName != nil && len(*s.ProviderName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -3578,26 +6070,31 @@ func (s *ListMatchingWorkflowsInput) Validate() error { } // SetMaxResults sets the MaxResults field's value. -func (s *ListMatchingWorkflowsInput) SetMaxResults(v int64) *ListMatchingWorkflowsInput { +func (s *ListProviderServicesInput) SetMaxResults(v int64) *ListProviderServicesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListMatchingWorkflowsInput) SetNextToken(v string) *ListMatchingWorkflowsInput { +func (s *ListProviderServicesInput) SetNextToken(v string) *ListProviderServicesInput { s.NextToken = &v return s } -type ListMatchingWorkflowsOutput struct { +// SetProviderName sets the ProviderName field's value. +func (s *ListProviderServicesInput) SetProviderName(v string) *ListProviderServicesInput { + s.ProviderName = &v + return s +} + +type ListProviderServicesOutput struct { _ struct{} `type:"structure"` - // The pagination token from the previous ListSchemaMappings API call. + // The pagination token from the previous API call. NextToken *string `locationName:"nextToken" min:"1" type:"string"` - // A list of MatchingWorkflowSummary objects, each of which contain the fields - // WorkflowName, WorkflowArn, CreatedAt, and UpdatedAt. - WorkflowSummaries []*MatchingWorkflowSummary `locationName:"workflowSummaries" type:"list"` + // A list of ProviderServices objects. + ProviderServiceSummaries []*ProviderServiceSummary `locationName:"providerServiceSummaries" type:"list"` } // String returns the string representation. @@ -3605,7 +6102,7 @@ type ListMatchingWorkflowsOutput 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 ListMatchingWorkflowsOutput) String() string { +func (s ListProviderServicesOutput) String() string { return awsutil.Prettify(s) } @@ -3614,19 +6111,19 @@ func (s ListMatchingWorkflowsOutput) 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 ListMatchingWorkflowsOutput) GoString() string { +func (s ListProviderServicesOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListMatchingWorkflowsOutput) SetNextToken(v string) *ListMatchingWorkflowsOutput { +func (s *ListProviderServicesOutput) SetNextToken(v string) *ListProviderServicesOutput { s.NextToken = &v return s } -// SetWorkflowSummaries sets the WorkflowSummaries field's value. -func (s *ListMatchingWorkflowsOutput) SetWorkflowSummaries(v []*MatchingWorkflowSummary) *ListMatchingWorkflowsOutput { - s.WorkflowSummaries = v +// SetProviderServiceSummaries sets the ProviderServiceSummaries field's value. +func (s *ListProviderServicesOutput) SetProviderServiceSummaries(v []*ProviderServiceSummary) *ListProviderServicesOutput { + s.ProviderServiceSummaries = v return s } @@ -3636,7 +6133,7 @@ type ListSchemaMappingsInput struct { // The maximum number of objects returned per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` - // The pagination token from the previous ListSchemaMappings API call. + // The pagination token from the previous API call. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` } @@ -3686,7 +6183,7 @@ func (s *ListSchemaMappingsInput) SetNextToken(v string) *ListSchemaMappingsInpu type ListSchemaMappingsOutput struct { _ struct{} `type:"structure"` - // The pagination token from the previous ListDomains API call. + // The pagination token from the previous API call. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // A list of SchemaMappingSummary objects, each of which contain the fields @@ -3816,6 +6313,12 @@ type MatchingWorkflowSummary struct { // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` + // The method that has been specified for data matching, either using matching + // provided by Entity Resolution or through a provider service. + // + // ResolutionType is a required field + ResolutionType *string `locationName:"resolutionType" type:"string" required:"true" enum:"ResolutionType"` + // The timestamp of when the workflow was last updated. // // UpdatedAt is a required field @@ -3829,7 +6332,7 @@ type MatchingWorkflowSummary struct { // The name of the workflow. // // WorkflowName is a required field - WorkflowName *string `locationName:"workflowName" type:"string" required:"true"` + WorkflowName *string `locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3856,6 +6359,12 @@ func (s *MatchingWorkflowSummary) SetCreatedAt(v time.Time) *MatchingWorkflowSum return s } +// SetResolutionType sets the ResolutionType field's value. +func (s *MatchingWorkflowSummary) SetResolutionType(v string) *MatchingWorkflowSummary { + s.ResolutionType = &v + return s +} + // SetUpdatedAt sets the UpdatedAt field's value. func (s *MatchingWorkflowSummary) SetUpdatedAt(v time.Time) *MatchingWorkflowSummary { s.UpdatedAt = &v @@ -3959,7 +6468,7 @@ type OutputSource struct { // The S3 path to which Entity Resolution will write the output table. // // OutputS3Path is a required field - OutputS3Path *string `locationName:"outputS3Path" type:"string" required:"true"` + OutputS3Path *string `locationName:"outputS3Path" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3989,6 +6498,9 @@ func (s *OutputSource) Validate() error { 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.Output != nil { for i, v := range s.Output { if v == nil { @@ -4030,10 +6542,158 @@ func (s *OutputSource) SetOutputS3Path(v string) *OutputSource { return s } +// An object containing the providerServiceARN, intermediateSourceConfiguration, +// and providerConfiguration. +type ProviderProperties struct { + _ struct{} `type:"structure"` + + // The Amazon S3 location that temporarily stores your data while it processes. + // Your information won't be saved permanently. + IntermediateSourceConfiguration *IntermediateSourceConfiguration `locationName:"intermediateSourceConfiguration" type:"structure"` + + // The 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 ProviderProperties) 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 ProviderProperties) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ProviderProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProviderProperties"} + if s.ProviderServiceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ProviderServiceArn")) + } + if s.ProviderServiceArn != nil && len(*s.ProviderServiceArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ProviderServiceArn", 20)) + } + if s.IntermediateSourceConfiguration != nil { + if err := s.IntermediateSourceConfiguration.Validate(); err != nil { + invalidParams.AddNested("IntermediateSourceConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIntermediateSourceConfiguration sets the IntermediateSourceConfiguration field's value. +func (s *ProviderProperties) SetIntermediateSourceConfiguration(v *IntermediateSourceConfiguration) *ProviderProperties { + s.IntermediateSourceConfiguration = v + return s +} + +// SetProviderServiceArn sets the ProviderServiceArn field's value. +func (s *ProviderProperties) SetProviderServiceArn(v string) *ProviderProperties { + s.ProviderServiceArn = &v + return s +} + +// A list of ProviderService objects, each of which contain the fields providerName, +// providerServiceArn, providerServiceName, and providerServiceType. +type ProviderServiceSummary struct { + _ struct{} `type:"structure"` + + // The name of the provider. This name is typically the company name. + // + // 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 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 +} + // An object which defines the resolutionType and the ruleBasedProperties. type ResolutionTechniques struct { _ struct{} `type:"structure"` + // 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. // @@ -4069,6 +6729,11 @@ func (s *ResolutionTechniques) Validate() error { if s.ResolutionType == nil { invalidParams.Add(request.NewErrParamRequired("ResolutionType")) } + if s.ProviderProperties != nil { + if err := s.ProviderProperties.Validate(); err != nil { + invalidParams.AddNested("ProviderProperties", err.(request.ErrInvalidParams)) + } + } if s.RuleBasedProperties != nil { if err := s.RuleBasedProperties.Validate(); err != nil { invalidParams.AddNested("RuleBasedProperties", err.(request.ErrInvalidParams)) @@ -4081,6 +6746,12 @@ func (s *ResolutionTechniques) Validate() error { return nil } +// SetProviderProperties sets the ProviderProperties field's value. +func (s *ResolutionTechniques) SetProviderProperties(v *ProviderProperties) *ResolutionTechniques { + s.ProviderProperties = v + return s +} + // SetResolutionType sets the ResolutionType field's value. func (s *ResolutionTechniques) SetResolutionType(v string) *ResolutionTechniques { s.ResolutionType = &v @@ -4306,7 +6977,7 @@ func (s *RuleBasedProperties) SetRules(v []*Rule) *RuleBasedProperties { return s } -// An object containing FieldField, Type, GroupName, and MatchKey. +// An object containing FieldName, Type, GroupName, and MatchKey. type SchemaInputAttribute struct { _ struct{} `type:"structure"` @@ -4330,6 +7001,9 @@ type SchemaInputAttribute struct { // 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. + SubType *string `locationName:"subType" type:"string"` + // The type of the attribute, selected from a list of values. // // Type is a required field @@ -4388,6 +7062,12 @@ func (s *SchemaInputAttribute) SetMatchKey(v string) *SchemaInputAttribute { return s } +// SetSubType sets the SubType field's value. +func (s *SchemaInputAttribute) SetSubType(v string) *SchemaInputAttribute { + s.SubType = &v + return s +} + // SetType sets the Type field's value. func (s *SchemaInputAttribute) SetType(v string) *SchemaInputAttribute { s.Type = &v @@ -4403,20 +7083,131 @@ type SchemaMappingSummary struct { // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` - // The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping. - // - // SchemaArn is a required field - SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"` + // Specifies whether the schema mapping has been applied to a workflow. + // + // HasWorkflows is a required field + HasWorkflows *bool `locationName:"hasWorkflows" type:"boolean" required:"true"` + + // The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping. + // + // SchemaArn is a required field + SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"` + + // The name of the schema. + // + // SchemaName is a required field + SchemaName *string `locationName:"schemaName" min:"1" type:"string" required:"true"` + + // The timestamp of when the SchemaMapping 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 SchemaMappingSummary) 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 SchemaMappingSummary) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *SchemaMappingSummary) SetCreatedAt(v time.Time) *SchemaMappingSummary { + s.CreatedAt = &v + return s +} + +// SetHasWorkflows sets the HasWorkflows field's value. +func (s *SchemaMappingSummary) SetHasWorkflows(v bool) *SchemaMappingSummary { + s.HasWorkflows = &v + return s +} + +// SetSchemaArn sets the SchemaArn field's value. +func (s *SchemaMappingSummary) SetSchemaArn(v string) *SchemaMappingSummary { + s.SchemaArn = &v + return s +} + +// SetSchemaName sets the SchemaName field's value. +func (s *SchemaMappingSummary) SetSchemaName(v string) *SchemaMappingSummary { + s.SchemaName = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *SchemaMappingSummary) SetUpdatedAt(v time.Time) *SchemaMappingSummary { + s.UpdatedAt = &v + return s +} + +type StartIdMappingJobInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // 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"` +} + +// 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 StartIdMappingJobInput) 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 StartIdMappingJobInput) GoString() string { + return s.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.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 *StartIdMappingJobInput) SetWorkflowName(v string) *StartIdMappingJobInput { + s.WorkflowName = &v + return s +} - // The name of the schema. - // - // SchemaName is a required field - SchemaName *string `locationName:"schemaName" type:"string" required:"true"` +type StartIdMappingJobOutput struct { + _ struct{} `type:"structure"` - // The timestamp of when the SchemaMapping was last updated. + // The ID of the job. // - // UpdatedAt is a required field - UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` + // JobId is a required field + JobId *string `locationName:"jobId" type:"string" required:"true"` } // String returns the string representation. @@ -4424,7 +7215,7 @@ type SchemaMappingSummary 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 SchemaMappingSummary) String() string { +func (s StartIdMappingJobOutput) String() string { return awsutil.Prettify(s) } @@ -4433,31 +7224,13 @@ func (s SchemaMappingSummary) 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 SchemaMappingSummary) GoString() string { +func (s StartIdMappingJobOutput) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *SchemaMappingSummary) SetCreatedAt(v time.Time) *SchemaMappingSummary { - s.CreatedAt = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *SchemaMappingSummary) SetSchemaArn(v string) *SchemaMappingSummary { - s.SchemaArn = &v - return s -} - -// SetSchemaName sets the SchemaName field's value. -func (s *SchemaMappingSummary) SetSchemaName(v string) *SchemaMappingSummary { - s.SchemaName = &v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *SchemaMappingSummary) SetUpdatedAt(v time.Time) *SchemaMappingSummary { - s.UpdatedAt = &v +// SetJobId sets the JobId field's value. +func (s *StartIdMappingJobOutput) SetJobId(v string) *StartIdMappingJobOutput { + s.JobId = &v return s } @@ -4467,7 +7240,7 @@ type StartMatchingJobInput struct { // The name of the matching job to be retrieved. // // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` + WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -4678,32 +7451,290 @@ func (s *ThrottlingException) OrigErr() error { return nil } -func (s *ThrottlingException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +type UntagResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ARN of the resource for which you want to untag. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + + // The list of tag keys to remove from the resource. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) 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 UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput 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 UntagResourceOutput) 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 UntagResourceOutput) GoString() string { + return s.String() +} + +type UpdateIdMappingWorkflowInput 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 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"` + + // 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"` + + // 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 UpdateIdMappingWorkflowInput) 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 UpdateIdMappingWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateIdMappingWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateIdMappingWorkflowInput"} + if s.IdMappingTechniques == nil { + invalidParams.Add(request.NewErrParamRequired("IdMappingTechniques")) + } + if s.InputSourceConfig == nil { + invalidParams.Add(request.NewErrParamRequired("InputSourceConfig")) + } + 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.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 *UpdateIdMappingWorkflowInput) SetDescription(v string) *UpdateIdMappingWorkflowInput { + s.Description = &v + return s +} + +// SetIdMappingTechniques sets the IdMappingTechniques field's value. +func (s *UpdateIdMappingWorkflowInput) SetIdMappingTechniques(v *IdMappingTechniques) *UpdateIdMappingWorkflowInput { + s.IdMappingTechniques = v + return s +} + +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *UpdateIdMappingWorkflowInput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *UpdateIdMappingWorkflowInput { + s.InputSourceConfig = v + return s +} + +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *UpdateIdMappingWorkflowInput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *UpdateIdMappingWorkflowInput { + s.OutputSourceConfig = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateIdMappingWorkflowInput) SetRoleArn(v string) *UpdateIdMappingWorkflowInput { + s.RoleArn = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ThrottlingException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetWorkflowName sets the WorkflowName field's value. +func (s *UpdateIdMappingWorkflowInput) SetWorkflowName(v string) *UpdateIdMappingWorkflowInput { + s.WorkflowName = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ThrottlingException) RequestID() string { - return s.RespMetadata.RequestID -} +type UpdateIdMappingWorkflowOutput struct { + _ struct{} `type:"structure"` -type UntagResourceInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // A description of the workflow. + Description *string `locationName:"description" type:"string"` - // The ARN of the resource for which you want to untag. + // An object which defines the idMappingType and the providerProperties. // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + // IdMappingTechniques is a required field + IdMappingTechniques *IdMappingTechniques `locationName:"idMappingTechniques" type:"structure" required:"true"` - // The list of tag keys to remove from the resource. + // A list of InputSource objects, which have the fields InputSourceARN and SchemaName. // - // TagKeys is a required field - TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` + // 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 is a required field + OutputSourceConfig []*IdMappingWorkflowOutputSource `locationName:"outputSourceConfig" min:"1" type:"list" required:"true"` + + // 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"` + + // The Amazon Resource Name (ARN) of the workflow role. Entity Resolution assumes + // this role to access resources on your behalf. + // + // 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. @@ -4711,7 +7742,7 @@ type UntagResourceInput 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 UntagResourceInput) String() string { +func (s UpdateIdMappingWorkflowOutput) String() string { return awsutil.Prettify(s) } @@ -4720,61 +7751,50 @@ func (s UntagResourceInput) 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 UntagResourceInput) GoString() string { +func (s UpdateIdMappingWorkflowOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *UntagResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) - } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) - } - if s.TagKeys == nil { - invalidParams.Add(request.NewErrParamRequired("TagKeys")) - } +// SetDescription sets the Description field's value. +func (s *UpdateIdMappingWorkflowOutput) SetDescription(v string) *UpdateIdMappingWorkflowOutput { + s.Description = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetIdMappingTechniques sets the IdMappingTechniques field's value. +func (s *UpdateIdMappingWorkflowOutput) SetIdMappingTechniques(v *IdMappingTechniques) *UpdateIdMappingWorkflowOutput { + s.IdMappingTechniques = v + return s } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v +// SetInputSourceConfig sets the InputSourceConfig field's value. +func (s *UpdateIdMappingWorkflowOutput) SetInputSourceConfig(v []*IdMappingWorkflowInputSource) *UpdateIdMappingWorkflowOutput { + s.InputSourceConfig = v return s } -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { - s.TagKeys = v +// SetOutputSourceConfig sets the OutputSourceConfig field's value. +func (s *UpdateIdMappingWorkflowOutput) SetOutputSourceConfig(v []*IdMappingWorkflowOutputSource) *UpdateIdMappingWorkflowOutput { + s.OutputSourceConfig = v return s } -type UntagResourceOutput struct { - _ struct{} `type:"structure"` +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateIdMappingWorkflowOutput) SetRoleArn(v string) *UpdateIdMappingWorkflowOutput { + s.RoleArn = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s UntagResourceOutput) String() string { - return awsutil.Prettify(s) +// SetWorkflowArn sets the WorkflowArn field's value. +func (s *UpdateIdMappingWorkflowOutput) SetWorkflowArn(v string) *UpdateIdMappingWorkflowOutput { + s.WorkflowArn = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s UntagResourceOutput) GoString() string { - return s.String() +// SetWorkflowName sets the WorkflowName field's value. +func (s *UpdateIdMappingWorkflowOutput) SetWorkflowName(v string) *UpdateIdMappingWorkflowOutput { + s.WorkflowName = &v + return s } type UpdateMatchingWorkflowInput struct { @@ -4812,7 +7832,7 @@ type UpdateMatchingWorkflowInput struct { // The name of the workflow to be retrieved. // // WorkflowName is a required field - WorkflowName *string `location:"uri" locationName:"workflowName" type:"string" required:"true"` + WorkflowName *string `location:"uri" locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -4969,7 +7989,7 @@ type UpdateMatchingWorkflowOutput struct { // The name of the workflow. // // WorkflowName is a required field - WorkflowName *string `locationName:"workflowName" type:"string" required:"true"` + WorkflowName *string `locationName:"workflowName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -5032,6 +8052,160 @@ func (s *UpdateMatchingWorkflowOutput) SetWorkflowName(v string) *UpdateMatching return s } +type UpdateSchemaMappingInput struct { + _ struct{} `type:"structure"` + + // A description of the schema. + Description *string `locationName:"description" type:"string"` + + // 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. + // + // MappedInputFields is a required field + MappedInputFields []*SchemaInputAttribute `locationName:"mappedInputFields" min:"2" type:"list" required:"true"` + + // The name of the schema. There can't be multiple SchemaMappings with the same + // name. + // + // SchemaName is a required field + SchemaName *string `location:"uri" locationName:"schemaName" 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 UpdateSchemaMappingInput) 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 UpdateSchemaMappingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateSchemaMappingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateSchemaMappingInput"} + if s.MappedInputFields == nil { + invalidParams.Add(request.NewErrParamRequired("MappedInputFields")) + } + if s.MappedInputFields != nil && len(s.MappedInputFields) < 2 { + invalidParams.Add(request.NewErrParamMinLen("MappedInputFields", 2)) + } + if s.SchemaName == nil { + invalidParams.Add(request.NewErrParamRequired("SchemaName")) + } + if s.SchemaName != nil && len(*s.SchemaName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SchemaName", 1)) + } + if s.MappedInputFields != nil { + for i, v := range s.MappedInputFields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MappedInputFields", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateSchemaMappingInput) SetDescription(v string) *UpdateSchemaMappingInput { + s.Description = &v + return s +} + +// SetMappedInputFields sets the MappedInputFields field's value. +func (s *UpdateSchemaMappingInput) SetMappedInputFields(v []*SchemaInputAttribute) *UpdateSchemaMappingInput { + s.MappedInputFields = v + return s +} + +// SetSchemaName sets the SchemaName field's value. +func (s *UpdateSchemaMappingInput) SetSchemaName(v string) *UpdateSchemaMappingInput { + s.SchemaName = &v + return s +} + +type UpdateSchemaMappingOutput struct { + _ struct{} `type:"structure"` + + // A description of the schema. + Description *string `locationName:"description" type:"string"` + + // 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. + // + // MappedInputFields is a required field + MappedInputFields []*SchemaInputAttribute `locationName:"mappedInputFields" min:"2" type:"list" required:"true"` + + // The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping. + // + // SchemaArn is a required field + SchemaArn *string `locationName:"schemaArn" type:"string" required:"true"` + + // The name of the schema. + // + // SchemaName is a required field + SchemaName *string `locationName:"schemaName" 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 UpdateSchemaMappingOutput) 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 UpdateSchemaMappingOutput) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *UpdateSchemaMappingOutput) SetDescription(v string) *UpdateSchemaMappingOutput { + s.Description = &v + return s +} + +// SetMappedInputFields sets the MappedInputFields field's value. +func (s *UpdateSchemaMappingOutput) SetMappedInputFields(v []*SchemaInputAttribute) *UpdateSchemaMappingOutput { + s.MappedInputFields = v + return s +} + +// SetSchemaArn sets the SchemaArn field's value. +func (s *UpdateSchemaMappingOutput) SetSchemaArn(v string) *UpdateSchemaMappingOutput { + s.SchemaArn = &v + return s +} + +// SetSchemaName sets the SchemaName field's value. +func (s *UpdateSchemaMappingOutput) SetSchemaName(v string) *UpdateSchemaMappingOutput { + s.SchemaName = &v + return s +} + // The input fails to satisfy the constraints specified by Entity Resolution. // HTTP Status Code: 400 type ValidationException struct { @@ -5113,6 +8287,18 @@ func AttributeMatchingModel_Values() []string { } } +const ( + // IdMappingTypeProvider is a IdMappingType enum value + IdMappingTypeProvider = "PROVIDER" +) + +// IdMappingType_Values returns all elements of the IdMappingType enum +func IdMappingType_Values() []string { + return []string{ + IdMappingTypeProvider, + } +} + const ( // IncrementalRunTypeImmediate is a IncrementalRunType enum value IncrementalRunTypeImmediate = "IMMEDIATE" @@ -5155,6 +8341,9 @@ const ( // ResolutionTypeMlMatching is a ResolutionType enum value ResolutionTypeMlMatching = "ML_MATCHING" + + // ResolutionTypeProvider is a ResolutionType enum value + ResolutionTypeProvider = "PROVIDER" ) // ResolutionType_Values returns all elements of the ResolutionType enum @@ -5162,6 +8351,7 @@ func ResolutionType_Values() []string { return []string{ ResolutionTypeRuleMatching, ResolutionTypeMlMatching, + ResolutionTypeProvider, } } @@ -5222,6 +8412,9 @@ const ( // SchemaAttributeTypeString is a SchemaAttributeType enum value SchemaAttributeTypeString = "STRING" + + // SchemaAttributeTypeProviderId is a SchemaAttributeType enum value + SchemaAttributeTypeProviderId = "PROVIDER_ID" ) // SchemaAttributeType_Values returns all elements of the SchemaAttributeType enum @@ -5246,5 +8439,22 @@ func SchemaAttributeType_Values() []string { SchemaAttributeTypeUniqueId, SchemaAttributeTypeDate, SchemaAttributeTypeString, + SchemaAttributeTypeProviderId, + } +} + +const ( + // ServiceTypeAssignment is a ServiceType enum value + ServiceTypeAssignment = "ASSIGNMENT" + + // ServiceTypeIdMapping is a ServiceType enum value + ServiceTypeIdMapping = "ID_MAPPING" +) + +// ServiceType_Values returns all elements of the ServiceType enum +func ServiceType_Values() []string { + return []string{ + ServiceTypeAssignment, + ServiceTypeIdMapping, } } diff --git a/service/entityresolution/entityresolutioniface/interface.go b/service/entityresolution/entityresolutioniface/interface.go index e9573d0469b..f0facf08e89 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.CreateMatchingWorkflow request +// // Make svc.CreateIdMappingWorkflow request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockEntityResolutionClient struct { // entityresolutioniface.EntityResolutionAPI // } -// func (m *mockEntityResolutionClient) CreateMatchingWorkflow(input *entityresolution.CreateMatchingWorkflowInput) (*entityresolution.CreateMatchingWorkflowOutput, error) { +// func (m *mockEntityResolutionClient) CreateIdMappingWorkflow(input *entityresolution.CreateIdMappingWorkflowInput) (*entityresolution.CreateIdMappingWorkflowOutput, 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 EntityResolutionAPI interface { + CreateIdMappingWorkflow(*entityresolution.CreateIdMappingWorkflowInput) (*entityresolution.CreateIdMappingWorkflowOutput, error) + CreateIdMappingWorkflowWithContext(aws.Context, *entityresolution.CreateIdMappingWorkflowInput, ...request.Option) (*entityresolution.CreateIdMappingWorkflowOutput, error) + CreateIdMappingWorkflowRequest(*entityresolution.CreateIdMappingWorkflowInput) (*request.Request, *entityresolution.CreateIdMappingWorkflowOutput) + CreateMatchingWorkflow(*entityresolution.CreateMatchingWorkflowInput) (*entityresolution.CreateMatchingWorkflowOutput, error) CreateMatchingWorkflowWithContext(aws.Context, *entityresolution.CreateMatchingWorkflowInput, ...request.Option) (*entityresolution.CreateMatchingWorkflowOutput, error) CreateMatchingWorkflowRequest(*entityresolution.CreateMatchingWorkflowInput) (*request.Request, *entityresolution.CreateMatchingWorkflowOutput) @@ -68,6 +72,10 @@ type EntityResolutionAPI interface { CreateSchemaMappingWithContext(aws.Context, *entityresolution.CreateSchemaMappingInput, ...request.Option) (*entityresolution.CreateSchemaMappingOutput, error) CreateSchemaMappingRequest(*entityresolution.CreateSchemaMappingInput) (*request.Request, *entityresolution.CreateSchemaMappingOutput) + DeleteIdMappingWorkflow(*entityresolution.DeleteIdMappingWorkflowInput) (*entityresolution.DeleteIdMappingWorkflowOutput, error) + DeleteIdMappingWorkflowWithContext(aws.Context, *entityresolution.DeleteIdMappingWorkflowInput, ...request.Option) (*entityresolution.DeleteIdMappingWorkflowOutput, error) + DeleteIdMappingWorkflowRequest(*entityresolution.DeleteIdMappingWorkflowInput) (*request.Request, *entityresolution.DeleteIdMappingWorkflowOutput) + DeleteMatchingWorkflow(*entityresolution.DeleteMatchingWorkflowInput) (*entityresolution.DeleteMatchingWorkflowOutput, error) DeleteMatchingWorkflowWithContext(aws.Context, *entityresolution.DeleteMatchingWorkflowInput, ...request.Option) (*entityresolution.DeleteMatchingWorkflowOutput, error) DeleteMatchingWorkflowRequest(*entityresolution.DeleteMatchingWorkflowInput) (*request.Request, *entityresolution.DeleteMatchingWorkflowOutput) @@ -76,6 +84,14 @@ type EntityResolutionAPI interface { DeleteSchemaMappingWithContext(aws.Context, *entityresolution.DeleteSchemaMappingInput, ...request.Option) (*entityresolution.DeleteSchemaMappingOutput, error) DeleteSchemaMappingRequest(*entityresolution.DeleteSchemaMappingInput) (*request.Request, *entityresolution.DeleteSchemaMappingOutput) + GetIdMappingJob(*entityresolution.GetIdMappingJobInput) (*entityresolution.GetIdMappingJobOutput, error) + GetIdMappingJobWithContext(aws.Context, *entityresolution.GetIdMappingJobInput, ...request.Option) (*entityresolution.GetIdMappingJobOutput, error) + GetIdMappingJobRequest(*entityresolution.GetIdMappingJobInput) (*request.Request, *entityresolution.GetIdMappingJobOutput) + + GetIdMappingWorkflow(*entityresolution.GetIdMappingWorkflowInput) (*entityresolution.GetIdMappingWorkflowOutput, error) + GetIdMappingWorkflowWithContext(aws.Context, *entityresolution.GetIdMappingWorkflowInput, ...request.Option) (*entityresolution.GetIdMappingWorkflowOutput, error) + GetIdMappingWorkflowRequest(*entityresolution.GetIdMappingWorkflowInput) (*request.Request, *entityresolution.GetIdMappingWorkflowOutput) + GetMatchId(*entityresolution.GetMatchIdInput) (*entityresolution.GetMatchIdOutput, error) GetMatchIdWithContext(aws.Context, *entityresolution.GetMatchIdInput, ...request.Option) (*entityresolution.GetMatchIdOutput, error) GetMatchIdRequest(*entityresolution.GetMatchIdInput) (*request.Request, *entityresolution.GetMatchIdOutput) @@ -92,6 +108,20 @@ type EntityResolutionAPI interface { GetSchemaMappingWithContext(aws.Context, *entityresolution.GetSchemaMappingInput, ...request.Option) (*entityresolution.GetSchemaMappingOutput, error) GetSchemaMappingRequest(*entityresolution.GetSchemaMappingInput) (*request.Request, *entityresolution.GetSchemaMappingOutput) + ListIdMappingJobs(*entityresolution.ListIdMappingJobsInput) (*entityresolution.ListIdMappingJobsOutput, error) + ListIdMappingJobsWithContext(aws.Context, *entityresolution.ListIdMappingJobsInput, ...request.Option) (*entityresolution.ListIdMappingJobsOutput, error) + ListIdMappingJobsRequest(*entityresolution.ListIdMappingJobsInput) (*request.Request, *entityresolution.ListIdMappingJobsOutput) + + ListIdMappingJobsPages(*entityresolution.ListIdMappingJobsInput, func(*entityresolution.ListIdMappingJobsOutput, bool) bool) error + ListIdMappingJobsPagesWithContext(aws.Context, *entityresolution.ListIdMappingJobsInput, func(*entityresolution.ListIdMappingJobsOutput, bool) bool, ...request.Option) error + + ListIdMappingWorkflows(*entityresolution.ListIdMappingWorkflowsInput) (*entityresolution.ListIdMappingWorkflowsOutput, error) + ListIdMappingWorkflowsWithContext(aws.Context, *entityresolution.ListIdMappingWorkflowsInput, ...request.Option) (*entityresolution.ListIdMappingWorkflowsOutput, error) + ListIdMappingWorkflowsRequest(*entityresolution.ListIdMappingWorkflowsInput) (*request.Request, *entityresolution.ListIdMappingWorkflowsOutput) + + ListIdMappingWorkflowsPages(*entityresolution.ListIdMappingWorkflowsInput, func(*entityresolution.ListIdMappingWorkflowsOutput, bool) bool) error + ListIdMappingWorkflowsPagesWithContext(aws.Context, *entityresolution.ListIdMappingWorkflowsInput, func(*entityresolution.ListIdMappingWorkflowsOutput, 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) @@ -106,6 +136,13 @@ type EntityResolutionAPI interface { ListMatchingWorkflowsPages(*entityresolution.ListMatchingWorkflowsInput, func(*entityresolution.ListMatchingWorkflowsOutput, bool) bool) error ListMatchingWorkflowsPagesWithContext(aws.Context, *entityresolution.ListMatchingWorkflowsInput, func(*entityresolution.ListMatchingWorkflowsOutput, bool) bool, ...request.Option) error + ListProviderServices(*entityresolution.ListProviderServicesInput) (*entityresolution.ListProviderServicesOutput, error) + ListProviderServicesWithContext(aws.Context, *entityresolution.ListProviderServicesInput, ...request.Option) (*entityresolution.ListProviderServicesOutput, error) + ListProviderServicesRequest(*entityresolution.ListProviderServicesInput) (*request.Request, *entityresolution.ListProviderServicesOutput) + + ListProviderServicesPages(*entityresolution.ListProviderServicesInput, func(*entityresolution.ListProviderServicesOutput, bool) bool) error + ListProviderServicesPagesWithContext(aws.Context, *entityresolution.ListProviderServicesInput, func(*entityresolution.ListProviderServicesOutput, bool) bool, ...request.Option) error + ListSchemaMappings(*entityresolution.ListSchemaMappingsInput) (*entityresolution.ListSchemaMappingsOutput, error) ListSchemaMappingsWithContext(aws.Context, *entityresolution.ListSchemaMappingsInput, ...request.Option) (*entityresolution.ListSchemaMappingsOutput, error) ListSchemaMappingsRequest(*entityresolution.ListSchemaMappingsInput) (*request.Request, *entityresolution.ListSchemaMappingsOutput) @@ -117,6 +154,10 @@ type EntityResolutionAPI interface { ListTagsForResourceWithContext(aws.Context, *entityresolution.ListTagsForResourceInput, ...request.Option) (*entityresolution.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*entityresolution.ListTagsForResourceInput) (*request.Request, *entityresolution.ListTagsForResourceOutput) + StartIdMappingJob(*entityresolution.StartIdMappingJobInput) (*entityresolution.StartIdMappingJobOutput, error) + StartIdMappingJobWithContext(aws.Context, *entityresolution.StartIdMappingJobInput, ...request.Option) (*entityresolution.StartIdMappingJobOutput, error) + StartIdMappingJobRequest(*entityresolution.StartIdMappingJobInput) (*request.Request, *entityresolution.StartIdMappingJobOutput) + StartMatchingJob(*entityresolution.StartMatchingJobInput) (*entityresolution.StartMatchingJobOutput, error) StartMatchingJobWithContext(aws.Context, *entityresolution.StartMatchingJobInput, ...request.Option) (*entityresolution.StartMatchingJobOutput, error) StartMatchingJobRequest(*entityresolution.StartMatchingJobInput) (*request.Request, *entityresolution.StartMatchingJobOutput) @@ -129,9 +170,17 @@ type EntityResolutionAPI interface { UntagResourceWithContext(aws.Context, *entityresolution.UntagResourceInput, ...request.Option) (*entityresolution.UntagResourceOutput, error) UntagResourceRequest(*entityresolution.UntagResourceInput) (*request.Request, *entityresolution.UntagResourceOutput) + UpdateIdMappingWorkflow(*entityresolution.UpdateIdMappingWorkflowInput) (*entityresolution.UpdateIdMappingWorkflowOutput, error) + UpdateIdMappingWorkflowWithContext(aws.Context, *entityresolution.UpdateIdMappingWorkflowInput, ...request.Option) (*entityresolution.UpdateIdMappingWorkflowOutput, error) + UpdateIdMappingWorkflowRequest(*entityresolution.UpdateIdMappingWorkflowInput) (*request.Request, *entityresolution.UpdateIdMappingWorkflowOutput) + UpdateMatchingWorkflow(*entityresolution.UpdateMatchingWorkflowInput) (*entityresolution.UpdateMatchingWorkflowOutput, error) UpdateMatchingWorkflowWithContext(aws.Context, *entityresolution.UpdateMatchingWorkflowInput, ...request.Option) (*entityresolution.UpdateMatchingWorkflowOutput, error) UpdateMatchingWorkflowRequest(*entityresolution.UpdateMatchingWorkflowInput) (*request.Request, *entityresolution.UpdateMatchingWorkflowOutput) + + UpdateSchemaMapping(*entityresolution.UpdateSchemaMappingInput) (*entityresolution.UpdateSchemaMappingOutput, error) + UpdateSchemaMappingWithContext(aws.Context, *entityresolution.UpdateSchemaMappingInput, ...request.Option) (*entityresolution.UpdateSchemaMappingOutput, error) + UpdateSchemaMappingRequest(*entityresolution.UpdateSchemaMappingInput) (*request.Request, *entityresolution.UpdateSchemaMappingOutput) } var _ EntityResolutionAPI = (*entityresolution.EntityResolution)(nil) diff --git a/service/managedblockchainquery/api.go b/service/managedblockchainquery/api.go index 4d2b1059130..ac7fcb9c123 100644 --- a/service/managedblockchainquery/api.go +++ b/service/managedblockchainquery/api.go @@ -55,7 +55,7 @@ func (c *ManagedBlockchainQuery) BatchGetTokenBalanceRequest(input *BatchGetToke // BatchGetTokenBalance API operation for Amazon Managed Blockchain Query. // -// Gets the token balance for a batch of tokens by using the GetTokenBalance +// Gets the token balance for a batch of tokens by using the BatchGetTokenBalance // action for every token in the request. // // Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token @@ -113,6 +113,108 @@ func (c *ManagedBlockchainQuery) BatchGetTokenBalanceWithContext(ctx aws.Context return out, req.Send() } +const opGetAssetContract = "GetAssetContract" + +// GetAssetContractRequest generates a "aws/request.Request" representing the +// client's request for the GetAssetContract 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 GetAssetContract for more information on using the GetAssetContract +// 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 GetAssetContractRequest method. +// req, resp := client.GetAssetContractRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetAssetContract +func (c *ManagedBlockchainQuery) GetAssetContractRequest(input *GetAssetContractInput) (req *request.Request, output *GetAssetContractOutput) { + op := &request.Operation{ + Name: opGetAssetContract, + HTTPMethod: "POST", + HTTPPath: "/get-asset-contract", + } + + if input == nil { + input = &GetAssetContractInput{} + } + + output = &GetAssetContractOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAssetContract API operation for Amazon Managed Blockchain Query. +// +// Gets the information about a specific contract deployed on the blockchain. +// +// - The Bitcoin blockchain networks do not support this operation. +// +// - Metadata is currently only available for some ERC-20 contracts. Metadata +// will be available for additional contracts in the future. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Managed Blockchain Query's +// API operation GetAssetContract for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request or operation couldn't be performed because a service is throttling +// requests. The most common source of throttling errors is when you create +// resources that exceed your service limit for this resource type. Request +// a limit increase or delete unused resources, if possible. +// +// - ValidationException +// The resource passed is invalid. +// +// - ResourceNotFoundException +// The resource was not found. +// +// - AccessDeniedException +// The Amazon Web Services account doesn’t have access to this resource. +// +// - InternalServerException +// The request processing has failed because of an internal error in the service. +// +// - ServiceQuotaExceededException +// The service quota has been exceeded for this resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetAssetContract +func (c *ManagedBlockchainQuery) GetAssetContract(input *GetAssetContractInput) (*GetAssetContractOutput, error) { + req, out := c.GetAssetContractRequest(input) + return out, req.Send() +} + +// GetAssetContractWithContext is the same as GetAssetContract with the addition of +// the ability to pass a context and additional request options. +// +// See GetAssetContract 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 *ManagedBlockchainQuery) GetAssetContractWithContext(ctx aws.Context, input *GetAssetContractInput, opts ...request.Option) (*GetAssetContractOutput, error) { + req, out := c.GetAssetContractRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetTokenBalance = "GetTokenBalance" // GetTokenBalanceRequest generates a "aws/request.Request" representing the @@ -311,6 +413,160 @@ func (c *ManagedBlockchainQuery) GetTransactionWithContext(ctx aws.Context, inpu return out, req.Send() } +const opListAssetContracts = "ListAssetContracts" + +// ListAssetContractsRequest generates a "aws/request.Request" representing the +// client's request for the ListAssetContracts 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 ListAssetContracts for more information on using the ListAssetContracts +// 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 ListAssetContractsRequest method. +// req, resp := client.ListAssetContractsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListAssetContracts +func (c *ManagedBlockchainQuery) ListAssetContractsRequest(input *ListAssetContractsInput) (req *request.Request, output *ListAssetContractsOutput) { + op := &request.Operation{ + Name: opListAssetContracts, + HTTPMethod: "POST", + HTTPPath: "/list-asset-contracts", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAssetContractsInput{} + } + + output = &ListAssetContractsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAssetContracts API operation for Amazon Managed Blockchain Query. +// +// Lists all the contracts for a given contract type deployed by an address +// (either a contract address or a wallet address). +// +// The Bitcoin blockchain networks do not support this operation. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Managed Blockchain Query's +// API operation ListAssetContracts for usage and error information. +// +// Returned Error Types: +// +// - ThrottlingException +// The request or operation couldn't be performed because a service is throttling +// requests. The most common source of throttling errors is when you create +// resources that exceed your service limit for this resource type. Request +// a limit increase or delete unused resources, if possible. +// +// - ValidationException +// The resource passed is invalid. +// +// - AccessDeniedException +// The Amazon Web Services account doesn’t have access to this resource. +// +// - InternalServerException +// The request processing has failed because of an internal error in the service. +// +// - ServiceQuotaExceededException +// The service quota has been exceeded for this resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListAssetContracts +func (c *ManagedBlockchainQuery) ListAssetContracts(input *ListAssetContractsInput) (*ListAssetContractsOutput, error) { + req, out := c.ListAssetContractsRequest(input) + return out, req.Send() +} + +// ListAssetContractsWithContext is the same as ListAssetContracts with the addition of +// the ability to pass a context and additional request options. +// +// See ListAssetContracts 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 *ManagedBlockchainQuery) ListAssetContractsWithContext(ctx aws.Context, input *ListAssetContractsInput, opts ...request.Option) (*ListAssetContractsOutput, error) { + req, out := c.ListAssetContractsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAssetContractsPages iterates over the pages of a ListAssetContracts operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAssetContracts 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 ListAssetContracts operation. +// pageNum := 0 +// err := client.ListAssetContractsPages(params, +// func(page *managedblockchainquery.ListAssetContractsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ManagedBlockchainQuery) ListAssetContractsPages(input *ListAssetContractsInput, fn func(*ListAssetContractsOutput, bool) bool) error { + return c.ListAssetContractsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAssetContractsPagesWithContext same as ListAssetContractsPages 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 *ManagedBlockchainQuery) ListAssetContractsPagesWithContext(ctx aws.Context, input *ListAssetContractsInput, fn func(*ListAssetContractsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAssetContractsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAssetContractsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAssetContractsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTokenBalances = "ListTokenBalances" // ListTokenBalancesRequest generates a "aws/request.Request" representing the @@ -360,9 +616,9 @@ func (c *ManagedBlockchainQuery) ListTokenBalancesRequest(input *ListTokenBalanc // ListTokenBalances API operation for Amazon Managed Blockchain Query. // -// This action returns the following for a given a blockchain network: +// This action returns the following for a given blockchain network: // -// - Lists all token balances owned by an address (either a contact address +// - Lists all token balances owned by an address (either a contract address // or a wallet address). // // - Lists all token balances for all tokens created by a contract. @@ -841,6 +1097,63 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// This container contains information about an contract. +type AssetContract struct { + _ struct{} `type:"structure"` + + // The container for the contract identifier containing its blockchain network + // and address. + // + // ContractIdentifier is a required field + ContractIdentifier *ContractIdentifier `locationName:"contractIdentifier" type:"structure" required:"true"` + + // The address of the contract deployer. + // + // DeployerAddress is a required field + DeployerAddress *string `locationName:"deployerAddress" type:"string" required:"true"` + + // The token standard of the contract. + // + // TokenStandard is a required field + TokenStandard *string `locationName:"tokenStandard" type:"string" required:"true" enum:"QueryTokenStandard"` +} + +// 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 AssetContract) 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 AssetContract) GoString() string { + return s.String() +} + +// SetContractIdentifier sets the ContractIdentifier field's value. +func (s *AssetContract) SetContractIdentifier(v *ContractIdentifier) *AssetContract { + s.ContractIdentifier = v + return s +} + +// SetDeployerAddress sets the DeployerAddress field's value. +func (s *AssetContract) SetDeployerAddress(v string) *AssetContract { + s.DeployerAddress = &v + return s +} + +// SetTokenStandard sets the TokenStandard field's value. +func (s *AssetContract) SetTokenStandard(v string) *AssetContract { + s.TokenStandard = &v + return s +} + // Error generated from a failed BatchGetTokenBalance request. type BatchGetTokenBalanceErrorItem struct { _ struct{} `type:"structure"` @@ -931,7 +1244,8 @@ func (s *BatchGetTokenBalanceErrorItem) SetTokenIdentifier(v *TokenIdentifier) * type BatchGetTokenBalanceInput struct { _ struct{} `type:"structure"` - // An array of GetTokenBalanceInput objects whose balance is being requested. + // An array of BatchGetTokenBalanceInputItem objects whose balance is being + // requested. GetTokenBalanceInputs []*BatchGetTokenBalanceInputItem `locationName:"getTokenBalanceInputs" min:"1" type:"list"` } @@ -1009,7 +1323,243 @@ type BatchGetTokenBalanceInputItem 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 BatchGetTokenBalanceInputItem) String() string { +func (s BatchGetTokenBalanceInputItem) 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 BatchGetTokenBalanceInputItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchGetTokenBalanceInputItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchGetTokenBalanceInputItem"} + if s.OwnerIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("OwnerIdentifier")) + } + if s.TokenIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("TokenIdentifier")) + } + if s.OwnerIdentifier != nil { + if err := s.OwnerIdentifier.Validate(); err != nil { + invalidParams.AddNested("OwnerIdentifier", err.(request.ErrInvalidParams)) + } + } + if s.TokenIdentifier != nil { + if err := s.TokenIdentifier.Validate(); err != nil { + invalidParams.AddNested("TokenIdentifier", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAtBlockchainInstant sets the AtBlockchainInstant field's value. +func (s *BatchGetTokenBalanceInputItem) SetAtBlockchainInstant(v *BlockchainInstant) *BatchGetTokenBalanceInputItem { + s.AtBlockchainInstant = v + return s +} + +// SetOwnerIdentifier sets the OwnerIdentifier field's value. +func (s *BatchGetTokenBalanceInputItem) SetOwnerIdentifier(v *OwnerIdentifier) *BatchGetTokenBalanceInputItem { + s.OwnerIdentifier = v + return s +} + +// SetTokenIdentifier sets the TokenIdentifier field's value. +func (s *BatchGetTokenBalanceInputItem) SetTokenIdentifier(v *TokenIdentifier) *BatchGetTokenBalanceInputItem { + s.TokenIdentifier = v + return s +} + +type BatchGetTokenBalanceOutput struct { + _ struct{} `type:"structure"` + + // An array of BatchGetTokenBalanceErrorItem objects returned from the request. + // + // Errors is a required field + Errors []*BatchGetTokenBalanceErrorItem `locationName:"errors" type:"list" required:"true"` + + // An array of BatchGetTokenBalanceOutputItem objects returned by the response. + // + // TokenBalances is a required field + TokenBalances []*BatchGetTokenBalanceOutputItem `locationName:"tokenBalances" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchGetTokenBalanceOutput) 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 BatchGetTokenBalanceOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *BatchGetTokenBalanceOutput) SetErrors(v []*BatchGetTokenBalanceErrorItem) *BatchGetTokenBalanceOutput { + s.Errors = v + return s +} + +// SetTokenBalances sets the TokenBalances field's value. +func (s *BatchGetTokenBalanceOutput) SetTokenBalances(v []*BatchGetTokenBalanceOutputItem) *BatchGetTokenBalanceOutput { + s.TokenBalances = v + return s +} + +// The container for the properties of a token balance output. +type BatchGetTokenBalanceOutputItem struct { + _ struct{} `type:"structure"` + + // The container for time. + // + // AtBlockchainInstant is a required field + AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure" required:"true"` + + // The container for the token balance. + // + // Balance is a required field + Balance *string `locationName:"balance" type:"string" required:"true"` + + // The container for time. + LastUpdatedTime *BlockchainInstant `locationName:"lastUpdatedTime" type:"structure"` + + // The container for the identifier of the owner. + OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure"` + + // The container for the identifier for the token including the unique token + // ID and its blockchain network. + // + // Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token + // standards are supported. + TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" 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 BatchGetTokenBalanceOutputItem) 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 BatchGetTokenBalanceOutputItem) GoString() string { + return s.String() +} + +// SetAtBlockchainInstant sets the AtBlockchainInstant field's value. +func (s *BatchGetTokenBalanceOutputItem) SetAtBlockchainInstant(v *BlockchainInstant) *BatchGetTokenBalanceOutputItem { + s.AtBlockchainInstant = v + return s +} + +// SetBalance sets the Balance field's value. +func (s *BatchGetTokenBalanceOutputItem) SetBalance(v string) *BatchGetTokenBalanceOutputItem { + s.Balance = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *BatchGetTokenBalanceOutputItem) SetLastUpdatedTime(v *BlockchainInstant) *BatchGetTokenBalanceOutputItem { + s.LastUpdatedTime = v + return s +} + +// SetOwnerIdentifier sets the OwnerIdentifier field's value. +func (s *BatchGetTokenBalanceOutputItem) SetOwnerIdentifier(v *OwnerIdentifier) *BatchGetTokenBalanceOutputItem { + s.OwnerIdentifier = v + return s +} + +// SetTokenIdentifier sets the TokenIdentifier field's value. +func (s *BatchGetTokenBalanceOutputItem) SetTokenIdentifier(v *TokenIdentifier) *BatchGetTokenBalanceOutputItem { + s.TokenIdentifier = v + return s +} + +// The container for time. +type BlockchainInstant struct { + _ struct{} `type:"structure"` + + // The container of the Timestamp of the blockchain instant. + // + // This timestamp will only be recorded up to the second. + Time *time.Time `locationName:"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 BlockchainInstant) 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 BlockchainInstant) GoString() string { + return s.String() +} + +// SetTime sets the Time field's value. +func (s *BlockchainInstant) SetTime(v time.Time) *BlockchainInstant { + s.Time = &v + return s +} + +// The contract or wallet address by which to filter the request. +type ContractFilter struct { + _ struct{} `type:"structure"` + + // The network address of the deployer. + // + // DeployerAddress is a required field + DeployerAddress *string `locationName:"deployerAddress" type:"string" required:"true"` + + // The blockchain network of the contract. + // + // Network is a required field + Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"` + + // The container for the token standard. + // + // TokenStandard is a required field + TokenStandard *string `locationName:"tokenStandard" type:"string" required:"true" enum:"QueryTokenStandard"` +} + +// 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 ContractFilter) String() string { return awsutil.Prettify(s) } @@ -1018,28 +1568,21 @@ func (s BatchGetTokenBalanceInputItem) 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 BatchGetTokenBalanceInputItem) GoString() string { +func (s ContractFilter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *BatchGetTokenBalanceInputItem) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "BatchGetTokenBalanceInputItem"} - if s.OwnerIdentifier == nil { - invalidParams.Add(request.NewErrParamRequired("OwnerIdentifier")) - } - if s.TokenIdentifier == nil { - invalidParams.Add(request.NewErrParamRequired("TokenIdentifier")) +func (s *ContractFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContractFilter"} + if s.DeployerAddress == nil { + invalidParams.Add(request.NewErrParamRequired("DeployerAddress")) } - if s.OwnerIdentifier != nil { - if err := s.OwnerIdentifier.Validate(); err != nil { - invalidParams.AddNested("OwnerIdentifier", err.(request.ErrInvalidParams)) - } + if s.Network == nil { + invalidParams.Add(request.NewErrParamRequired("Network")) } - if s.TokenIdentifier != nil { - if err := s.TokenIdentifier.Validate(); err != nil { - invalidParams.AddNested("TokenIdentifier", err.(request.ErrInvalidParams)) - } + if s.TokenStandard == nil { + invalidParams.Add(request.NewErrParamRequired("TokenStandard")) } if invalidParams.Len() > 0 { @@ -1048,36 +1591,37 @@ func (s *BatchGetTokenBalanceInputItem) Validate() error { return nil } -// SetAtBlockchainInstant sets the AtBlockchainInstant field's value. -func (s *BatchGetTokenBalanceInputItem) SetAtBlockchainInstant(v *BlockchainInstant) *BatchGetTokenBalanceInputItem { - s.AtBlockchainInstant = v +// SetDeployerAddress sets the DeployerAddress field's value. +func (s *ContractFilter) SetDeployerAddress(v string) *ContractFilter { + s.DeployerAddress = &v return s } -// SetOwnerIdentifier sets the OwnerIdentifier field's value. -func (s *BatchGetTokenBalanceInputItem) SetOwnerIdentifier(v *OwnerIdentifier) *BatchGetTokenBalanceInputItem { - s.OwnerIdentifier = v +// SetNetwork sets the Network field's value. +func (s *ContractFilter) SetNetwork(v string) *ContractFilter { + s.Network = &v return s } -// SetTokenIdentifier sets the TokenIdentifier field's value. -func (s *BatchGetTokenBalanceInputItem) SetTokenIdentifier(v *TokenIdentifier) *BatchGetTokenBalanceInputItem { - s.TokenIdentifier = v +// SetTokenStandard sets the TokenStandard field's value. +func (s *ContractFilter) SetTokenStandard(v string) *ContractFilter { + s.TokenStandard = &v return s } -type BatchGetTokenBalanceOutput struct { +// Container for the blockchain address and network information about a contract. +type ContractIdentifier struct { _ struct{} `type:"structure"` - // An array of BatchGetTokenBalanceErrorItem objects returned from the request. + // Container for the blockchain address about a contract. // - // Errors is a required field - Errors []*BatchGetTokenBalanceErrorItem `locationName:"errors" type:"list" required:"true"` + // ContractAddress is a required field + ContractAddress *string `locationName:"contractAddress" type:"string" required:"true"` - // An array of BatchGetTokenBalanceOutputItem objects returned by the response. + // The blockchain network of the contract. // - // TokenBalances is a required field - TokenBalances []*BatchGetTokenBalanceOutputItem `locationName:"tokenBalances" type:"list" required:"true"` + // Network is a required field + Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"` } // String returns the string representation. @@ -1085,7 +1629,7 @@ type BatchGetTokenBalanceOutput 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 BatchGetTokenBalanceOutput) String() string { +func (s ContractIdentifier) String() string { return awsutil.Prettify(s) } @@ -1094,48 +1638,50 @@ func (s BatchGetTokenBalanceOutput) 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 BatchGetTokenBalanceOutput) GoString() string { +func (s ContractIdentifier) GoString() string { return s.String() } -// SetErrors sets the Errors field's value. -func (s *BatchGetTokenBalanceOutput) SetErrors(v []*BatchGetTokenBalanceErrorItem) *BatchGetTokenBalanceOutput { - s.Errors = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ContractIdentifier) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContractIdentifier"} + if s.ContractAddress == nil { + invalidParams.Add(request.NewErrParamRequired("ContractAddress")) + } + if s.Network == nil { + invalidParams.Add(request.NewErrParamRequired("Network")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContractAddress sets the ContractAddress field's value. +func (s *ContractIdentifier) SetContractAddress(v string) *ContractIdentifier { + s.ContractAddress = &v return s } -// SetTokenBalances sets the TokenBalances field's value. -func (s *BatchGetTokenBalanceOutput) SetTokenBalances(v []*BatchGetTokenBalanceOutputItem) *BatchGetTokenBalanceOutput { - s.TokenBalances = v +// SetNetwork sets the Network field's value. +func (s *ContractIdentifier) SetNetwork(v string) *ContractIdentifier { + s.Network = &v return s } -// The container for the properties of a token balance output. -type BatchGetTokenBalanceOutputItem struct { +// The metadata of the contract. +type ContractMetadata struct { _ struct{} `type:"structure"` - // The container for time. - // - // AtBlockchainInstant is a required field - AtBlockchainInstant *BlockchainInstant `locationName:"atBlockchainInstant" type:"structure" required:"true"` - - // The container for the token balance. - // - // Balance is a required field - Balance *string `locationName:"balance" type:"string" required:"true"` - - // The container for time. - LastUpdatedTime *BlockchainInstant `locationName:"lastUpdatedTime" type:"structure"` + // The decimals used by the token contract. + Decimals *int64 `locationName:"decimals" type:"integer"` - // The container for the identifier of the owner. - OwnerIdentifier *OwnerIdentifier `locationName:"ownerIdentifier" type:"structure"` + // The name of the token contract. + Name *string `locationName:"name" type:"string"` - // The container for the identifier for the token including the unique token - // ID and its blockchain network. - // - // Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token - // standards are supported. - TokenIdentifier *TokenIdentifier `locationName:"tokenIdentifier" type:"structure"` + // The symbol of the token contract. + Symbol *string `locationName:"symbol" type:"string"` } // String returns the string representation. @@ -1143,7 +1689,7 @@ type BatchGetTokenBalanceOutputItem 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 BatchGetTokenBalanceOutputItem) String() string { +func (s ContractMetadata) String() string { return awsutil.Prettify(s) } @@ -1152,48 +1698,99 @@ func (s BatchGetTokenBalanceOutputItem) 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 BatchGetTokenBalanceOutputItem) GoString() string { +func (s ContractMetadata) GoString() string { return s.String() } -// SetAtBlockchainInstant sets the AtBlockchainInstant field's value. -func (s *BatchGetTokenBalanceOutputItem) SetAtBlockchainInstant(v *BlockchainInstant) *BatchGetTokenBalanceOutputItem { - s.AtBlockchainInstant = v +// SetDecimals sets the Decimals field's value. +func (s *ContractMetadata) SetDecimals(v int64) *ContractMetadata { + s.Decimals = &v return s } -// SetBalance sets the Balance field's value. -func (s *BatchGetTokenBalanceOutputItem) SetBalance(v string) *BatchGetTokenBalanceOutputItem { - s.Balance = &v +// SetName sets the Name field's value. +func (s *ContractMetadata) SetName(v string) *ContractMetadata { + s.Name = &v return s } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *BatchGetTokenBalanceOutputItem) SetLastUpdatedTime(v *BlockchainInstant) *BatchGetTokenBalanceOutputItem { - s.LastUpdatedTime = v +// SetSymbol sets the Symbol field's value. +func (s *ContractMetadata) SetSymbol(v string) *ContractMetadata { + s.Symbol = &v return s } -// SetOwnerIdentifier sets the OwnerIdentifier field's value. -func (s *BatchGetTokenBalanceOutputItem) SetOwnerIdentifier(v *OwnerIdentifier) *BatchGetTokenBalanceOutputItem { - s.OwnerIdentifier = v - return s +type GetAssetContractInput struct { + _ struct{} `type:"structure"` + + // Contains the blockchain address and network information about the contract. + // + // ContractIdentifier is a required field + ContractIdentifier *ContractIdentifier `locationName:"contractIdentifier" type:"structure" required:"true"` } -// SetTokenIdentifier sets the TokenIdentifier field's value. -func (s *BatchGetTokenBalanceOutputItem) SetTokenIdentifier(v *TokenIdentifier) *BatchGetTokenBalanceOutputItem { - s.TokenIdentifier = v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAssetContractInput) 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 GetAssetContractInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAssetContractInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAssetContractInput"} + if s.ContractIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ContractIdentifier")) + } + if s.ContractIdentifier != nil { + if err := s.ContractIdentifier.Validate(); err != nil { + invalidParams.AddNested("ContractIdentifier", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContractIdentifier sets the ContractIdentifier field's value. +func (s *GetAssetContractInput) SetContractIdentifier(v *ContractIdentifier) *GetAssetContractInput { + s.ContractIdentifier = v return s } -// The container for time. -type BlockchainInstant struct { +type GetAssetContractOutput struct { _ struct{} `type:"structure"` - // The container of the Timestamp of the blockchain instant. + // Contains the blockchain address and network information about the contract. // - // This timestamp will only be recorded up to the second. - Time *time.Time `locationName:"time" type:"timestamp"` + // ContractIdentifier is a required field + ContractIdentifier *ContractIdentifier `locationName:"contractIdentifier" type:"structure" required:"true"` + + // The address of the deployer of contract. + // + // DeployerAddress is a required field + DeployerAddress *string `locationName:"deployerAddress" type:"string" required:"true"` + + // The metadata of the contract. + Metadata *ContractMetadata `locationName:"metadata" type:"structure"` + + // The token standard of the contract requested. + // + // TokenStandard is a required field + TokenStandard *string `locationName:"tokenStandard" type:"string" required:"true" enum:"QueryTokenStandard"` } // String returns the string representation. @@ -1201,7 +1798,7 @@ type BlockchainInstant 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 BlockchainInstant) String() string { +func (s GetAssetContractOutput) String() string { return awsutil.Prettify(s) } @@ -1210,13 +1807,31 @@ func (s BlockchainInstant) 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 BlockchainInstant) GoString() string { +func (s GetAssetContractOutput) GoString() string { return s.String() } -// SetTime sets the Time field's value. -func (s *BlockchainInstant) SetTime(v time.Time) *BlockchainInstant { - s.Time = &v +// SetContractIdentifier sets the ContractIdentifier field's value. +func (s *GetAssetContractOutput) SetContractIdentifier(v *ContractIdentifier) *GetAssetContractOutput { + s.ContractIdentifier = v + return s +} + +// SetDeployerAddress sets the DeployerAddress field's value. +func (s *GetAssetContractOutput) SetDeployerAddress(v string) *GetAssetContractOutput { + s.DeployerAddress = &v + return s +} + +// SetMetadata sets the Metadata field's value. +func (s *GetAssetContractOutput) SetMetadata(v *ContractMetadata) *GetAssetContractOutput { + s.Metadata = v + return s +} + +// SetTokenStandard sets the TokenStandard field's value. +func (s *GetAssetContractOutput) SetTokenStandard(v string) *GetAssetContractOutput { + s.TokenStandard = &v return s } @@ -1540,6 +2155,120 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } +type ListAssetContractsInput struct { + _ struct{} `type:"structure"` + + // Contains the filter parameter for the request. + // + // ContractFilter is a required field + ContractFilter *ContractFilter `locationName:"contractFilter" type:"structure" required:"true"` + + // The maximum number of contracts to list. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The pagination token that indicates the next set of results to retrieve. + NextToken *string `locationName:"nextToken" 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 ListAssetContractsInput) 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 ListAssetContractsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAssetContractsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAssetContractsInput"} + if s.ContractFilter == nil { + invalidParams.Add(request.NewErrParamRequired("ContractFilter")) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ContractFilter != nil { + if err := s.ContractFilter.Validate(); err != nil { + invalidParams.AddNested("ContractFilter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContractFilter sets the ContractFilter field's value. +func (s *ListAssetContractsInput) SetContractFilter(v *ContractFilter) *ListAssetContractsInput { + s.ContractFilter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAssetContractsInput) SetMaxResults(v int64) *ListAssetContractsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAssetContractsInput) SetNextToken(v string) *ListAssetContractsInput { + s.NextToken = &v + return s +} + +type ListAssetContractsOutput struct { + _ struct{} `type:"structure"` + + // An array of contract objects that contain the properties for each contract. + // + // Contracts is a required field + Contracts []*AssetContract `locationName:"contracts" type:"list" required:"true"` + + // The pagination token that indicates the next set of results to retrieve. + NextToken *string `locationName:"nextToken" 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 ListAssetContractsOutput) 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 ListAssetContractsOutput) GoString() string { + return s.String() +} + +// SetContracts sets the Contracts field's value. +func (s *ListAssetContractsOutput) SetContracts(v []*AssetContract) *ListAssetContractsOutput { + s.Contracts = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAssetContractsOutput) SetNextToken(v string) *ListAssetContractsOutput { + s.NextToken = &v + return s +} + type ListTokenBalancesInput struct { _ struct{} `type:"structure"` @@ -2361,7 +3090,7 @@ type TokenBalance struct { // Balance is a required field Balance *string `locationName:"balance" type:"string" required:"true"` - // The timestamp of the last transaction at which the balance for the token + // The Timestamp of the last transaction at which the balance for the token // in the wallet was updated. LastUpdatedTime *BlockchainInstant `locationName:"lastUpdatedTime" type:"structure"` @@ -2507,6 +3236,10 @@ type TokenIdentifier struct { Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"` // The unique identifier of the token. + // + // You must specify this container with btc for the native BTC token, and eth + // for the native ETH token. For all other token types you must specify the + // tokenId in the 64 character hexadecimal tokenid format. TokenId *string `locationName:"tokenId" type:"string"` } @@ -2594,7 +3327,7 @@ type Transaction struct { // The amount of gas used for the transaction. GasUsed *string `locationName:"gasUsed" type:"string"` - // The blockchain network where the transaction occured. + // The blockchain network where the transaction occurred. // // Network is a required field Network *string `locationName:"network" type:"string" required:"true" enum:"QueryNetwork"` @@ -3112,6 +3845,9 @@ const ( // QueryNetworkBitcoinMainnet is a QueryNetwork enum value QueryNetworkBitcoinMainnet = "BITCOIN_MAINNET" + + // QueryNetworkBitcoinTestnet is a QueryNetwork enum value + QueryNetworkBitcoinTestnet = "BITCOIN_TESTNET" ) // QueryNetwork_Values returns all elements of the QueryNetwork enum @@ -3119,6 +3855,27 @@ func QueryNetwork_Values() []string { return []string{ QueryNetworkEthereumMainnet, QueryNetworkBitcoinMainnet, + QueryNetworkBitcoinTestnet, + } +} + +const ( + // QueryTokenStandardErc20 is a QueryTokenStandard enum value + QueryTokenStandardErc20 = "ERC20" + + // QueryTokenStandardErc721 is a QueryTokenStandard enum value + QueryTokenStandardErc721 = "ERC721" + + // QueryTokenStandardErc1155 is a QueryTokenStandard enum value + QueryTokenStandardErc1155 = "ERC1155" +) + +// QueryTokenStandard_Values returns all elements of the QueryTokenStandard enum +func QueryTokenStandard_Values() []string { + return []string{ + QueryTokenStandardErc20, + QueryTokenStandardErc721, + QueryTokenStandardErc1155, } } diff --git a/service/managedblockchainquery/managedblockchainqueryiface/interface.go b/service/managedblockchainquery/managedblockchainqueryiface/interface.go index 50434cbca7d..5f5f15f0d56 100644 --- a/service/managedblockchainquery/managedblockchainqueryiface/interface.go +++ b/service/managedblockchainquery/managedblockchainqueryiface/interface.go @@ -64,6 +64,10 @@ type ManagedBlockchainQueryAPI interface { BatchGetTokenBalanceWithContext(aws.Context, *managedblockchainquery.BatchGetTokenBalanceInput, ...request.Option) (*managedblockchainquery.BatchGetTokenBalanceOutput, error) BatchGetTokenBalanceRequest(*managedblockchainquery.BatchGetTokenBalanceInput) (*request.Request, *managedblockchainquery.BatchGetTokenBalanceOutput) + GetAssetContract(*managedblockchainquery.GetAssetContractInput) (*managedblockchainquery.GetAssetContractOutput, error) + GetAssetContractWithContext(aws.Context, *managedblockchainquery.GetAssetContractInput, ...request.Option) (*managedblockchainquery.GetAssetContractOutput, error) + GetAssetContractRequest(*managedblockchainquery.GetAssetContractInput) (*request.Request, *managedblockchainquery.GetAssetContractOutput) + GetTokenBalance(*managedblockchainquery.GetTokenBalanceInput) (*managedblockchainquery.GetTokenBalanceOutput, error) GetTokenBalanceWithContext(aws.Context, *managedblockchainquery.GetTokenBalanceInput, ...request.Option) (*managedblockchainquery.GetTokenBalanceOutput, error) GetTokenBalanceRequest(*managedblockchainquery.GetTokenBalanceInput) (*request.Request, *managedblockchainquery.GetTokenBalanceOutput) @@ -72,6 +76,13 @@ type ManagedBlockchainQueryAPI interface { GetTransactionWithContext(aws.Context, *managedblockchainquery.GetTransactionInput, ...request.Option) (*managedblockchainquery.GetTransactionOutput, error) GetTransactionRequest(*managedblockchainquery.GetTransactionInput) (*request.Request, *managedblockchainquery.GetTransactionOutput) + ListAssetContracts(*managedblockchainquery.ListAssetContractsInput) (*managedblockchainquery.ListAssetContractsOutput, error) + ListAssetContractsWithContext(aws.Context, *managedblockchainquery.ListAssetContractsInput, ...request.Option) (*managedblockchainquery.ListAssetContractsOutput, error) + ListAssetContractsRequest(*managedblockchainquery.ListAssetContractsInput) (*request.Request, *managedblockchainquery.ListAssetContractsOutput) + + ListAssetContractsPages(*managedblockchainquery.ListAssetContractsInput, func(*managedblockchainquery.ListAssetContractsOutput, bool) bool) error + ListAssetContractsPagesWithContext(aws.Context, *managedblockchainquery.ListAssetContractsInput, func(*managedblockchainquery.ListAssetContractsOutput, bool) bool, ...request.Option) error + ListTokenBalances(*managedblockchainquery.ListTokenBalancesInput) (*managedblockchainquery.ListTokenBalancesOutput, error) ListTokenBalancesWithContext(aws.Context, *managedblockchainquery.ListTokenBalancesInput, ...request.Option) (*managedblockchainquery.ListTokenBalancesOutput, error) ListTokenBalancesRequest(*managedblockchainquery.ListTokenBalancesInput) (*request.Request, *managedblockchainquery.ListTokenBalancesOutput) diff --git a/service/mediapackagev2/api.go b/service/mediapackagev2/api.go index d1ebc063277..fab9f13b0d8 100644 --- a/service/mediapackagev2/api.go +++ b/service/mediapackagev2/api.go @@ -5537,21 +5537,21 @@ type GetOriginEndpointPolicyOutput struct { // for the channel group, and must be unique for your account in the AWS Region. // // ChannelGroupName is a required field - ChannelGroupName *string `type:"string" required:"true"` + ChannelGroupName *string `min:"1" type:"string" required:"true"` // 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. // // ChannelName is a required field - ChannelName *string `type:"string" required:"true"` + ChannelName *string `min:"1" type:"string" required:"true"` // 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. // // OriginEndpointName is a required field - OriginEndpointName *string `type:"string" required:"true"` + OriginEndpointName *string `min:"1" type:"string" required:"true"` // The policy assigned to the origin endpoint. // diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 03f56eb6f08..49c4c5f11dc 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -5290,7 +5290,7 @@ func (c *OpenSearchService) UpdateDomainConfigRequest(input *UpdateDomainConfigI // UpdateDomainConfig API operation for Amazon OpenSearch Service. // // Modifies the cluster configuration of the specified Amazon OpenSearch Service -// domain.sl +// domain. // // 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 @@ -8865,11 +8865,14 @@ func (s *CreateVpcEndpointOutput) SetVpcEndpoint(v *VpcEndpoint) *CreateVpcEndpo return s } -// Cross cluster search specific connection properties. +// Cross-cluster search specific connection properties. type CrossClusterSearchConnectionProperties struct { _ struct{} `type:"structure"` - // Status of SkipUnavailable param for outbound connection. + // The status of the SkipUnavailable setting for the outbound connection. This + // feature allows you to specify some clusters as optional and ensure that your + // cross-cluster queries return partial results despite failures on one or more + // remote clusters. SkipUnavailable *string `type:"string" enum:"SkipUnavailableStatus"` } @@ -10065,8 +10068,7 @@ type DescribeDomainsInput struct { _ struct{} `type:"structure"` // Array of OpenSearch Service domain names that you want information about. - // If you don't specify any domains, OpenSearch Service returns information - // about all domains owned by the account. + // You must specify at least one domain name. // // DomainNames is a required field DomainNames []*string `type:"list" required:"true"` @@ -15362,9 +15364,17 @@ type PackageDetails struct { // The package version. AvailablePackageVersion *string `type:"string"` + // If the package is a ZIP-PLUGIN package, additional information about plugin + // properties. + AvailablePluginProperties *PluginProperties `type:"structure"` + // The timestamp when the package was created. CreatedAt *time.Time `type:"timestamp"` + // Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or + // OpenSearch_X.Y. Defaults to the latest version of OpenSearch. + EngineVersion *string `type:"string"` + // Additional information if the package is in an error state. Null otherwise. ErrorDetails *ErrorDetails `type:"structure"` @@ -15412,12 +15422,24 @@ func (s *PackageDetails) SetAvailablePackageVersion(v string) *PackageDetails { return s } +// SetAvailablePluginProperties sets the AvailablePluginProperties field's value. +func (s *PackageDetails) SetAvailablePluginProperties(v *PluginProperties) *PackageDetails { + s.AvailablePluginProperties = v + return s +} + // SetCreatedAt sets the CreatedAt field's value. func (s *PackageDetails) SetCreatedAt(v time.Time) *PackageDetails { s.CreatedAt = &v return s } +// SetEngineVersion sets the EngineVersion field's value. +func (s *PackageDetails) SetEngineVersion(v string) *PackageDetails { + s.EngineVersion = &v + return s +} + // SetErrorDetails sets the ErrorDetails field's value. func (s *PackageDetails) SetErrorDetails(v *ErrorDetails) *PackageDetails { s.ErrorDetails = v @@ -15529,6 +15551,10 @@ type PackageVersionHistory struct { // The package version. PackageVersion *string `type:"string"` + + // Additional information about plugin properties if the package is a ZIP-PLUGIN + // package. + PluginProperties *PluginProperties `type:"structure"` } // String returns the string representation. @@ -15567,6 +15593,80 @@ func (s *PackageVersionHistory) SetPackageVersion(v string) *PackageVersionHisto return s } +// SetPluginProperties sets the PluginProperties field's value. +func (s *PackageVersionHistory) SetPluginProperties(v *PluginProperties) *PackageVersionHistory { + s.PluginProperties = v + return s +} + +// Basic information about the plugin. +type PluginProperties struct { + _ struct{} `type:"structure"` + + // The name of the class to load. + ClassName *string `type:"string"` + + // The description of the plugin. + Description *string `type:"string"` + + // The name of the plugin. + Name *string `type:"string"` + + // The uncompressed size of the plugin. + UncompressedSizeInBytes *int64 `type:"long"` + + // The version of the plugin. + Version *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 PluginProperties) 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 PluginProperties) GoString() string { + return s.String() +} + +// SetClassName sets the ClassName field's value. +func (s *PluginProperties) SetClassName(v string) *PluginProperties { + s.ClassName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PluginProperties) SetDescription(v string) *PluginProperties { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *PluginProperties) SetName(v string) *PluginProperties { + s.Name = &v + return s +} + +// SetUncompressedSizeInBytes sets the UncompressedSizeInBytes field's value. +func (s *PluginProperties) SetUncompressedSizeInBytes(v int64) *PluginProperties { + s.UncompressedSizeInBytes = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *PluginProperties) SetVersion(v string) *PluginProperties { + s.Version = &v + return s +} + // Container for request parameters to the PurchaseReservedInstanceOffering // operation. type PurchaseReservedInstanceOfferingInput struct { @@ -19210,6 +19310,12 @@ const ( // DescribePackagesFilterNamePackageStatus is a DescribePackagesFilterName enum value DescribePackagesFilterNamePackageStatus = "PackageStatus" + + // DescribePackagesFilterNamePackageType is a DescribePackagesFilterName enum value + DescribePackagesFilterNamePackageType = "PackageType" + + // DescribePackagesFilterNameEngineVersion is a DescribePackagesFilterName enum value + DescribePackagesFilterNameEngineVersion = "EngineVersion" ) // DescribePackagesFilterName_Values returns all elements of the DescribePackagesFilterName enum @@ -19218,6 +19324,8 @@ func DescribePackagesFilterName_Values() []string { DescribePackagesFilterNamePackageId, DescribePackagesFilterNamePackageName, DescribePackagesFilterNamePackageStatus, + DescribePackagesFilterNamePackageType, + DescribePackagesFilterNameEngineVersion, } } @@ -20008,12 +20116,16 @@ func PackageStatus_Values() []string { const ( // PackageTypeTxtDictionary is a PackageType enum value PackageTypeTxtDictionary = "TXT-DICTIONARY" + + // PackageTypeZipPlugin is a PackageType enum value + PackageTypeZipPlugin = "ZIP-PLUGIN" ) // PackageType_Values returns all elements of the PackageType enum func PackageType_Values() []string { return []string{ PackageTypeTxtDictionary, + PackageTypeZipPlugin, } } @@ -20144,11 +20256,11 @@ func ScheduledBy_Values() []string { } } -// Status of SkipUnavailable param for outbound connection. +// The status of SkipUnavailable setting for the outbound connection. // -// - ENABLED - The SkipUnavailable param is enabled for the connection. +// - ENABLED - The SkipUnavailable setting is enabled for the connection. // -// - DISABLED - The SkipUnavailable param is disabled for the connection. +// - DISABLED - The SkipUnavailable setting is disabled for the connection. const ( // SkipUnavailableStatusEnabled is a SkipUnavailableStatus enum value SkipUnavailableStatusEnabled = "ENABLED" diff --git a/service/redshift/api.go b/service/redshift/api.go index 6dd959a6333..9a0d812f1db 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -5827,7 +5827,7 @@ func (c *Redshift) DescribeCustomDomainAssociationsRequest(input *DescribeCustom // DescribeCustomDomainAssociations API operation for Amazon Redshift. // -// Contains information for custom domain associations for a cluster. +// Contains information about custom domain associations for a cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -15228,6 +15228,13 @@ type Cluster struct { // The value must be either -1 or an integer between 1 and 3,653. ManualSnapshotRetentionPeriod *int64 `type:"integer"` + // The Amazon Resource Name (ARN) for the cluster's admin user credentials secret. + MasterPasswordSecretArn *string `type:"string"` + + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the cluster's admin credentials secret. + MasterPasswordSecretKmsKeyId *string `type:"string"` + // The admin user name for the cluster. This name is used to connect to the // database that is specified in the DBName parameter. MasterUsername *string `type:"string"` @@ -15536,6 +15543,18 @@ func (s *Cluster) SetManualSnapshotRetentionPeriod(v int64) *Cluster { return s } +// SetMasterPasswordSecretArn sets the MasterPasswordSecretArn field's value. +func (s *Cluster) SetMasterPasswordSecretArn(v string) *Cluster { + s.MasterPasswordSecretArn = &v + return s +} + +// SetMasterPasswordSecretKmsKeyId sets the MasterPasswordSecretKmsKeyId field's value. +func (s *Cluster) SetMasterPasswordSecretKmsKeyId(v string) *Cluster { + s.MasterPasswordSecretKmsKeyId = &v + return s +} + // SetMasterUsername sets the MasterUsername field's value. func (s *Cluster) SetMasterUsername(v string) *Cluster { s.MasterUsername = &v @@ -16816,6 +16835,12 @@ type CreateClusterInput struct { // the current track. MaintenanceTrackName *string `type:"string"` + // If true, Amazon Redshift uses Secrets Manager to manage this cluster's admin + // credentials. You can't use MasterUserPassword if ManageMasterPassword is + // true. If ManageMasterPassword is false or not set, Amazon Redshift uses MasterUserPassword + // for the admin user account's password. + ManageMasterPassword *bool `type:"boolean"` + // The default number of days to retain a manual snapshot. If the value is -1, // the snapshot is retained indefinitely. This setting doesn't change the retention // period of existing snapshots. @@ -16823,9 +16848,16 @@ type CreateClusterInput struct { // The value must be either -1 or an integer between 1 and 3,653. ManualSnapshotRetentionPeriod *int64 `type:"integer"` + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the cluster's admin credentials secret. You can only use this parameter if + // ManageMasterPassword is true. + MasterPasswordSecretKmsKeyId *string `type:"string"` + // The password associated with the admin user account for the cluster that // is being created. // + // You can't use MasterUserPassword if ManageMasterPassword is true. + // // Constraints: // // * Must be between 8 and 64 characters in length. @@ -16839,8 +16871,10 @@ type CreateClusterInput struct { // * Can be any printable ASCII character (ASCII code 33-126) except ' (single // quote), " (double quote), \, /, or @. // - // MasterUserPassword is a required field - MasterUserPassword *string `type:"string" required:"true"` + // MasterUserPassword is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateClusterInput's + // String and GoString methods. + MasterUserPassword *string `type:"string" sensitive:"true"` // The user name associated with the admin user account for the cluster that // is being created. @@ -16956,9 +16990,6 @@ func (s *CreateClusterInput) Validate() error { if s.ClusterIdentifier == nil { invalidParams.Add(request.NewErrParamRequired("ClusterIdentifier")) } - if s.MasterUserPassword == nil { - invalidParams.Add(request.NewErrParamRequired("MasterUserPassword")) - } if s.MasterUsername == nil { invalidParams.Add(request.NewErrParamRequired("MasterUsername")) } @@ -17110,12 +17141,24 @@ func (s *CreateClusterInput) SetMaintenanceTrackName(v string) *CreateClusterInp return s } +// SetManageMasterPassword sets the ManageMasterPassword field's value. +func (s *CreateClusterInput) SetManageMasterPassword(v bool) *CreateClusterInput { + s.ManageMasterPassword = &v + return s +} + // SetManualSnapshotRetentionPeriod sets the ManualSnapshotRetentionPeriod field's value. func (s *CreateClusterInput) SetManualSnapshotRetentionPeriod(v int64) *CreateClusterInput { s.ManualSnapshotRetentionPeriod = &v return s } +// SetMasterPasswordSecretKmsKeyId sets the MasterPasswordSecretKmsKeyId field's value. +func (s *CreateClusterInput) SetMasterPasswordSecretKmsKeyId(v string) *CreateClusterInput { + s.MasterPasswordSecretKmsKeyId = &v + return s +} + // SetMasterUserPassword sets the MasterUserPassword field's value. func (s *CreateClusterInput) SetMasterUserPassword(v string) *CreateClusterInput { s.MasterUserPassword = &v @@ -28797,6 +28840,12 @@ type ModifyClusterInput struct { // for the maintenance track. At this point, the maintenance track name is applied. MaintenanceTrackName *string `type:"string"` + // If true, Amazon Redshift uses Secrets Manager to manage this cluster's admin + // credentials. You can't use MasterUserPassword if ManageMasterPassword is + // true. If ManageMasterPassword is false or not set, Amazon Redshift uses MasterUserPassword + // for the admin user account's password. + ManageMasterPassword *bool `type:"boolean"` + // The default for number of days that a newly created manual snapshot is retained. // If the value is -1, the manual snapshot is retained indefinitely. This value // doesn't retroactively change the retention periods of existing manual snapshots. @@ -28806,11 +28855,18 @@ type ModifyClusterInput struct { // The default value is -1. ManualSnapshotRetentionPeriod *int64 `type:"integer"` + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the cluster's admin credentials secret. You can only use this parameter if + // ManageMasterPassword is true. + MasterPasswordSecretKmsKeyId *string `type:"string"` + // The new password for the cluster admin user. This change is asynchronously // applied as soon as possible. Between the time of the request and the completion // of the request, the MasterUserPassword element exists in the PendingModifiedValues // element of the operation response. // + // You can't use MasterUserPassword if ManageMasterPassword is true. + // // Operations never return the password, so this operation provides a way to // regain access to the admin user account for a cluster if the password is // lost. @@ -28829,7 +28885,11 @@ type ModifyClusterInput struct { // // * Can be any printable ASCII character (ASCII code 33-126) except ' (single // quote), " (double quote), \, /, or @. - MasterUserPassword *string `type:"string"` + // + // MasterUserPassword is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ModifyClusterInput's + // String and GoString methods. + MasterUserPassword *string `type:"string" sensitive:"true"` // The new identifier for the cluster. // @@ -29026,12 +29086,24 @@ func (s *ModifyClusterInput) SetMaintenanceTrackName(v string) *ModifyClusterInp return s } +// SetManageMasterPassword sets the ManageMasterPassword field's value. +func (s *ModifyClusterInput) SetManageMasterPassword(v bool) *ModifyClusterInput { + s.ManageMasterPassword = &v + return s +} + // SetManualSnapshotRetentionPeriod sets the ManualSnapshotRetentionPeriod field's value. func (s *ModifyClusterInput) SetManualSnapshotRetentionPeriod(v int64) *ModifyClusterInput { s.ManualSnapshotRetentionPeriod = &v return s } +// SetMasterPasswordSecretKmsKeyId sets the MasterPasswordSecretKmsKeyId field's value. +func (s *ModifyClusterInput) SetMasterPasswordSecretKmsKeyId(v string) *ModifyClusterInput { + s.MasterPasswordSecretKmsKeyId = &v + return s +} + // SetMasterUserPassword sets the MasterUserPassword field's value. func (s *ModifyClusterInput) SetMasterUserPassword(v string) *ModifyClusterInput { s.MasterUserPassword = &v @@ -31325,7 +31397,11 @@ type PendingModifiedValues struct { MaintenanceTrackName *string `type:"string"` // The pending or in-progress change of the admin user password for the cluster. - MasterUserPassword *string `type:"string"` + // + // MasterUserPassword is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PendingModifiedValues's + // String and GoString methods. + MasterUserPassword *string `type:"string" sensitive:"true"` // The pending or in-progress change of the cluster's node type. NodeType *string `type:"string"` @@ -32671,6 +32747,11 @@ type RestoreFromClusterSnapshotInput struct { // are on different tracks. MaintenanceTrackName *string `type:"string"` + // If true, Amazon Redshift uses Secrets Manager to manage the restored cluster's + // admin credentials. If ManageMasterPassword is false or not set, Amazon Redshift + // uses the admin credentials the cluster had at the time the snapshot was taken. + ManageMasterPassword *bool `type:"boolean"` + // The default number of days to retain a manual snapshot. If the value is -1, // the snapshot is retained indefinitely. This setting doesn't change the retention // period of existing snapshots. @@ -32678,6 +32759,11 @@ type RestoreFromClusterSnapshotInput struct { // The value must be either -1 or an integer between 1 and 3,653. ManualSnapshotRetentionPeriod *int64 `type:"integer"` + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the cluster's admin credentials secret. You can only use this parameter if + // ManageMasterPassword is true. + MasterPasswordSecretKmsKeyId *string `type:"string"` + // The node type that the restored cluster will be provisioned with. // // Default: The node type of the cluster from which the snapshot was taken. @@ -32905,12 +32991,24 @@ func (s *RestoreFromClusterSnapshotInput) SetMaintenanceTrackName(v string) *Res return s } +// SetManageMasterPassword sets the ManageMasterPassword field's value. +func (s *RestoreFromClusterSnapshotInput) SetManageMasterPassword(v bool) *RestoreFromClusterSnapshotInput { + s.ManageMasterPassword = &v + return s +} + // SetManualSnapshotRetentionPeriod sets the ManualSnapshotRetentionPeriod field's value. func (s *RestoreFromClusterSnapshotInput) SetManualSnapshotRetentionPeriod(v int64) *RestoreFromClusterSnapshotInput { s.ManualSnapshotRetentionPeriod = &v return s } +// SetMasterPasswordSecretKmsKeyId sets the MasterPasswordSecretKmsKeyId field's value. +func (s *RestoreFromClusterSnapshotInput) SetMasterPasswordSecretKmsKeyId(v string) *RestoreFromClusterSnapshotInput { + s.MasterPasswordSecretKmsKeyId = &v + return s +} + // SetNodeType sets the NodeType field's value. func (s *RestoreFromClusterSnapshotInput) SetNodeType(v string) *RestoreFromClusterSnapshotInput { s.NodeType = &v @@ -34269,6 +34367,13 @@ type Snapshot struct { // The value must be either -1 or an integer between 1 and 3,653. ManualSnapshotRetentionPeriod *int64 `type:"integer"` + // The Amazon Resource Name (ARN) for the cluster's admin user credentials secret. + MasterPasswordSecretArn *string `type:"string"` + + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the cluster's admin credentials secret. + MasterPasswordSecretKmsKeyId *string `type:"string"` + // The admin user name for the cluster. MasterUsername *string `type:"string"` @@ -34461,6 +34566,18 @@ func (s *Snapshot) SetManualSnapshotRetentionPeriod(v int64) *Snapshot { return s } +// SetMasterPasswordSecretArn sets the MasterPasswordSecretArn field's value. +func (s *Snapshot) SetMasterPasswordSecretArn(v string) *Snapshot { + s.MasterPasswordSecretArn = &v + return s +} + +// SetMasterPasswordSecretKmsKeyId sets the MasterPasswordSecretKmsKeyId field's value. +func (s *Snapshot) SetMasterPasswordSecretKmsKeyId(v string) *Snapshot { + s.MasterPasswordSecretKmsKeyId = &v + return s +} + // SetMasterUsername sets the MasterUsername field's value. func (s *Snapshot) SetMasterUsername(v string) *Snapshot { s.MasterUsername = &v diff --git a/service/redshiftserverless/api.go b/service/redshiftserverless/api.go index 0e459095ff6..b8c6da469f4 100644 --- a/service/redshiftserverless/api.go +++ b/service/redshiftserverless/api.go @@ -4413,8 +4413,15 @@ func (s *CreateEndpointAccessOutput) SetEndpoint(v *EndpointAccess) *CreateEndpo type CreateNamespaceInput struct { _ struct{} `type:"structure"` + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the namespace's admin credentials secret. You can only use this parameter + // if manageAdminPassword is true. + AdminPasswordSecretKmsKeyId *string `locationName:"adminPasswordSecretKmsKeyId" type:"string"` + // The password of the administrator for the first database created in the namespace. // + // You can't use adminUserPassword if manageAdminPassword is true. + // // AdminUserPassword is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateNamespaceInput's // String and GoString methods. @@ -4445,6 +4452,12 @@ type CreateNamespaceInput struct { // connectionlog, and useractivitylog. LogExports []*string `locationName:"logExports" type:"list" enum:"LogExport"` + // If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin + // credentials. You can't use adminUserPassword if manageAdminPassword is true. + // If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword + // for the admin user account's password. + ManageAdminPassword *bool `locationName:"manageAdminPassword" type:"boolean"` + // The name of the namespace. // // NamespaceName is a required field @@ -4498,6 +4511,12 @@ func (s *CreateNamespaceInput) Validate() error { return nil } +// SetAdminPasswordSecretKmsKeyId sets the AdminPasswordSecretKmsKeyId field's value. +func (s *CreateNamespaceInput) SetAdminPasswordSecretKmsKeyId(v string) *CreateNamespaceInput { + s.AdminPasswordSecretKmsKeyId = &v + return s +} + // SetAdminUserPassword sets the AdminUserPassword field's value. func (s *CreateNamespaceInput) SetAdminUserPassword(v string) *CreateNamespaceInput { s.AdminUserPassword = &v @@ -4540,6 +4559,12 @@ func (s *CreateNamespaceInput) SetLogExports(v []*string) *CreateNamespaceInput return s } +// SetManageAdminPassword sets the ManageAdminPassword field's value. +func (s *CreateNamespaceInput) SetManageAdminPassword(v bool) *CreateNamespaceInput { + s.ManageAdminPassword = &v + return s +} + // SetNamespaceName sets the NamespaceName field's value. func (s *CreateNamespaceInput) SetNamespaceName(v string) *CreateNamespaceInput { s.NamespaceName = &v @@ -7567,6 +7592,14 @@ func (s *ListWorkgroupsOutput) SetWorkgroups(v []*Workgroup) *ListWorkgroupsOutp type Namespace struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) for the namespace's admin user credentials + // secret. + AdminPasswordSecretArn *string `locationName:"adminPasswordSecretArn" type:"string"` + + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the namespace's admin credentials secret. + AdminPasswordSecretKmsKeyId *string `locationName:"adminPasswordSecretKmsKeyId" type:"string"` + // The username of the administrator for the first database created in the namespace. // // AdminUsername is a sensitive parameter and its value will be @@ -7629,6 +7662,18 @@ func (s Namespace) GoString() string { return s.String() } +// SetAdminPasswordSecretArn sets the AdminPasswordSecretArn field's value. +func (s *Namespace) SetAdminPasswordSecretArn(v string) *Namespace { + s.AdminPasswordSecretArn = &v + return s +} + +// SetAdminPasswordSecretKmsKeyId sets the AdminPasswordSecretKmsKeyId field's value. +func (s *Namespace) SetAdminPasswordSecretKmsKeyId(v string) *Namespace { + s.AdminPasswordSecretKmsKeyId = &v + return s +} + // SetAdminUsername sets the AdminUsername field's value. func (s *Namespace) SetAdminUsername(v string) *Namespace { s.AdminUsername = &v @@ -8163,6 +8208,16 @@ func (s *RestoreFromRecoveryPointOutput) SetRecoveryPointId(v string) *RestoreFr type RestoreFromSnapshotInput struct { _ struct{} `type:"structure"` + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the namespace's admin credentials secret. + AdminPasswordSecretKmsKeyId *string `locationName:"adminPasswordSecretKmsKeyId" type:"string"` + + // If true, Amazon Redshift uses Secrets Manager to manage the restored snapshot's + // admin credentials. If MmanageAdminPassword is false or not set, Amazon Redshift + // uses the admin credentials that the namespace or cluster had at the time + // the snapshot was taken. + ManageAdminPassword *bool `locationName:"manageAdminPassword" type:"boolean"` + // The name of the namespace to restore the snapshot to. // // NamespaceName is a required field @@ -8228,6 +8283,18 @@ func (s *RestoreFromSnapshotInput) Validate() error { return nil } +// SetAdminPasswordSecretKmsKeyId sets the AdminPasswordSecretKmsKeyId field's value. +func (s *RestoreFromSnapshotInput) SetAdminPasswordSecretKmsKeyId(v string) *RestoreFromSnapshotInput { + s.AdminPasswordSecretKmsKeyId = &v + return s +} + +// SetManageAdminPassword sets the ManageAdminPassword field's value. +func (s *RestoreFromSnapshotInput) SetManageAdminPassword(v bool) *RestoreFromSnapshotInput { + s.ManageAdminPassword = &v + return s +} + // SetNamespaceName sets the NamespaceName field's value. func (s *RestoreFromSnapshotInput) SetNamespaceName(v string) *RestoreFromSnapshotInput { s.NamespaceName = &v @@ -8571,6 +8638,14 @@ type Snapshot struct { // The size of the incremental backup in megabytes. ActualIncrementalBackupSizeInMegaBytes *float64 `locationName:"actualIncrementalBackupSizeInMegaBytes" type:"double"` + // The Amazon Resource Name (ARN) for the namespace's admin user credentials + // secret. + AdminPasswordSecretArn *string `locationName:"adminPasswordSecretArn" type:"string"` + + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the namespace's admin credentials secret. + AdminPasswordSecretKmsKeyId *string `locationName:"adminPasswordSecretKmsKeyId" type:"string"` + // The username of the database within a snapshot. AdminUsername *string `locationName:"adminUsername" type:"string"` @@ -8660,6 +8735,18 @@ func (s *Snapshot) SetActualIncrementalBackupSizeInMegaBytes(v float64) *Snapsho return s } +// SetAdminPasswordSecretArn sets the AdminPasswordSecretArn field's value. +func (s *Snapshot) SetAdminPasswordSecretArn(v string) *Snapshot { + s.AdminPasswordSecretArn = &v + return s +} + +// SetAdminPasswordSecretKmsKeyId sets the AdminPasswordSecretKmsKeyId field's value. +func (s *Snapshot) SetAdminPasswordSecretKmsKeyId(v string) *Snapshot { + s.AdminPasswordSecretKmsKeyId = &v + return s +} + // SetAdminUsername sets the AdminUsername field's value. func (s *Snapshot) SetAdminUsername(v string) *Snapshot { s.AdminUsername = &v @@ -9390,9 +9477,16 @@ func (s *UpdateEndpointAccessOutput) SetEndpoint(v *EndpointAccess) *UpdateEndpo type UpdateNamespaceInput struct { _ struct{} `type:"structure"` + // The ID of the Key Management Service (KMS) key used to encrypt and store + // the namespace's admin credentials secret. You can only use this parameter + // if manageAdminPassword is true. + AdminPasswordSecretKmsKeyId *string `locationName:"adminPasswordSecretKmsKeyId" type:"string"` + // The password of the administrator for the first database created in the namespace. // This parameter must be updated together with adminUsername. // + // You can't use adminUserPassword if manageAdminPassword is true. + // // AdminUserPassword is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateNamespaceInput's // String and GoString methods. @@ -9422,6 +9516,12 @@ type UpdateNamespaceInput struct { // connectionlog, and useractivitylog. LogExports []*string `locationName:"logExports" type:"list" enum:"LogExport"` + // If true, Amazon Redshift uses Secrets Manager to manage the namespace's admin + // credentials. You can't use adminUserPassword if manageAdminPassword is true. + // If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword + // for the admin user account's password. + ManageAdminPassword *bool `locationName:"manageAdminPassword" type:"boolean"` + // The name of the namespace to update. You can't update the name of a namespace // once it is created. // @@ -9463,6 +9563,12 @@ func (s *UpdateNamespaceInput) Validate() error { return nil } +// SetAdminPasswordSecretKmsKeyId sets the AdminPasswordSecretKmsKeyId field's value. +func (s *UpdateNamespaceInput) SetAdminPasswordSecretKmsKeyId(v string) *UpdateNamespaceInput { + s.AdminPasswordSecretKmsKeyId = &v + return s +} + // SetAdminUserPassword sets the AdminUserPassword field's value. func (s *UpdateNamespaceInput) SetAdminUserPassword(v string) *UpdateNamespaceInput { s.AdminUserPassword = &v @@ -9499,6 +9605,12 @@ func (s *UpdateNamespaceInput) SetLogExports(v []*string) *UpdateNamespaceInput return s } +// SetManageAdminPassword sets the ManageAdminPassword field's value. +func (s *UpdateNamespaceInput) SetManageAdminPassword(v bool) *UpdateNamespaceInput { + s.ManageAdminPassword = &v + return s +} + // SetNamespaceName sets the NamespaceName field's value. func (s *UpdateNamespaceInput) SetNamespaceName(v string) *UpdateNamespaceInput { s.NamespaceName = &v diff --git a/service/sesv2/api.go b/service/sesv2/api.go index 5d1eeba256a..e05a69a6939 100644 --- a/service/sesv2/api.go +++ b/service/sesv2/api.go @@ -14033,7 +14033,10 @@ type EmailContent struct { // * If you include attachments, they must be in a file format that the Amazon // SES API v2 supports. // - // * The entire message must be Base64 encoded. + // * The raw data of the message needs to base64-encoded if you are accessing + // Amazon SES directly through the HTTPS interface. If you are accessing + // Amazon SES using an Amazon Web Services SDK, the SDK takes care of the + // base 64-encoding for you. // // * If any of the MIME parts in your message contain content that is outside // of the 7-bit ASCII character range, you should encode that content to @@ -16632,6 +16635,10 @@ type GetEmailIdentityOutput struct { // with the email identity. Tags []*Tag `type:"list"` + // An object that contains additional information about the verification status + // for the identity. + VerificationInfo *VerificationInfo `type:"structure"` + // The verification status of the identity. The status can be one of the following: // // * PENDING – The verification process was initiated, but Amazon SES hasn't @@ -16714,6 +16721,12 @@ func (s *GetEmailIdentityOutput) SetTags(v []*Tag) *GetEmailIdentityOutput { return s } +// SetVerificationInfo sets the VerificationInfo field's value. +func (s *GetEmailIdentityOutput) SetVerificationInfo(v *VerificationInfo) *GetEmailIdentityOutput { + s.VerificationInfo = v + return s +} + // SetVerificationStatus sets the VerificationStatus field's value. func (s *GetEmailIdentityOutput) SetVerificationStatus(v string) *GetEmailIdentityOutput { s.VerificationStatus = &v @@ -19104,7 +19117,7 @@ type ListEmailTemplatesInput struct { // then the response includes a NextToken element, which you can use to obtain // additional results. // - // The value you specify has to be at least 1, and can be no more than 10. + // The value you specify has to be at least 1, and can be no more than 100. PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"` } @@ -22694,7 +22707,10 @@ type RawMessage struct { // // * Attachments must be in a file format that the Amazon SES supports. // - // * The entire message must be Base64 encoded. + // * The raw data of the message needs to base64-encoded if you are accessing + // Amazon SES directly through the HTTPS interface. If you are accessing + // Amazon SES using an Amazon Web Services SDK, the SDK takes care of the + // base 64-encoding for you. // // * If any of the MIME parts in your message contain content that is outside // of the 7-bit ASCII character range, you should encode that content to @@ -23000,6 +23016,57 @@ func (s *ReviewDetails) SetStatus(v string) *ReviewDetails { return s } +// An object that contains information about the start of authority (SOA) record +// associated with the identity. +type SOARecord struct { + _ struct{} `type:"structure"` + + // Administrative contact email from the SOA record. + AdminEmail *string `type:"string"` + + // Primary name server specified in the SOA record. + PrimaryNameServer *string `type:"string"` + + // Serial number from the SOA record. + SerialNumber *int64 `type:"long"` +} + +// 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 SOARecord) 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 SOARecord) GoString() string { + return s.String() +} + +// SetAdminEmail sets the AdminEmail field's value. +func (s *SOARecord) SetAdminEmail(v string) *SOARecord { + s.AdminEmail = &v + return s +} + +// SetPrimaryNameServer sets the PrimaryNameServer field's value. +func (s *SOARecord) SetPrimaryNameServer(v string) *SOARecord { + s.PrimaryNameServer = &v + return s +} + +// SetSerialNumber sets the SerialNumber field's value. +func (s *SOARecord) SetSerialNumber(v int64) *SOARecord { + s.SerialNumber = &v + return s +} + // Represents a request to send email messages to multiple destinations using // Amazon SES. For more information, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html). type SendBulkEmailInput struct { @@ -25616,6 +25683,86 @@ func (s *VdmOptions) SetGuardianOptions(v *GuardianOptions) *VdmOptions { return s } +// An object that contains additional information about the verification status +// for the identity. +type VerificationInfo struct { + _ struct{} `type:"structure"` + + // Provides the reason for the failure describing why Amazon SES was not able + // to successfully verify the identity. Below are the possible values: + // + // * INVALID_VALUE – Amazon SES was able to find the record, but the value + // contained within the record was invalid. Ensure you have published the + // correct values for the record. + // + // * TYPE_NOT_FOUND – The queried hostname exists but does not have the + // requested type of DNS record. Ensure that you have published the correct + // type of DNS record. + // + // * HOST_NOT_FOUND – The queried hostname does not exist or was not reachable + // at the time of the request. Ensure that you have published the required + // DNS record(s). + // + // * SERVICE_ERROR – A temporary issue is preventing Amazon SES from determining + // the verification status of the domain. + // + // * DNS_SERVER_ERROR – The DNS server encountered an issue and was unable + // to complete the request. + ErrorType *string `type:"string" enum:"VerificationError"` + + // The last time a verification attempt was made for this identity. + LastCheckedTimestamp *time.Time `type:"timestamp"` + + // The last time a successful verification was made for this identity. + LastSuccessTimestamp *time.Time `type:"timestamp"` + + // An object that contains information about the start of authority (SOA) record + // associated with the identity. + SOARecord *SOARecord `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 VerificationInfo) 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 VerificationInfo) GoString() string { + return s.String() +} + +// SetErrorType sets the ErrorType field's value. +func (s *VerificationInfo) SetErrorType(v string) *VerificationInfo { + s.ErrorType = &v + return s +} + +// SetLastCheckedTimestamp sets the LastCheckedTimestamp field's value. +func (s *VerificationInfo) SetLastCheckedTimestamp(v time.Time) *VerificationInfo { + s.LastCheckedTimestamp = &v + return s +} + +// SetLastSuccessTimestamp sets the LastSuccessTimestamp field's value. +func (s *VerificationInfo) SetLastSuccessTimestamp(v time.Time) *VerificationInfo { + s.LastSuccessTimestamp = &v + return s +} + +// SetSOARecord sets the SOARecord field's value. +func (s *VerificationInfo) SetSOARecord(v *SOARecord) *VerificationInfo { + s.SOARecord = v + return s +} + // An object that contains information about the amount of email that was delivered // to recipients. type VolumeStatistics struct { @@ -26663,6 +26810,34 @@ func TlsPolicy_Values() []string { } } +const ( + // VerificationErrorServiceError is a VerificationError enum value + VerificationErrorServiceError = "SERVICE_ERROR" + + // VerificationErrorDnsServerError is a VerificationError enum value + VerificationErrorDnsServerError = "DNS_SERVER_ERROR" + + // VerificationErrorHostNotFound is a VerificationError enum value + VerificationErrorHostNotFound = "HOST_NOT_FOUND" + + // VerificationErrorTypeNotFound is a VerificationError enum value + VerificationErrorTypeNotFound = "TYPE_NOT_FOUND" + + // VerificationErrorInvalidValue is a VerificationError enum value + VerificationErrorInvalidValue = "INVALID_VALUE" +) + +// VerificationError_Values returns all elements of the VerificationError enum +func VerificationError_Values() []string { + return []string{ + VerificationErrorServiceError, + VerificationErrorDnsServerError, + VerificationErrorHostNotFound, + VerificationErrorTypeNotFound, + VerificationErrorInvalidValue, + } +} + const ( // VerificationStatusPending is a VerificationStatus enum value VerificationStatusPending = "PENDING" diff --git a/service/transfer/api.go b/service/transfer/api.go index 28dfc4666c0..fec15af72a2 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -6727,7 +6727,7 @@ type CreateAccessInput struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // Logical directory mappings that specify what Amazon S3 or Amazon EFS paths @@ -7961,7 +7961,7 @@ type CreateUserInput struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // Logical directory mappings that specify what Amazon S3 or Amazon EFS paths @@ -10559,7 +10559,7 @@ type DescribedAccess struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // Logical directory mappings that specify what Amazon S3 or Amazon EFS paths @@ -11822,7 +11822,7 @@ type DescribedUser struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // Logical directory mappings that specify what Amazon S3 or Amazon EFS paths @@ -14778,7 +14778,7 @@ type ListedAccess struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // The type of landing directory (folder) that you want your users' home directory @@ -15444,7 +15444,7 @@ type ListedUser struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // The type of landing directory (folder) that you want your users' home directory @@ -17545,7 +17545,7 @@ type UpdateAccessInput struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // Logical directory mappings that specify what Amazon S3 or Amazon EFS paths @@ -18887,7 +18887,7 @@ type UpdateUserInput struct { // // A HomeDirectory example is /bucket_name/home/mydirectory. // - // The HomeDirectory parameter is only used if HomeDirectoryType is set to LOGICAL. + // The HomeDirectory parameter is only used if HomeDirectoryType is set to PATH. HomeDirectory *string `type:"string"` // Logical directory mappings that specify what Amazon S3 or Amazon EFS paths diff --git a/service/xray/api.go b/service/xray/api.go index 54ae068f86c..8f3f01fc867 100644 --- a/service/xray/api.go +++ b/service/xray/api.go @@ -6295,8 +6295,8 @@ type GetTraceSummariesInput struct { // StartTime is a required field StartTime *time.Time `type:"timestamp" required:"true"` - // A parameter to indicate whether to query trace summaries by TraceId or Event - // time. + // A parameter to indicate whether to query trace summaries by TraceId, Event + // (trace update time), or Service (segment end time). TimeRangeType *string `type:"string" enum:"TimeRangeType"` } @@ -11052,6 +11052,9 @@ const ( // TimeRangeTypeEvent is a TimeRangeType enum value TimeRangeTypeEvent = "Event" + + // TimeRangeTypeService is a TimeRangeType enum value + TimeRangeTypeService = "Service" ) // TimeRangeType_Values returns all elements of the TimeRangeType enum @@ -11059,5 +11062,6 @@ func TimeRangeType_Values() []string { return []string{ TimeRangeTypeTraceId, TimeRangeTypeEvent, + TimeRangeTypeService, } }