diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cbf786c039..17d1522bde7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.44.179 (2023-01-12) +=== + +### Service Client Updates +* `service/cleanrooms`: Adds new service +* `service/lambda`: Updates service API and documentation + * Add support for MaximumConcurrency parameter for SQS event source. Customers can now limit the maximum concurrent invocations for their SQS Event Source Mapping. +* `service/logs`: Updates service API and documentation + * Bug fix: logGroupName is now not a required field in GetLogEvents, FilterLogEvents, GetLogGroupFields, and DescribeLogStreams APIs as logGroupIdentifier can be provided instead +* `service/mediaconvert`: Updates service API and documentation + * The AWS Elemental MediaConvert SDK has added support for compact DASH manifest generation, audio normalization using TruePeak measurements, and the ability to clip the sample range in the color corrector. +* `service/secretsmanager`: Updates service documentation and examples + * Update documentation for new ListSecrets and DescribeSecret parameters + Release v1.44.178 (2023-01-11) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 52f5906d0c4..f110f2ad663 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -4143,6 +4143,43 @@ var awsPartition = partition{ }, }, }, + "cleanrooms": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "ap-northeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + }: endpoint{}, + endpointKey{ + Region: "us-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-east-2", + }: endpoint{}, + endpointKey{ + Region: "us-west-2", + }: endpoint{}, + }, + }, "cloud9": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -27093,6 +27130,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-me-central-1", + }: endpoint{ + Hostname: "waf-regional-fips.me-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-me-south-1", }: endpoint{ @@ -27147,6 +27193,23 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{ + Hostname: "waf-regional.me-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + }, + endpointKey{ + Region: "me-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "waf-regional-fips.me-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + }, endpointKey{ Region: "me-south-1", }: endpoint{ @@ -27669,6 +27732,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-me-central-1", + }: endpoint{ + Hostname: "wafv2-fips.me-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-me-south-1", }: endpoint{ @@ -27723,6 +27795,23 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{ + Hostname: "wafv2.me-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + }, + endpointKey{ + Region: "me-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "wafv2-fips.me-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + }, endpointKey{ Region: "me-south-1", }: endpoint{ diff --git a/aws/version.go b/aws/version.go index 95ffcd194ac..a272e1db044 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.178" +const SDKVersion = "1.44.179" diff --git a/models/apis/cleanrooms/2022-02-17/api-2.json b/models/apis/cleanrooms/2022-02-17/api-2.json new file mode 100644 index 00000000000..80711ea6a72 --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/api-2.json @@ -0,0 +1,2576 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2022-02-17", + "endpointPrefix":"cleanrooms", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"AWS Clean Rooms Service", + "serviceId":"CleanRooms", + "signatureVersion":"v4", + "signingName":"cleanrooms", + "uid":"cleanrooms-2022-02-17" + }, + "operations":{ + "BatchGetSchema":{ + "name":"BatchGetSchema", + "http":{ + "method":"POST", + "requestUri":"/collaborations/{collaborationIdentifier}/batch-schema", + "responseCode":200 + }, + "input":{"shape":"BatchGetSchemaInput"}, + "output":{"shape":"BatchGetSchemaOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "CreateCollaboration":{ + "name":"CreateCollaboration", + "http":{ + "method":"POST", + "requestUri":"/collaborations", + "responseCode":200 + }, + "input":{"shape":"CreateCollaborationInput"}, + "output":{"shape":"CreateCollaborationOutput"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "CreateConfiguredTable":{ + "name":"CreateConfiguredTable", + "http":{ + "method":"POST", + "requestUri":"/configuredTables", + "responseCode":200 + }, + "input":{"shape":"CreateConfiguredTableInput"}, + "output":{"shape":"CreateConfiguredTableOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "CreateConfiguredTableAnalysisRule":{ + "name":"CreateConfiguredTableAnalysisRule", + "http":{ + "method":"POST", + "requestUri":"/configuredTables/{configuredTableIdentifier}/analysisRule", + "responseCode":200 + }, + "input":{"shape":"CreateConfiguredTableAnalysisRuleInput"}, + "output":{"shape":"CreateConfiguredTableAnalysisRuleOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "CreateConfiguredTableAssociation":{ + "name":"CreateConfiguredTableAssociation", + "http":{ + "method":"POST", + "requestUri":"/memberships/{membershipIdentifier}/configuredTableAssociations", + "responseCode":200 + }, + "input":{"shape":"CreateConfiguredTableAssociationInput"}, + "output":{"shape":"CreateConfiguredTableAssociationOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "CreateMembership":{ + "name":"CreateMembership", + "http":{ + "method":"POST", + "requestUri":"/memberships", + "responseCode":200 + }, + "input":{"shape":"CreateMembershipInput"}, + "output":{"shape":"CreateMembershipOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "DeleteCollaboration":{ + "name":"DeleteCollaboration", + "http":{ + "method":"DELETE", + "requestUri":"/collaborations/{collaborationIdentifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteCollaborationInput"}, + "output":{"shape":"DeleteCollaborationOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "DeleteConfiguredTable":{ + "name":"DeleteConfiguredTable", + "http":{ + "method":"DELETE", + "requestUri":"/configuredTables/{configuredTableIdentifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteConfiguredTableInput"}, + "output":{"shape":"DeleteConfiguredTableOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "DeleteConfiguredTableAnalysisRule":{ + "name":"DeleteConfiguredTableAnalysisRule", + "http":{ + "method":"DELETE", + "requestUri":"/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + "responseCode":204 + }, + "input":{"shape":"DeleteConfiguredTableAnalysisRuleInput"}, + "output":{"shape":"DeleteConfiguredTableAnalysisRuleOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "DeleteConfiguredTableAssociation":{ + "name":"DeleteConfiguredTableAssociation", + "http":{ + "method":"DELETE", + "requestUri":"/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteConfiguredTableAssociationInput"}, + "output":{"shape":"DeleteConfiguredTableAssociationOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "DeleteMember":{ + "name":"DeleteMember", + "http":{ + "method":"DELETE", + "requestUri":"/collaborations/{collaborationIdentifier}/member/{accountId}", + "responseCode":204 + }, + "input":{"shape":"DeleteMemberInput"}, + "output":{"shape":"DeleteMemberOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "DeleteMembership":{ + "name":"DeleteMembership", + "http":{ + "method":"DELETE", + "requestUri":"/memberships/{membershipIdentifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteMembershipInput"}, + "output":{"shape":"DeleteMembershipOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, + "GetCollaboration":{ + "name":"GetCollaboration", + "http":{ + "method":"GET", + "requestUri":"/collaborations/{collaborationIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetCollaborationInput"}, + "output":{"shape":"GetCollaborationOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetConfiguredTable":{ + "name":"GetConfiguredTable", + "http":{ + "method":"GET", + "requestUri":"/configuredTables/{configuredTableIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetConfiguredTableInput"}, + "output":{"shape":"GetConfiguredTableOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetConfiguredTableAnalysisRule":{ + "name":"GetConfiguredTableAnalysisRule", + "http":{ + "method":"GET", + "requestUri":"/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + "responseCode":200 + }, + "input":{"shape":"GetConfiguredTableAnalysisRuleInput"}, + "output":{"shape":"GetConfiguredTableAnalysisRuleOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetConfiguredTableAssociation":{ + "name":"GetConfiguredTableAssociation", + "http":{ + "method":"GET", + "requestUri":"/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetConfiguredTableAssociationInput"}, + "output":{"shape":"GetConfiguredTableAssociationOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetMembership":{ + "name":"GetMembership", + "http":{ + "method":"GET", + "requestUri":"/memberships/{membershipIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetMembershipInput"}, + "output":{"shape":"GetMembershipOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetProtectedQuery":{ + "name":"GetProtectedQuery", + "http":{ + "method":"GET", + "requestUri":"/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetProtectedQueryInput"}, + "output":{"shape":"GetProtectedQueryOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetSchema":{ + "name":"GetSchema", + "http":{ + "method":"GET", + "requestUri":"/collaborations/{collaborationIdentifier}/schemas/{name}", + "responseCode":200 + }, + "input":{"shape":"GetSchemaInput"}, + "output":{"shape":"GetSchemaOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "GetSchemaAnalysisRule":{ + "name":"GetSchemaAnalysisRule", + "http":{ + "method":"GET", + "requestUri":"/collaborations/{collaborationIdentifier}/schemas/{name}/analysisRule/{type}", + "responseCode":200 + }, + "input":{"shape":"GetSchemaAnalysisRuleInput"}, + "output":{"shape":"GetSchemaAnalysisRuleOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListCollaborations":{ + "name":"ListCollaborations", + "http":{ + "method":"GET", + "requestUri":"/collaborations", + "responseCode":200 + }, + "input":{"shape":"ListCollaborationsInput"}, + "output":{"shape":"ListCollaborationsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListConfiguredTableAssociations":{ + "name":"ListConfiguredTableAssociations", + "http":{ + "method":"GET", + "requestUri":"/memberships/{membershipIdentifier}/configuredTableAssociations", + "responseCode":200 + }, + "input":{"shape":"ListConfiguredTableAssociationsInput"}, + "output":{"shape":"ListConfiguredTableAssociationsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListConfiguredTables":{ + "name":"ListConfiguredTables", + "http":{ + "method":"GET", + "requestUri":"/configuredTables", + "responseCode":200 + }, + "input":{"shape":"ListConfiguredTablesInput"}, + "output":{"shape":"ListConfiguredTablesOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListMembers":{ + "name":"ListMembers", + "http":{ + "method":"GET", + "requestUri":"/collaborations/{collaborationIdentifier}/members", + "responseCode":200 + }, + "input":{"shape":"ListMembersInput"}, + "output":{"shape":"ListMembersOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListMemberships":{ + "name":"ListMemberships", + "http":{ + "method":"GET", + "requestUri":"/memberships", + "responseCode":200 + }, + "input":{"shape":"ListMembershipsInput"}, + "output":{"shape":"ListMembershipsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListProtectedQueries":{ + "name":"ListProtectedQueries", + "http":{ + "method":"GET", + "requestUri":"/memberships/{membershipIdentifier}/protectedQueries", + "responseCode":200 + }, + "input":{"shape":"ListProtectedQueriesInput"}, + "output":{"shape":"ListProtectedQueriesOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "ListSchemas":{ + "name":"ListSchemas", + "http":{ + "method":"GET", + "requestUri":"/collaborations/{collaborationIdentifier}/schemas", + "responseCode":200 + }, + "input":{"shape":"ListSchemasInput"}, + "output":{"shape":"ListSchemasOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "StartProtectedQuery":{ + "name":"StartProtectedQuery", + "http":{ + "method":"POST", + "requestUri":"/memberships/{membershipIdentifier}/protectedQueries", + "responseCode":200 + }, + "input":{"shape":"StartProtectedQueryInput"}, + "output":{"shape":"StartProtectedQueryOutput"}, + "errors":[ + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateCollaboration":{ + "name":"UpdateCollaboration", + "http":{ + "method":"PATCH", + "requestUri":"/collaborations/{collaborationIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateCollaborationInput"}, + "output":{"shape":"UpdateCollaborationOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateConfiguredTable":{ + "name":"UpdateConfiguredTable", + "http":{ + "method":"PATCH", + "requestUri":"/configuredTables/{configuredTableIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateConfiguredTableInput"}, + "output":{"shape":"UpdateConfiguredTableOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateConfiguredTableAnalysisRule":{ + "name":"UpdateConfiguredTableAnalysisRule", + "http":{ + "method":"PATCH", + "requestUri":"/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + "responseCode":200 + }, + "input":{"shape":"UpdateConfiguredTableAnalysisRuleInput"}, + "output":{"shape":"UpdateConfiguredTableAnalysisRuleOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateConfiguredTableAssociation":{ + "name":"UpdateConfiguredTableAssociation", + "http":{ + "method":"PATCH", + "requestUri":"/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateConfiguredTableAssociationInput"}, + "output":{"shape":"UpdateConfiguredTableAssociationOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateMembership":{ + "name":"UpdateMembership", + "http":{ + "method":"PATCH", + "requestUri":"/memberships/{membershipIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateMembershipInput"}, + "output":{"shape":"UpdateMembershipOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateProtectedQuery":{ + "name":"UpdateProtectedQuery", + "http":{ + "method":"PATCH", + "requestUri":"/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateProtectedQueryInput"}, + "output":{"shape":"UpdateProtectedQueryOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"}, + "reason":{"shape":"AccessDeniedExceptionReason"} + }, + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "AccessDeniedExceptionReason":{ + "type":"string", + "enum":["INSUFFICIENT_PERMISSIONS"] + }, + "AccountId":{ + "type":"string", + "max":12, + "min":12, + "pattern":"\\d+" + }, + "AggregateColumn":{ + "type":"structure", + "required":[ + "columnNames", + "function" + ], + "members":{ + "columnNames":{"shape":"AggregateColumnColumnNamesList"}, + "function":{"shape":"AggregateFunctionName"} + } + }, + "AggregateColumnColumnNamesList":{ + "type":"list", + "member":{"shape":"AnalysisRuleColumnName"}, + "min":1 + }, + "AggregateFunctionName":{ + "type":"string", + "enum":[ + "SUM", + "SUM_DISTINCT", + "COUNT", + "COUNT_DISTINCT", + "AVG" + ] + }, + "AggregationConstraint":{ + "type":"structure", + "required":[ + "columnName", + "minimum", + "type" + ], + "members":{ + "columnName":{"shape":"AnalysisRuleColumnName"}, + "minimum":{"shape":"AggregationConstraintMinimumInteger"}, + "type":{"shape":"AggregationType"} + } + }, + "AggregationConstraintMinimumInteger":{ + "type":"integer", + "box":true, + "min":2 + }, + "AggregationConstraints":{ + "type":"list", + "member":{"shape":"AggregationConstraint"}, + "min":1 + }, + "AggregationType":{ + "type":"string", + "enum":["COUNT_DISTINCT"] + }, + "AllowedColumnList":{ + "type":"list", + "member":{"shape":"ColumnName"}, + "max":250, + "min":1 + }, + "AnalysisMethod":{ + "type":"string", + "enum":["DIRECT_QUERY"] + }, + "AnalysisRule":{ + "type":"structure", + "required":[ + "collaborationId", + "type", + "name", + "createTime", + "updateTime", + "policy" + ], + "members":{ + "collaborationId":{"shape":"CollaborationIdentifier"}, + "type":{"shape":"AnalysisRuleType"}, + "name":{"shape":"TableAlias"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "policy":{"shape":"AnalysisRulePolicy"} + } + }, + "AnalysisRuleAggregation":{ + "type":"structure", + "required":[ + "aggregateColumns", + "joinColumns", + "dimensionColumns", + "scalarFunctions", + "outputConstraints" + ], + "members":{ + "aggregateColumns":{"shape":"AnalysisRuleAggregationAggregateColumnsList"}, + "joinColumns":{"shape":"AnalysisRuleColumnList"}, + "joinRequired":{"shape":"JoinRequiredOption"}, + "dimensionColumns":{"shape":"AnalysisRuleColumnList"}, + "scalarFunctions":{"shape":"ScalarFunctionsList"}, + "outputConstraints":{"shape":"AggregationConstraints"} + } + }, + "AnalysisRuleAggregationAggregateColumnsList":{ + "type":"list", + "member":{"shape":"AggregateColumn"}, + "min":1 + }, + "AnalysisRuleColumnList":{ + "type":"list", + "member":{"shape":"AnalysisRuleColumnName"} + }, + "AnalysisRuleColumnName":{ + "type":"string", + "max":127, + "min":1, + "pattern":"[a-z0-9_](([a-z0-9_ ]+-)*([a-z0-9_ ]+))?" + }, + "AnalysisRuleList":{ + "type":"structure", + "required":[ + "joinColumns", + "listColumns" + ], + "members":{ + "joinColumns":{"shape":"AnalysisRuleListJoinColumnsList"}, + "listColumns":{"shape":"AnalysisRuleColumnList"} + } + }, + "AnalysisRuleListJoinColumnsList":{ + "type":"list", + "member":{"shape":"AnalysisRuleColumnName"}, + "min":1 + }, + "AnalysisRulePolicy":{ + "type":"structure", + "members":{ + "v1":{"shape":"AnalysisRulePolicyV1"} + }, + "union":true + }, + "AnalysisRulePolicyV1":{ + "type":"structure", + "members":{ + "list":{"shape":"AnalysisRuleList"}, + "aggregation":{"shape":"AnalysisRuleAggregation"} + }, + "union":true + }, + "AnalysisRuleType":{ + "type":"string", + "enum":[ + "AGGREGATION", + "LIST" + ] + }, + "AnalysisRuleTypeList":{ + "type":"list", + "member":{"shape":"AnalysisRuleType"} + }, + "BatchGetSchemaError":{ + "type":"structure", + "required":[ + "name", + "code", + "message" + ], + "members":{ + "name":{"shape":"TableAlias"}, + "code":{"shape":"String"}, + "message":{"shape":"String"} + } + }, + "BatchGetSchemaErrorList":{ + "type":"list", + "member":{"shape":"BatchGetSchemaError"}, + "max":25, + "min":0 + }, + "BatchGetSchemaInput":{ + "type":"structure", + "required":[ + "collaborationIdentifier", + "names" + ], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "names":{"shape":"TableAliasList"} + } + }, + "BatchGetSchemaOutput":{ + "type":"structure", + "required":[ + "schemas", + "errors" + ], + "members":{ + "schemas":{"shape":"SchemaList"}, + "errors":{"shape":"BatchGetSchemaErrorList"} + } + }, + "Boolean":{ + "type":"boolean", + "box":true + }, + "Collaboration":{ + "type":"structure", + "required":[ + "id", + "arn", + "name", + "creatorAccountId", + "creatorDisplayName", + "createTime", + "updateTime", + "memberStatus", + "queryLogStatus" + ], + "members":{ + "id":{"shape":"UUID"}, + "arn":{"shape":"CollaborationArn"}, + "name":{"shape":"CollaborationName"}, + "description":{"shape":"CollaborationDescription"}, + "creatorAccountId":{"shape":"AccountId"}, + "creatorDisplayName":{"shape":"DisplayName"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "memberStatus":{"shape":"MemberStatus"}, + "membershipId":{"shape":"UUID"}, + "membershipArn":{"shape":"MembershipArn"}, + "dataEncryptionMetadata":{"shape":"DataEncryptionMetadata"}, + "queryLogStatus":{"shape":"CollaborationQueryLogStatus"} + } + }, + "CollaborationArn":{ + "type":"string", + "max":100, + "min":0, + "pattern":"arn:aws:[\\w]+:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:collaboration/[\\d\\w-]+" + }, + "CollaborationDescription":{ + "type":"string", + "max":255, + "min":1, + "pattern":"(?!\\s*$)[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\t\\r\\n]*" + }, + "CollaborationIdentifier":{ + "type":"string", + "max":36, + "min":36, + "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + }, + "CollaborationName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"(?!\\s*$)[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\t]*" + }, + "CollaborationQueryLogStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "CollaborationSummary":{ + "type":"structure", + "required":[ + "id", + "arn", + "name", + "creatorAccountId", + "creatorDisplayName", + "createTime", + "updateTime", + "memberStatus" + ], + "members":{ + "id":{"shape":"UUID"}, + "arn":{"shape":"CollaborationArn"}, + "name":{"shape":"CollaborationName"}, + "creatorAccountId":{"shape":"AccountId"}, + "creatorDisplayName":{"shape":"DisplayName"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "memberStatus":{"shape":"MemberStatus"}, + "membershipId":{"shape":"UUID"}, + "membershipArn":{"shape":"MembershipArn"} + } + }, + "CollaborationSummaryList":{ + "type":"list", + "member":{"shape":"CollaborationSummary"} + }, + "Column":{ + "type":"structure", + "required":[ + "name", + "type" + ], + "members":{ + "name":{"shape":"ColumnName"}, + "type":{"shape":"ColumnTypeString"} + } + }, + "ColumnList":{ + "type":"list", + "member":{"shape":"Column"} + }, + "ColumnName":{ + "type":"string", + "max":128, + "min":0, + "pattern":"[a-z0-9_](([a-z0-9_ ]+-)*([a-z0-9_ ]+))?" + }, + "ColumnTypeString":{ + "type":"string", + "max":255, + "min":0, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\t]*" + }, + "ConfiguredTable":{ + "type":"structure", + "required":[ + "id", + "arn", + "name", + "tableReference", + "createTime", + "updateTime", + "analysisRuleTypes", + "analysisMethod", + "allowedColumns" + ], + "members":{ + "id":{"shape":"UUID"}, + "arn":{"shape":"ConfiguredTableArn"}, + "name":{"shape":"DisplayName"}, + "description":{"shape":"TableDescription"}, + "tableReference":{"shape":"TableReference"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "analysisRuleTypes":{"shape":"ConfiguredTableAnalysisRuleTypeList"}, + "analysisMethod":{"shape":"AnalysisMethod"}, + "allowedColumns":{"shape":"AllowedColumnList"} + } + }, + "ConfiguredTableAnalysisRule":{ + "type":"structure", + "required":[ + "configuredTableId", + "configuredTableArn", + "policy", + "type", + "createTime", + "updateTime" + ], + "members":{ + "configuredTableId":{"shape":"UUID"}, + "configuredTableArn":{"shape":"ConfiguredTableArn"}, + "policy":{"shape":"ConfiguredTableAnalysisRulePolicy"}, + "type":{"shape":"ConfiguredTableAnalysisRuleType"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"} + } + }, + "ConfiguredTableAnalysisRulePolicy":{ + "type":"structure", + "members":{ + "v1":{"shape":"ConfiguredTableAnalysisRulePolicyV1"} + }, + "union":true + }, + "ConfiguredTableAnalysisRulePolicyV1":{ + "type":"structure", + "members":{ + "list":{"shape":"AnalysisRuleList"}, + "aggregation":{"shape":"AnalysisRuleAggregation"} + }, + "union":true + }, + "ConfiguredTableAnalysisRuleType":{ + "type":"string", + "enum":[ + "AGGREGATION", + "LIST" + ] + }, + "ConfiguredTableAnalysisRuleTypeList":{ + "type":"list", + "member":{"shape":"ConfiguredTableAnalysisRuleType"} + }, + "ConfiguredTableArn":{ + "type":"string", + "max":100, + "min":0, + "pattern":"arn:aws:[\\w]+:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:configuredTable/[\\d\\w-]+" + }, + "ConfiguredTableAssociation":{ + "type":"structure", + "required":[ + "arn", + "id", + "configuredTableId", + "configuredTableArn", + "membershipId", + "membershipArn", + "roleArn", + "name", + "createTime", + "updateTime" + ], + "members":{ + "arn":{"shape":"ConfiguredTableAssociationArn"}, + "id":{"shape":"UUID"}, + "configuredTableId":{"shape":"UUID"}, + "configuredTableArn":{"shape":"ConfiguredTableArn"}, + "membershipId":{"shape":"UUID"}, + "membershipArn":{"shape":"MembershipArn"}, + "roleArn":{"shape":"RoleArn"}, + "name":{"shape":"TableAlias"}, + "description":{"shape":"TableDescription"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"} + } + }, + "ConfiguredTableAssociationArn":{ + "type":"string", + "max":100, + "min":0, + "pattern":"arn:aws:[\\w]+:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:configuredTableAssociation/[\\d\\w-]+/[\\d\\w-]+" + }, + "ConfiguredTableAssociationIdentifier":{ + "type":"string", + "max":36, + "min":36, + "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + }, + "ConfiguredTableAssociationSummary":{ + "type":"structure", + "required":[ + "configuredTableId", + "membershipId", + "membershipArn", + "name", + "createTime", + "updateTime", + "id", + "arn" + ], + "members":{ + "configuredTableId":{"shape":"UUID"}, + "membershipId":{"shape":"MembershipIdentifier"}, + "membershipArn":{"shape":"MembershipArn"}, + "name":{"shape":"TableAlias"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "id":{"shape":"UUID"}, + "arn":{"shape":"ConfiguredTableAssociationArn"} + } + }, + "ConfiguredTableAssociationSummaryList":{ + "type":"list", + "member":{"shape":"ConfiguredTableAssociationSummary"} + }, + "ConfiguredTableIdentifier":{ + "type":"string", + "max":36, + "min":36, + "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + }, + "ConfiguredTableSummary":{ + "type":"structure", + "required":[ + "id", + "arn", + "name", + "createTime", + "updateTime", + "analysisRuleTypes", + "analysisMethod" + ], + "members":{ + "id":{"shape":"ConfiguredTableIdentifier"}, + "arn":{"shape":"ConfiguredTableArn"}, + "name":{"shape":"DisplayName"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "analysisRuleTypes":{"shape":"ConfiguredTableAnalysisRuleTypeList"}, + "analysisMethod":{"shape":"AnalysisMethod"} + } + }, + "ConfiguredTableSummaryList":{ + "type":"list", + "member":{"shape":"ConfiguredTableSummary"} + }, + "ConflictException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"ResourceType"}, + "reason":{"shape":"ConflictExceptionReason"} + }, + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "ConflictExceptionReason":{ + "type":"string", + "enum":[ + "ALREADY_EXISTS", + "SUBRESOURCES_EXIST", + "INVALID_STATE" + ] + }, + "CreateCollaborationInput":{ + "type":"structure", + "required":[ + "members", + "name", + "description", + "creatorMemberAbilities", + "creatorDisplayName", + "queryLogStatus" + ], + "members":{ + "members":{"shape":"MemberList"}, + "name":{"shape":"CollaborationName"}, + "description":{"shape":"CollaborationDescription"}, + "creatorMemberAbilities":{"shape":"MemberAbilities"}, + "creatorDisplayName":{"shape":"DisplayName"}, + "dataEncryptionMetadata":{"shape":"DataEncryptionMetadata"}, + "queryLogStatus":{"shape":"CollaborationQueryLogStatus"} + } + }, + "CreateCollaborationOutput":{ + "type":"structure", + "required":["collaboration"], + "members":{ + "collaboration":{"shape":"Collaboration"} + } + }, + "CreateConfiguredTableAnalysisRuleInput":{ + "type":"structure", + "required":[ + "configuredTableIdentifier", + "analysisRuleType", + "analysisRulePolicy" + ], + "members":{ + "configuredTableIdentifier":{ + "shape":"ConfiguredTableIdentifier", + "location":"uri", + "locationName":"configuredTableIdentifier" + }, + "analysisRuleType":{"shape":"ConfiguredTableAnalysisRuleType"}, + "analysisRulePolicy":{"shape":"ConfiguredTableAnalysisRulePolicy"} + } + }, + "CreateConfiguredTableAnalysisRuleOutput":{ + "type":"structure", + "required":["analysisRule"], + "members":{ + "analysisRule":{"shape":"ConfiguredTableAnalysisRule"} + } + }, + "CreateConfiguredTableAssociationInput":{ + "type":"structure", + "required":[ + "name", + "membershipIdentifier", + "configuredTableIdentifier", + "roleArn" + ], + "members":{ + "name":{"shape":"TableAlias"}, + "description":{"shape":"TableDescription"}, + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "configuredTableIdentifier":{"shape":"ConfiguredTableIdentifier"}, + "roleArn":{"shape":"RoleArn"} + } + }, + "CreateConfiguredTableAssociationOutput":{ + "type":"structure", + "required":["configuredTableAssociation"], + "members":{ + "configuredTableAssociation":{"shape":"ConfiguredTableAssociation"} + } + }, + "CreateConfiguredTableInput":{ + "type":"structure", + "required":[ + "name", + "tableReference", + "allowedColumns", + "analysisMethod" + ], + "members":{ + "name":{"shape":"DisplayName"}, + "description":{"shape":"TableDescription"}, + "tableReference":{"shape":"TableReference"}, + "allowedColumns":{"shape":"AllowedColumnList"}, + "analysisMethod":{"shape":"AnalysisMethod"} + } + }, + "CreateConfiguredTableOutput":{ + "type":"structure", + "required":["configuredTable"], + "members":{ + "configuredTable":{"shape":"ConfiguredTable"} + } + }, + "CreateMembershipInput":{ + "type":"structure", + "required":[ + "collaborationIdentifier", + "queryLogStatus" + ], + "members":{ + "collaborationIdentifier":{"shape":"CollaborationIdentifier"}, + "queryLogStatus":{"shape":"MembershipQueryLogStatus"} + } + }, + "CreateMembershipOutput":{ + "type":"structure", + "required":["membership"], + "members":{ + "membership":{"shape":"Membership"} + } + }, + "DataEncryptionMetadata":{ + "type":"structure", + "required":[ + "allowCleartext", + "allowDuplicates", + "allowJoinsOnColumnsWithDifferentNames", + "preserveNulls" + ], + "members":{ + "allowCleartext":{"shape":"Boolean"}, + "allowDuplicates":{"shape":"Boolean"}, + "allowJoinsOnColumnsWithDifferentNames":{"shape":"Boolean"}, + "preserveNulls":{"shape":"Boolean"} + } + }, + "DeleteCollaborationInput":{ + "type":"structure", + "required":["collaborationIdentifier"], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + } + } + }, + "DeleteCollaborationOutput":{ + "type":"structure", + "members":{ + } + }, + "DeleteConfiguredTableAnalysisRuleInput":{ + "type":"structure", + "required":[ + "configuredTableIdentifier", + "analysisRuleType" + ], + "members":{ + "configuredTableIdentifier":{ + "shape":"ConfiguredTableIdentifier", + "location":"uri", + "locationName":"configuredTableIdentifier" + }, + "analysisRuleType":{ + "shape":"ConfiguredTableAnalysisRuleType", + "location":"uri", + "locationName":"analysisRuleType" + } + } + }, + "DeleteConfiguredTableAnalysisRuleOutput":{ + "type":"structure", + "members":{ + } + }, + "DeleteConfiguredTableAssociationInput":{ + "type":"structure", + "required":[ + "configuredTableAssociationIdentifier", + "membershipIdentifier" + ], + "members":{ + "configuredTableAssociationIdentifier":{ + "shape":"ConfiguredTableAssociationIdentifier", + "location":"uri", + "locationName":"configuredTableAssociationIdentifier" + }, + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + } + } + }, + "DeleteConfiguredTableAssociationOutput":{ + "type":"structure", + "members":{ + } + }, + "DeleteConfiguredTableInput":{ + "type":"structure", + "required":["configuredTableIdentifier"], + "members":{ + "configuredTableIdentifier":{ + "shape":"ConfiguredTableIdentifier", + "location":"uri", + "locationName":"configuredTableIdentifier" + } + } + }, + "DeleteConfiguredTableOutput":{ + "type":"structure", + "members":{ + } + }, + "DeleteMemberInput":{ + "type":"structure", + "required":[ + "collaborationIdentifier", + "accountId" + ], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "accountId":{ + "shape":"AccountId", + "location":"uri", + "locationName":"accountId" + } + } + }, + "DeleteMemberOutput":{ + "type":"structure", + "members":{ + } + }, + "DeleteMembershipInput":{ + "type":"structure", + "required":["membershipIdentifier"], + "members":{ + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + } + } + }, + "DeleteMembershipOutput":{ + "type":"structure", + "members":{ + } + }, + "DisplayName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"(?!\\s*$)[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\t]*" + }, + "Double":{ + "type":"double", + "box":true + }, + "FilterableMemberStatus":{ + "type":"string", + "enum":[ + "INVITED", + "ACTIVE" + ] + }, + "GetCollaborationInput":{ + "type":"structure", + "required":["collaborationIdentifier"], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + } + } + }, + "GetCollaborationOutput":{ + "type":"structure", + "required":["collaboration"], + "members":{ + "collaboration":{"shape":"Collaboration"} + } + }, + "GetConfiguredTableAnalysisRuleInput":{ + "type":"structure", + "required":[ + "configuredTableIdentifier", + "analysisRuleType" + ], + "members":{ + "configuredTableIdentifier":{ + "shape":"ConfiguredTableIdentifier", + "location":"uri", + "locationName":"configuredTableIdentifier" + }, + "analysisRuleType":{ + "shape":"ConfiguredTableAnalysisRuleType", + "location":"uri", + "locationName":"analysisRuleType" + } + } + }, + "GetConfiguredTableAnalysisRuleOutput":{ + "type":"structure", + "required":["analysisRule"], + "members":{ + "analysisRule":{"shape":"ConfiguredTableAnalysisRule"} + } + }, + "GetConfiguredTableAssociationInput":{ + "type":"structure", + "required":[ + "configuredTableAssociationIdentifier", + "membershipIdentifier" + ], + "members":{ + "configuredTableAssociationIdentifier":{ + "shape":"ConfiguredTableAssociationIdentifier", + "location":"uri", + "locationName":"configuredTableAssociationIdentifier" + }, + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + } + } + }, + "GetConfiguredTableAssociationOutput":{ + "type":"structure", + "required":["configuredTableAssociation"], + "members":{ + "configuredTableAssociation":{"shape":"ConfiguredTableAssociation"} + } + }, + "GetConfiguredTableInput":{ + "type":"structure", + "required":["configuredTableIdentifier"], + "members":{ + "configuredTableIdentifier":{ + "shape":"ConfiguredTableIdentifier", + "location":"uri", + "locationName":"configuredTableIdentifier" + } + } + }, + "GetConfiguredTableOutput":{ + "type":"structure", + "required":["configuredTable"], + "members":{ + "configuredTable":{"shape":"ConfiguredTable"} + } + }, + "GetMembershipInput":{ + "type":"structure", + "required":["membershipIdentifier"], + "members":{ + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + } + } + }, + "GetMembershipOutput":{ + "type":"structure", + "required":["membership"], + "members":{ + "membership":{"shape":"Membership"} + } + }, + "GetProtectedQueryInput":{ + "type":"structure", + "required":[ + "membershipIdentifier", + "protectedQueryIdentifier" + ], + "members":{ + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "protectedQueryIdentifier":{ + "shape":"ProtectedQueryIdentifier", + "location":"uri", + "locationName":"protectedQueryIdentifier" + } + } + }, + "GetProtectedQueryOutput":{ + "type":"structure", + "required":["protectedQuery"], + "members":{ + "protectedQuery":{"shape":"ProtectedQuery"} + } + }, + "GetSchemaAnalysisRuleInput":{ + "type":"structure", + "required":[ + "collaborationIdentifier", + "name", + "type" + ], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "name":{ + "shape":"TableAlias", + "location":"uri", + "locationName":"name" + }, + "type":{ + "shape":"AnalysisRuleType", + "location":"uri", + "locationName":"type" + } + } + }, + "GetSchemaAnalysisRuleOutput":{ + "type":"structure", + "required":["analysisRule"], + "members":{ + "analysisRule":{"shape":"AnalysisRule"} + } + }, + "GetSchemaInput":{ + "type":"structure", + "required":[ + "collaborationIdentifier", + "name" + ], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "name":{ + "shape":"TableAlias", + "location":"uri", + "locationName":"name" + } + } + }, + "GetSchemaOutput":{ + "type":"structure", + "required":["schema"], + "members":{ + "schema":{"shape":"Schema"} + } + }, + "GlueResourceName":{ + "type":"string", + "max":128, + "min":0, + "pattern":"[a-zA-Z0-9_](([a-zA-Z0-9_ ]+-)*([a-zA-Z0-9_ ]+))?" + }, + "GlueTableReference":{ + "type":"structure", + "required":[ + "tableName", + "databaseName" + ], + "members":{ + "tableName":{"shape":"GlueResourceName"}, + "databaseName":{"shape":"GlueResourceName"} + } + }, + "InternalServerException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true + }, + "JoinRequiredOption":{ + "type":"string", + "enum":["QUERY_RUNNER"] + }, + "KeyPrefix":{ + "type":"string", + "pattern":"[\\w!.*/-]*" + }, + "ListCollaborationsInput":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "memberStatus":{ + "shape":"FilterableMemberStatus", + "location":"querystring", + "locationName":"memberStatus" + } + } + }, + "ListCollaborationsOutput":{ + "type":"structure", + "required":["collaborationList"], + "members":{ + "nextToken":{"shape":"PaginationToken"}, + "collaborationList":{"shape":"CollaborationSummaryList"} + } + }, + "ListConfiguredTableAssociationsInput":{ + "type":"structure", + "required":["membershipIdentifier"], + "members":{ + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListConfiguredTableAssociationsOutput":{ + "type":"structure", + "required":["configuredTableAssociationSummaries"], + "members":{ + "configuredTableAssociationSummaries":{"shape":"ConfiguredTableAssociationSummaryList"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListConfiguredTablesInput":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListConfiguredTablesOutput":{ + "type":"structure", + "required":["configuredTableSummaries"], + "members":{ + "configuredTableSummaries":{"shape":"ConfiguredTableSummaryList"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListMembersInput":{ + "type":"structure", + "required":["collaborationIdentifier"], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListMembersOutput":{ + "type":"structure", + "required":["memberSummaries"], + "members":{ + "nextToken":{"shape":"PaginationToken"}, + "memberSummaries":{"shape":"MemberSummaryList"} + } + }, + "ListMembershipsInput":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "status":{ + "shape":"MembershipStatus", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListMembershipsOutput":{ + "type":"structure", + "required":["membershipSummaries"], + "members":{ + "nextToken":{"shape":"PaginationToken"}, + "membershipSummaries":{"shape":"MembershipSummaryList"} + } + }, + "ListProtectedQueriesInput":{ + "type":"structure", + "required":["membershipIdentifier"], + "members":{ + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "status":{ + "shape":"ProtectedQueryStatus", + "location":"querystring", + "locationName":"status" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListProtectedQueriesOutput":{ + "type":"structure", + "required":["protectedQueries"], + "members":{ + "nextToken":{"shape":"PaginationToken"}, + "protectedQueries":{"shape":"ProtectedQuerySummaryList"} + } + }, + "ListSchemasInput":{ + "type":"structure", + "required":["collaborationIdentifier"], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "schemaType":{ + "shape":"SchemaType", + "location":"querystring", + "locationName":"schemaType" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListSchemasOutput":{ + "type":"structure", + "required":["schemaSummaries"], + "members":{ + "schemaSummaries":{"shape":"SchemaSummaryList"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "Long":{ + "type":"long", + "box":true + }, + "MaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "MemberAbilities":{ + "type":"list", + "member":{"shape":"MemberAbility"} + }, + "MemberAbility":{ + "type":"string", + "enum":[ + "CAN_QUERY", + "CAN_RECEIVE_RESULTS" + ] + }, + "MemberList":{ + "type":"list", + "member":{"shape":"MemberSpecification"}, + "max":9, + "min":0 + }, + "MemberSpecification":{ + "type":"structure", + "required":[ + "accountId", + "memberAbilities", + "displayName" + ], + "members":{ + "accountId":{"shape":"AccountId"}, + "memberAbilities":{"shape":"MemberAbilities"}, + "displayName":{"shape":"DisplayName"} + } + }, + "MemberStatus":{ + "type":"string", + "enum":[ + "INVITED", + "ACTIVE", + "LEFT", + "REMOVED" + ] + }, + "MemberSummary":{ + "type":"structure", + "required":[ + "accountId", + "status", + "displayName", + "abilities", + "createTime", + "updateTime" + ], + "members":{ + "accountId":{"shape":"AccountId"}, + "status":{"shape":"MemberStatus"}, + "displayName":{"shape":"DisplayName"}, + "abilities":{"shape":"MemberAbilities"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "membershipId":{"shape":"UUID"}, + "membershipArn":{"shape":"MembershipArn"} + } + }, + "MemberSummaryList":{ + "type":"list", + "member":{"shape":"MemberSummary"} + }, + "Membership":{ + "type":"structure", + "required":[ + "id", + "arn", + "collaborationArn", + "collaborationId", + "collaborationCreatorAccountId", + "collaborationCreatorDisplayName", + "collaborationName", + "createTime", + "updateTime", + "status", + "memberAbilities", + "queryLogStatus" + ], + "members":{ + "id":{"shape":"UUID"}, + "arn":{"shape":"MembershipArn"}, + "collaborationArn":{"shape":"CollaborationArn"}, + "collaborationId":{"shape":"UUID"}, + "collaborationCreatorAccountId":{"shape":"AccountId"}, + "collaborationCreatorDisplayName":{"shape":"DisplayName"}, + "collaborationName":{"shape":"CollaborationName"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "status":{"shape":"MembershipStatus"}, + "memberAbilities":{"shape":"MemberAbilities"}, + "queryLogStatus":{"shape":"MembershipQueryLogStatus"} + } + }, + "MembershipArn":{ + "type":"string", + "max":100, + "min":0, + "pattern":"arn:aws:[\\w]+:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:membership/[\\d\\w-]+" + }, + "MembershipIdentifier":{ + "type":"string", + "max":36, + "min":36, + "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + }, + "MembershipQueryLogStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "MembershipStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "REMOVED", + "COLLABORATION_DELETED" + ] + }, + "MembershipSummary":{ + "type":"structure", + "required":[ + "id", + "arn", + "collaborationArn", + "collaborationId", + "collaborationCreatorAccountId", + "collaborationCreatorDisplayName", + "collaborationName", + "createTime", + "updateTime", + "status", + "memberAbilities" + ], + "members":{ + "id":{"shape":"UUID"}, + "arn":{"shape":"MembershipArn"}, + "collaborationArn":{"shape":"CollaborationArn"}, + "collaborationId":{"shape":"CollaborationIdentifier"}, + "collaborationCreatorAccountId":{"shape":"AccountId"}, + "collaborationCreatorDisplayName":{"shape":"DisplayName"}, + "collaborationName":{"shape":"CollaborationName"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "status":{"shape":"MembershipStatus"}, + "memberAbilities":{"shape":"MemberAbilities"} + } + }, + "MembershipSummaryList":{ + "type":"list", + "member":{"shape":"MembershipSummary"} + }, + "PaginationToken":{ + "type":"string", + "max":10240, + "min":0 + }, + "ProtectedQuery":{ + "type":"structure", + "required":[ + "id", + "membershipId", + "membershipArn", + "createTime", + "sqlParameters", + "status", + "resultConfiguration" + ], + "members":{ + "id":{"shape":"UUID"}, + "membershipId":{"shape":"UUID"}, + "membershipArn":{"shape":"MembershipArn"}, + "createTime":{"shape":"Timestamp"}, + "sqlParameters":{"shape":"ProtectedQuerySQLParameters"}, + "status":{"shape":"ProtectedQueryStatus"}, + "resultConfiguration":{"shape":"ProtectedQueryResultConfiguration"}, + "statistics":{"shape":"ProtectedQueryStatistics"}, + "result":{"shape":"ProtectedQueryResult"}, + "error":{"shape":"ProtectedQueryError"} + } + }, + "ProtectedQueryError":{ + "type":"structure", + "required":[ + "message", + "code" + ], + "members":{ + "message":{"shape":"String"}, + "code":{"shape":"String"} + } + }, + "ProtectedQueryIdentifier":{ + "type":"string", + "max":36, + "min":1, + "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + }, + "ProtectedQueryOutput":{ + "type":"structure", + "members":{ + "s3":{"shape":"ProtectedQueryS3Output"} + }, + "union":true + }, + "ProtectedQueryOutputConfiguration":{ + "type":"structure", + "members":{ + "s3":{"shape":"ProtectedQueryS3OutputConfiguration"} + }, + "union":true + }, + "ProtectedQueryResult":{ + "type":"structure", + "required":["output"], + "members":{ + "output":{"shape":"ProtectedQueryOutput"} + } + }, + "ProtectedQueryResultConfiguration":{ + "type":"structure", + "required":["outputConfiguration"], + "members":{ + "outputConfiguration":{"shape":"ProtectedQueryOutputConfiguration"} + } + }, + "ProtectedQueryS3Output":{ + "type":"structure", + "required":["location"], + "members":{ + "location":{"shape":"String"} + } + }, + "ProtectedQueryS3OutputConfiguration":{ + "type":"structure", + "required":[ + "resultFormat", + "bucket" + ], + "members":{ + "resultFormat":{"shape":"ResultFormat"}, + "bucket":{"shape":"ProtectedQueryS3OutputConfigurationBucketString"}, + "keyPrefix":{"shape":"KeyPrefix"} + } + }, + "ProtectedQueryS3OutputConfigurationBucketString":{ + "type":"string", + "max":63, + "min":3, + "pattern":".*(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$).*" + }, + "ProtectedQuerySQLParameters":{ + "type":"structure", + "required":["queryString"], + "members":{ + "queryString":{"shape":"ProtectedQuerySQLParametersQueryStringString"} + }, + "sensitive":true + }, + "ProtectedQuerySQLParametersQueryStringString":{ + "type":"string", + "max":15000, + "min":0 + }, + "ProtectedQueryStatistics":{ + "type":"structure", + "members":{ + "totalDurationInMillis":{"shape":"Long"} + } + }, + "ProtectedQueryStatus":{ + "type":"string", + "enum":[ + "SUBMITTED", + "STARTED", + "CANCELLED", + "CANCELLING", + "FAILED", + "SUCCESS", + "TIMED_OUT" + ] + }, + "ProtectedQuerySummary":{ + "type":"structure", + "required":[ + "id", + "membershipId", + "membershipArn", + "createTime", + "status" + ], + "members":{ + "id":{"shape":"UUID"}, + "membershipId":{"shape":"UUID"}, + "membershipArn":{"shape":"MembershipArn"}, + "createTime":{"shape":"Timestamp"}, + "status":{"shape":"ProtectedQueryStatus"} + } + }, + "ProtectedQuerySummaryList":{ + "type":"list", + "member":{"shape":"ProtectedQuerySummary"} + }, + "ProtectedQueryType":{ + "type":"string", + "enum":["SQL"] + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "message":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"ResourceType"} + }, + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "ResourceType":{ + "type":"string", + "enum":[ + "CONFIGURED_TABLE", + "COLLABORATION", + "MEMBERSHIP", + "CONFIGURED_TABLE_ASSOCIATION" + ] + }, + "ResultFormat":{ + "type":"string", + "enum":[ + "CSV", + "PARQUET" + ] + }, + "RoleArn":{ + "type":"string", + "max":512, + "min":32, + "pattern":"arn:aws:iam::[\\w]+:role/[\\w+=,./@-]+" + }, + "ScalarFunctions":{ + "type":"string", + "enum":[ + "TRUNC", + "ABS", + "CEILING", + "FLOOR", + "LN", + "LOG", + "ROUND", + "SQRT", + "CAST", + "LOWER", + "RTRIM", + "UPPER", + "COALESCE" + ] + }, + "ScalarFunctionsList":{ + "type":"list", + "member":{"shape":"ScalarFunctions"} + }, + "Schema":{ + "type":"structure", + "required":[ + "columns", + "partitionKeys", + "analysisRuleTypes", + "creatorAccountId", + "name", + "collaborationId", + "collaborationArn", + "description", + "createTime", + "updateTime", + "type" + ], + "members":{ + "columns":{"shape":"ColumnList"}, + "partitionKeys":{"shape":"ColumnList"}, + "analysisRuleTypes":{"shape":"AnalysisRuleTypeList"}, + "analysisMethod":{"shape":"AnalysisMethod"}, + "creatorAccountId":{"shape":"AccountId"}, + "name":{"shape":"TableAlias"}, + "collaborationId":{"shape":"UUID"}, + "collaborationArn":{"shape":"CollaborationArn"}, + "description":{"shape":"TableDescription"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "type":{"shape":"SchemaType"} + } + }, + "SchemaList":{ + "type":"list", + "member":{"shape":"Schema"}, + "max":25, + "min":0 + }, + "SchemaSummary":{ + "type":"structure", + "required":[ + "name", + "type", + "creatorAccountId", + "createTime", + "updateTime", + "collaborationId", + "collaborationArn", + "analysisRuleTypes" + ], + "members":{ + "name":{"shape":"TableAlias"}, + "type":{"shape":"SchemaType"}, + "creatorAccountId":{"shape":"AccountId"}, + "createTime":{"shape":"Timestamp"}, + "updateTime":{"shape":"Timestamp"}, + "collaborationId":{"shape":"UUID"}, + "collaborationArn":{"shape":"CollaborationArn"}, + "analysisRuleTypes":{"shape":"AnalysisRuleTypeList"}, + "analysisMethod":{"shape":"AnalysisMethod"} + } + }, + "SchemaSummaryList":{ + "type":"list", + "member":{"shape":"SchemaSummary"} + }, + "SchemaType":{ + "type":"string", + "enum":["TABLE"] + }, + "ServiceQuotaExceededException":{ + "type":"structure", + "required":[ + "message", + "quotaName", + "quotaValue" + ], + "members":{ + "message":{"shape":"String"}, + "quotaName":{"shape":"String"}, + "quotaValue":{"shape":"Double"} + }, + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "StartProtectedQueryInput":{ + "type":"structure", + "required":[ + "type", + "membershipIdentifier", + "sqlParameters", + "resultConfiguration" + ], + "members":{ + "type":{"shape":"ProtectedQueryType"}, + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "sqlParameters":{"shape":"ProtectedQuerySQLParameters"}, + "resultConfiguration":{"shape":"ProtectedQueryResultConfiguration"} + } + }, + "StartProtectedQueryOutput":{ + "type":"structure", + "required":["protectedQuery"], + "members":{ + "protectedQuery":{"shape":"ProtectedQuery"} + } + }, + "String":{"type":"string"}, + "TableAlias":{ + "type":"string", + "max":128, + "min":0, + "pattern":"[a-zA-Z0-9_](([a-zA-Z0-9_ ]+-)*([a-zA-Z0-9_ ]+))?" + }, + "TableAliasList":{ + "type":"list", + "member":{"shape":"TableAlias"}, + "max":25, + "min":1 + }, + "TableDescription":{ + "type":"string", + "max":255, + "min":0, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\t\\r\\n]*" + }, + "TableReference":{ + "type":"structure", + "members":{ + "glue":{"shape":"GlueTableReference"} + }, + "union":true + }, + "TargetProtectedQueryStatus":{ + "type":"string", + "enum":["CANCELLED"] + }, + "ThrottlingException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true + }, + "Timestamp":{"type":"timestamp"}, + "UUID":{ + "type":"string", + "max":36, + "min":36, + "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" + }, + "UpdateCollaborationInput":{ + "type":"structure", + "required":["collaborationIdentifier"], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "name":{"shape":"CollaborationName"}, + "description":{"shape":"CollaborationDescription"} + } + }, + "UpdateCollaborationOutput":{ + "type":"structure", + "required":["collaboration"], + "members":{ + "collaboration":{"shape":"Collaboration"} + } + }, + "UpdateConfiguredTableAnalysisRuleInput":{ + "type":"structure", + "required":[ + "configuredTableIdentifier", + "analysisRuleType", + "analysisRulePolicy" + ], + "members":{ + "configuredTableIdentifier":{ + "shape":"ConfiguredTableIdentifier", + "location":"uri", + "locationName":"configuredTableIdentifier" + }, + "analysisRuleType":{ + "shape":"ConfiguredTableAnalysisRuleType", + "location":"uri", + "locationName":"analysisRuleType" + }, + "analysisRulePolicy":{"shape":"ConfiguredTableAnalysisRulePolicy"} + } + }, + "UpdateConfiguredTableAnalysisRuleOutput":{ + "type":"structure", + "required":["analysisRule"], + "members":{ + "analysisRule":{"shape":"ConfiguredTableAnalysisRule"} + } + }, + "UpdateConfiguredTableAssociationInput":{ + "type":"structure", + "required":[ + "configuredTableAssociationIdentifier", + "membershipIdentifier" + ], + "members":{ + "configuredTableAssociationIdentifier":{ + "shape":"ConfiguredTableAssociationIdentifier", + "location":"uri", + "locationName":"configuredTableAssociationIdentifier" + }, + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "description":{"shape":"TableDescription"}, + "roleArn":{"shape":"RoleArn"} + } + }, + "UpdateConfiguredTableAssociationOutput":{ + "type":"structure", + "required":["configuredTableAssociation"], + "members":{ + "configuredTableAssociation":{"shape":"ConfiguredTableAssociation"} + } + }, + "UpdateConfiguredTableInput":{ + "type":"structure", + "required":["configuredTableIdentifier"], + "members":{ + "configuredTableIdentifier":{ + "shape":"ConfiguredTableIdentifier", + "location":"uri", + "locationName":"configuredTableIdentifier" + }, + "name":{"shape":"DisplayName"}, + "description":{"shape":"TableDescription"} + } + }, + "UpdateConfiguredTableOutput":{ + "type":"structure", + "required":["configuredTable"], + "members":{ + "configuredTable":{"shape":"ConfiguredTable"} + } + }, + "UpdateMembershipInput":{ + "type":"structure", + "required":["membershipIdentifier"], + "members":{ + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "queryLogStatus":{"shape":"MembershipQueryLogStatus"} + } + }, + "UpdateMembershipOutput":{ + "type":"structure", + "required":["membership"], + "members":{ + "membership":{"shape":"Membership"} + } + }, + "UpdateProtectedQueryInput":{ + "type":"structure", + "required":[ + "membershipIdentifier", + "protectedQueryIdentifier", + "targetStatus" + ], + "members":{ + "membershipIdentifier":{ + "shape":"MembershipIdentifier", + "location":"uri", + "locationName":"membershipIdentifier" + }, + "protectedQueryIdentifier":{ + "shape":"ProtectedQueryIdentifier", + "location":"uri", + "locationName":"protectedQueryIdentifier" + }, + "targetStatus":{"shape":"TargetProtectedQueryStatus"} + } + }, + "UpdateProtectedQueryOutput":{ + "type":"structure", + "required":["protectedQuery"], + "members":{ + "protectedQuery":{"shape":"ProtectedQuery"} + } + }, + "ValidationException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"}, + "reason":{"shape":"ValidationExceptionReason"}, + "fieldList":{"shape":"ValidationExceptionFieldList"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "ValidationExceptionField":{ + "type":"structure", + "required":[ + "name", + "message" + ], + "members":{ + "name":{"shape":"String"}, + "message":{"shape":"String"} + } + }, + "ValidationExceptionFieldList":{ + "type":"list", + "member":{"shape":"ValidationExceptionField"} + }, + "ValidationExceptionReason":{ + "type":"string", + "enum":[ + "FIELD_VALIDATION_FAILED", + "INVALID_CONFIGURATION" + ] + } + } +} diff --git a/models/apis/cleanrooms/2022-02-17/docs-2.json b/models/apis/cleanrooms/2022-02-17/docs-2.json new file mode 100644 index 00000000000..ee89cb02a40 --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/docs-2.json @@ -0,0 +1,1350 @@ +{ + "version": "2.0", + "service": "

AWS Clean Rooms is in preview release and is subject to change.

Welcome to the AWS Clean Rooms API Reference.

AWS Clean Rooms is an AWS service that helps multiple parties to join their data together in a secure collaboration workspace. In the collaboration, members who can query and receive results can get insights into the combined data without either party getting access to the other party's raw data.

To learn more about AWS Clean Rooms concepts, procedures, and best practices, see the AWS Clean Rooms User Guide.

", + "operations": { + "BatchGetSchema": "

Retrieves multiple schemas by their identifiers.

", + "CreateCollaboration": "

Creates a new collaboration.

", + "CreateConfiguredTable": "

Creates a new configured table resource.

", + "CreateConfiguredTableAnalysisRule": "

Creates a new analysis rule for a configured table. Currently, only one analysis rule can be created for a given configured table.

", + "CreateConfiguredTableAssociation": "

Creates a configured table association. A configured table association links a configured table with a collaboration.

", + "CreateMembership": "

Creates a membership for a specific collaboration identifier and joins the collaboration.

", + "DeleteCollaboration": "

Deletes a collaboration. It can only be called by the collaboration owner.

", + "DeleteConfiguredTable": "

Deletes a configured table.

", + "DeleteConfiguredTableAnalysisRule": "

Deletes a configured table analysis rule.

", + "DeleteConfiguredTableAssociation": "

Deletes a configured table association.

", + "DeleteMember": "

Removes the specified member from a collaboration. The removed member is placed in the Removed status and can't interact with the collaboration. The removed member's data is inaccessible to active members of the collaboration.

", + "DeleteMembership": "

Deletes a specified membership. All resources under a membership must be deleted.

", + "GetCollaboration": "

Returns metadata about a collaboration.

", + "GetConfiguredTable": "

Retrieves a configured table.

", + "GetConfiguredTableAnalysisRule": "

Retrieves a configured table analysis rule.

", + "GetConfiguredTableAssociation": "

Retrieves a configured table association.

", + "GetMembership": "

Retrieves a specified membership for an identifier.

", + "GetProtectedQuery": "

Returns query processing metadata.

", + "GetSchema": "

Retrieves the schema for a relation within a collaboration.

", + "GetSchemaAnalysisRule": "

Retrieves a schema analysis rule.

", + "ListCollaborations": "

Lists collaborations the caller owns, is active in, or has been invited to.

", + "ListConfiguredTableAssociations": "

Lists configured table associations for a membership.

", + "ListConfiguredTables": "

Lists configured tables.

", + "ListMembers": "

Lists all members within a collaboration.

", + "ListMemberships": "

Lists all memberships resources within the caller's account.

", + "ListProtectedQueries": "

Lists protected queries, sorted by the most recent query.

", + "ListSchemas": "

Lists the schemas for relations within a collaboration.

", + "StartProtectedQuery": "

Creates a protected query that is started by AWS Clean Rooms.

", + "UpdateCollaboration": "

Updates collaboration metadata and can only be called by the collaboration owner.

", + "UpdateConfiguredTable": "

Updates a configured table.

", + "UpdateConfiguredTableAnalysisRule": "

Updates a configured table analysis rule.

", + "UpdateConfiguredTableAssociation": "

Updates a configured table association.

", + "UpdateMembership": "

Updates a membership.

", + "UpdateProtectedQuery": "

Updates the processing of a currently running query.

" + }, + "shapes": { + "AccessDeniedException": { + "base": "

Caller does not have sufficient access to perform this action.

", + "refs": { + } + }, + "AccessDeniedExceptionReason": { + "base": null, + "refs": { + "AccessDeniedException$reason": "

A reason code for the exception.

" + } + }, + "AccountId": { + "base": null, + "refs": { + "Collaboration$creatorAccountId": "

The identifier used to reference members of the collaboration. Currently only supports AWS account ID.

", + "CollaborationSummary$creatorAccountId": "

The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.

", + "DeleteMemberInput$accountId": "

The account ID of the member to remove.

", + "MemberSpecification$accountId": "

The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.

", + "MemberSummary$accountId": "

The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.

", + "Membership$collaborationCreatorAccountId": "

The identifier used to reference members of the collaboration. Currently only supports AWS account ID.

", + "MembershipSummary$collaborationCreatorAccountId": "

The identifier of the AWS principal that created the collaboration. Currently only supports AWS account ID.

", + "Schema$creatorAccountId": "

The unique account ID for the AWS account that owns the schema.

", + "SchemaSummary$creatorAccountId": "

The unique account ID for the AWS account that owns the schema.

" + } + }, + "AggregateColumn": { + "base": "

Column in configured table that can be used in aggregate function in query.

", + "refs": { + "AnalysisRuleAggregationAggregateColumnsList$member": null + } + }, + "AggregateColumnColumnNamesList": { + "base": null, + "refs": { + "AggregateColumn$columnNames": "

Column names in configured table of aggregate columns.

" + } + }, + "AggregateFunctionName": { + "base": null, + "refs": { + "AggregateColumn$function": "

Aggregation function that can be applied to aggregate column in query.

" + } + }, + "AggregationConstraint": { + "base": "

Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.

", + "refs": { + "AggregationConstraints$member": null + } + }, + "AggregationConstraintMinimumInteger": { + "base": null, + "refs": { + "AggregationConstraint$minimum": "

The minimum number of distinct values that an output row must be an aggregation of. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.

" + } + }, + "AggregationConstraints": { + "base": null, + "refs": { + "AnalysisRuleAggregation$outputConstraints": "

Columns that must meet a specific threshold value (after an aggregation function is applied to it) for each output row to be returned.

" + } + }, + "AggregationType": { + "base": null, + "refs": { + "AggregationConstraint$type": "

The type of aggregation the constraint allows. The only valid value is currently `COUNT_DISTINCT`.

" + } + }, + "AllowedColumnList": { + "base": null, + "refs": { + "ConfiguredTable$allowedColumns": "

The columns within the underlying AWS Glue table that can be utilized within collaborations.

", + "CreateConfiguredTableInput$allowedColumns": "

The columns of the underlying table that can be used by collaborations or analysis rules.

" + } + }, + "AnalysisMethod": { + "base": null, + "refs": { + "ConfiguredTable$analysisMethod": "

The analysis method for the configured table. The only valid value is currently `DIRECT_QUERY`.

", + "ConfiguredTableSummary$analysisMethod": "

The analysis method for the configured tables. The only valid value is currently `DIRECT_QUERY`.

", + "CreateConfiguredTableInput$analysisMethod": "

The analysis method for the configured tables. The only valid value is currently `DIRECT_QUERY`.

", + "Schema$analysisMethod": "

The analysis method for the schema. The only valid value is currently DIRECT_QUERY.

", + "SchemaSummary$analysisMethod": "

The analysis method for the associated schema. The only valid value is currently `DIRECT_QUERY`.

" + } + }, + "AnalysisRule": { + "base": "

A specification about how data from the configured table can be used in a query.

", + "refs": { + "GetSchemaAnalysisRuleOutput$analysisRule": "

A specification about how data from the configured table can be used.

" + } + }, + "AnalysisRuleAggregation": { + "base": "

Enables query structure and specified queries that product aggregate statistics.

", + "refs": { + "AnalysisRulePolicyV1$aggregation": "

Analysis rule type that enables only aggregation queries on a configured table.

", + "ConfiguredTableAnalysisRulePolicyV1$aggregation": "

Analysis rule type that enables only aggregation queries on a configured table.

" + } + }, + "AnalysisRuleAggregationAggregateColumnsList": { + "base": null, + "refs": { + "AnalysisRuleAggregation$aggregateColumns": "

The columns that query runners are allowed to use in aggregation queries.

" + } + }, + "AnalysisRuleColumnList": { + "base": null, + "refs": { + "AnalysisRuleAggregation$joinColumns": "

Columns in configured table that can be used in join statements and/or as aggregate columns. They can never be outputted directly.

", + "AnalysisRuleAggregation$dimensionColumns": "

The columns that query runners are allowed to select, group by, or filter by.

", + "AnalysisRuleList$listColumns": "

Columns that can be listed in the output.

" + } + }, + "AnalysisRuleColumnName": { + "base": null, + "refs": { + "AggregateColumnColumnNamesList$member": null, + "AggregationConstraint$columnName": "

Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.

", + "AnalysisRuleColumnList$member": null, + "AnalysisRuleListJoinColumnsList$member": null + } + }, + "AnalysisRuleList": { + "base": "

A type of analysis rule that enables row-level analysis.

", + "refs": { + "AnalysisRulePolicyV1$list": "

Analysis rule type that enables only list queries on a configured table.

", + "ConfiguredTableAnalysisRulePolicyV1$list": "

Analysis rule type that enables only list queries on a configured table.

" + } + }, + "AnalysisRuleListJoinColumnsList": { + "base": null, + "refs": { + "AnalysisRuleList$joinColumns": "

Columns that can be used to join a configured table with the table of the member who can query and another members' configured tables.

" + } + }, + "AnalysisRulePolicy": { + "base": "

Controls on the query specifications that can be run on configured table..

", + "refs": { + "AnalysisRule$policy": "

A policy that describes the associated data usage limitations.

" + } + }, + "AnalysisRulePolicyV1": { + "base": "

Controls on the query specifications that can be run on configured table..

", + "refs": { + "AnalysisRulePolicy$v1": "

Controls on the query specifications that can be run on configured table..

" + } + }, + "AnalysisRuleType": { + "base": null, + "refs": { + "AnalysisRule$type": "

The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.

", + "AnalysisRuleTypeList$member": null, + "GetSchemaAnalysisRuleInput$type": "

The type of the schema analysis rule to retrieve. Schema analysis rules are uniquely identified by a combination of the collaboration, the schema name, and their type.

" + } + }, + "AnalysisRuleTypeList": { + "base": null, + "refs": { + "Schema$analysisRuleTypes": "

The analysis rule types associated with the schema. Valued values are LIST and AGGREGATION. Currently, only one entry is present.

", + "SchemaSummary$analysisRuleTypes": "

The types of analysis rules that are associated with this schema object.

" + } + }, + "BatchGetSchemaError": { + "base": "

An error describing why a schema could not be fetched.

", + "refs": { + "BatchGetSchemaErrorList$member": null + } + }, + "BatchGetSchemaErrorList": { + "base": null, + "refs": { + "BatchGetSchemaOutput$errors": "

Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.

" + } + }, + "BatchGetSchemaInput": { + "base": null, + "refs": { + } + }, + "BatchGetSchemaOutput": { + "base": null, + "refs": { + } + }, + "Boolean": { + "base": null, + "refs": { + "DataEncryptionMetadata$allowCleartext": "

Indicates whether encrypted tables can contain cleartext data (true) or are to cryptographically process every column (false).

", + "DataEncryptionMetadata$allowDuplicates": "

Indicates whether Fingerprint columns can contain duplicate entries (true) or are to contain only non-repeated values (false).

", + "DataEncryptionMetadata$allowJoinsOnColumnsWithDifferentNames": "

Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name (true) or can only be joined on Fingerprint columns of the same name (false).

", + "DataEncryptionMetadata$preserveNulls": "

Indicates whether NULL values are to be copied as NULL to encrypted tables (true) or cryptographically processed (false).

" + } + }, + "Collaboration": { + "base": "

The multi-party data share environment. The collaboration contains metadata about its purpose and participants.

", + "refs": { + "CreateCollaborationOutput$collaboration": "

The entire created collaboration object.

", + "GetCollaborationOutput$collaboration": "

The entire collaboration for this identifier.

", + "UpdateCollaborationOutput$collaboration": "

The entire collaboration that has been updated.

" + } + }, + "CollaborationArn": { + "base": null, + "refs": { + "Collaboration$arn": "

The unique ARN for the collaboration.

", + "CollaborationSummary$arn": "

The ARN of the collaboration.

", + "Membership$collaborationArn": "

The unique ARN for the membership's associated collaboration.

", + "MembershipSummary$collaborationArn": "

The unique ARN for the membership's associated collaboration.

", + "Schema$collaborationArn": "

The unique ARN for the collaboration that the schema belongs to.

", + "SchemaSummary$collaborationArn": "

The unique ARN for the collaboration that the schema belongs to.

" + } + }, + "CollaborationDescription": { + "base": null, + "refs": { + "Collaboration$description": "

A description of the collaboration provided by the collaboration owner.

", + "CreateCollaborationInput$description": "

A description of the collaboration provided by the collaboration owner.

", + "UpdateCollaborationInput$description": "

A description of the collaboration.

" + } + }, + "CollaborationIdentifier": { + "base": null, + "refs": { + "AnalysisRule$collaborationId": "

The unique ID for the associated collaboration.

", + "BatchGetSchemaInput$collaborationIdentifier": "

A unique identifier for the collaboration that the schemas belong to. Currently accepts collaboration ID.

", + "CreateMembershipInput$collaborationIdentifier": "

The unique ID for the associated collaboration.

", + "DeleteCollaborationInput$collaborationIdentifier": "

The identifier for the collaboration.

", + "DeleteMemberInput$collaborationIdentifier": "

The unique identifier for the associated collaboration.

", + "GetCollaborationInput$collaborationIdentifier": "

The identifier for the collaboration.

", + "GetSchemaAnalysisRuleInput$collaborationIdentifier": "

A unique identifier for the collaboration that the schema belongs to. Currently accepts a collaboration ID.

", + "GetSchemaInput$collaborationIdentifier": "

A unique identifier for the collaboration that the schema belongs to. Currently accepts a collaboration ID.

", + "ListMembersInput$collaborationIdentifier": "

The identifier of the collaboration in which the members are listed.

", + "ListSchemasInput$collaborationIdentifier": "

A unique identifier for the collaboration that the schema belongs to. Currently accepts a collaboration ID.

", + "MembershipSummary$collaborationId": "

The unique ID for the membership's collaboration.

", + "UpdateCollaborationInput$collaborationIdentifier": "

The identifier for the collaboration.

" + } + }, + "CollaborationName": { + "base": null, + "refs": { + "Collaboration$name": "

A human-readable identifier provided by the collaboration owner. Display names are not unique.

", + "CollaborationSummary$name": "

A human-readable identifier provided by the collaboration owner. Display names are not unique.

", + "CreateCollaborationInput$name": "

The display name for a collaboration.

", + "Membership$collaborationName": "

The name of the membership's collaboration.

", + "MembershipSummary$collaborationName": "

The name for the membership's collaboration.

", + "UpdateCollaborationInput$name": "

A human-readable identifier provided by the collaboration owner. Display names are not unique.

" + } + }, + "CollaborationQueryLogStatus": { + "base": null, + "refs": { + "Collaboration$queryLogStatus": "

An indicator as to whether query logging has been enabled or disabled for the collaboration.

", + "CreateCollaborationInput$queryLogStatus": "

An indicator as to whether query logging has been enabled or disabled for the collaboration.

" + } + }, + "CollaborationSummary": { + "base": "

The metadata of the collaboration.

", + "refs": { + "CollaborationSummaryList$member": null + } + }, + "CollaborationSummaryList": { + "base": null, + "refs": { + "ListCollaborationsOutput$collaborationList": "

The list of collaborations.

" + } + }, + "Column": { + "base": "

A column within a schema relation, derived from the underlying AWS Glue table.

", + "refs": { + "ColumnList$member": null + } + }, + "ColumnList": { + "base": null, + "refs": { + "Schema$columns": "

The columns for the relation this schema represents.

", + "Schema$partitionKeys": "

The partition keys for the data set underlying this schema.

" + } + }, + "ColumnName": { + "base": null, + "refs": { + "AllowedColumnList$member": null, + "Column$name": "

The name of the column.

" + } + }, + "ColumnTypeString": { + "base": null, + "refs": { + "Column$type": "

The type of the column.

" + } + }, + "ConfiguredTable": { + "base": "

A table that has been configured for use in a collaboration.

", + "refs": { + "CreateConfiguredTableOutput$configuredTable": "

The created configured table.

", + "GetConfiguredTableOutput$configuredTable": "

The retrieved configured table.

", + "UpdateConfiguredTableOutput$configuredTable": "

The updated configured table.

" + } + }, + "ConfiguredTableAnalysisRule": { + "base": "

A configured table analysis rule, which limits how data for this table can be used.

", + "refs": { + "CreateConfiguredTableAnalysisRuleOutput$analysisRule": "

The entire created analysis rule.

", + "GetConfiguredTableAnalysisRuleOutput$analysisRule": "

The entire analysis rule output.

", + "UpdateConfiguredTableAnalysisRuleOutput$analysisRule": "

The entire updated analysis rule.

" + } + }, + "ConfiguredTableAnalysisRulePolicy": { + "base": "

Controls on the query specifications that can be run on a configured table.

", + "refs": { + "ConfiguredTableAnalysisRule$policy": "

The policy that controls SQL query rules.

", + "CreateConfiguredTableAnalysisRuleInput$analysisRulePolicy": "

The entire created configured table analysis rule object.

", + "UpdateConfiguredTableAnalysisRuleInput$analysisRulePolicy": "

The new analysis rule policy for the configured table analysis rule.

" + } + }, + "ConfiguredTableAnalysisRulePolicyV1": { + "base": "

Controls on the query specifications that can be run on a configured table.

", + "refs": { + "ConfiguredTableAnalysisRulePolicy$v1": "

Controls on the query specifications that can be run on a configured table.

" + } + }, + "ConfiguredTableAnalysisRuleType": { + "base": null, + "refs": { + "ConfiguredTableAnalysisRule$type": "

The type of configured table analysis rule. Valid values are `AGGREGATION` and `LIST`.

", + "ConfiguredTableAnalysisRuleTypeList$member": null, + "CreateConfiguredTableAnalysisRuleInput$analysisRuleType": "

The type of analysis rule. Valid values are AGGREGATION and LIST.

", + "DeleteConfiguredTableAnalysisRuleInput$analysisRuleType": "

The analysis rule type to be deleted. Configured table analysis rules are uniquely identified by their configured table identifier and analysis rule type.

", + "GetConfiguredTableAnalysisRuleInput$analysisRuleType": "

The analysis rule to be retrieved. Configured table analysis rules are uniquely identified by their configured table identifier and analysis rule type.

", + "UpdateConfiguredTableAnalysisRuleInput$analysisRuleType": "

The analysis rule type to be updated. Configured table analysis rules are uniquely identified by their configured table identifier and analysis rule type.

" + } + }, + "ConfiguredTableAnalysisRuleTypeList": { + "base": null, + "refs": { + "ConfiguredTable$analysisRuleTypes": "

The types of analysis rules associated with this configured table. Valid values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may be associated with a configured table.

", + "ConfiguredTableSummary$analysisRuleTypes": "

The types of analysis rules associated with this configured table.

" + } + }, + "ConfiguredTableArn": { + "base": null, + "refs": { + "ConfiguredTable$arn": "

The unique ARN for the configured table.

", + "ConfiguredTableAnalysisRule$configuredTableArn": "

The unique ARN for the configured table.

", + "ConfiguredTableAssociation$configuredTableArn": "

The unique ARN for the configured table that the association refers to.

", + "ConfiguredTableSummary$arn": "

The unique ARN of the configured table.

" + } + }, + "ConfiguredTableAssociation": { + "base": "

A configured table association links a configured table to a collaboration.

", + "refs": { + "CreateConfiguredTableAssociationOutput$configuredTableAssociation": "

The entire configured table association object.

", + "GetConfiguredTableAssociationOutput$configuredTableAssociation": "

The entire configured table association object.

", + "UpdateConfiguredTableAssociationOutput$configuredTableAssociation": "

The entire updated configured table association.

" + } + }, + "ConfiguredTableAssociationArn": { + "base": null, + "refs": { + "ConfiguredTableAssociation$arn": "

The unique ARN for the configured table association.

", + "ConfiguredTableAssociationSummary$arn": "

The unique ARN for the configured table association.

" + } + }, + "ConfiguredTableAssociationIdentifier": { + "base": null, + "refs": { + "DeleteConfiguredTableAssociationInput$configuredTableAssociationIdentifier": "

The unique ID for the configured table association to be deleted. Currently accepts the configured table ID.

", + "GetConfiguredTableAssociationInput$configuredTableAssociationIdentifier": "

The unique ID for the configured table association to retrieve. Currently accepts the configured table ID.

", + "UpdateConfiguredTableAssociationInput$configuredTableAssociationIdentifier": "

The unique identifier for the configured table association to update. Currently accepts the configured table association ID.

" + } + }, + "ConfiguredTableAssociationSummary": { + "base": "

The configured table association summary for the objects listed by the request.

", + "refs": { + "ConfiguredTableAssociationSummaryList$member": null + } + }, + "ConfiguredTableAssociationSummaryList": { + "base": null, + "refs": { + "ListConfiguredTableAssociationsOutput$configuredTableAssociationSummaries": "

The retrieved list of configured table associations.

" + } + }, + "ConfiguredTableIdentifier": { + "base": null, + "refs": { + "ConfiguredTableSummary$id": "

The unique ID of the configured table.

", + "CreateConfiguredTableAnalysisRuleInput$configuredTableIdentifier": "

The identifier for the configured table to create the analysis rule for. Currently accepts the configured table ID.

", + "CreateConfiguredTableAssociationInput$configuredTableIdentifier": "

A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.

", + "DeleteConfiguredTableAnalysisRuleInput$configuredTableIdentifier": "

The unique identifier for the configured table that the analysis rule applies to. Currently accepts the configured table ID.

", + "DeleteConfiguredTableInput$configuredTableIdentifier": "

The unique ID for the configured table to delete.

", + "GetConfiguredTableAnalysisRuleInput$configuredTableIdentifier": "

The unique identifier for the configured table to retrieve. Currently accepts the configured table ID.

", + "GetConfiguredTableInput$configuredTableIdentifier": "

The unique ID for the configured table to retrieve.

", + "UpdateConfiguredTableAnalysisRuleInput$configuredTableIdentifier": "

The unique identifier for the configured table that the analysis rule applies to. Currently accepts the configured table ID.

", + "UpdateConfiguredTableInput$configuredTableIdentifier": "

The identifier for the configured table to update. Currently accepts the configured table ID.

" + } + }, + "ConfiguredTableSummary": { + "base": "

The configured table summary for the objects listed by the request.

", + "refs": { + "ConfiguredTableSummaryList$member": "

The member of the configured table summary list.

" + } + }, + "ConfiguredTableSummaryList": { + "base": null, + "refs": { + "ListConfiguredTablesOutput$configuredTableSummaries": "

The configured tables listed by the request.

" + } + }, + "ConflictException": { + "base": "

Updating or deleting a resource can cause an inconsistent state.

", + "refs": { + } + }, + "ConflictExceptionReason": { + "base": null, + "refs": { + "ConflictException$reason": "

A reason code for the exception.

" + } + }, + "CreateCollaborationInput": { + "base": null, + "refs": { + } + }, + "CreateCollaborationOutput": { + "base": null, + "refs": { + } + }, + "CreateConfiguredTableAnalysisRuleInput": { + "base": null, + "refs": { + } + }, + "CreateConfiguredTableAnalysisRuleOutput": { + "base": null, + "refs": { + } + }, + "CreateConfiguredTableAssociationInput": { + "base": null, + "refs": { + } + }, + "CreateConfiguredTableAssociationOutput": { + "base": null, + "refs": { + } + }, + "CreateConfiguredTableInput": { + "base": null, + "refs": { + } + }, + "CreateConfiguredTableOutput": { + "base": null, + "refs": { + } + }, + "CreateMembershipInput": { + "base": null, + "refs": { + } + }, + "CreateMembershipOutput": { + "base": null, + "refs": { + } + }, + "DataEncryptionMetadata": { + "base": "

The settings for client-side encryption for cryptographic computing.

", + "refs": { + "Collaboration$dataEncryptionMetadata": "

The settings for client-side encryption for cryptographic computing.

", + "CreateCollaborationInput$dataEncryptionMetadata": "

The settings for client-side encryption with Cryptographic Computing for Clean Rooms.

" + } + }, + "DeleteCollaborationInput": { + "base": null, + "refs": { + } + }, + "DeleteCollaborationOutput": { + "base": null, + "refs": { + } + }, + "DeleteConfiguredTableAnalysisRuleInput": { + "base": null, + "refs": { + } + }, + "DeleteConfiguredTableAnalysisRuleOutput": { + "base": "

An empty response that indicates a successful delete.

", + "refs": { + } + }, + "DeleteConfiguredTableAssociationInput": { + "base": null, + "refs": { + } + }, + "DeleteConfiguredTableAssociationOutput": { + "base": null, + "refs": { + } + }, + "DeleteConfiguredTableInput": { + "base": null, + "refs": { + } + }, + "DeleteConfiguredTableOutput": { + "base": "

The empty output for a successful deletion.

", + "refs": { + } + }, + "DeleteMemberInput": { + "base": null, + "refs": { + } + }, + "DeleteMemberOutput": { + "base": null, + "refs": { + } + }, + "DeleteMembershipInput": { + "base": null, + "refs": { + } + }, + "DeleteMembershipOutput": { + "base": null, + "refs": { + } + }, + "DisplayName": { + "base": null, + "refs": { + "Collaboration$creatorDisplayName": "

A display name of the collaboration creator.

", + "CollaborationSummary$creatorDisplayName": "

The display name of the collaboration creator.

", + "ConfiguredTable$name": "

A name for the configured table.

", + "ConfiguredTableSummary$name": "

The name of the configured table.

", + "CreateCollaborationInput$creatorDisplayName": "

The display name of the collaboration creator.

", + "CreateConfiguredTableInput$name": "

The name of the configured table.

", + "MemberSpecification$displayName": "

The member's display name.

", + "MemberSummary$displayName": "

The member's display name.

", + "Membership$collaborationCreatorDisplayName": "

The display name of the collaboration creator.

", + "MembershipSummary$collaborationCreatorDisplayName": "

The display name of the collaboration creator.

", + "UpdateConfiguredTableInput$name": "

A new name for the configured table.

" + } + }, + "Double": { + "base": null, + "refs": { + "ServiceQuotaExceededException$quotaValue": "

The value of the quota.

" + } + }, + "FilterableMemberStatus": { + "base": null, + "refs": { + "ListCollaborationsInput$memberStatus": "

The caller's status in a collaboration.

" + } + }, + "GetCollaborationInput": { + "base": null, + "refs": { + } + }, + "GetCollaborationOutput": { + "base": null, + "refs": { + } + }, + "GetConfiguredTableAnalysisRuleInput": { + "base": null, + "refs": { + } + }, + "GetConfiguredTableAnalysisRuleOutput": { + "base": null, + "refs": { + } + }, + "GetConfiguredTableAssociationInput": { + "base": null, + "refs": { + } + }, + "GetConfiguredTableAssociationOutput": { + "base": null, + "refs": { + } + }, + "GetConfiguredTableInput": { + "base": null, + "refs": { + } + }, + "GetConfiguredTableOutput": { + "base": null, + "refs": { + } + }, + "GetMembershipInput": { + "base": null, + "refs": { + } + }, + "GetMembershipOutput": { + "base": null, + "refs": { + } + }, + "GetProtectedQueryInput": { + "base": null, + "refs": { + } + }, + "GetProtectedQueryOutput": { + "base": null, + "refs": { + } + }, + "GetSchemaAnalysisRuleInput": { + "base": null, + "refs": { + } + }, + "GetSchemaAnalysisRuleOutput": { + "base": null, + "refs": { + } + }, + "GetSchemaInput": { + "base": null, + "refs": { + } + }, + "GetSchemaOutput": { + "base": null, + "refs": { + } + }, + "GlueResourceName": { + "base": null, + "refs": { + "GlueTableReference$tableName": "

The name of the AWS Glue table.

", + "GlueTableReference$databaseName": "

The name of the database the AWS Glue table belongs to.

" + } + }, + "GlueTableReference": { + "base": "

A reference to a table within an AWS Glue data catalog.

", + "refs": { + "TableReference$glue": "

If present, a reference to the AWS Glue table referred to by this table reference.

" + } + }, + "InternalServerException": { + "base": "

Unexpected error during processing of request.

", + "refs": { + } + }, + "JoinRequiredOption": { + "base": null, + "refs": { + "AnalysisRuleAggregation$joinRequired": "

Control that requires member who runs query to do a join with their configured table and/or other configured table in query

" + } + }, + "KeyPrefix": { + "base": null, + "refs": { + "ProtectedQueryS3OutputConfiguration$keyPrefix": "

The S3 prefix to unload the protected query results.

" + } + }, + "ListCollaborationsInput": { + "base": null, + "refs": { + } + }, + "ListCollaborationsOutput": { + "base": null, + "refs": { + } + }, + "ListConfiguredTableAssociationsInput": { + "base": null, + "refs": { + } + }, + "ListConfiguredTableAssociationsOutput": { + "base": null, + "refs": { + } + }, + "ListConfiguredTablesInput": { + "base": null, + "refs": { + } + }, + "ListConfiguredTablesOutput": { + "base": null, + "refs": { + } + }, + "ListMembersInput": { + "base": null, + "refs": { + } + }, + "ListMembersOutput": { + "base": null, + "refs": { + } + }, + "ListMembershipsInput": { + "base": null, + "refs": { + } + }, + "ListMembershipsOutput": { + "base": null, + "refs": { + } + }, + "ListProtectedQueriesInput": { + "base": null, + "refs": { + } + }, + "ListProtectedQueriesOutput": { + "base": null, + "refs": { + } + }, + "ListSchemasInput": { + "base": null, + "refs": { + } + }, + "ListSchemasOutput": { + "base": null, + "refs": { + } + }, + "Long": { + "base": null, + "refs": { + "ProtectedQueryStatistics$totalDurationInMillis": "

The duration of the Protected Query, from creation until query completion.

" + } + }, + "MaxResults": { + "base": null, + "refs": { + "ListCollaborationsInput$maxResults": "

The maximum size of the results that is returned per call. Service chooses a default if it has not been set. Service may return a nextToken even if the maximum results has not been met.

", + "ListConfiguredTableAssociationsInput$maxResults": "

The maximum size of the results that is returned per call.

", + "ListConfiguredTablesInput$maxResults": "

The maximum size of the results that is returned per call.

", + "ListMembersInput$maxResults": "

The maximum size of the results that is returned per call.

", + "ListMembershipsInput$maxResults": "

The maximum size of the results that is returned per call.

", + "ListProtectedQueriesInput$maxResults": "

The maximum size of the results that is returned per call. Service chooses a default if it has not been set. Service can return a nextToken even if the maximum results has not been met.

", + "ListSchemasInput$maxResults": "

The maximum size of the results that is returned per call.

" + } + }, + "MemberAbilities": { + "base": null, + "refs": { + "CreateCollaborationInput$creatorMemberAbilities": "

The abilities granted to the collaboration creator.

", + "MemberSpecification$memberAbilities": "

The abilities granted to the collaboration member.

", + "MemberSummary$abilities": "

The abilities granted to the collaboration member.

", + "Membership$memberAbilities": "

The abilities granted to the collaboration member.

", + "MembershipSummary$memberAbilities": "

The abilities granted to the collaboration member.

" + } + }, + "MemberAbility": { + "base": null, + "refs": { + "MemberAbilities$member": null + } + }, + "MemberList": { + "base": null, + "refs": { + "CreateCollaborationInput$members": "

A list of initial members, not including the creator. This list is immutable.

" + } + }, + "MemberSpecification": { + "base": "

Basic metadata used to construct a new member.

", + "refs": { + "MemberList$member": null + } + }, + "MemberStatus": { + "base": null, + "refs": { + "Collaboration$memberStatus": "

The status of a member in a collaboration.

", + "CollaborationSummary$memberStatus": "

The status of a member in a collaboration.

", + "MemberSummary$status": "

The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and `REMOVED`.

" + } + }, + "MemberSummary": { + "base": "

The member object listed by the request.

", + "refs": { + "MemberSummaryList$member": null + } + }, + "MemberSummaryList": { + "base": null, + "refs": { + "ListMembersOutput$memberSummaries": "

The list of members returned by the ListMembers operation.

" + } + }, + "Membership": { + "base": "

The membership object.

", + "refs": { + "CreateMembershipOutput$membership": "

The membership that was created.

", + "GetMembershipOutput$membership": "

The membership retrieved for the provided identifier.

", + "UpdateMembershipOutput$membership": null + } + }, + "MembershipArn": { + "base": null, + "refs": { + "Collaboration$membershipArn": "

The unique ARN for your membership within the collaboration.

", + "CollaborationSummary$membershipArn": "

The ARN of a member in a collaboration.

", + "ConfiguredTableAssociation$membershipArn": "

The unique ARN for the membership this configured table association belongs to.

", + "ConfiguredTableAssociationSummary$membershipArn": "

The unique ARN for the membership that the configured table association belongs to.

", + "MemberSummary$membershipArn": "

The unique ARN for the member's associated membership, if present.

", + "Membership$arn": "

The unique ARN for the membership.

", + "MembershipSummary$arn": "

The unique ARN for the membership.

", + "ProtectedQuery$membershipArn": "

The ARN of the membership.

", + "ProtectedQuerySummary$membershipArn": "

The unique ARN for the membership that initiated the protected query.

" + } + }, + "MembershipIdentifier": { + "base": null, + "refs": { + "ConfiguredTableAssociationSummary$membershipId": "

The unique ID for the membership that the configured table association belongs to.

", + "CreateConfiguredTableAssociationInput$membershipIdentifier": "

A unique identifier for one of your memberships for a collaboration. The configured table is associated to the collaboration that this membership belongs to. Currently accepts a membership ID.

", + "DeleteConfiguredTableAssociationInput$membershipIdentifier": "

A unique identifier for the membership that the configured table association belongs to. Currently accepts the membership ID.

", + "DeleteMembershipInput$membershipIdentifier": "

The identifier for a membership resource.

", + "GetConfiguredTableAssociationInput$membershipIdentifier": "

A unique identifier for the membership that the configured table association belongs to. Currently accepts the membership ID.

", + "GetMembershipInput$membershipIdentifier": "

The identifier for a membership resource.

", + "GetProtectedQueryInput$membershipIdentifier": "

The identifier for a membership in a protected query instance.

", + "ListConfiguredTableAssociationsInput$membershipIdentifier": "

A unique identifier for the membership to list configured table associations for. Currently accepts the membership ID.

", + "ListProtectedQueriesInput$membershipIdentifier": "

The identifier for the membership in the collaboration.

", + "StartProtectedQueryInput$membershipIdentifier": "

A unique identifier for the membership to run this query against. Currently accepts a membership ID.

", + "UpdateConfiguredTableAssociationInput$membershipIdentifier": "

The unique ID for the membership that the configured table association belongs to.

", + "UpdateMembershipInput$membershipIdentifier": "

The unique identifier of the membership.

", + "UpdateProtectedQueryInput$membershipIdentifier": "

The identifier for a member of a protected query instance.

" + } + }, + "MembershipQueryLogStatus": { + "base": null, + "refs": { + "CreateMembershipInput$queryLogStatus": "

An indicator as to whether query logging has been enabled or disabled for the collaboration.

", + "Membership$queryLogStatus": "

An indicator as to whether query logging has been enabled or disabled for the collaboration.

", + "UpdateMembershipInput$queryLogStatus": "

An indicator as to whether query logging has been enabled or disabled for the collaboration.

" + } + }, + "MembershipStatus": { + "base": null, + "refs": { + "ListMembershipsInput$status": "

A filter which will return only memberships in the specified status.

", + "Membership$status": "

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.

", + "MembershipSummary$status": "

The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.

" + } + }, + "MembershipSummary": { + "base": "

The membership object listed by the request.

", + "refs": { + "MembershipSummaryList$member": null + } + }, + "MembershipSummaryList": { + "base": null, + "refs": { + "ListMembershipsOutput$membershipSummaries": "

The list of memberships returned from the ListMemberships operation.

" + } + }, + "PaginationToken": { + "base": null, + "refs": { + "ListCollaborationsInput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListCollaborationsOutput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListConfiguredTableAssociationsInput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListConfiguredTableAssociationsOutput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListConfiguredTablesInput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListConfiguredTablesOutput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListMembersInput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListMembersOutput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListMembershipsInput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListMembershipsOutput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListProtectedQueriesInput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListProtectedQueriesOutput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListSchemasInput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

", + "ListSchemasOutput$nextToken": "

The token value retrieved from a previous call to access the next page of results.

" + } + }, + "ProtectedQuery": { + "base": "

The parameters for an AWS Clean Rooms protected query.

", + "refs": { + "GetProtectedQueryOutput$protectedQuery": "

The query processing metadata.

", + "StartProtectedQueryOutput$protectedQuery": "

The protected query.

", + "UpdateProtectedQueryOutput$protectedQuery": "

The protected query output.

" + } + }, + "ProtectedQueryError": { + "base": "

Details of errors thrown by the protected query.

", + "refs": { + "ProtectedQuery$error": "

An error thrown by the protected query.

" + } + }, + "ProtectedQueryIdentifier": { + "base": null, + "refs": { + "GetProtectedQueryInput$protectedQueryIdentifier": "

The identifier for a protected query instance.

", + "UpdateProtectedQueryInput$protectedQueryIdentifier": "

The identifier for a protected query instance.

" + } + }, + "ProtectedQueryOutput": { + "base": "

Contains details about the protected query output.

", + "refs": { + "ProtectedQueryResult$output": "

The output of the protected query.

" + } + }, + "ProtectedQueryOutputConfiguration": { + "base": "

Contains configuration details for protected query output.

", + "refs": { + "ProtectedQueryResultConfiguration$outputConfiguration": "

Configuration for protected query results.

" + } + }, + "ProtectedQueryResult": { + "base": "

Details about the query results.

", + "refs": { + "ProtectedQuery$result": "

The result of the protected query.

" + } + }, + "ProtectedQueryResultConfiguration": { + "base": "

Contains configurations for protected query results.

", + "refs": { + "ProtectedQuery$resultConfiguration": "

Contains any details needed to write the query results.

", + "StartProtectedQueryInput$resultConfiguration": "

The details needed to write the query results.

" + } + }, + "ProtectedQueryS3Output": { + "base": "

Contains output information for protected queries with an S3 output type.

", + "refs": { + "ProtectedQueryOutput$s3": "

If present, the output for a protected query with an `S3` output type.

" + } + }, + "ProtectedQueryS3OutputConfiguration": { + "base": "

Contains the configuration to write the query results to S3.

", + "refs": { + "ProtectedQueryOutputConfiguration$s3": "

Required configuration for a protected query with an `S3` output type.

" + } + }, + "ProtectedQueryS3OutputConfigurationBucketString": { + "base": null, + "refs": { + "ProtectedQueryS3OutputConfiguration$bucket": "

The S3 bucket to unload the protected query results.

" + } + }, + "ProtectedQuerySQLParameters": { + "base": "

The parameters for the SQL type Protected Query.

", + "refs": { + "ProtectedQuery$sqlParameters": "

The protected query SQL parameters.

", + "StartProtectedQueryInput$sqlParameters": "

The protected SQL query parameters.

" + } + }, + "ProtectedQuerySQLParametersQueryStringString": { + "base": null, + "refs": { + "ProtectedQuerySQLParameters$queryString": "

The query string to be submitted.

" + } + }, + "ProtectedQueryStatistics": { + "base": "

Contains statistics about the execution of the protected query.

", + "refs": { + "ProtectedQuery$statistics": "

Statistics about protected query execution.

" + } + }, + "ProtectedQueryStatus": { + "base": null, + "refs": { + "ListProtectedQueriesInput$status": "

A filter on the status of the protected query.

", + "ProtectedQuery$status": "

The status of the query.

", + "ProtectedQuerySummary$status": "

The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`.

" + } + }, + "ProtectedQuerySummary": { + "base": "

The protected query summary for the objects listed by the request.

", + "refs": { + "ProtectedQuerySummaryList$member": null + } + }, + "ProtectedQuerySummaryList": { + "base": null, + "refs": { + "ListProtectedQueriesOutput$protectedQueries": "

A list of protected queries.

" + } + }, + "ProtectedQueryType": { + "base": null, + "refs": { + "StartProtectedQueryInput$type": "

The type of the protected query to be started.

" + } + }, + "ResourceNotFoundException": { + "base": "

Request references a resource which does not exist.

", + "refs": { + } + }, + "ResourceType": { + "base": null, + "refs": { + "ConflictException$resourceType": "

The type of the conflicting resource.

", + "ResourceNotFoundException$resourceType": "

The type of the missing resource.

" + } + }, + "ResultFormat": { + "base": null, + "refs": { + "ProtectedQueryS3OutputConfiguration$resultFormat": "

Intended file format of the result.

" + } + }, + "RoleArn": { + "base": null, + "refs": { + "ConfiguredTableAssociation$roleArn": "

The service will assume this role to access catalog metadata and query the table.

", + "CreateConfiguredTableAssociationInput$roleArn": "

The service will assume this role to access catalog metadata and query the table.

", + "UpdateConfiguredTableAssociationInput$roleArn": "

The service will assume this role to access catalog metadata and query the table.

" + } + }, + "ScalarFunctions": { + "base": null, + "refs": { + "ScalarFunctionsList$member": null + } + }, + "ScalarFunctionsList": { + "base": null, + "refs": { + "AnalysisRuleAggregation$scalarFunctions": "

Set of scalar functions that are allowed to be used on dimension columns and the output of aggregation of metrics.

" + } + }, + "Schema": { + "base": "

A schema is a relation within a collaboration.

", + "refs": { + "GetSchemaOutput$schema": "

The entire schema object.

", + "SchemaList$member": null + } + }, + "SchemaList": { + "base": null, + "refs": { + "BatchGetSchemaOutput$schemas": "

The retrieved list of schemas.

" + } + }, + "SchemaSummary": { + "base": "

The schema summary for the objects listed by the request.

", + "refs": { + "SchemaSummaryList$member": null + } + }, + "SchemaSummaryList": { + "base": null, + "refs": { + "ListSchemasOutput$schemaSummaries": "

The retrieved list of schemas.

" + } + }, + "SchemaType": { + "base": null, + "refs": { + "ListSchemasInput$schemaType": "

If present, filter schemas by schema type. The only valid schema type is currently `TABLE`.

", + "Schema$type": "

The type of schema. The only valid value is currently `TABLE`.

", + "SchemaSummary$type": "

The type of schema object. The only valid schema type is currently `TABLE`.

" + } + }, + "ServiceQuotaExceededException": { + "base": "

Request denied because service quota has been exceeded.

", + "refs": { + } + }, + "StartProtectedQueryInput": { + "base": null, + "refs": { + } + }, + "StartProtectedQueryOutput": { + "base": null, + "refs": { + } + }, + "String": { + "base": null, + "refs": { + "AccessDeniedException$message": null, + "BatchGetSchemaError$code": "

An error code for the error.

", + "BatchGetSchemaError$message": "

An error message for the error.

", + "ConflictException$message": null, + "ConflictException$resourceId": "

The ID of the conflicting resource.

", + "InternalServerException$message": null, + "ProtectedQueryError$message": "

A description of why the query failed.

", + "ProtectedQueryError$code": "

An error code for the error.

", + "ProtectedQueryS3Output$location": "

The S3 location of the result.

", + "ResourceNotFoundException$message": null, + "ResourceNotFoundException$resourceId": "

The Id of the missing resource.

", + "ServiceQuotaExceededException$message": null, + "ServiceQuotaExceededException$quotaName": "

The name of the quota.

", + "ThrottlingException$message": null, + "ValidationException$message": null, + "ValidationExceptionField$name": "

The name of the input parameter.

", + "ValidationExceptionField$message": "

A message for the input validation error.

" + } + }, + "TableAlias": { + "base": null, + "refs": { + "AnalysisRule$name": "

The name for the analysis rule.

", + "BatchGetSchemaError$name": "

An error name for the error.

", + "ConfiguredTableAssociation$name": "

The name of the configured table association, in lowercase. The table is identified by this name when running protected queries against the underlying data.

", + "ConfiguredTableAssociationSummary$name": "

The name of the configured table association. The table is identified by this name when running Protected Queries against the underlying data.

", + "CreateConfiguredTableAssociationInput$name": "

The name of the configured table association. This name is used to query the underlying configured table.

", + "GetSchemaAnalysisRuleInput$name": "

The name of the schema to retrieve the analysis rule for.

", + "GetSchemaInput$name": "

The name of the relation to retrieve the schema for.

", + "Schema$name": "

A name for the schema. The schema relation is referred to by this name when queried by a protected query.

", + "SchemaSummary$name": "

The name for the schema object.

", + "TableAliasList$member": null + } + }, + "TableAliasList": { + "base": null, + "refs": { + "BatchGetSchemaInput$names": "

The names for the schema objects to retrieve.>

" + } + }, + "TableDescription": { + "base": null, + "refs": { + "ConfiguredTable$description": "

A description for the configured table.

", + "ConfiguredTableAssociation$description": "

A description of the configured table association.

", + "CreateConfiguredTableAssociationInput$description": "

A description for the configured table association.

", + "CreateConfiguredTableInput$description": "

A description for the configured table.

", + "Schema$description": "

A description for the schema.

", + "UpdateConfiguredTableAssociationInput$description": "

A new description for the configured table association.

", + "UpdateConfiguredTableInput$description": "

A new description for the configured table.

" + } + }, + "TableReference": { + "base": "

A pointer to the data set that underlies this table. Currently, this can only be an AWS Glue table.

", + "refs": { + "ConfiguredTable$tableReference": "

The AWS Glue table that this configured table represents.

", + "CreateConfiguredTableInput$tableReference": "

A reference to the AWS Glue table being configured.

" + } + }, + "TargetProtectedQueryStatus": { + "base": null, + "refs": { + "UpdateProtectedQueryInput$targetStatus": "

The target status of a query. Used to update the execution status of a currently running query.

" + } + }, + "ThrottlingException": { + "base": "

Request was denied due to request throttling.

", + "refs": { + } + }, + "Timestamp": { + "base": null, + "refs": { + "AnalysisRule$createTime": "

The time the analysis rule was created.

", + "AnalysisRule$updateTime": "

The time the analysis rule was last updated.

", + "Collaboration$createTime": "

The time when the collaboration was created.

", + "Collaboration$updateTime": "

The time the collaboration metadata was last updated.

", + "CollaborationSummary$createTime": "

The time when the collaboration was created.

", + "CollaborationSummary$updateTime": "

The time the collaboration metadata was last updated.

", + "ConfiguredTable$createTime": "

The time the configured table was created.

", + "ConfiguredTable$updateTime": "

The time the configured table was last updated

", + "ConfiguredTableAnalysisRule$createTime": "

The time the configured table analysis rule was created.

", + "ConfiguredTableAnalysisRule$updateTime": "

The time the configured table analysis rule was last updated.

", + "ConfiguredTableAssociation$createTime": "

The time the configured table association was created.

", + "ConfiguredTableAssociation$updateTime": "

The time the configured table association was last updated.

", + "ConfiguredTableAssociationSummary$createTime": "

The time the configured table association was created.

", + "ConfiguredTableAssociationSummary$updateTime": "

The time the configured table association was last updated.

", + "ConfiguredTableSummary$createTime": "

The time the configured table was created.

", + "ConfiguredTableSummary$updateTime": "

The time the configured table was last updated.

", + "MemberSummary$createTime": "

The time when the member was created.

", + "MemberSummary$updateTime": "

The time the member metadata was last updated.

", + "Membership$createTime": "

The time when the membership was created.

", + "Membership$updateTime": "

The time the membership metadata was last updated.

", + "MembershipSummary$createTime": "

The time when the membership was created.

", + "MembershipSummary$updateTime": "

The time the membership metadata was last updated.

", + "ProtectedQuery$createTime": "

The time at which the protected query was created.

", + "ProtectedQuerySummary$createTime": "

The time the protected query was created.

", + "Schema$createTime": "

The time the schema was created.

", + "Schema$updateTime": "

The time the schema was last updated.

", + "SchemaSummary$createTime": "

The time the schema object was created.

", + "SchemaSummary$updateTime": "

The time the schema object was last updated.

" + } + }, + "UUID": { + "base": null, + "refs": { + "Collaboration$id": "

The unique ID for the collaboration.

", + "Collaboration$membershipId": "

The unique ID for your membership within the collaboration.

", + "CollaborationSummary$id": "

The identifier for the collaboration.

", + "CollaborationSummary$membershipId": "

The identifier of a member in a collaboration.

", + "ConfiguredTable$id": "

The unique ID for the configured table.

", + "ConfiguredTableAnalysisRule$configuredTableId": "

The unique ID for the configured table.

", + "ConfiguredTableAssociation$id": "

The unique ID for the configured table association.

", + "ConfiguredTableAssociation$configuredTableId": "

The unique ID for the configured table that the association refers to.

", + "ConfiguredTableAssociation$membershipId": "

The unique ID for the membership this configured table association belongs to.

", + "ConfiguredTableAssociationSummary$configuredTableId": "

The unique configured table ID that this configured table association refers to.

", + "ConfiguredTableAssociationSummary$id": "

The unique ID for the configured table association.

", + "MemberSummary$membershipId": "

The unique ID for the member's associated membership, if present.

", + "Membership$id": "

The unique ID of the membership.

", + "Membership$collaborationId": "

The unique ID for the membership's collaboration.

", + "MembershipSummary$id": "

The unique ID for the membership's collaboration.

", + "ProtectedQuery$id": "

The identifier for a protected query instance.

", + "ProtectedQuery$membershipId": "

The identifier for the membership.

", + "ProtectedQuerySummary$id": "

The unique ID of the protected query.

", + "ProtectedQuerySummary$membershipId": "

The unique ID for the membership that initiated the protected query.

", + "Schema$collaborationId": "

The unique ID for the collaboration that the schema belongs to.

", + "SchemaSummary$collaborationId": "

The unique ID for the collaboration that the schema belongs to.

" + } + }, + "UpdateCollaborationInput": { + "base": null, + "refs": { + } + }, + "UpdateCollaborationOutput": { + "base": null, + "refs": { + } + }, + "UpdateConfiguredTableAnalysisRuleInput": { + "base": null, + "refs": { + } + }, + "UpdateConfiguredTableAnalysisRuleOutput": { + "base": null, + "refs": { + } + }, + "UpdateConfiguredTableAssociationInput": { + "base": null, + "refs": { + } + }, + "UpdateConfiguredTableAssociationOutput": { + "base": null, + "refs": { + } + }, + "UpdateConfiguredTableInput": { + "base": null, + "refs": { + } + }, + "UpdateConfiguredTableOutput": { + "base": null, + "refs": { + } + }, + "UpdateMembershipInput": { + "base": null, + "refs": { + } + }, + "UpdateMembershipOutput": { + "base": null, + "refs": { + } + }, + "UpdateProtectedQueryInput": { + "base": null, + "refs": { + } + }, + "UpdateProtectedQueryOutput": { + "base": null, + "refs": { + } + }, + "ValidationException": { + "base": "

The input fails to satisfy the specified constraints.

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

Describes validation errors for specific input parameters.

", + "refs": { + "ValidationExceptionFieldList$member": null + } + }, + "ValidationExceptionFieldList": { + "base": null, + "refs": { + "ValidationException$fieldList": "

Validation errors for specific input parameters.

" + } + }, + "ValidationExceptionReason": { + "base": null, + "refs": { + "ValidationException$reason": "

A reason code for the exception.

" + } + } + } +} diff --git a/models/apis/cleanrooms/2022-02-17/endpoint-rule-set-1.json b/models/apis/cleanrooms/2022-02-17/endpoint-rule-set-1.json new file mode 100644 index 00000000000..10a0cadea83 --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/endpoint-rule-set-1.json @@ -0,0 +1,300 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cleanrooms.{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://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/cleanrooms/2022-02-17/endpoint-tests-1.json b/models/apis/cleanrooms/2022-02-17/endpoint-tests-1.json new file mode 100644 index 00000000000..59a0eb59e68 --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/endpoint-tests-1.json @@ -0,0 +1,295 @@ +{ + "testCases": [ + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "Region": "us-gov-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-gov-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "Region": "us-gov-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-gov-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "Region": "cn-north-1", + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "Region": "cn-north-1", + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "Region": "cn-north-1", + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "Region": "cn-north-1", + "UseFIPS": 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": { + "UseDualStack": true, + "Region": "us-iso-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-iso-east-1", + "UseFIPS": true + } + }, + { + "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": { + "UseDualStack": true, + "Region": "us-iso-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-iso-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": 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": { + "UseDualStack": true, + "Region": "us-isob-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-isob-east-1", + "UseFIPS": true + } + }, + { + "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": { + "UseDualStack": true, + "Region": "us-isob-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cleanrooms.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-isob-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": false, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/cleanrooms/2022-02-17/examples-1.json b/models/apis/cleanrooms/2022-02-17/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/cleanrooms/2022-02-17/paginators-1.json b/models/apis/cleanrooms/2022-02-17/paginators-1.json new file mode 100644 index 00000000000..52d02290f00 --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/paginators-1.json @@ -0,0 +1,46 @@ +{ + "pagination": { + "ListCollaborations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "collaborationList" + }, + "ListConfiguredTableAssociations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "configuredTableAssociationSummaries" + }, + "ListConfiguredTables": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "configuredTableSummaries" + }, + "ListMembers": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "memberSummaries" + }, + "ListMemberships": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "membershipSummaries" + }, + "ListProtectedQueries": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "protectedQueries" + }, + "ListSchemas": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "schemaSummaries" + } + } +} diff --git a/models/apis/cleanrooms/2022-02-17/smoke.json b/models/apis/cleanrooms/2022-02-17/smoke.json new file mode 100644 index 00000000000..a9756813e4a --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/smoke.json @@ -0,0 +1,6 @@ +{ + "version": 1, + "defaultRegion": "us-west-2", + "testCases": [ + ] +} diff --git a/models/apis/cleanrooms/2022-02-17/waiters-2.json b/models/apis/cleanrooms/2022-02-17/waiters-2.json new file mode 100644 index 00000000000..13f60ee66be --- /dev/null +++ b/models/apis/cleanrooms/2022-02-17/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/models/apis/lambda/2015-03-31/api-2.json b/models/apis/lambda/2015-03-31/api-2.json index 58465d45b9b..a37587fbcf3 100644 --- a/models/apis/lambda/2015-03-31/api-2.json +++ b/models/apis/lambda/2015-03-31/api-2.json @@ -1418,7 +1418,8 @@ "SelfManagedEventSource":{"shape":"SelfManagedEventSource"}, "FunctionResponseTypes":{"shape":"FunctionResponseTypeList"}, "AmazonManagedKafkaEventSourceConfig":{"shape":"AmazonManagedKafkaEventSourceConfig"}, - "SelfManagedKafkaEventSourceConfig":{"shape":"SelfManagedKafkaEventSourceConfig"} + "SelfManagedKafkaEventSourceConfig":{"shape":"SelfManagedKafkaEventSourceConfig"}, + "ScalingConfig":{"shape":"ScalingConfig"} } }, "CreateFunctionRequest":{ @@ -1841,7 +1842,8 @@ "TumblingWindowInSeconds":{"shape":"TumblingWindowInSeconds"}, "FunctionResponseTypes":{"shape":"FunctionResponseTypeList"}, "AmazonManagedKafkaEventSourceConfig":{"shape":"AmazonManagedKafkaEventSourceConfig"}, - "SelfManagedKafkaEventSourceConfig":{"shape":"SelfManagedKafkaEventSourceConfig"} + "SelfManagedKafkaEventSourceConfig":{"shape":"SelfManagedKafkaEventSourceConfig"}, + "ScalingConfig":{"shape":"ScalingConfig"} } }, "EventSourceMappingsList":{ @@ -3122,6 +3124,11 @@ "max":300, "min":0 }, + "MaximumConcurrency":{ + "type":"integer", + "max":1000, + "min":2 + }, "MaximumEventAgeInSeconds":{ "type":"integer", "max":21600, @@ -3600,6 +3607,12 @@ "max":1024, "min":1 }, + "ScalingConfig":{ + "type":"structure", + "members":{ + "MaximumConcurrency":{"shape":"MaximumConcurrency"} + } + }, "SecurityGroupId":{"type":"string"}, "SecurityGroupIds":{ "type":"list", @@ -3984,7 +3997,8 @@ "ParallelizationFactor":{"shape":"ParallelizationFactor"}, "SourceAccessConfigurations":{"shape":"SourceAccessConfigurations"}, "TumblingWindowInSeconds":{"shape":"TumblingWindowInSeconds"}, - "FunctionResponseTypes":{"shape":"FunctionResponseTypeList"} + "FunctionResponseTypes":{"shape":"FunctionResponseTypeList"}, + "ScalingConfig":{"shape":"ScalingConfig"} } }, "UpdateFunctionCodeRequest":{ diff --git a/models/apis/lambda/2015-03-31/docs-2.json b/models/apis/lambda/2015-03-31/docs-2.json index 88f96f98a9c..26fc98167a3 100644 --- a/models/apis/lambda/2015-03-31/docs-2.json +++ b/models/apis/lambda/2015-03-31/docs-2.json @@ -6,7 +6,7 @@ "AddPermission": "

Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.

To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.

This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.

", "CreateAlias": "

Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.

You can also map an alias to split invocation requests between two versions. Use the RoutingConfig parameter to specify a second version and the percentage of invocation requests that it receives.

", "CreateCodeSigningConfig": "

Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

", - "CreateEventSourceMapping": "

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", + "CreateEventSourceMapping": "

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", "CreateFunction": "

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.

If the deployment package is a container image, then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.

If the deployment package is a .zip file archive, then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64.

When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Lambda function states.

A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration.

The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency).

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function.

If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.

To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions.

", "CreateFunctionUrlConfig": "

Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.

", "DeleteAlias": "

Deletes a Lambda function alias.

", @@ -60,7 +60,7 @@ "UntagResource": "

Removes tags from a function.

", "UpdateAlias": "

Updates the configuration of a Lambda function alias.

", "UpdateCodeSigningConfig": "

Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

", - "UpdateEventSourceMapping": "

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", + "UpdateEventSourceMapping": "

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", "UpdateFunctionCode": "

Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda.

If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry.

If the function's package type is Zip, then you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field.

The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64).

The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version.

For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.

", "UpdateFunctionConfiguration": "

Modify the version-specific settings of a Lambda function.

When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Lambda function states.

These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an Amazon Web Services account or Amazon Web Service, use AddPermission.

", "UpdateFunctionEventInvokeConfig": "

Updates the configuration for asynchronous invocation for a function, version, or alias.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

", @@ -201,22 +201,22 @@ "base": null, "refs": { "AddPermissionRequest$SourceArn": "

For Amazon Web Services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

", - "CreateEventSourceMappingRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", + "CreateEventSourceMappingRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", "EventSourceMappingConfiguration$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", "FunctionConfiguration$SigningProfileVersionArn": "

The ARN of the signing profile version.

", "FunctionConfiguration$SigningJobArn": "

The ARN of the signing job.

", "Layer$SigningProfileVersionArn": "

The Amazon Resource Name (ARN) for a signing profile version.

", "Layer$SigningJobArn": "

The Amazon Resource Name (ARN) of a signing job.

", - "ListEventSourceMappingsRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", + "ListEventSourceMappingsRequest$EventSourceArn": "

The Amazon Resource Name (ARN) of the event source.

", "SigningProfileVersionArns$member": null } }, "BatchSize": { "base": null, "refs": { - "CreateEventSourceMappingRequest$BatchSize": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

", + "CreateEventSourceMappingRequest$BatchSize": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

", "EventSourceMappingConfiguration$BatchSize": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

", - "UpdateEventSourceMappingRequest$BatchSize": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

" + "UpdateEventSourceMappingRequest$BatchSize": "

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

" } }, "BisectBatchOnFunctionError": { @@ -749,7 +749,7 @@ "refs": { "AddPermissionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "CreateAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "CreateEventSourceMappingRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", + "CreateEventSourceMappingRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", "CreateFunctionRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "CreateFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "DeleteAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", @@ -767,7 +767,7 @@ "GetFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "GetProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListAliasesRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "ListEventSourceMappingsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", + "ListEventSourceMappingsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", "ListFunctionEventInvokeConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListFunctionUrlConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListProvisionedConcurrencyConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", @@ -779,7 +779,7 @@ "PutProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "RemovePermissionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", - "UpdateEventSourceMappingRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", + "UpdateEventSourceMappingRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", "UpdateFunctionCodeRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateFunctionConfigurationRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateFunctionEventInvokeConfigRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", @@ -1458,6 +1458,12 @@ "UpdateEventSourceMappingRequest$MaximumBatchingWindowInSeconds": "

The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping.

Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

" } }, + "MaximumConcurrency": { + "base": null, + "refs": { + "ScalingConfig$MaximumConcurrency": "

Limits the number of concurrent instances that the Amazon SQS event source can invoke.

" + } + }, "MaximumEventAgeInSeconds": { "base": null, "refs": { @@ -1809,6 +1815,14 @@ "UpdateFunctionCodeRequest$S3ObjectVersion": "

For versioned objects, the version of the deployment package object to use.

" } }, + "ScalingConfig": { + "base": "

(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.

", + "refs": { + "CreateEventSourceMappingRequest$ScalingConfig": "

(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.

", + "EventSourceMappingConfiguration$ScalingConfig": "

(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.

", + "UpdateEventSourceMappingRequest$ScalingConfig": "

(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.

" + } + }, "SecurityGroupId": { "base": null, "refs": { @@ -1855,7 +1869,7 @@ } }, "SnapStart": { - "base": "

The function's SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Reducing startup time with Lambda SnapStart.

", + "base": "

The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.

SnapStart is supported with the java11 runtime. For more information, see Improving startup performance with Lambda SnapStart.

", "refs": { "CreateFunctionRequest$SnapStart": "

The function's SnapStart setting.

", "UpdateFunctionConfigurationRequest$SnapStart": "

The function's SnapStart setting.

" @@ -1887,7 +1901,7 @@ "SnapStartResponse": { "base": "

The function's SnapStart setting.

", "refs": { - "FunctionConfiguration$SnapStart": "

Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Reducing startup time with Lambda SnapStart.

" + "FunctionConfiguration$SnapStart": "

Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.

" } }, "SnapStartTimeoutException": { @@ -1912,7 +1926,7 @@ "SourceAccessType": { "base": null, "refs": { - "SourceAccessConfiguration$Type": "

The type of authentication protocol, VPC components, or virtual host for your event source. For example: \"Type\":\"SASL_SCRAM_512_AUTH\".

" + "SourceAccessConfiguration$Type": "

The type of authentication protocol, VPC components, or virtual host for your event source. For example: \"Type\":\"SASL_SCRAM_512_AUTH\".

" } }, "SourceOwner": { diff --git a/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json b/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json index 1c2cb6b0d97..8d4526c0155 100644 --- a/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json +++ b/models/apis/lambda/2015-03-31/endpoint-rule-set-1.json @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/logs/2014-03-28/api-2.json b/models/apis/logs/2014-03-28/api-2.json index 5ba9d130460..3380cf04e07 100644 --- a/models/apis/logs/2014-03-28/api-2.json +++ b/models/apis/logs/2014-03-28/api-2.json @@ -935,7 +935,6 @@ }, "DescribeLogStreamsRequest":{ "type":"structure", - "required":["logGroupName"], "members":{ "logGroupName":{"shape":"LogGroupName"}, "logGroupIdentifier":{"shape":"LogGroupIdentifier"}, @@ -1170,7 +1169,6 @@ "FilterCount":{"type":"integer"}, "FilterLogEventsRequest":{ "type":"structure", - "required":["logGroupName"], "members":{ "logGroupName":{"shape":"LogGroupName"}, "logGroupIdentifier":{"shape":"LogGroupIdentifier"}, @@ -1240,10 +1238,7 @@ }, "GetLogEventsRequest":{ "type":"structure", - "required":[ - "logGroupName", - "logStreamName" - ], + "required":["logStreamName"], "members":{ "logGroupName":{"shape":"LogGroupName"}, "logGroupIdentifier":{"shape":"LogGroupIdentifier"}, @@ -1266,7 +1261,6 @@ }, "GetLogGroupFieldsRequest":{ "type":"structure", - "required":["logGroupName"], "members":{ "logGroupName":{"shape":"LogGroupName"}, "time":{"shape":"Timestamp"}, diff --git a/models/apis/logs/2014-03-28/docs-2.json b/models/apis/logs/2014-03-28/docs-2.json index 1b8fe21bdc2..bd78401123b 100644 --- a/models/apis/logs/2014-03-28/docs-2.json +++ b/models/apis/logs/2014-03-28/docs-2.json @@ -19,17 +19,17 @@ "DescribeDestinations": "

Lists all your destinations. The results are ASCII-sorted by destination name.

", "DescribeExportTasks": "

Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.

", "DescribeLogGroups": "

Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.

CloudWatch Logs doesn’t support IAM policies that control access to the DescribeLogGroups action by using the aws:ResourceTag/key-name condition key. Other CloudWatch Logs actions do support the use of the aws:ResourceTag/key-name condition key to control access. For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", - "DescribeLogStreams": "

Lists the log streams for the specified log group. You can list all the log streams or filter the results by prefix. You can also control how the results are ordered.

This operation has a limit of five transactions per second, after which transactions are throttled.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", + "DescribeLogStreams": "

Lists the log streams for the specified log group. You can list all the log streams or filter the results by prefix. You can also control how the results are ordered.

You can specify the log group to search by using either logGroupIdentifier or logGroupName. You must include one of these two parameters, but you can't include both.

This operation has a limit of five transactions per second, after which transactions are throttled.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", "DescribeMetricFilters": "

Lists the specified metric filters. You can list all of the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.

", "DescribeQueries": "

Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have been run recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.

", "DescribeQueryDefinitions": "

This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions.

You can use the queryDefinitionNamePrefix parameter to limit the results to only the query definitions that have names that start with a certain string.

", "DescribeResourcePolicies": "

Lists the resource policies in this account.

", "DescribeSubscriptionFilters": "

Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix. The results are ASCII-sorted by filter name.

", "DisassociateKmsKey": "

Disassociates the associated KMS key from the specified log group.

After the KMS key is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and CloudWatch Logs requires permissions for the KMS key whenever the encrypted data is requested.

Note that it can take up to 5 minutes for this operation to take effect.

", - "FilterLogEvents": "

Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream.

You must have the logs;FilterLogEvents permission to perform this operation.

By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events) or all the events found within the specified time range. If the results include a token, that means there are more log events available. You can get additional results by specifying the token in a subsequent call. This operation can return empty results while there are more log events available through the token.

The returned log events are sorted by event timestamp, the timestamp when the event was ingested by CloudWatch Logs, and the ID of the PutLogEvents request.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", + "FilterLogEvents": "

Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream.

You must have the logs;FilterLogEvents permission to perform this operation.

You can specify the log group to search by using either logGroupIdentifier or logGroupName. You must include one of these two parameters, but you can't include both.

By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events) or all the events found within the specified time range. If the results include a token, that means there are more log events available. You can get additional results by specifying the token in a subsequent call. This operation can return empty results while there are more log events available through the token.

The returned log events are sorted by event timestamp, the timestamp when the event was ingested by CloudWatch Logs, and the ID of the PutLogEvents request.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", "GetDataProtectionPolicy": "

Returns information about a log group data protection policy.

", - "GetLogEvents": "

Lists log events from the specified log stream. You can list all of the log events or filter using a time range.

By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). You can get additional log events by specifying one of the tokens in a subsequent call. This operation can return empty results while there are more log events available through the token.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", - "GetLogGroupFields": "

Returns a list of the fields that are included in log events in the specified log group. Includes the percentage of log events that contain each field. The search is limited to a time period that you specify.

In the results, fields that start with @ are fields generated by CloudWatch Logs. For example, @timestamp is the timestamp of each log event. For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.

The response results are sorted by the frequency percentage, starting with the highest percentage.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", + "GetLogEvents": "

Lists log events from the specified log stream. You can list all of the log events or filter using a time range.

By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). You can get additional log events by specifying one of the tokens in a subsequent call. This operation can return empty results while there are more log events available through the token.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

You can specify the log group to search by using either logGroupIdentifier or logGroupName. You must include one of these two parameters, but you can't include both.

", + "GetLogGroupFields": "

Returns a list of the fields that are included in log events in the specified log group. Includes the percentage of log events that contain each field. The search is limited to a time period that you specify.

You can specify the log group to search by using either logGroupIdentifier or logGroupName. You must specify one of these parameters, but you can't specify both.

In the results, fields that start with @ are fields generated by CloudWatch Logs. For example, @timestamp is the timestamp of each log event. For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.

The response results are sorted by the frequency percentage, starting with the highest percentage.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability.

", "GetLogRecord": "

Retrieves all of the fields and values of a single log event. All fields are retrieved, even if the original query that produced the logRecordPointer retrieved only a subset of fields. Fields are returned as field name/field value pairs.

The full unparsed log event is returned within @message.

", "GetQueryResults": "

Returns the results from the specified query.

Only the fields requested in the query are returned, along with a @ptr field, which is the identifier for the log record. You can use the value of @ptr in a GetLogRecord operation to get the full log record.

GetQueryResults does not start running a query. To run a query, use StartQuery.

If the value of the Status field in the output is Running, this operation returns only partial results. If you see a value of Scheduled or Running for the status, you can retry the operation later to see the final results.

If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to start queries in linked source accounts. For more information, see CloudWatch cross-account observability.

", "ListTagsForResource": "

Displays the tags associated with a CloudWatch Logs resource. Currently, log groups and destinations support tagging.

", @@ -701,12 +701,12 @@ "base": null, "refs": { "DeleteDataProtectionPolicyRequest$logGroupIdentifier": "

The name or ARN of the log group that you want to delete the data protection policy for.

", - "DescribeLogStreamsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", - "FilterLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view log events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "DescribeLogStreamsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "FilterLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view log events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", "GetDataProtectionPolicyRequest$logGroupIdentifier": "

The name or ARN of the log group that contains the data protection policy that you want to see.

", "GetDataProtectionPolicyResponse$logGroupIdentifier": "

The log group name or ARN that you specified in your request.

", - "GetLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", - "GetLogGroupFieldsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "GetLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "GetLogGroupFieldsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", "LogGroupIdentifiers$member": null, "PutDataProtectionPolicyRequest$logGroupIdentifier": "

Specify either the log group name or log group ARN.

", "PutDataProtectionPolicyResponse$logGroupIdentifier": "

The log group name or ARN that you specified in your request.

" @@ -739,7 +739,7 @@ "ExportTask$logGroupName": "

The name of the log group from which logs data was exported.

", "FilterLogEventsRequest$logGroupName": "

The name of the log group to search.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", "GetLogEventsRequest$logGroupName": "

The name of the log group.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", - "GetLogGroupFieldsRequest$logGroupName": "

The name of the log group to search.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "GetLogGroupFieldsRequest$logGroupName": "

The name of the log group to search.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", "ListTagsLogGroupRequest$logGroupName": "

The name of the log group.

", "LogGroup$logGroupName": "

The name of the log group.

", "LogGroupNames$member": null, diff --git a/models/apis/logs/2014-03-28/endpoint-tests-1.json b/models/apis/logs/2014-03-28/endpoint-tests-1.json index dbf4dd5518e..70cfb3fa8ac 100644 --- a/models/apis/logs/2014-03-28/endpoint-tests-1.json +++ b/models/apis/logs/2014-03-28/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-2" } }, { @@ -22,8 +22,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-2" } }, { @@ -35,8 +35,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-2" } }, { @@ -48,8 +48,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-2" } }, { @@ -61,8 +61,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-1" } }, { @@ -74,8 +74,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-1" } }, { @@ -87,8 +87,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-1" } }, { @@ -100,8 +100,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-1" } }, { @@ -113,8 +113,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-1" } }, { @@ -126,8 +126,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-1" } }, { @@ -139,8 +139,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-1" } }, { @@ -152,8 +152,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-1" } }, { @@ -165,8 +165,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-2" } }, { @@ -178,8 +178,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-2" } }, { @@ -191,8 +191,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-2" } }, { @@ -204,8 +204,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-2" } }, { @@ -217,8 +217,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { @@ -230,8 +230,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { @@ -243,8 +243,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { @@ -256,8 +256,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { @@ -269,8 +269,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-central-1" } }, { @@ -282,8 +282,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-central-1" } }, { @@ -295,8 +295,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-central-1" } }, { @@ -308,8 +308,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-central-1" } }, { @@ -321,8 +321,8 @@ }, "params": { "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ca-central-1" } }, { @@ -334,8 +334,8 @@ }, "params": { "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ca-central-1" } }, { @@ -347,8 +347,8 @@ }, "params": { "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ca-central-1" } }, { @@ -360,8 +360,8 @@ }, "params": { "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ca-central-1" } }, { @@ -373,8 +373,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-1" } }, { @@ -386,8 +386,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-1" } }, { @@ -399,8 +399,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-1" } }, { @@ -412,8 +412,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-1" } }, { @@ -423,8 +423,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-west-1" } }, { @@ -436,8 +436,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-west-1" } }, { @@ -447,8 +447,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-west-1" } }, { @@ -460,8 +460,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-west-1" } }, { @@ -473,8 +473,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-2" } }, { @@ -486,8 +486,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-2" } }, { @@ -499,8 +499,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-2" } }, { @@ -512,8 +512,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-2" } }, { @@ -525,8 +525,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-1" } }, { @@ -538,8 +538,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-1" } }, { @@ -551,8 +551,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-1" } }, { @@ -564,8 +564,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-1" } }, { @@ -577,8 +577,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-2" } }, { @@ -590,8 +590,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-2" } }, { @@ -603,8 +603,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-2" } }, { @@ -616,8 +616,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-2" } }, { @@ -629,8 +629,8 @@ }, "params": { "UseDualStack": true, - "Region": "af-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "af-south-1" } }, { @@ -642,8 +642,8 @@ }, "params": { "UseDualStack": false, - "Region": "af-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "af-south-1" } }, { @@ -655,8 +655,8 @@ }, "params": { "UseDualStack": true, - "Region": "af-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "af-south-1" } }, { @@ -668,8 +668,8 @@ }, "params": { "UseDualStack": false, - "Region": "af-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "af-south-1" } }, { @@ -681,8 +681,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-north-1" } }, { @@ -694,8 +694,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-north-1" } }, { @@ -707,8 +707,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-north-1" } }, { @@ -720,8 +720,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-north-1" } }, { @@ -733,8 +733,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-3" } }, { @@ -746,8 +746,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-3" } }, { @@ -759,8 +759,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-3" } }, { @@ -772,8 +772,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-3" } }, { @@ -785,8 +785,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-2" } }, { @@ -798,8 +798,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-2" } }, { @@ -811,8 +811,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-2" } }, { @@ -824,8 +824,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-2" } }, { @@ -837,8 +837,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-1" } }, { @@ -850,8 +850,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-1" } }, { @@ -863,8 +863,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-1" } }, { @@ -876,8 +876,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-1" } }, { @@ -889,8 +889,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-3" } }, { @@ -902,8 +902,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-3" } }, { @@ -915,8 +915,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-3" } }, { @@ -928,8 +928,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-3" } }, { @@ -941,8 +941,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-2" } }, { @@ -954,8 +954,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-2" } }, { @@ -967,8 +967,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-2" } }, { @@ -980,8 +980,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-2" } }, { @@ -993,8 +993,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-1" } }, { @@ -1006,8 +1006,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-1" } }, { @@ -1019,8 +1019,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-1" } }, { @@ -1032,8 +1032,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-1" } }, { @@ -1045,8 +1045,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-south-1" } }, { @@ -1058,8 +1058,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-south-1" } }, { @@ -1071,8 +1071,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-south-1" } }, { @@ -1084,8 +1084,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-south-1" } }, { @@ -1097,8 +1097,8 @@ }, "params": { "UseDualStack": true, - "Region": "sa-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "sa-east-1" } }, { @@ -1110,8 +1110,8 @@ }, "params": { "UseDualStack": false, - "Region": "sa-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "sa-east-1" } }, { @@ -1123,8 +1123,8 @@ }, "params": { "UseDualStack": true, - "Region": "sa-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "sa-east-1" } }, { @@ -1136,8 +1136,8 @@ }, "params": { "UseDualStack": false, - "Region": "sa-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "sa-east-1" } }, { @@ -1149,8 +1149,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-east-1" } }, { @@ -1162,8 +1162,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-east-1" } }, { @@ -1175,8 +1175,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-east-1" } }, { @@ -1188,8 +1188,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-east-1" } }, { @@ -1201,8 +1201,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-north-1" } }, { @@ -1214,8 +1214,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-north-1" } }, { @@ -1227,8 +1227,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -1240,8 +1240,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -1253,8 +1253,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-west-1" } }, { @@ -1266,8 +1266,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-west-1" } }, { @@ -1279,8 +1279,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-west-1" } }, { @@ -1292,8 +1292,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-west-1" } }, { @@ -1305,8 +1305,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-1" } }, { @@ -1318,8 +1318,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-1" } }, { @@ -1331,8 +1331,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-1" } }, { @@ -1344,8 +1344,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-1" } }, { @@ -1357,8 +1357,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-2" } }, { @@ -1370,8 +1370,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-2" } }, { @@ -1383,8 +1383,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-2" } }, { @@ -1396,8 +1396,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-2" } }, { @@ -1407,8 +1407,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { @@ -1420,8 +1420,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { @@ -1431,8 +1431,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-east-1" } }, { @@ -1444,8 +1444,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-east-1" } }, { @@ -1457,8 +1457,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-3" } }, { @@ -1470,8 +1470,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-3" } }, { @@ -1483,8 +1483,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-3" } }, { @@ -1496,8 +1496,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-3" } }, { @@ -1509,8 +1509,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-4", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-4" } }, { @@ -1522,8 +1522,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-4", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-4" } }, { @@ -1535,8 +1535,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-4", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-4" } }, { @@ -1548,8 +1548,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-4", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-4" } }, { @@ -1561,8 +1561,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-1" } }, { @@ -1574,8 +1574,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-1" } }, { @@ -1587,8 +1587,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-1" } }, { @@ -1600,8 +1600,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-1" } }, { @@ -1613,8 +1613,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-2" } }, { @@ -1626,8 +1626,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-2" } }, { @@ -1639,8 +1639,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-2" } }, { @@ -1652,8 +1652,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-2" } }, { @@ -1665,8 +1665,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-northwest-1" } }, { @@ -1678,8 +1678,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-northwest-1" } }, { @@ -1691,8 +1691,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-northwest-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-northwest-1" } }, { @@ -1704,8 +1704,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-northwest-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-northwest-1" } }, { @@ -1715,8 +1715,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { @@ -1728,8 +1728,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { @@ -1739,8 +1739,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { @@ -1752,8 +1752,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { @@ -1765,8 +1765,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1777,8 +1777,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1789,8 +1789,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/mediaconvert/2017-08-29/api-2.json b/models/apis/mediaconvert/2017-08-29/api-2.json index 3456c453b67..c65bad72d43 100644 --- a/models/apis/mediaconvert/2017-08-29/api-2.json +++ b/models/apis/mediaconvert/2017-08-29/api-2.json @@ -1527,6 +1527,10 @@ "TargetLkfs": { "shape": "__doubleMinNegative59Max0", "locationName": "targetLkfs" + }, + "TruePeakLimiterThreshold": { + "shape": "__doubleMinNegative20Max0", + "locationName": "truePeakLimiterThreshold" } } }, @@ -2319,6 +2323,27 @@ } } }, + "ClipLimits": { + "type": "structure", + "members": { + "MaximumRGBTolerance": { + "shape": "__integerMin90Max105", + "locationName": "maximumRGBTolerance" + }, + "MaximumYUV": { + "shape": "__integerMin920Max1023", + "locationName": "maximumYUV" + }, + "MinimumRGBTolerance": { + "shape": "__integerMinNegative5Max10", + "locationName": "minimumRGBTolerance" + }, + "MinimumYUV": { + "shape": "__integerMin0Max128", + "locationName": "minimumYUV" + } + } + }, "CmafAdditionalManifest": { "type": "structure", "members": { @@ -2401,6 +2426,10 @@ "shape": "CmafCodecSpecification", "locationName": "codecSpecification" }, + "DashManifestStyle": { + "shape": "DashManifestStyle", + "locationName": "dashManifestStyle" + }, "Destination": { "shape": "__stringPatternS3", "locationName": "destination" @@ -2780,6 +2809,10 @@ "shape": "__integerMin1Max100", "locationName": "brightness" }, + "ClipLimits": { + "shape": "ClipLimits", + "locationName": "clipLimits" + }, "ColorSpaceConversion": { "shape": "ColorSpaceConversion", "locationName": "colorSpaceConversion" @@ -3187,6 +3220,10 @@ "shape": "__string", "locationName": "baseUrl" }, + "DashManifestStyle": { + "shape": "DashManifestStyle", + "locationName": "dashManifestStyle" + }, "Destination": { "shape": "__stringPatternS3", "locationName": "destination" @@ -3365,6 +3402,14 @@ "DISABLED" ] }, + "DashManifestStyle": { + "type": "string", + "enum": [ + "BASIC", + "COMPACT", + "DISTINCT" + ] + }, "DecryptionMode": { "type": "string", "enum": [ @@ -9177,7 +9222,8 @@ "type": "string", "enum": [ "LIMITED_RANGE_SQUEEZE", - "NONE" + "NONE", + "LIMITED_RANGE_CLIP" ] }, "ScalingBehavior": { @@ -10620,6 +10666,9 @@ "__doubleMin0Max2147483647": { "type": "double" }, + "__doubleMinNegative20Max0": { + "type": "double" + }, "__doubleMinNegative59Max0": { "type": "double" }, @@ -11058,6 +11107,16 @@ "min": 8, "max": 4096 }, + "__integerMin90Max105": { + "type": "integer", + "min": 90, + "max": 105 + }, + "__integerMin920Max1023": { + "type": "integer", + "min": 920, + "max": 1023 + }, "__integerMin96Max600": { "type": "integer", "min": 96, @@ -11098,6 +11157,11 @@ "min": -50, "max": 50 }, + "__integerMinNegative5Max10": { + "type": "integer", + "min": -5, + "max": 10 + }, "__integerMinNegative5Max5": { "type": "integer", "min": -5, diff --git a/models/apis/mediaconvert/2017-08-29/docs-2.json b/models/apis/mediaconvert/2017-08-29/docs-2.json index 44eff7f6198..6cfd5037f8d 100644 --- a/models/apis/mediaconvert/2017-08-29/docs-2.json +++ b/models/apis/mediaconvert/2017-08-29/docs-2.json @@ -580,6 +580,12 @@ "RemixSettings$ChannelMapping": "Channel mapping (ChannelMapping) contains the group of fields that hold the remixing value for each channel, in dB. Specify remix values to indicate how much of the content from your input audio channel you want in your output audio channels. Each instance of the InputChannels or InputChannelsFineTune array specifies these values for one output channel. Use one instance of this array for each output channel. In the console, each array corresponds to a column in the graphical depiction of the mapping matrix. The rows of the graphical matrix correspond to input channels. Valid values are within the range from -60 (mute) through 6. A setting of 0 passes the input channel unchanged to the output channel (no attenuation or amplification). Use InputChannels or InputChannelsFineTune to specify your remix values. Don't use both." } }, + "ClipLimits": { + "base": "Specify YUV limits and RGB tolerances when you set Sample range conversion to Limited range clip.", + "refs": { + "ColorCorrector$ClipLimits": "Specify YUV limits and RGB tolerances when you set Sample range conversion to Limited range clip." + } + }, "CmafAdditionalManifest": { "base": "Specify the details for each pair of HLS and DASH additional manifests that you want the service to generate for this CMAF output group. Each pair of manifests can reference a different subset of outputs in the group.", "refs": { @@ -756,9 +762,9 @@ } }, "CmfcManifestMetadataSignaling": { - "base": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled.", + "base": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled. To enable Manifest metadata signaling, you must also set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata (TimedMetadata) to Passthrough.", "refs": { - "CmfcSettings$ManifestMetadataSignaling": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled." + "CmfcSettings$ManifestMetadataSignaling": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled. To enable Manifest metadata signaling, you must also set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata (TimedMetadata) to Passthrough." } }, "CmfcScte35Esam": { @@ -988,6 +994,13 @@ "DashIsoGroupSettings$WriteSegmentTimelineInRepresentation": "If you get an HTTP error in the 400 range when you play back your DASH output, enable this setting and run your transcoding job again. When you enable this setting, the service writes precise segment durations in the DASH manifest. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When you don't enable this setting, the service writes approximate segment durations in your DASH manifest." } }, + "DashManifestStyle": { + "base": "Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline in each video Representation: Keep the default value, Basic. To write a common SegmentTimeline in the video AdaptationSet: Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any Representation that does not share a common timeline. To write a video AdaptationSet for each different output framerate, and a common SegmentTimeline in each AdaptationSet: Choose Distinct.", + "refs": { + "CmafGroupSettings$DashManifestStyle": "Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline in each video Representation: Keep the default value, Basic. To write a common SegmentTimeline in the video AdaptationSet: Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any Representation that does not share a common timeline. To write a video AdaptationSet for each different output framerate, and a common SegmentTimeline in each AdaptationSet: Choose Distinct.", + "DashIsoGroupSettings$DashManifestStyle": "Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline in each video Representation: Keep the default value, Basic. To write a common SegmentTimeline in the video AdaptationSet: Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any Representation that does not share a common timeline. To write a video AdaptationSet for each different output framerate, and a common SegmentTimeline in each AdaptationSet: Choose Distinct." + } + }, "DecryptionMode": { "base": "Specify the encryption mode that you used to encrypt your input files.", "refs": { @@ -2640,9 +2653,9 @@ } }, "MpdManifestMetadataSignaling": { - "base": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled.", + "base": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled. To enable Manifest metadata signaling, you must also set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata (TimedMetadata) to Passthrough.", "refs": { - "MpdSettings$ManifestMetadataSignaling": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled." + "MpdSettings$ManifestMetadataSignaling": "To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be \"urn:scte:scte35:2013:bin\". To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled. To enable Manifest metadata signaling, you must also set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata (TimedMetadata) to Passthrough." } }, "MpdScte35Esam": { @@ -3263,9 +3276,9 @@ } }, "SampleRangeConversion": { - "base": "Specify the video color sample range for this output. To create a full range output, you must start with a full range YUV input and keep the default value, None (NONE). To create a limited range output from a full range input, choose Limited range (LIMITED_RANGE_SQUEEZE). With RGB inputs, your output is always limited range, regardless of your choice here. When you create a limited range output from a full range input, MediaConvert limits the active pixel values in a way that depends on the output's bit depth: 8-bit outputs contain only values from 16 through 235 and 10-bit outputs contain only values from 64 through 940. With this conversion, MediaConvert also changes the output metadata to note the limited range.", + "base": "Specify how MediaConvert limits the color sample range for this output. To create a limited range output from a full range input: Choose Limited range squeeze. For full range inputs, MediaConvert performs a linear offset to color samples equally across all pixels and frames. Color samples in 10-bit outputs are limited to 64 through 940, and 8-bit outputs are limited to 16 through 235. Note: For limited range inputs, values for color samples are passed through to your output unchanged. MediaConvert does not limit the sample range. To correct pixels in your input that are out of range or out of gamut: Choose Limited range clip. Use for broadcast applications. MediaConvert conforms any pixels outside of the values that you specify under Minimum YUV and Maximum YUV to limited range bounds. MediaConvert also corrects any YUV values that, when converted to RGB, would be outside the bounds you specify under Minimum RGB tolerance and Maximum RGB tolerance. With either limited range conversion, MediaConvert writes the sample range metadata in the output.", "refs": { - "ColorCorrector$SampleRangeConversion": "Specify the video color sample range for this output. To create a full range output, you must start with a full range YUV input and keep the default value, None (NONE). To create a limited range output from a full range input, choose Limited range (LIMITED_RANGE_SQUEEZE). With RGB inputs, your output is always limited range, regardless of your choice here. When you create a limited range output from a full range input, MediaConvert limits the active pixel values in a way that depends on the output's bit depth: 8-bit outputs contain only values from 16 through 235 and 10-bit outputs contain only values from 64 through 940. With this conversion, MediaConvert also changes the output metadata to note the limited range." + "ColorCorrector$SampleRangeConversion": "Specify how MediaConvert limits the color sample range for this output. To create a limited range output from a full range input: Choose Limited range squeeze. For full range inputs, MediaConvert performs a linear offset to color samples equally across all pixels and frames. Color samples in 10-bit outputs are limited to 64 through 940, and 8-bit outputs are limited to 16 through 235. Note: For limited range inputs, values for color samples are passed through to your output unchanged. MediaConvert does not limit the sample range. To correct pixels in your input that are out of range or out of gamut: Choose Limited range clip. Use for broadcast applications. MediaConvert conforms any pixels outside of the values that you specify under Minimum YUV and Maximum YUV to limited range bounds. MediaConvert also corrects any YUV values that, when converted to RGB, would be outside the bounds you specify under Minimum RGB tolerance and Maximum RGB tolerance. With either limited range conversion, MediaConvert writes the sample range metadata in the output." } }, "ScalingBehavior": { @@ -3889,6 +3902,12 @@ "HlsImageBasedTrickPlaySettings$ThumbnailInterval": "Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails." } }, + "__doubleMinNegative20Max0": { + "base": null, + "refs": { + "AudioNormalizationSettings$TruePeakLimiterThreshold": "Specify the True-peak limiter threshold in decibels relative to full scale (dBFS). The peak inter-audio sample loudness in your output will be limited to the value that you specify, without affecting the overall target LKFS. Enter a value from 0 to -20. Leave blank to use the default value 0." + } + }, "__doubleMinNegative59Max0": { "base": null, "refs": { @@ -4000,6 +4019,7 @@ "__integerMin0Max128": { "base": null, "refs": { + "ClipLimits$MinimumYUV": "Specify the Minimum YUV color sample limit. MediaConvert conforms any pixels in your input below the value that you specify to typical limited range bounds. Enter an integer from 0 to 128. Leave blank to use the default value 64. The value that you enter applies to 10-bit ranges. For 8-bit ranges, MediaConvert automatically scales this value down. When you specify a value for Minumum YUV, you must set Sample range conversion to Limited range clip.", "H264Settings$Softness": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", "Mpeg2Settings$Softness": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, to use the AWS Elemental default matrices. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", "XavcSettings$Softness": "Ignore this setting unless your downstream workflow requires that you specify it explicitly. Otherwise, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video." @@ -4639,6 +4659,18 @@ "HlsImageBasedTrickPlaySettings$ThumbnailWidth": "Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8." } }, + "__integerMin90Max105": { + "base": null, + "refs": { + "ClipLimits$MaximumRGBTolerance": "Specify the Maximum RGB color sample range tolerance for your output. MediaConvert corrects any YUV values that, when converted to RGB, would be outside the upper tolerance that you specify. Enter an integer from 90 to 105 as an offset percentage to the maximum possible value. Leave blank to use the default value 100. When you specify a value for Maximum RGB tolerance, you must set Sample range conversion to Limited range clip." + } + }, + "__integerMin920Max1023": { + "base": null, + "refs": { + "ClipLimits$MaximumYUV": "Specify the Maximum YUV color sample limit. MediaConvert conforms any pixels in your input above the value that you specify to typical limited range bounds. Enter an integer from 920 to 1023. Leave blank to use the default value 940. The value that you enter applies to 10-bit ranges. For 8-bit ranges, MediaConvert automatically scales this value down. When you specify a value for Maximum YUV, you must set Sample range conversion to Limited range clip." + } + }, "__integerMin96Max600": { "base": null, "refs": { @@ -4703,6 +4735,12 @@ "UpdateJobTemplateRequest$Priority": "Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0." } }, + "__integerMinNegative5Max10": { + "base": null, + "refs": { + "ClipLimits$MinimumRGBTolerance": "Specify the Minimum RGB color sample range tolerance for your output. MediaConvert corrects any YUV values that, when converted to RGB, would be outside the lower tolerance that you specify. Enter an integer from -5 to 10 as an offset percentage to the minimum possible value. Leave blank to use the default value 0. When you specify a value for Minimum RGB tolerance, you must set Sample range conversion to Limited range clip." + } + }, "__integerMinNegative5Max5": { "base": null, "refs": { @@ -5018,7 +5056,7 @@ "CmafGroupSettings$BaseUrl": "A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.", "CmfcSettings$AudioGroupId": "Specify the audio rendition group for this audio rendition. Specify up to one value for each audio output in your output group. This value appears in your HLS parent manifest in the EXT-X-MEDIA tag of TYPE=AUDIO, as the value for the GROUP-ID attribute. For example, if you specify \"audio_aac_1\" for Audio group ID, it appears in your manifest like this: #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=\"audio_aac_1\". Related setting: To associate the rendition group that this audio track belongs to with a video rendition, include the same value that you provide here for that video output's setting Audio rendition sets (audioRenditionSets).", "CmfcSettings$AudioRenditionSets": "List the audio rendition groups that you want included with this video rendition. Use a comma-separated list. For example, say you want to include the audio rendition groups that have the audio group IDs \"audio_aac_1\" and \"audio_dolby\". Then you would specify this value: \"audio_aac_1,audio_dolby\". Related setting: The rendition groups that you include in your comma-separated list should all match values that you specify in the setting Audio group ID (AudioGroupId) for audio renditions in the same output group as this video rendition. Default behavior: If you don't specify anything here and for Audio group ID, MediaConvert puts each audio variant in its own audio rendition group and associates it with every video variant. Each value in your list appears in your HLS parent manifest in the EXT-X-STREAM-INF tag as the value for the AUDIO attribute. To continue the previous example, say that the file name for the child manifest for your video rendition is \"amazing_video_1.m3u8\". Then, in your parent manifest, each value will appear on separate lines, like this: #EXT-X-STREAM-INF:AUDIO=\"audio_aac_1\"... amazing_video_1.m3u8 #EXT-X-STREAM-INF:AUDIO=\"audio_dolby\"... amazing_video_1.m3u8", - "CreateJobRequest$ClientRequestToken": "Optional. Idempotency token for CreateJob operation.", + "CreateJobRequest$ClientRequestToken": "Prevent duplicate jobs from being created and ensure idempotency for your requests. A client request token can be any string that includes up to 64 ASCII characters. If you reuse a client request token within one minute of a successful request, the API returns the job details of the original request instead. For more information see https://docs.aws.amazon.com/mediaconvert/latest/apireference/idempotency.html.", "CreateJobRequest$JobTemplate": "Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually.", "CreateJobRequest$Queue": "Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.", "CreateJobRequest$Role": "Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.", diff --git a/models/apis/mediaconvert/2017-08-29/endpoint-rule-set-1.json b/models/apis/mediaconvert/2017-08-29/endpoint-rule-set-1.json index fc7d3930c90..025a6173e5c 100644 --- a/models/apis/mediaconvert/2017-08-29/endpoint-rule-set-1.json +++ b/models/apis/mediaconvert/2017-08-29/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json b/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json index feb750dc09a..099ba1b38d9 100644 --- a/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json +++ b/models/apis/mediaconvert/2017-08-29/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -22,8 +22,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -35,8 +35,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -48,8 +48,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -61,8 +61,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -74,8 +74,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -87,8 +87,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -100,8 +100,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -113,8 +113,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -126,8 +126,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -139,8 +139,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -152,8 +152,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -165,8 +165,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -178,8 +178,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -191,8 +191,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -204,8 +204,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -217,8 +217,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -230,8 +230,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -243,8 +243,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -256,8 +256,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -269,8 +269,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -282,8 +282,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -295,8 +295,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -308,8 +308,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -321,8 +321,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": true } }, { @@ -334,8 +334,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": true } }, { @@ -347,8 +347,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": false } }, { @@ -360,8 +360,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseFIPS": false } }, { @@ -373,8 +373,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -386,8 +386,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -399,8 +399,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -412,8 +412,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -425,8 +425,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -438,8 +438,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -451,8 +451,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -464,8 +464,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -477,8 +477,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -490,8 +490,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -503,8 +503,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -516,8 +516,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -529,8 +529,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -542,8 +542,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -555,8 +555,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -568,8 +568,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -581,8 +581,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -594,8 +594,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -607,8 +607,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -620,8 +620,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -633,8 +633,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -646,8 +646,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -659,8 +659,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -672,8 +672,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -685,8 +685,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": true } }, { @@ -698,8 +698,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": true } }, { @@ -711,8 +711,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": false } }, { @@ -724,8 +724,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseFIPS": false } }, { @@ -737,8 +737,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -750,8 +750,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -763,8 +763,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -776,8 +776,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -789,8 +789,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -802,8 +802,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -815,8 +815,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -828,8 +828,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -839,8 +839,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": true } }, { @@ -852,8 +852,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": true } }, { @@ -863,8 +863,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": false } }, { @@ -876,8 +876,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseFIPS": false } }, { @@ -889,8 +889,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -902,8 +902,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -915,8 +915,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -928,8 +928,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -941,8 +941,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -954,8 +954,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -967,8 +967,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -980,8 +980,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -993,8 +993,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": true } }, { @@ -1006,8 +1006,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": true } }, { @@ -1019,8 +1019,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": false } }, { @@ -1032,8 +1032,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseFIPS": false } }, { @@ -1043,8 +1043,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": true } }, { @@ -1056,8 +1056,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": true } }, { @@ -1067,8 +1067,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": false } }, { @@ -1080,8 +1080,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseFIPS": false } }, { @@ -1093,8 +1093,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -1105,8 +1105,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -1117,8 +1117,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/secretsmanager/2017-10-17/docs-2.json b/models/apis/secretsmanager/2017-10-17/docs-2.json index f41ccaaf7ab..448a4c6207b 100644 --- a/models/apis/secretsmanager/2017-10-17/docs-2.json +++ b/models/apis/secretsmanager/2017-10-17/docs-2.json @@ -1,9 +1,9 @@ { "version": "2.0", - "service": "Amazon Web Services Secrets Manager

Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.

This guide provides descriptions of the Secrets Manager API. For more information about using this service, see the Amazon Web Services Secrets Manager User Guide.

API Version

This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.

Support and Feedback for Amazon Web Services Secrets Manager

We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com, or post your feedback and questions in the Amazon Web Services Secrets Manager Discussion Forum. For more information about the Amazon Web Services Discussion Forums, see Forums Help.

Logging API Requests

Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information that's collected by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services CloudTrail, see Logging Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail in the Amazon Web Services Secrets Manager User Guide. To learn more about CloudTrail, including enabling it and find your log files, see the Amazon Web Services CloudTrail User Guide.

", + "service": "Amazon Web Services Secrets Manager

Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.

This guide provides descriptions of the Secrets Manager API. For more information about using this service, see the Amazon Web Services Secrets Manager User Guide.

API Version

This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.

For a list of endpoints, see Amazon Web Services Secrets Manager endpoints.

Support and Feedback for Amazon Web Services Secrets Manager

We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com, or post your feedback and questions in the Amazon Web Services Secrets Manager Discussion Forum. For more information about the Amazon Web Services Discussion Forums, see Forums Help.

Logging API Requests

Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information that's collected by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services CloudTrail, see Logging Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail in the Amazon Web Services Secrets Manager User Guide. To learn more about CloudTrail, including enabling it and find your log files, see the Amazon Web Services CloudTrail User Guide.

", "operations": { "CancelRotateSecret": "

Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation.

If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. You might need to remove the staging label AWSPENDING from the partially created version. You also need to determine whether to roll back to the previous version of the secret by moving the staging label AWSCURRENT to the version that has AWSPENDING. To determine which version has a specific staging label, call ListSecretVersionIds. Then use UpdateSecretVersionStage to change staging labels. For more information, see How rotation works.

To turn on automatic rotation again, call RotateSecret.

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

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

", - "CreateSecret": "

Creates a new secret. A secret can be a password, a set of credentials such as a user name and password, an OAuth token, or other secret information that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret.

For information about creating a secret in the console, see Create a secret.

To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it.

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must make sure the JSON you store in the SecretString matches the JSON structure of a database secret.

If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key.

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

Required permissions: secretsmanager:CreateSecret. If you include tags in the secret, you also need secretsmanager:TagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

To encrypt the secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Decrypt permission to the key.

", + "CreateSecret": "

Creates a new secret. A secret can be a password, a set of credentials such as a user name and password, an OAuth token, or other secret information that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret.

For secrets that use managed rotation, you need to create the secret through the managing service. For more information, see Secrets Manager secrets managed by other Amazon Web Services services.

For information about creating a secret in the console, see Create a secret.

To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it.

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must make sure the JSON you store in the SecretString matches the JSON structure of a database secret.

If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key.

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

Required permissions: secretsmanager:CreateSecret. If you include tags in the secret, you also need secretsmanager:TagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

To encrypt the secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Decrypt permission to the key.

", "DeleteResourcePolicy": "

Deletes the resource-based permission policy attached to the secret. To attach a policy to a secret, use PutResourcePolicy.

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

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

", "DeleteSecret": "

Deletes a secret and all of its versions. You can specify a recovery window during which you can restore the secret. The minimum recovery window is 7 days. The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to the secret that specifies the end of the recovery window. At the end of the recovery window, Secrets Manager deletes the secret permanently.

You can't delete a primary secret that is replicated to other Regions. You must first delete the replicas using RemoveRegionsFromReplication, and then delete the primary secret. When you delete a replica, it is deleted immediately.

You can't directly delete a version of a secret. Instead, you remove all staging labels from the version using UpdateSecretVersionStage. This marks the version as deprecated, and then Secrets Manager can automatically delete the version in the background.

To determine whether an application still uses a secret, you can create an Amazon CloudWatch alarm to alert you to any attempts to access a secret during the recovery window. For more information, see Monitor secrets scheduled for deletion.

Secrets Manager performs the permanent secret deletion at the end of the waiting period as a background task with low priority. There is no guarantee of a specific time after the recovery window for the permanent delete to occur.

At any time before recovery window ends, you can use RestoreSecret to remove the DeletionDate and cancel the deletion of the secret.

When a secret is scheduled for deletion, you cannot retrieve the secret value. You must first cancel the deletion with RestoreSecret and then you can retrieve the secret.

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

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

", "DescribeSecret": "

Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager only returns fields that have a value in the response.

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

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

", @@ -17,11 +17,11 @@ "RemoveRegionsFromReplication": "

For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.

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

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

", "ReplicateSecretToRegions": "

Replicates the secret to a new Regions. See Multi-Region secrets.

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

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

", "RestoreSecret": "

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

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

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

", - "RotateSecret": "

Configures and starts the asynchronous process of rotating the secret. For more information about rotation, see Rotate secrets.

If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret.

For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must make sure the secret value is in the JSON structure of a database secret. In particular, if you want to use the alternating users strategy, your secret must contain the ARN of a superuser secret.

To configure rotation, you also need the ARN of an Amazon Web Services Lambda function and the schedule for the rotation. The Lambda rotation function creates a new version of the secret and creates or updates the credentials on the database or service to match. After testing the new credentials, the function marks the new secret version with the staging label AWSCURRENT. Then anyone who retrieves the secret gets the new version. For more information, see How rotation works.

You can create the Lambda rotation function based on the rotation function templates that Secrets Manager provides. Choose a template that matches your Rotation strategy.

When rotation is successful, the AWSPENDING staging label might be attached to the same version as the AWSCURRENT version, or it might not be attached to any version. If the AWSPENDING staging label is present but not attached to the same version as AWSCURRENT, then any later invocation of RotateSecret assumes that a previous rotation request is still in progress and returns an error.

When rotation is unsuccessful, the AWSPENDING staging label might be attached to an empty secret version. For more information, see Troubleshoot rotation in the Secrets Manager User Guide.

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

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

", + "RotateSecret": "

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

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

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

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

", "StopReplicationToReplica": "

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

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

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

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

", "TagResource": "

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

The following restrictions apply to tags:

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

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

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

", "UntagResource": "

Removes specific tags from a secret.

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

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

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

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

", - "UpdateSecret": "

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

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

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

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

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

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

Required permissions: secretsmanager:UpdateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. If you use a customer managed key, you must also have kms:GenerateDataKey and kms:Decrypt permissions on the key. For more information, see Secret encryption and decryption.

", + "UpdateSecret": "

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

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

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

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

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

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

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

Required permissions: secretsmanager:UpdateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. If you use a customer managed key, you must also have kms:GenerateDataKey and kms:Decrypt permissions on the key. For more information, see Secret encryption and decryption.

", "UpdateSecretVersionStage": "

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

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

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

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

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

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

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

", "ValidateResourcePolicy": "

Validates that a resource policy does not grant a wide range of principals access to your secret. A resource-based policy is optional for secrets.

The API performs three checks when validating the policy:

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

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

" }, @@ -36,7 +36,7 @@ "AutomaticallyRotateAfterDaysType": { "base": null, "refs": { - "RotationRulesType$AutomaticallyAfterDays": "

The number of days between automatic scheduled rotations of the secret. You can use this value to check that your secret meets your compliance guidelines for how often secrets must be rotated.

In DescribeSecret and ListSecrets, this value is calculated from the rotation schedule after every successful rotation. In RotateSecret, you can set the rotation schedule in RotationRules with AutomaticallyAfterDays or ScheduleExpression, but not both. To set a rotation schedule in hours, use ScheduleExpression.

" + "RotationRulesType$AutomaticallyAfterDays": "

The number of days between rotations of the secret. You can use this value to check that your secret meets your compliance guidelines for how often secrets must be rotated. If you use this field to set the rotation schedule, Secrets Manager calculates the next rotation date based on the previous rotation. Manually updating the secret value by calling PutSecretValue or UpdateSecret is considered a valid rotation.

In DescribeSecret and ListSecrets, this value is calculated from the rotation schedule after every successful rotation. In RotateSecret, you can set the rotation schedule in RotationRules with AutomaticallyAfterDays or ScheduleExpression, but not both. To set a rotation schedule in hours, use ScheduleExpression.

" } }, "BooleanType": { @@ -45,10 +45,10 @@ "CreateSecretRequest$ForceOverwriteReplicaSecret": "

Specifies whether to overwrite a secret with the same name in the destination Region.

", "DeleteSecretRequest$ForceDeleteWithoutRecovery": "

Specifies whether to delete the secret without any recovery window. You can't use both this parameter and RecoveryWindowInDays in the same call. If you don't use either, then Secrets Manager defaults to a 30 day recovery window.

Secrets Manager performs the actual deletion with an asynchronous background process, so there might be a short delay before the secret is permanently deleted. If you delete a secret and then immediately create a secret with the same name, use appropriate back off and retry logic.

Use this parameter with caution. This parameter causes the operation to skip the normal recovery window before the permanent deletion that Secrets Manager would normally impose with the RecoveryWindowInDays parameter. If you delete a secret with the ForceDeleteWithoutRecovery parameter, then you have no opportunity to recover the secret. You lose the secret permanently.

", "ListSecretVersionIdsRequest$IncludeDeprecated": "

Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager.

", - "ListSecretsRequest$IncludePlannedDeletion": null, + "ListSecretsRequest$IncludePlannedDeletion": "

Specifies whether to include secrets scheduled for deletion.

", "PutResourcePolicyRequest$BlockPublicPolicy": "

Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal.

", "ReplicateSecretToRegionsRequest$ForceOverwriteReplicaSecret": "

Specifies whether to overwrite a secret with the same name in the destination Region.

", - "RotateSecretRequest$RotateImmediately": "

Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. The rotation schedule is defined in RotateSecretRequest$RotationRules.

If you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the testSecret step of the Lambda rotation function. The test creates an AWSPENDING version of the secret and then removes it.

If you don't specify this value, then by default, Secrets Manager rotates the secret immediately.

", + "RotateSecretRequest$RotateImmediately": "

Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. The rotation schedule is defined in RotateSecretRequest$RotationRules.

For secrets that use a Lambda rotation function to rotate, if you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the testSecret step of the Lambda rotation function. The test creates an AWSPENDING version of the secret and then removes it.

If you don't specify this value, then by default, Secrets Manager rotates the secret immediately.

", "ValidateResourcePolicyResponse$PolicyValidationPassed": "

True if your policy passes validation, otherwise false.

" } }, @@ -213,7 +213,7 @@ "FilterNameStringType": { "base": null, "refs": { - "Filter$Key": "

The following are keys you can use:

" + "Filter$Key": "

The following are keys you can use:

" } }, "FilterValueStringType": { @@ -381,8 +381,8 @@ "NextRotationDateType": { "base": null, "refs": { - "DescribeSecretResponse$NextRotationDate": null, - "SecretListEntry$NextRotationDate": null + "DescribeSecretResponse$NextRotationDate": "

The next date and time that Secrets Manager will rotate the secret, rounded to the nearest hour. If the secret isn't configured for rotation, Secrets Manager returns null.

", + "SecretListEntry$NextRotationDate": "

The next date and time that Secrets Manager will attempt to rotate the secret, rounded to the nearest hour. This value is null if the secret is not set up for rotation.

" } }, "NextTokenType": { @@ -561,7 +561,7 @@ "base": null, "refs": { "DescribeSecretResponse$RotationLambdaARN": "

The ARN of the Lambda function that Secrets Manager invokes to rotate the secret.

", - "RotateSecretRequest$RotationLambdaARN": "

The ARN of the Lambda rotation function that can rotate the secret.

", + "RotateSecretRequest$RotationLambdaARN": "

For secrets that use a Lambda rotation function to rotate, the ARN of the Lambda rotation function.

For secrets that use managed rotation, omit this field. For more information, see Managed rotation in the Secrets Manager User Guide.

", "SecretListEntry$RotationLambdaARN": "

The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the secret either automatically per the schedule or manually by a call to RotateSecret .

" } }, diff --git a/models/apis/secretsmanager/2017-10-17/endpoint-tests-1.json b/models/apis/secretsmanager/2017-10-17/endpoint-tests-1.json index 38a628fcd12..756e885892f 100644 --- a/models/apis/secretsmanager/2017-10-17/endpoint-tests-1.json +++ b/models/apis/secretsmanager/2017-10-17/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -422,9 +422,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": true + "Region": "us-iso-west-1" } }, { @@ -435,9 +435,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": false + "Region": "us-iso-west-1" } }, { @@ -446,9 +446,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": true + "Region": "us-iso-west-1" } }, { @@ -459,9 +459,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": false + "Region": "us-iso-west-1" } }, { @@ -472,9 +472,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -485,9 +485,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -498,9 +498,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -511,9 +511,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -524,9 +524,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -537,9 +537,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -550,9 +550,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -563,9 +563,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -576,9 +576,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -589,9 +589,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -602,9 +602,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -615,9 +615,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -628,9 +628,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -641,9 +641,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -654,9 +654,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -667,9 +667,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -680,9 +680,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -693,9 +693,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -706,9 +706,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -719,9 +719,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -732,9 +732,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -745,9 +745,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -758,9 +758,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -771,9 +771,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -784,9 +784,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -797,9 +797,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -810,9 +810,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -823,9 +823,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -836,9 +836,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -849,9 +849,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -862,9 +862,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -875,9 +875,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -888,9 +888,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -901,9 +901,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -914,9 +914,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -927,9 +927,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -940,9 +940,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -953,9 +953,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -966,9 +966,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -979,9 +979,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -992,9 +992,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -1005,9 +1005,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -1018,9 +1018,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -1031,9 +1031,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -1044,9 +1044,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1057,9 +1057,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1070,9 +1070,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1083,9 +1083,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1096,9 +1096,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1109,9 +1109,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1122,9 +1122,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1135,9 +1135,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1148,9 +1148,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1161,9 +1161,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1174,9 +1174,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1187,9 +1187,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1200,9 +1200,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1213,9 +1213,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1226,9 +1226,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1239,9 +1239,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1252,9 +1252,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1265,9 +1265,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1278,9 +1278,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1291,9 +1291,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1304,9 +1304,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1317,9 +1317,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1330,9 +1330,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1343,9 +1343,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1356,9 +1356,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1369,9 +1369,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1382,9 +1382,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1395,9 +1395,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1406,9 +1406,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1419,9 +1419,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1430,9 +1430,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1443,9 +1443,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1456,9 +1456,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1469,9 +1469,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1482,9 +1482,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1495,9 +1495,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1508,9 +1508,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "ap-southeast-4" } }, { @@ -1521,9 +1521,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "ap-southeast-4" } }, { @@ -1534,9 +1534,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "ap-southeast-4" } }, { @@ -1547,9 +1547,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "ap-southeast-4" } }, { @@ -1560,9 +1560,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1573,9 +1573,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1586,9 +1586,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1599,9 +1599,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1612,9 +1612,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1625,9 +1625,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1638,9 +1638,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1651,9 +1651,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1664,9 +1664,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1677,9 +1677,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1690,9 +1690,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1703,9 +1703,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1714,9 +1714,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1727,9 +1727,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1738,9 +1738,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1751,9 +1751,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1764,9 +1764,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1776,9 +1776,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1788,9 +1788,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/secretsmanager/2017-10-17/examples-1.json b/models/apis/secretsmanager/2017-10-17/examples-1.json index 43a3ec4fd46..2ce2d15a024 100644 --- a/models/apis/secretsmanager/2017-10-17/examples-1.json +++ b/models/apis/secretsmanager/2017-10-17/examples-1.json @@ -100,6 +100,7 @@ "LastChangedDate": 1523477145.729, "LastRotatedDate": 1525747253.72, "Name": "MyTestDatabaseSecret", + "NextRotationDate": "1665165599", "RotationEnabled": true, "RotationLambdaARN": "arn:aws:lambda:us-west-2:123456789012:function:MyTestRotationLambda", "RotationRules": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 26893d78953..71bf4eb61ff 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2308,6 +2308,21 @@ "isRegionalized" : false, "partitionEndpoint" : "aws-global" }, + "cleanrooms" : { + "endpoints" : { + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-2" : { } + } + }, "cloud9" : { "endpoints" : { "af-south-1" : { }, @@ -15737,6 +15752,13 @@ "deprecated" : true, "hostname" : "waf-regional-fips.eu-west-3.amazonaws.com" }, + "fips-me-central-1" : { + "credentialScope" : { + "region" : "me-central-1" + }, + "deprecated" : true, + "hostname" : "waf-regional-fips.me-central-1.amazonaws.com" + }, "fips-me-south-1" : { "credentialScope" : { "region" : "me-south-1" @@ -15779,6 +15801,16 @@ "deprecated" : true, "hostname" : "waf-regional-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { + "credentialScope" : { + "region" : "me-central-1" + }, + "hostname" : "waf-regional.me-central-1.amazonaws.com", + "variants" : [ { + "hostname" : "waf-regional-fips.me-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "me-south-1" : { "credentialScope" : { "region" : "me-south-1" @@ -16115,6 +16147,13 @@ "deprecated" : true, "hostname" : "wafv2-fips.eu-west-3.amazonaws.com" }, + "fips-me-central-1" : { + "credentialScope" : { + "region" : "me-central-1" + }, + "deprecated" : true, + "hostname" : "wafv2-fips.me-central-1.amazonaws.com" + }, "fips-me-south-1" : { "credentialScope" : { "region" : "me-south-1" @@ -16157,6 +16196,16 @@ "deprecated" : true, "hostname" : "wafv2-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { + "credentialScope" : { + "region" : "me-central-1" + }, + "hostname" : "wafv2.me-central-1.amazonaws.com", + "variants" : [ { + "hostname" : "wafv2-fips.me-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "me-south-1" : { "credentialScope" : { "region" : "me-south-1" diff --git a/service/cleanrooms/api.go b/service/cleanrooms/api.go new file mode 100644 index 00000000000..17add0c1cc4 --- /dev/null +++ b/service/cleanrooms/api.go @@ -0,0 +1,11333 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package cleanrooms + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +const opBatchGetSchema = "BatchGetSchema" + +// BatchGetSchemaRequest generates a "aws/request.Request" representing the +// client's request for the BatchGetSchema 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 BatchGetSchema for more information on using the BatchGetSchema +// 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 BatchGetSchemaRequest method. +// req, resp := client.BatchGetSchemaRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema +func (c *CleanRooms) BatchGetSchemaRequest(input *BatchGetSchemaInput) (req *request.Request, output *BatchGetSchemaOutput) { + op := &request.Operation{ + Name: opBatchGetSchema, + HTTPMethod: "POST", + HTTPPath: "/collaborations/{collaborationIdentifier}/batch-schema", + } + + if input == nil { + input = &BatchGetSchemaInput{} + } + + output = &BatchGetSchemaOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchGetSchema API operation for AWS Clean Rooms Service. +// +// Retrieves multiple schemas by their identifiers. +// +// 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 Clean Rooms Service's +// API operation BatchGetSchema for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema +func (c *CleanRooms) BatchGetSchema(input *BatchGetSchemaInput) (*BatchGetSchemaOutput, error) { + req, out := c.BatchGetSchemaRequest(input) + return out, req.Send() +} + +// BatchGetSchemaWithContext is the same as BatchGetSchema with the addition of +// the ability to pass a context and additional request options. +// +// See BatchGetSchema 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 *CleanRooms) BatchGetSchemaWithContext(ctx aws.Context, input *BatchGetSchemaInput, opts ...request.Option) (*BatchGetSchemaOutput, error) { + req, out := c.BatchGetSchemaRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateCollaboration = "CreateCollaboration" + +// CreateCollaborationRequest generates a "aws/request.Request" representing the +// client's request for the CreateCollaboration 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 CreateCollaboration for more information on using the CreateCollaboration +// 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 CreateCollaborationRequest method. +// req, resp := client.CreateCollaborationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration +func (c *CleanRooms) CreateCollaborationRequest(input *CreateCollaborationInput) (req *request.Request, output *CreateCollaborationOutput) { + op := &request.Operation{ + Name: opCreateCollaboration, + HTTPMethod: "POST", + HTTPPath: "/collaborations", + } + + if input == nil { + input = &CreateCollaborationInput{} + } + + output = &CreateCollaborationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateCollaboration API operation for AWS Clean Rooms Service. +// +// Creates a new collaboration. +// +// 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 Clean Rooms Service's +// API operation CreateCollaboration for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// Request denied because service quota has been exceeded. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration +func (c *CleanRooms) CreateCollaboration(input *CreateCollaborationInput) (*CreateCollaborationOutput, error) { + req, out := c.CreateCollaborationRequest(input) + return out, req.Send() +} + +// CreateCollaborationWithContext is the same as CreateCollaboration with the addition of +// the ability to pass a context and additional request options. +// +// See CreateCollaboration 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 *CleanRooms) CreateCollaborationWithContext(ctx aws.Context, input *CreateCollaborationInput, opts ...request.Option) (*CreateCollaborationOutput, error) { + req, out := c.CreateCollaborationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateConfiguredTable = "CreateConfiguredTable" + +// CreateConfiguredTableRequest generates a "aws/request.Request" representing the +// client's request for the CreateConfiguredTable 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 CreateConfiguredTable for more information on using the CreateConfiguredTable +// 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 CreateConfiguredTableRequest method. +// req, resp := client.CreateConfiguredTableRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable +func (c *CleanRooms) CreateConfiguredTableRequest(input *CreateConfiguredTableInput) (req *request.Request, output *CreateConfiguredTableOutput) { + op := &request.Operation{ + Name: opCreateConfiguredTable, + HTTPMethod: "POST", + HTTPPath: "/configuredTables", + } + + if input == nil { + input = &CreateConfiguredTableInput{} + } + + output = &CreateConfiguredTableOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateConfiguredTable API operation for AWS Clean Rooms Service. +// +// Creates a new configured table resource. +// +// 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 Clean Rooms Service's +// API operation CreateConfiguredTable for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ServiceQuotaExceededException +// Request denied because service quota has been exceeded. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable +func (c *CleanRooms) CreateConfiguredTable(input *CreateConfiguredTableInput) (*CreateConfiguredTableOutput, error) { + req, out := c.CreateConfiguredTableRequest(input) + return out, req.Send() +} + +// CreateConfiguredTableWithContext is the same as CreateConfiguredTable with the addition of +// the ability to pass a context and additional request options. +// +// See CreateConfiguredTable 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 *CleanRooms) CreateConfiguredTableWithContext(ctx aws.Context, input *CreateConfiguredTableInput, opts ...request.Option) (*CreateConfiguredTableOutput, error) { + req, out := c.CreateConfiguredTableRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateConfiguredTableAnalysisRule = "CreateConfiguredTableAnalysisRule" + +// CreateConfiguredTableAnalysisRuleRequest generates a "aws/request.Request" representing the +// client's request for the CreateConfiguredTableAnalysisRule 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 CreateConfiguredTableAnalysisRule for more information on using the CreateConfiguredTableAnalysisRule +// 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 CreateConfiguredTableAnalysisRuleRequest method. +// req, resp := client.CreateConfiguredTableAnalysisRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule +func (c *CleanRooms) CreateConfiguredTableAnalysisRuleRequest(input *CreateConfiguredTableAnalysisRuleInput) (req *request.Request, output *CreateConfiguredTableAnalysisRuleOutput) { + op := &request.Operation{ + Name: opCreateConfiguredTableAnalysisRule, + HTTPMethod: "POST", + HTTPPath: "/configuredTables/{configuredTableIdentifier}/analysisRule", + } + + if input == nil { + input = &CreateConfiguredTableAnalysisRuleInput{} + } + + output = &CreateConfiguredTableAnalysisRuleOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateConfiguredTableAnalysisRule API operation for AWS Clean Rooms Service. +// +// Creates a new analysis rule for a configured table. Currently, only one analysis +// rule can be created for a given configured table. +// +// 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 Clean Rooms Service's +// API operation CreateConfiguredTableAnalysisRule for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule +func (c *CleanRooms) CreateConfiguredTableAnalysisRule(input *CreateConfiguredTableAnalysisRuleInput) (*CreateConfiguredTableAnalysisRuleOutput, error) { + req, out := c.CreateConfiguredTableAnalysisRuleRequest(input) + return out, req.Send() +} + +// CreateConfiguredTableAnalysisRuleWithContext is the same as CreateConfiguredTableAnalysisRule with the addition of +// the ability to pass a context and additional request options. +// +// See CreateConfiguredTableAnalysisRule 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 *CleanRooms) CreateConfiguredTableAnalysisRuleWithContext(ctx aws.Context, input *CreateConfiguredTableAnalysisRuleInput, opts ...request.Option) (*CreateConfiguredTableAnalysisRuleOutput, error) { + req, out := c.CreateConfiguredTableAnalysisRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateConfiguredTableAssociation = "CreateConfiguredTableAssociation" + +// CreateConfiguredTableAssociationRequest generates a "aws/request.Request" representing the +// client's request for the CreateConfiguredTableAssociation 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 CreateConfiguredTableAssociation for more information on using the CreateConfiguredTableAssociation +// 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 CreateConfiguredTableAssociationRequest method. +// req, resp := client.CreateConfiguredTableAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation +func (c *CleanRooms) CreateConfiguredTableAssociationRequest(input *CreateConfiguredTableAssociationInput) (req *request.Request, output *CreateConfiguredTableAssociationOutput) { + op := &request.Operation{ + Name: opCreateConfiguredTableAssociation, + HTTPMethod: "POST", + HTTPPath: "/memberships/{membershipIdentifier}/configuredTableAssociations", + } + + if input == nil { + input = &CreateConfiguredTableAssociationInput{} + } + + output = &CreateConfiguredTableAssociationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateConfiguredTableAssociation API operation for AWS Clean Rooms Service. +// +// Creates a configured table association. A configured table association links +// a configured table with a collaboration. +// +// 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 Clean Rooms Service's +// API operation CreateConfiguredTableAssociation for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ServiceQuotaExceededException +// Request denied because service quota has been exceeded. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation +func (c *CleanRooms) CreateConfiguredTableAssociation(input *CreateConfiguredTableAssociationInput) (*CreateConfiguredTableAssociationOutput, error) { + req, out := c.CreateConfiguredTableAssociationRequest(input) + return out, req.Send() +} + +// CreateConfiguredTableAssociationWithContext is the same as CreateConfiguredTableAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See CreateConfiguredTableAssociation 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 *CleanRooms) CreateConfiguredTableAssociationWithContext(ctx aws.Context, input *CreateConfiguredTableAssociationInput, opts ...request.Option) (*CreateConfiguredTableAssociationOutput, error) { + req, out := c.CreateConfiguredTableAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateMembership = "CreateMembership" + +// CreateMembershipRequest generates a "aws/request.Request" representing the +// client's request for the CreateMembership 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 CreateMembership for more information on using the CreateMembership +// 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 CreateMembershipRequest method. +// req, resp := client.CreateMembershipRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership +func (c *CleanRooms) CreateMembershipRequest(input *CreateMembershipInput) (req *request.Request, output *CreateMembershipOutput) { + op := &request.Operation{ + Name: opCreateMembership, + HTTPMethod: "POST", + HTTPPath: "/memberships", + } + + if input == nil { + input = &CreateMembershipInput{} + } + + output = &CreateMembershipOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateMembership API operation for AWS Clean Rooms Service. +// +// Creates a membership for a specific collaboration identifier and joins the +// collaboration. +// +// 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 Clean Rooms Service's +// API operation CreateMembership for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ServiceQuotaExceededException +// Request denied because service quota has been exceeded. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership +func (c *CleanRooms) CreateMembership(input *CreateMembershipInput) (*CreateMembershipOutput, error) { + req, out := c.CreateMembershipRequest(input) + return out, req.Send() +} + +// CreateMembershipWithContext is the same as CreateMembership with the addition of +// the ability to pass a context and additional request options. +// +// See CreateMembership 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 *CleanRooms) CreateMembershipWithContext(ctx aws.Context, input *CreateMembershipInput, opts ...request.Option) (*CreateMembershipOutput, error) { + req, out := c.CreateMembershipRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteCollaboration = "DeleteCollaboration" + +// DeleteCollaborationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCollaboration 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 DeleteCollaboration for more information on using the DeleteCollaboration +// 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 DeleteCollaborationRequest method. +// req, resp := client.DeleteCollaborationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration +func (c *CleanRooms) DeleteCollaborationRequest(input *DeleteCollaborationInput) (req *request.Request, output *DeleteCollaborationOutput) { + op := &request.Operation{ + Name: opDeleteCollaboration, + HTTPMethod: "DELETE", + HTTPPath: "/collaborations/{collaborationIdentifier}", + } + + if input == nil { + input = &DeleteCollaborationInput{} + } + + output = &DeleteCollaborationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteCollaboration API operation for AWS Clean Rooms Service. +// +// Deletes a collaboration. It can only be called by the collaboration owner. +// +// 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 Clean Rooms Service's +// API operation DeleteCollaboration for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration +func (c *CleanRooms) DeleteCollaboration(input *DeleteCollaborationInput) (*DeleteCollaborationOutput, error) { + req, out := c.DeleteCollaborationRequest(input) + return out, req.Send() +} + +// DeleteCollaborationWithContext is the same as DeleteCollaboration with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteCollaboration 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 *CleanRooms) DeleteCollaborationWithContext(ctx aws.Context, input *DeleteCollaborationInput, opts ...request.Option) (*DeleteCollaborationOutput, error) { + req, out := c.DeleteCollaborationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteConfiguredTable = "DeleteConfiguredTable" + +// DeleteConfiguredTableRequest generates a "aws/request.Request" representing the +// client's request for the DeleteConfiguredTable 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 DeleteConfiguredTable for more information on using the DeleteConfiguredTable +// 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 DeleteConfiguredTableRequest method. +// req, resp := client.DeleteConfiguredTableRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable +func (c *CleanRooms) DeleteConfiguredTableRequest(input *DeleteConfiguredTableInput) (req *request.Request, output *DeleteConfiguredTableOutput) { + op := &request.Operation{ + Name: opDeleteConfiguredTable, + HTTPMethod: "DELETE", + HTTPPath: "/configuredTables/{configuredTableIdentifier}", + } + + if input == nil { + input = &DeleteConfiguredTableInput{} + } + + output = &DeleteConfiguredTableOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteConfiguredTable API operation for AWS Clean Rooms Service. +// +// Deletes a configured table. +// +// 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 Clean Rooms Service's +// API operation DeleteConfiguredTable for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable +func (c *CleanRooms) DeleteConfiguredTable(input *DeleteConfiguredTableInput) (*DeleteConfiguredTableOutput, error) { + req, out := c.DeleteConfiguredTableRequest(input) + return out, req.Send() +} + +// DeleteConfiguredTableWithContext is the same as DeleteConfiguredTable with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteConfiguredTable 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 *CleanRooms) DeleteConfiguredTableWithContext(ctx aws.Context, input *DeleteConfiguredTableInput, opts ...request.Option) (*DeleteConfiguredTableOutput, error) { + req, out := c.DeleteConfiguredTableRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteConfiguredTableAnalysisRule = "DeleteConfiguredTableAnalysisRule" + +// DeleteConfiguredTableAnalysisRuleRequest generates a "aws/request.Request" representing the +// client's request for the DeleteConfiguredTableAnalysisRule 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 DeleteConfiguredTableAnalysisRule for more information on using the DeleteConfiguredTableAnalysisRule +// 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 DeleteConfiguredTableAnalysisRuleRequest method. +// req, resp := client.DeleteConfiguredTableAnalysisRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule +func (c *CleanRooms) DeleteConfiguredTableAnalysisRuleRequest(input *DeleteConfiguredTableAnalysisRuleInput) (req *request.Request, output *DeleteConfiguredTableAnalysisRuleOutput) { + op := &request.Operation{ + Name: opDeleteConfiguredTableAnalysisRule, + HTTPMethod: "DELETE", + HTTPPath: "/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + } + + if input == nil { + input = &DeleteConfiguredTableAnalysisRuleInput{} + } + + output = &DeleteConfiguredTableAnalysisRuleOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteConfiguredTableAnalysisRule API operation for AWS Clean Rooms Service. +// +// Deletes a configured table analysis rule. +// +// 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 Clean Rooms Service's +// API operation DeleteConfiguredTableAnalysisRule for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule +func (c *CleanRooms) DeleteConfiguredTableAnalysisRule(input *DeleteConfiguredTableAnalysisRuleInput) (*DeleteConfiguredTableAnalysisRuleOutput, error) { + req, out := c.DeleteConfiguredTableAnalysisRuleRequest(input) + return out, req.Send() +} + +// DeleteConfiguredTableAnalysisRuleWithContext is the same as DeleteConfiguredTableAnalysisRule with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteConfiguredTableAnalysisRule 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 *CleanRooms) DeleteConfiguredTableAnalysisRuleWithContext(ctx aws.Context, input *DeleteConfiguredTableAnalysisRuleInput, opts ...request.Option) (*DeleteConfiguredTableAnalysisRuleOutput, error) { + req, out := c.DeleteConfiguredTableAnalysisRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteConfiguredTableAssociation = "DeleteConfiguredTableAssociation" + +// DeleteConfiguredTableAssociationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteConfiguredTableAssociation 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 DeleteConfiguredTableAssociation for more information on using the DeleteConfiguredTableAssociation +// 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 DeleteConfiguredTableAssociationRequest method. +// req, resp := client.DeleteConfiguredTableAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation +func (c *CleanRooms) DeleteConfiguredTableAssociationRequest(input *DeleteConfiguredTableAssociationInput) (req *request.Request, output *DeleteConfiguredTableAssociationOutput) { + op := &request.Operation{ + Name: opDeleteConfiguredTableAssociation, + HTTPMethod: "DELETE", + HTTPPath: "/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + } + + if input == nil { + input = &DeleteConfiguredTableAssociationInput{} + } + + output = &DeleteConfiguredTableAssociationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteConfiguredTableAssociation API operation for AWS Clean Rooms Service. +// +// Deletes a configured table association. +// +// 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 Clean Rooms Service's +// API operation DeleteConfiguredTableAssociation for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation +func (c *CleanRooms) DeleteConfiguredTableAssociation(input *DeleteConfiguredTableAssociationInput) (*DeleteConfiguredTableAssociationOutput, error) { + req, out := c.DeleteConfiguredTableAssociationRequest(input) + return out, req.Send() +} + +// DeleteConfiguredTableAssociationWithContext is the same as DeleteConfiguredTableAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteConfiguredTableAssociation 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 *CleanRooms) DeleteConfiguredTableAssociationWithContext(ctx aws.Context, input *DeleteConfiguredTableAssociationInput, opts ...request.Option) (*DeleteConfiguredTableAssociationOutput, error) { + req, out := c.DeleteConfiguredTableAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteMember = "DeleteMember" + +// DeleteMemberRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMember 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 DeleteMember for more information on using the DeleteMember +// 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 DeleteMemberRequest method. +// req, resp := client.DeleteMemberRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember +func (c *CleanRooms) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput) { + op := &request.Operation{ + Name: opDeleteMember, + HTTPMethod: "DELETE", + HTTPPath: "/collaborations/{collaborationIdentifier}/member/{accountId}", + } + + if input == nil { + input = &DeleteMemberInput{} + } + + output = &DeleteMemberOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteMember API operation for AWS Clean Rooms Service. +// +// Removes the specified member from a collaboration. The removed member is +// placed in the Removed status and can't interact with the collaboration. The +// removed member's data is inaccessible to active members of the collaboration. +// +// 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 Clean Rooms Service's +// API operation DeleteMember for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember +func (c *CleanRooms) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error) { + req, out := c.DeleteMemberRequest(input) + return out, req.Send() +} + +// DeleteMemberWithContext is the same as DeleteMember with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteMember 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 *CleanRooms) DeleteMemberWithContext(ctx aws.Context, input *DeleteMemberInput, opts ...request.Option) (*DeleteMemberOutput, error) { + req, out := c.DeleteMemberRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteMembership = "DeleteMembership" + +// DeleteMembershipRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMembership 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 DeleteMembership for more information on using the DeleteMembership +// 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 DeleteMembershipRequest method. +// req, resp := client.DeleteMembershipRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership +func (c *CleanRooms) DeleteMembershipRequest(input *DeleteMembershipInput) (req *request.Request, output *DeleteMembershipOutput) { + op := &request.Operation{ + Name: opDeleteMembership, + HTTPMethod: "DELETE", + HTTPPath: "/memberships/{membershipIdentifier}", + } + + if input == nil { + input = &DeleteMembershipInput{} + } + + output = &DeleteMembershipOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteMembership API operation for AWS Clean Rooms Service. +// +// Deletes a specified membership. All resources under a membership must be +// deleted. +// +// 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 Clean Rooms Service's +// API operation DeleteMembership for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership +func (c *CleanRooms) DeleteMembership(input *DeleteMembershipInput) (*DeleteMembershipOutput, error) { + req, out := c.DeleteMembershipRequest(input) + return out, req.Send() +} + +// DeleteMembershipWithContext is the same as DeleteMembership with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteMembership 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 *CleanRooms) DeleteMembershipWithContext(ctx aws.Context, input *DeleteMembershipInput, opts ...request.Option) (*DeleteMembershipOutput, error) { + req, out := c.DeleteMembershipRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetCollaboration = "GetCollaboration" + +// GetCollaborationRequest generates a "aws/request.Request" representing the +// client's request for the GetCollaboration 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 GetCollaboration for more information on using the GetCollaboration +// 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 GetCollaborationRequest method. +// req, resp := client.GetCollaborationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration +func (c *CleanRooms) GetCollaborationRequest(input *GetCollaborationInput) (req *request.Request, output *GetCollaborationOutput) { + op := &request.Operation{ + Name: opGetCollaboration, + HTTPMethod: "GET", + HTTPPath: "/collaborations/{collaborationIdentifier}", + } + + if input == nil { + input = &GetCollaborationInput{} + } + + output = &GetCollaborationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCollaboration API operation for AWS Clean Rooms Service. +// +// Returns metadata about a collaboration. +// +// 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 Clean Rooms Service's +// API operation GetCollaboration for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration +func (c *CleanRooms) GetCollaboration(input *GetCollaborationInput) (*GetCollaborationOutput, error) { + req, out := c.GetCollaborationRequest(input) + return out, req.Send() +} + +// GetCollaborationWithContext is the same as GetCollaboration with the addition of +// the ability to pass a context and additional request options. +// +// See GetCollaboration 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 *CleanRooms) GetCollaborationWithContext(ctx aws.Context, input *GetCollaborationInput, opts ...request.Option) (*GetCollaborationOutput, error) { + req, out := c.GetCollaborationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetConfiguredTable = "GetConfiguredTable" + +// GetConfiguredTableRequest generates a "aws/request.Request" representing the +// client's request for the GetConfiguredTable 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 GetConfiguredTable for more information on using the GetConfiguredTable +// 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 GetConfiguredTableRequest method. +// req, resp := client.GetConfiguredTableRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable +func (c *CleanRooms) GetConfiguredTableRequest(input *GetConfiguredTableInput) (req *request.Request, output *GetConfiguredTableOutput) { + op := &request.Operation{ + Name: opGetConfiguredTable, + HTTPMethod: "GET", + HTTPPath: "/configuredTables/{configuredTableIdentifier}", + } + + if input == nil { + input = &GetConfiguredTableInput{} + } + + output = &GetConfiguredTableOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetConfiguredTable API operation for AWS Clean Rooms Service. +// +// Retrieves a configured table. +// +// 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 Clean Rooms Service's +// API operation GetConfiguredTable for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable +func (c *CleanRooms) GetConfiguredTable(input *GetConfiguredTableInput) (*GetConfiguredTableOutput, error) { + req, out := c.GetConfiguredTableRequest(input) + return out, req.Send() +} + +// GetConfiguredTableWithContext is the same as GetConfiguredTable with the addition of +// the ability to pass a context and additional request options. +// +// See GetConfiguredTable 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 *CleanRooms) GetConfiguredTableWithContext(ctx aws.Context, input *GetConfiguredTableInput, opts ...request.Option) (*GetConfiguredTableOutput, error) { + req, out := c.GetConfiguredTableRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetConfiguredTableAnalysisRule = "GetConfiguredTableAnalysisRule" + +// GetConfiguredTableAnalysisRuleRequest generates a "aws/request.Request" representing the +// client's request for the GetConfiguredTableAnalysisRule 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 GetConfiguredTableAnalysisRule for more information on using the GetConfiguredTableAnalysisRule +// 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 GetConfiguredTableAnalysisRuleRequest method. +// req, resp := client.GetConfiguredTableAnalysisRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule +func (c *CleanRooms) GetConfiguredTableAnalysisRuleRequest(input *GetConfiguredTableAnalysisRuleInput) (req *request.Request, output *GetConfiguredTableAnalysisRuleOutput) { + op := &request.Operation{ + Name: opGetConfiguredTableAnalysisRule, + HTTPMethod: "GET", + HTTPPath: "/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + } + + if input == nil { + input = &GetConfiguredTableAnalysisRuleInput{} + } + + output = &GetConfiguredTableAnalysisRuleOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetConfiguredTableAnalysisRule API operation for AWS Clean Rooms Service. +// +// Retrieves a configured table analysis rule. +// +// 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 Clean Rooms Service's +// API operation GetConfiguredTableAnalysisRule for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule +func (c *CleanRooms) GetConfiguredTableAnalysisRule(input *GetConfiguredTableAnalysisRuleInput) (*GetConfiguredTableAnalysisRuleOutput, error) { + req, out := c.GetConfiguredTableAnalysisRuleRequest(input) + return out, req.Send() +} + +// GetConfiguredTableAnalysisRuleWithContext is the same as GetConfiguredTableAnalysisRule with the addition of +// the ability to pass a context and additional request options. +// +// See GetConfiguredTableAnalysisRule 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 *CleanRooms) GetConfiguredTableAnalysisRuleWithContext(ctx aws.Context, input *GetConfiguredTableAnalysisRuleInput, opts ...request.Option) (*GetConfiguredTableAnalysisRuleOutput, error) { + req, out := c.GetConfiguredTableAnalysisRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetConfiguredTableAssociation = "GetConfiguredTableAssociation" + +// GetConfiguredTableAssociationRequest generates a "aws/request.Request" representing the +// client's request for the GetConfiguredTableAssociation 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 GetConfiguredTableAssociation for more information on using the GetConfiguredTableAssociation +// 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 GetConfiguredTableAssociationRequest method. +// req, resp := client.GetConfiguredTableAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation +func (c *CleanRooms) GetConfiguredTableAssociationRequest(input *GetConfiguredTableAssociationInput) (req *request.Request, output *GetConfiguredTableAssociationOutput) { + op := &request.Operation{ + Name: opGetConfiguredTableAssociation, + HTTPMethod: "GET", + HTTPPath: "/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + } + + if input == nil { + input = &GetConfiguredTableAssociationInput{} + } + + output = &GetConfiguredTableAssociationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetConfiguredTableAssociation API operation for AWS Clean Rooms Service. +// +// Retrieves a configured table association. +// +// 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 Clean Rooms Service's +// API operation GetConfiguredTableAssociation for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation +func (c *CleanRooms) GetConfiguredTableAssociation(input *GetConfiguredTableAssociationInput) (*GetConfiguredTableAssociationOutput, error) { + req, out := c.GetConfiguredTableAssociationRequest(input) + return out, req.Send() +} + +// GetConfiguredTableAssociationWithContext is the same as GetConfiguredTableAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See GetConfiguredTableAssociation 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 *CleanRooms) GetConfiguredTableAssociationWithContext(ctx aws.Context, input *GetConfiguredTableAssociationInput, opts ...request.Option) (*GetConfiguredTableAssociationOutput, error) { + req, out := c.GetConfiguredTableAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetMembership = "GetMembership" + +// GetMembershipRequest generates a "aws/request.Request" representing the +// client's request for the GetMembership 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 GetMembership for more information on using the GetMembership +// 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 GetMembershipRequest method. +// req, resp := client.GetMembershipRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership +func (c *CleanRooms) GetMembershipRequest(input *GetMembershipInput) (req *request.Request, output *GetMembershipOutput) { + op := &request.Operation{ + Name: opGetMembership, + HTTPMethod: "GET", + HTTPPath: "/memberships/{membershipIdentifier}", + } + + if input == nil { + input = &GetMembershipInput{} + } + + output = &GetMembershipOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetMembership API operation for AWS Clean Rooms Service. +// +// Retrieves a specified membership for an identifier. +// +// 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 Clean Rooms Service's +// API operation GetMembership for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership +func (c *CleanRooms) GetMembership(input *GetMembershipInput) (*GetMembershipOutput, error) { + req, out := c.GetMembershipRequest(input) + return out, req.Send() +} + +// GetMembershipWithContext is the same as GetMembership with the addition of +// the ability to pass a context and additional request options. +// +// See GetMembership 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 *CleanRooms) GetMembershipWithContext(ctx aws.Context, input *GetMembershipInput, opts ...request.Option) (*GetMembershipOutput, error) { + req, out := c.GetMembershipRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetProtectedQuery = "GetProtectedQuery" + +// GetProtectedQueryRequest generates a "aws/request.Request" representing the +// client's request for the GetProtectedQuery 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 GetProtectedQuery for more information on using the GetProtectedQuery +// 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 GetProtectedQueryRequest method. +// req, resp := client.GetProtectedQueryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery +func (c *CleanRooms) GetProtectedQueryRequest(input *GetProtectedQueryInput) (req *request.Request, output *GetProtectedQueryOutput) { + op := &request.Operation{ + Name: opGetProtectedQuery, + HTTPMethod: "GET", + HTTPPath: "/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", + } + + if input == nil { + input = &GetProtectedQueryInput{} + } + + output = &GetProtectedQueryOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetProtectedQuery API operation for AWS Clean Rooms Service. +// +// Returns query processing metadata. +// +// 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 Clean Rooms Service's +// API operation GetProtectedQuery for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery +func (c *CleanRooms) GetProtectedQuery(input *GetProtectedQueryInput) (*GetProtectedQueryOutput, error) { + req, out := c.GetProtectedQueryRequest(input) + return out, req.Send() +} + +// GetProtectedQueryWithContext is the same as GetProtectedQuery with the addition of +// the ability to pass a context and additional request options. +// +// See GetProtectedQuery 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 *CleanRooms) GetProtectedQueryWithContext(ctx aws.Context, input *GetProtectedQueryInput, opts ...request.Option) (*GetProtectedQueryOutput, error) { + req, out := c.GetProtectedQueryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetSchema = "GetSchema" + +// GetSchemaRequest generates a "aws/request.Request" representing the +// client's request for the GetSchema 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 GetSchema for more information on using the GetSchema +// 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 GetSchemaRequest method. +// req, resp := client.GetSchemaRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema +func (c *CleanRooms) GetSchemaRequest(input *GetSchemaInput) (req *request.Request, output *GetSchemaOutput) { + op := &request.Operation{ + Name: opGetSchema, + HTTPMethod: "GET", + HTTPPath: "/collaborations/{collaborationIdentifier}/schemas/{name}", + } + + if input == nil { + input = &GetSchemaInput{} + } + + output = &GetSchemaOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSchema API operation for AWS Clean Rooms Service. +// +// Retrieves the schema for a relation within a collaboration. +// +// 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 Clean Rooms Service's +// API operation GetSchema for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema +func (c *CleanRooms) GetSchema(input *GetSchemaInput) (*GetSchemaOutput, error) { + req, out := c.GetSchemaRequest(input) + return out, req.Send() +} + +// GetSchemaWithContext is the same as GetSchema with the addition of +// the ability to pass a context and additional request options. +// +// See GetSchema 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 *CleanRooms) GetSchemaWithContext(ctx aws.Context, input *GetSchemaInput, opts ...request.Option) (*GetSchemaOutput, error) { + req, out := c.GetSchemaRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetSchemaAnalysisRule = "GetSchemaAnalysisRule" + +// GetSchemaAnalysisRuleRequest generates a "aws/request.Request" representing the +// client's request for the GetSchemaAnalysisRule 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 GetSchemaAnalysisRule for more information on using the GetSchemaAnalysisRule +// 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 GetSchemaAnalysisRuleRequest method. +// req, resp := client.GetSchemaAnalysisRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule +func (c *CleanRooms) GetSchemaAnalysisRuleRequest(input *GetSchemaAnalysisRuleInput) (req *request.Request, output *GetSchemaAnalysisRuleOutput) { + op := &request.Operation{ + Name: opGetSchemaAnalysisRule, + HTTPMethod: "GET", + HTTPPath: "/collaborations/{collaborationIdentifier}/schemas/{name}/analysisRule/{type}", + } + + if input == nil { + input = &GetSchemaAnalysisRuleInput{} + } + + output = &GetSchemaAnalysisRuleOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSchemaAnalysisRule API operation for AWS Clean Rooms Service. +// +// Retrieves a schema analysis rule. +// +// 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 Clean Rooms Service's +// API operation GetSchemaAnalysisRule for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule +func (c *CleanRooms) GetSchemaAnalysisRule(input *GetSchemaAnalysisRuleInput) (*GetSchemaAnalysisRuleOutput, error) { + req, out := c.GetSchemaAnalysisRuleRequest(input) + return out, req.Send() +} + +// GetSchemaAnalysisRuleWithContext is the same as GetSchemaAnalysisRule with the addition of +// the ability to pass a context and additional request options. +// +// See GetSchemaAnalysisRule 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 *CleanRooms) GetSchemaAnalysisRuleWithContext(ctx aws.Context, input *GetSchemaAnalysisRuleInput, opts ...request.Option) (*GetSchemaAnalysisRuleOutput, error) { + req, out := c.GetSchemaAnalysisRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListCollaborations = "ListCollaborations" + +// ListCollaborationsRequest generates a "aws/request.Request" representing the +// client's request for the ListCollaborations 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 ListCollaborations for more information on using the ListCollaborations +// 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 ListCollaborationsRequest method. +// req, resp := client.ListCollaborationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations +func (c *CleanRooms) ListCollaborationsRequest(input *ListCollaborationsInput) (req *request.Request, output *ListCollaborationsOutput) { + op := &request.Operation{ + Name: opListCollaborations, + HTTPMethod: "GET", + HTTPPath: "/collaborations", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListCollaborationsInput{} + } + + output = &ListCollaborationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListCollaborations API operation for AWS Clean Rooms Service. +// +// Lists collaborations the caller owns, is active in, or has been invited to. +// +// 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 Clean Rooms Service's +// API operation ListCollaborations for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations +func (c *CleanRooms) ListCollaborations(input *ListCollaborationsInput) (*ListCollaborationsOutput, error) { + req, out := c.ListCollaborationsRequest(input) + return out, req.Send() +} + +// ListCollaborationsWithContext is the same as ListCollaborations with the addition of +// the ability to pass a context and additional request options. +// +// See ListCollaborations 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 *CleanRooms) ListCollaborationsWithContext(ctx aws.Context, input *ListCollaborationsInput, opts ...request.Option) (*ListCollaborationsOutput, error) { + req, out := c.ListCollaborationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListCollaborationsPages iterates over the pages of a ListCollaborations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCollaborations 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 ListCollaborations operation. +// pageNum := 0 +// err := client.ListCollaborationsPages(params, +// func(page *cleanrooms.ListCollaborationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CleanRooms) ListCollaborationsPages(input *ListCollaborationsInput, fn func(*ListCollaborationsOutput, bool) bool) error { + return c.ListCollaborationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCollaborationsPagesWithContext same as ListCollaborationsPages 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 *CleanRooms) ListCollaborationsPagesWithContext(ctx aws.Context, input *ListCollaborationsInput, fn func(*ListCollaborationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCollaborationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCollaborationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCollaborationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListConfiguredTableAssociations = "ListConfiguredTableAssociations" + +// ListConfiguredTableAssociationsRequest generates a "aws/request.Request" representing the +// client's request for the ListConfiguredTableAssociations 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 ListConfiguredTableAssociations for more information on using the ListConfiguredTableAssociations +// 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 ListConfiguredTableAssociationsRequest method. +// req, resp := client.ListConfiguredTableAssociationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations +func (c *CleanRooms) ListConfiguredTableAssociationsRequest(input *ListConfiguredTableAssociationsInput) (req *request.Request, output *ListConfiguredTableAssociationsOutput) { + op := &request.Operation{ + Name: opListConfiguredTableAssociations, + HTTPMethod: "GET", + HTTPPath: "/memberships/{membershipIdentifier}/configuredTableAssociations", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListConfiguredTableAssociationsInput{} + } + + output = &ListConfiguredTableAssociationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListConfiguredTableAssociations API operation for AWS Clean Rooms Service. +// +// Lists configured table associations for a membership. +// +// 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 Clean Rooms Service's +// API operation ListConfiguredTableAssociations for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations +func (c *CleanRooms) ListConfiguredTableAssociations(input *ListConfiguredTableAssociationsInput) (*ListConfiguredTableAssociationsOutput, error) { + req, out := c.ListConfiguredTableAssociationsRequest(input) + return out, req.Send() +} + +// ListConfiguredTableAssociationsWithContext is the same as ListConfiguredTableAssociations with the addition of +// the ability to pass a context and additional request options. +// +// See ListConfiguredTableAssociations 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 *CleanRooms) ListConfiguredTableAssociationsWithContext(ctx aws.Context, input *ListConfiguredTableAssociationsInput, opts ...request.Option) (*ListConfiguredTableAssociationsOutput, error) { + req, out := c.ListConfiguredTableAssociationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListConfiguredTableAssociationsPages iterates over the pages of a ListConfiguredTableAssociations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListConfiguredTableAssociations 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 ListConfiguredTableAssociations operation. +// pageNum := 0 +// err := client.ListConfiguredTableAssociationsPages(params, +// func(page *cleanrooms.ListConfiguredTableAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CleanRooms) ListConfiguredTableAssociationsPages(input *ListConfiguredTableAssociationsInput, fn func(*ListConfiguredTableAssociationsOutput, bool) bool) error { + return c.ListConfiguredTableAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListConfiguredTableAssociationsPagesWithContext same as ListConfiguredTableAssociationsPages 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 *CleanRooms) ListConfiguredTableAssociationsPagesWithContext(ctx aws.Context, input *ListConfiguredTableAssociationsInput, fn func(*ListConfiguredTableAssociationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListConfiguredTableAssociationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListConfiguredTableAssociationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListConfiguredTableAssociationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListConfiguredTables = "ListConfiguredTables" + +// ListConfiguredTablesRequest generates a "aws/request.Request" representing the +// client's request for the ListConfiguredTables 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 ListConfiguredTables for more information on using the ListConfiguredTables +// 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 ListConfiguredTablesRequest method. +// req, resp := client.ListConfiguredTablesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables +func (c *CleanRooms) ListConfiguredTablesRequest(input *ListConfiguredTablesInput) (req *request.Request, output *ListConfiguredTablesOutput) { + op := &request.Operation{ + Name: opListConfiguredTables, + HTTPMethod: "GET", + HTTPPath: "/configuredTables", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListConfiguredTablesInput{} + } + + output = &ListConfiguredTablesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListConfiguredTables API operation for AWS Clean Rooms Service. +// +// Lists configured tables. +// +// 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 Clean Rooms Service's +// API operation ListConfiguredTables for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables +func (c *CleanRooms) ListConfiguredTables(input *ListConfiguredTablesInput) (*ListConfiguredTablesOutput, error) { + req, out := c.ListConfiguredTablesRequest(input) + return out, req.Send() +} + +// ListConfiguredTablesWithContext is the same as ListConfiguredTables with the addition of +// the ability to pass a context and additional request options. +// +// See ListConfiguredTables 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 *CleanRooms) ListConfiguredTablesWithContext(ctx aws.Context, input *ListConfiguredTablesInput, opts ...request.Option) (*ListConfiguredTablesOutput, error) { + req, out := c.ListConfiguredTablesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListConfiguredTablesPages iterates over the pages of a ListConfiguredTables operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListConfiguredTables 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 ListConfiguredTables operation. +// pageNum := 0 +// err := client.ListConfiguredTablesPages(params, +// func(page *cleanrooms.ListConfiguredTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CleanRooms) ListConfiguredTablesPages(input *ListConfiguredTablesInput, fn func(*ListConfiguredTablesOutput, bool) bool) error { + return c.ListConfiguredTablesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListConfiguredTablesPagesWithContext same as ListConfiguredTablesPages 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 *CleanRooms) ListConfiguredTablesPagesWithContext(ctx aws.Context, input *ListConfiguredTablesInput, fn func(*ListConfiguredTablesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListConfiguredTablesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListConfiguredTablesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListConfiguredTablesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListMembers = "ListMembers" + +// ListMembersRequest generates a "aws/request.Request" representing the +// client's request for the ListMembers 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 ListMembers for more information on using the ListMembers +// 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 ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers +func (c *CleanRooms) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { + op := &request.Operation{ + Name: opListMembers, + HTTPMethod: "GET", + HTTPPath: "/collaborations/{collaborationIdentifier}/members", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListMembersInput{} + } + + output = &ListMembersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListMembers API operation for AWS Clean Rooms Service. +// +// Lists all members within a collaboration. +// +// 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 Clean Rooms Service's +// API operation ListMembers for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers +func (c *CleanRooms) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { + req, out := c.ListMembersRequest(input) + return out, req.Send() +} + +// ListMembersWithContext is the same as ListMembers with the addition of +// the ability to pass a context and additional request options. +// +// See ListMembers 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 *CleanRooms) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error) { + req, out := c.ListMembersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListMembersPages iterates over the pages of a ListMembers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMembers 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 ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *cleanrooms.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CleanRooms) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { + return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListMembersPagesWithContext same as ListMembersPages 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 *CleanRooms) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMembersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMembersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMembersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListMemberships = "ListMemberships" + +// ListMembershipsRequest generates a "aws/request.Request" representing the +// client's request for the ListMemberships 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 ListMemberships for more information on using the ListMemberships +// 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 ListMembershipsRequest method. +// req, resp := client.ListMembershipsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships +func (c *CleanRooms) ListMembershipsRequest(input *ListMembershipsInput) (req *request.Request, output *ListMembershipsOutput) { + op := &request.Operation{ + Name: opListMemberships, + HTTPMethod: "GET", + HTTPPath: "/memberships", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListMembershipsInput{} + } + + output = &ListMembershipsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListMemberships API operation for AWS Clean Rooms Service. +// +// Lists all memberships resources within the caller's 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 Clean Rooms Service's +// API operation ListMemberships for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships +func (c *CleanRooms) ListMemberships(input *ListMembershipsInput) (*ListMembershipsOutput, error) { + req, out := c.ListMembershipsRequest(input) + return out, req.Send() +} + +// ListMembershipsWithContext is the same as ListMemberships with the addition of +// the ability to pass a context and additional request options. +// +// See ListMemberships 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 *CleanRooms) ListMembershipsWithContext(ctx aws.Context, input *ListMembershipsInput, opts ...request.Option) (*ListMembershipsOutput, error) { + req, out := c.ListMembershipsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListMembershipsPages iterates over the pages of a ListMemberships operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMemberships 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 ListMemberships operation. +// pageNum := 0 +// err := client.ListMembershipsPages(params, +// func(page *cleanrooms.ListMembershipsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CleanRooms) ListMembershipsPages(input *ListMembershipsInput, fn func(*ListMembershipsOutput, bool) bool) error { + return c.ListMembershipsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListMembershipsPagesWithContext same as ListMembershipsPages 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 *CleanRooms) ListMembershipsPagesWithContext(ctx aws.Context, input *ListMembershipsInput, fn func(*ListMembershipsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMembershipsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMembershipsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMembershipsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListProtectedQueries = "ListProtectedQueries" + +// ListProtectedQueriesRequest generates a "aws/request.Request" representing the +// client's request for the ListProtectedQueries 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 ListProtectedQueries for more information on using the ListProtectedQueries +// 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 ListProtectedQueriesRequest method. +// req, resp := client.ListProtectedQueriesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries +func (c *CleanRooms) ListProtectedQueriesRequest(input *ListProtectedQueriesInput) (req *request.Request, output *ListProtectedQueriesOutput) { + op := &request.Operation{ + Name: opListProtectedQueries, + HTTPMethod: "GET", + HTTPPath: "/memberships/{membershipIdentifier}/protectedQueries", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListProtectedQueriesInput{} + } + + output = &ListProtectedQueriesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListProtectedQueries API operation for AWS Clean Rooms Service. +// +// Lists protected queries, sorted by the most recent query. +// +// 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 Clean Rooms Service's +// API operation ListProtectedQueries for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries +func (c *CleanRooms) ListProtectedQueries(input *ListProtectedQueriesInput) (*ListProtectedQueriesOutput, error) { + req, out := c.ListProtectedQueriesRequest(input) + return out, req.Send() +} + +// ListProtectedQueriesWithContext is the same as ListProtectedQueries with the addition of +// the ability to pass a context and additional request options. +// +// See ListProtectedQueries 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 *CleanRooms) ListProtectedQueriesWithContext(ctx aws.Context, input *ListProtectedQueriesInput, opts ...request.Option) (*ListProtectedQueriesOutput, error) { + req, out := c.ListProtectedQueriesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListProtectedQueriesPages iterates over the pages of a ListProtectedQueries operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListProtectedQueries 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 ListProtectedQueries operation. +// pageNum := 0 +// err := client.ListProtectedQueriesPages(params, +// func(page *cleanrooms.ListProtectedQueriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CleanRooms) ListProtectedQueriesPages(input *ListProtectedQueriesInput, fn func(*ListProtectedQueriesOutput, bool) bool) error { + return c.ListProtectedQueriesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListProtectedQueriesPagesWithContext same as ListProtectedQueriesPages 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 *CleanRooms) ListProtectedQueriesPagesWithContext(ctx aws.Context, input *ListProtectedQueriesInput, fn func(*ListProtectedQueriesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListProtectedQueriesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListProtectedQueriesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListProtectedQueriesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSchemas = "ListSchemas" + +// ListSchemasRequest generates a "aws/request.Request" representing the +// client's request for the ListSchemas 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 ListSchemas for more information on using the ListSchemas +// 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 ListSchemasRequest method. +// req, resp := client.ListSchemasRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas +func (c *CleanRooms) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput) { + op := &request.Operation{ + Name: opListSchemas, + HTTPMethod: "GET", + HTTPPath: "/collaborations/{collaborationIdentifier}/schemas", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListSchemasInput{} + } + + output = &ListSchemasOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListSchemas API operation for AWS Clean Rooms Service. +// +// Lists the schemas for relations within a collaboration. +// +// 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 Clean Rooms Service's +// API operation ListSchemas for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas +func (c *CleanRooms) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error) { + req, out := c.ListSchemasRequest(input) + return out, req.Send() +} + +// ListSchemasWithContext is the same as ListSchemas with the addition of +// the ability to pass a context and additional request options. +// +// See ListSchemas 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 *CleanRooms) ListSchemasWithContext(ctx aws.Context, input *ListSchemasInput, opts ...request.Option) (*ListSchemasOutput, error) { + req, out := c.ListSchemasRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListSchemasPages iterates over the pages of a ListSchemas operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSchemas 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 ListSchemas operation. +// pageNum := 0 +// err := client.ListSchemasPages(params, +// func(page *cleanrooms.ListSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CleanRooms) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error { + return c.ListSchemasPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSchemasPagesWithContext same as ListSchemasPages 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 *CleanRooms) ListSchemasPagesWithContext(ctx aws.Context, input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSchemasInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSchemasRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSchemasOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opStartProtectedQuery = "StartProtectedQuery" + +// StartProtectedQueryRequest generates a "aws/request.Request" representing the +// client's request for the StartProtectedQuery 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 StartProtectedQuery for more information on using the StartProtectedQuery +// 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 StartProtectedQueryRequest method. +// req, resp := client.StartProtectedQueryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery +func (c *CleanRooms) StartProtectedQueryRequest(input *StartProtectedQueryInput) (req *request.Request, output *StartProtectedQueryOutput) { + op := &request.Operation{ + Name: opStartProtectedQuery, + HTTPMethod: "POST", + HTTPPath: "/memberships/{membershipIdentifier}/protectedQueries", + } + + if input == nil { + input = &StartProtectedQueryInput{} + } + + output = &StartProtectedQueryOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartProtectedQuery API operation for AWS Clean Rooms Service. +// +// Creates a protected query that is started by AWS Clean Rooms. +// +// 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 Clean Rooms Service's +// API operation StartProtectedQuery for usage and error information. +// +// Returned Error Types: +// +// - ServiceQuotaExceededException +// Request denied because service quota has been exceeded. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery +func (c *CleanRooms) StartProtectedQuery(input *StartProtectedQueryInput) (*StartProtectedQueryOutput, error) { + req, out := c.StartProtectedQueryRequest(input) + return out, req.Send() +} + +// StartProtectedQueryWithContext is the same as StartProtectedQuery with the addition of +// the ability to pass a context and additional request options. +// +// See StartProtectedQuery 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 *CleanRooms) StartProtectedQueryWithContext(ctx aws.Context, input *StartProtectedQueryInput, opts ...request.Option) (*StartProtectedQueryOutput, error) { + req, out := c.StartProtectedQueryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateCollaboration = "UpdateCollaboration" + +// UpdateCollaborationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateCollaboration 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 UpdateCollaboration for more information on using the UpdateCollaboration +// 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 UpdateCollaborationRequest method. +// req, resp := client.UpdateCollaborationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration +func (c *CleanRooms) UpdateCollaborationRequest(input *UpdateCollaborationInput) (req *request.Request, output *UpdateCollaborationOutput) { + op := &request.Operation{ + Name: opUpdateCollaboration, + HTTPMethod: "PATCH", + HTTPPath: "/collaborations/{collaborationIdentifier}", + } + + if input == nil { + input = &UpdateCollaborationInput{} + } + + output = &UpdateCollaborationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateCollaboration API operation for AWS Clean Rooms Service. +// +// Updates collaboration metadata and can only be called by the collaboration +// owner. +// +// 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 Clean Rooms Service's +// API operation UpdateCollaboration for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration +func (c *CleanRooms) UpdateCollaboration(input *UpdateCollaborationInput) (*UpdateCollaborationOutput, error) { + req, out := c.UpdateCollaborationRequest(input) + return out, req.Send() +} + +// UpdateCollaborationWithContext is the same as UpdateCollaboration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateCollaboration 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 *CleanRooms) UpdateCollaborationWithContext(ctx aws.Context, input *UpdateCollaborationInput, opts ...request.Option) (*UpdateCollaborationOutput, error) { + req, out := c.UpdateCollaborationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConfiguredTable = "UpdateConfiguredTable" + +// UpdateConfiguredTableRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConfiguredTable 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 UpdateConfiguredTable for more information on using the UpdateConfiguredTable +// 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 UpdateConfiguredTableRequest method. +// req, resp := client.UpdateConfiguredTableRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable +func (c *CleanRooms) UpdateConfiguredTableRequest(input *UpdateConfiguredTableInput) (req *request.Request, output *UpdateConfiguredTableOutput) { + op := &request.Operation{ + Name: opUpdateConfiguredTable, + HTTPMethod: "PATCH", + HTTPPath: "/configuredTables/{configuredTableIdentifier}", + } + + if input == nil { + input = &UpdateConfiguredTableInput{} + } + + output = &UpdateConfiguredTableOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateConfiguredTable API operation for AWS Clean Rooms Service. +// +// Updates a configured table. +// +// 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 Clean Rooms Service's +// API operation UpdateConfiguredTable for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable +func (c *CleanRooms) UpdateConfiguredTable(input *UpdateConfiguredTableInput) (*UpdateConfiguredTableOutput, error) { + req, out := c.UpdateConfiguredTableRequest(input) + return out, req.Send() +} + +// UpdateConfiguredTableWithContext is the same as UpdateConfiguredTable with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConfiguredTable 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 *CleanRooms) UpdateConfiguredTableWithContext(ctx aws.Context, input *UpdateConfiguredTableInput, opts ...request.Option) (*UpdateConfiguredTableOutput, error) { + req, out := c.UpdateConfiguredTableRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConfiguredTableAnalysisRule = "UpdateConfiguredTableAnalysisRule" + +// UpdateConfiguredTableAnalysisRuleRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConfiguredTableAnalysisRule 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 UpdateConfiguredTableAnalysisRule for more information on using the UpdateConfiguredTableAnalysisRule +// 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 UpdateConfiguredTableAnalysisRuleRequest method. +// req, resp := client.UpdateConfiguredTableAnalysisRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule +func (c *CleanRooms) UpdateConfiguredTableAnalysisRuleRequest(input *UpdateConfiguredTableAnalysisRuleInput) (req *request.Request, output *UpdateConfiguredTableAnalysisRuleOutput) { + op := &request.Operation{ + Name: opUpdateConfiguredTableAnalysisRule, + HTTPMethod: "PATCH", + HTTPPath: "/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + } + + if input == nil { + input = &UpdateConfiguredTableAnalysisRuleInput{} + } + + output = &UpdateConfiguredTableAnalysisRuleOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateConfiguredTableAnalysisRule API operation for AWS Clean Rooms Service. +// +// Updates a configured table analysis rule. +// +// 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 Clean Rooms Service's +// API operation UpdateConfiguredTableAnalysisRule for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule +func (c *CleanRooms) UpdateConfiguredTableAnalysisRule(input *UpdateConfiguredTableAnalysisRuleInput) (*UpdateConfiguredTableAnalysisRuleOutput, error) { + req, out := c.UpdateConfiguredTableAnalysisRuleRequest(input) + return out, req.Send() +} + +// UpdateConfiguredTableAnalysisRuleWithContext is the same as UpdateConfiguredTableAnalysisRule with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConfiguredTableAnalysisRule 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 *CleanRooms) UpdateConfiguredTableAnalysisRuleWithContext(ctx aws.Context, input *UpdateConfiguredTableAnalysisRuleInput, opts ...request.Option) (*UpdateConfiguredTableAnalysisRuleOutput, error) { + req, out := c.UpdateConfiguredTableAnalysisRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateConfiguredTableAssociation = "UpdateConfiguredTableAssociation" + +// UpdateConfiguredTableAssociationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConfiguredTableAssociation 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 UpdateConfiguredTableAssociation for more information on using the UpdateConfiguredTableAssociation +// 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 UpdateConfiguredTableAssociationRequest method. +// req, resp := client.UpdateConfiguredTableAssociationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation +func (c *CleanRooms) UpdateConfiguredTableAssociationRequest(input *UpdateConfiguredTableAssociationInput) (req *request.Request, output *UpdateConfiguredTableAssociationOutput) { + op := &request.Operation{ + Name: opUpdateConfiguredTableAssociation, + HTTPMethod: "PATCH", + HTTPPath: "/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + } + + if input == nil { + input = &UpdateConfiguredTableAssociationInput{} + } + + output = &UpdateConfiguredTableAssociationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateConfiguredTableAssociation API operation for AWS Clean Rooms Service. +// +// Updates a configured table association. +// +// 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 Clean Rooms Service's +// API operation UpdateConfiguredTableAssociation for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation +func (c *CleanRooms) UpdateConfiguredTableAssociation(input *UpdateConfiguredTableAssociationInput) (*UpdateConfiguredTableAssociationOutput, error) { + req, out := c.UpdateConfiguredTableAssociationRequest(input) + return out, req.Send() +} + +// UpdateConfiguredTableAssociationWithContext is the same as UpdateConfiguredTableAssociation with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConfiguredTableAssociation 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 *CleanRooms) UpdateConfiguredTableAssociationWithContext(ctx aws.Context, input *UpdateConfiguredTableAssociationInput, opts ...request.Option) (*UpdateConfiguredTableAssociationOutput, error) { + req, out := c.UpdateConfiguredTableAssociationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateMembership = "UpdateMembership" + +// UpdateMembershipRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMembership 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 UpdateMembership for more information on using the UpdateMembership +// 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 UpdateMembershipRequest method. +// req, resp := client.UpdateMembershipRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership +func (c *CleanRooms) UpdateMembershipRequest(input *UpdateMembershipInput) (req *request.Request, output *UpdateMembershipOutput) { + op := &request.Operation{ + Name: opUpdateMembership, + HTTPMethod: "PATCH", + HTTPPath: "/memberships/{membershipIdentifier}", + } + + if input == nil { + input = &UpdateMembershipInput{} + } + + output = &UpdateMembershipOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateMembership API operation for AWS Clean Rooms Service. +// +// Updates a membership. +// +// 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 Clean Rooms Service's +// API operation UpdateMembership for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership +func (c *CleanRooms) UpdateMembership(input *UpdateMembershipInput) (*UpdateMembershipOutput, error) { + req, out := c.UpdateMembershipRequest(input) + return out, req.Send() +} + +// UpdateMembershipWithContext is the same as UpdateMembership with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateMembership 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 *CleanRooms) UpdateMembershipWithContext(ctx aws.Context, input *UpdateMembershipInput, opts ...request.Option) (*UpdateMembershipOutput, error) { + req, out := c.UpdateMembershipRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateProtectedQuery = "UpdateProtectedQuery" + +// UpdateProtectedQueryRequest generates a "aws/request.Request" representing the +// client's request for the UpdateProtectedQuery 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 UpdateProtectedQuery for more information on using the UpdateProtectedQuery +// 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 UpdateProtectedQueryRequest method. +// req, resp := client.UpdateProtectedQueryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery +func (c *CleanRooms) UpdateProtectedQueryRequest(input *UpdateProtectedQueryInput) (req *request.Request, output *UpdateProtectedQueryOutput) { + op := &request.Operation{ + Name: opUpdateProtectedQuery, + HTTPMethod: "PATCH", + HTTPPath: "/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", + } + + if input == nil { + input = &UpdateProtectedQueryInput{} + } + + output = &UpdateProtectedQueryOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateProtectedQuery API operation for AWS Clean Rooms Service. +// +// Updates the processing of a currently running query. +// +// 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 Clean Rooms Service's +// API operation UpdateProtectedQuery for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - InternalServerException +// Unexpected error during processing of request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// Caller does not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery +func (c *CleanRooms) UpdateProtectedQuery(input *UpdateProtectedQueryInput) (*UpdateProtectedQueryOutput, error) { + req, out := c.UpdateProtectedQueryRequest(input) + return out, req.Send() +} + +// UpdateProtectedQueryWithContext is the same as UpdateProtectedQuery with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateProtectedQuery 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 *CleanRooms) UpdateProtectedQueryWithContext(ctx aws.Context, input *UpdateProtectedQueryInput, opts ...request.Option) (*UpdateProtectedQueryOutput, error) { + req, out := c.UpdateProtectedQueryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Caller does not have sufficient access to perform this action. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // A reason code for the exception. + Reason *string `locationName:"reason" type:"string" enum:"AccessDeniedExceptionReason"` +} + +// 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\n%s", s.Code(), s.Message(), s.String()) +} + +// 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 +} + +// Column in configured table that can be used in aggregate function in query. +type AggregateColumn struct { + _ struct{} `type:"structure"` + + // Column names in configured table of aggregate columns. + // + // ColumnNames is a required field + ColumnNames []*string `locationName:"columnNames" min:"1" type:"list" required:"true"` + + // Aggregation function that can be applied to aggregate column in query. + // + // Function is a required field + Function *string `locationName:"function" type:"string" required:"true" enum:"AggregateFunctionName"` +} + +// 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 AggregateColumn) 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 AggregateColumn) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AggregateColumn) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AggregateColumn"} + if s.ColumnNames == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnNames")) + } + if s.ColumnNames != nil && len(s.ColumnNames) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnNames", 1)) + } + if s.Function == nil { + invalidParams.Add(request.NewErrParamRequired("Function")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumnNames sets the ColumnNames field's value. +func (s *AggregateColumn) SetColumnNames(v []*string) *AggregateColumn { + s.ColumnNames = v + return s +} + +// SetFunction sets the Function field's value. +func (s *AggregateColumn) SetFunction(v string) *AggregateColumn { + s.Function = &v + return s +} + +// Constraint on query output removing output rows that do not meet a minimum +// number of distinct values of a specified column. +type AggregationConstraint struct { + _ struct{} `type:"structure"` + + // Column in aggregation constraint for which there must be a minimum number + // of distinct values in an output row for it to be in the query output. + // + // ColumnName is a required field + ColumnName *string `locationName:"columnName" min:"1" type:"string" required:"true"` + + // The minimum number of distinct values that an output row must be an aggregation + // of. Minimum threshold of distinct values for a specified column that must + // exist in an output row for it to be in the query output. + // + // Minimum is a required field + Minimum *int64 `locationName:"minimum" min:"2" type:"integer" required:"true"` + + // The type of aggregation the constraint allows. The only valid value is currently + // `COUNT_DISTINCT`. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"AggregationType"` +} + +// 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 AggregationConstraint) 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 AggregationConstraint) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AggregationConstraint) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AggregationConstraint"} + if s.ColumnName == nil { + invalidParams.Add(request.NewErrParamRequired("ColumnName")) + } + if s.ColumnName != nil && len(*s.ColumnName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1)) + } + if s.Minimum == nil { + invalidParams.Add(request.NewErrParamRequired("Minimum")) + } + if s.Minimum != nil && *s.Minimum < 2 { + invalidParams.Add(request.NewErrParamMinValue("Minimum", 2)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetColumnName sets the ColumnName field's value. +func (s *AggregationConstraint) SetColumnName(v string) *AggregationConstraint { + s.ColumnName = &v + return s +} + +// SetMinimum sets the Minimum field's value. +func (s *AggregationConstraint) SetMinimum(v int64) *AggregationConstraint { + s.Minimum = &v + return s +} + +// SetType sets the Type field's value. +func (s *AggregationConstraint) SetType(v string) *AggregationConstraint { + s.Type = &v + return s +} + +// A specification about how data from the configured table can be used in a +// query. +type AnalysisRule struct { + _ struct{} `type:"structure"` + + // The unique ID for the associated collaboration. + // + // CollaborationId is a required field + CollaborationId *string `locationName:"collaborationId" min:"36" type:"string" required:"true"` + + // The time the analysis rule was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The name for the analysis rule. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // A policy that describes the associated data usage limitations. + // + // Policy is a required field + Policy *AnalysisRulePolicy `locationName:"policy" type:"structure" required:"true"` + + // The type of analysis rule. Valid values are `AGGREGATION` and `LIST`. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"AnalysisRuleType"` + + // The time the analysis rule was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 AnalysisRule) 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 AnalysisRule) GoString() string { + return s.String() +} + +// SetCollaborationId sets the CollaborationId field's value. +func (s *AnalysisRule) SetCollaborationId(v string) *AnalysisRule { + s.CollaborationId = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *AnalysisRule) SetCreateTime(v time.Time) *AnalysisRule { + s.CreateTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *AnalysisRule) SetName(v string) *AnalysisRule { + s.Name = &v + return s +} + +// SetPolicy sets the Policy field's value. +func (s *AnalysisRule) SetPolicy(v *AnalysisRulePolicy) *AnalysisRule { + s.Policy = v + return s +} + +// SetType sets the Type field's value. +func (s *AnalysisRule) SetType(v string) *AnalysisRule { + s.Type = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *AnalysisRule) SetUpdateTime(v time.Time) *AnalysisRule { + s.UpdateTime = &v + return s +} + +// Enables query structure and specified queries that product aggregate statistics. +type AnalysisRuleAggregation struct { + _ struct{} `type:"structure"` + + // The columns that query runners are allowed to use in aggregation queries. + // + // AggregateColumns is a required field + AggregateColumns []*AggregateColumn `locationName:"aggregateColumns" min:"1" type:"list" required:"true"` + + // The columns that query runners are allowed to select, group by, or filter + // by. + // + // DimensionColumns is a required field + DimensionColumns []*string `locationName:"dimensionColumns" type:"list" required:"true"` + + // Columns in configured table that can be used in join statements and/or as + // aggregate columns. They can never be outputted directly. + // + // JoinColumns is a required field + JoinColumns []*string `locationName:"joinColumns" type:"list" required:"true"` + + // Control that requires member who runs query to do a join with their configured + // table and/or other configured table in query + JoinRequired *string `locationName:"joinRequired" type:"string" enum:"JoinRequiredOption"` + + // Columns that must meet a specific threshold value (after an aggregation function + // is applied to it) for each output row to be returned. + // + // OutputConstraints is a required field + OutputConstraints []*AggregationConstraint `locationName:"outputConstraints" min:"1" type:"list" required:"true"` + + // Set of scalar functions that are allowed to be used on dimension columns + // and the output of aggregation of metrics. + // + // ScalarFunctions is a required field + ScalarFunctions []*string `locationName:"scalarFunctions" type:"list" required:"true" enum:"ScalarFunctions"` +} + +// 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 AnalysisRuleAggregation) 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 AnalysisRuleAggregation) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AnalysisRuleAggregation) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AnalysisRuleAggregation"} + if s.AggregateColumns == nil { + invalidParams.Add(request.NewErrParamRequired("AggregateColumns")) + } + if s.AggregateColumns != nil && len(s.AggregateColumns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AggregateColumns", 1)) + } + if s.DimensionColumns == nil { + invalidParams.Add(request.NewErrParamRequired("DimensionColumns")) + } + if s.JoinColumns == nil { + invalidParams.Add(request.NewErrParamRequired("JoinColumns")) + } + if s.OutputConstraints == nil { + invalidParams.Add(request.NewErrParamRequired("OutputConstraints")) + } + if s.OutputConstraints != nil && len(s.OutputConstraints) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutputConstraints", 1)) + } + if s.ScalarFunctions == nil { + invalidParams.Add(request.NewErrParamRequired("ScalarFunctions")) + } + if s.AggregateColumns != nil { + for i, v := range s.AggregateColumns { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AggregateColumns", i), err.(request.ErrInvalidParams)) + } + } + } + if s.OutputConstraints != nil { + for i, v := range s.OutputConstraints { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputConstraints", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggregateColumns sets the AggregateColumns field's value. +func (s *AnalysisRuleAggregation) SetAggregateColumns(v []*AggregateColumn) *AnalysisRuleAggregation { + s.AggregateColumns = v + return s +} + +// SetDimensionColumns sets the DimensionColumns field's value. +func (s *AnalysisRuleAggregation) SetDimensionColumns(v []*string) *AnalysisRuleAggregation { + s.DimensionColumns = v + return s +} + +// SetJoinColumns sets the JoinColumns field's value. +func (s *AnalysisRuleAggregation) SetJoinColumns(v []*string) *AnalysisRuleAggregation { + s.JoinColumns = v + return s +} + +// SetJoinRequired sets the JoinRequired field's value. +func (s *AnalysisRuleAggregation) SetJoinRequired(v string) *AnalysisRuleAggregation { + s.JoinRequired = &v + return s +} + +// SetOutputConstraints sets the OutputConstraints field's value. +func (s *AnalysisRuleAggregation) SetOutputConstraints(v []*AggregationConstraint) *AnalysisRuleAggregation { + s.OutputConstraints = v + return s +} + +// SetScalarFunctions sets the ScalarFunctions field's value. +func (s *AnalysisRuleAggregation) SetScalarFunctions(v []*string) *AnalysisRuleAggregation { + s.ScalarFunctions = v + return s +} + +// A type of analysis rule that enables row-level analysis. +type AnalysisRuleList struct { + _ struct{} `type:"structure"` + + // Columns that can be used to join a configured table with the table of the + // member who can query and another members' configured tables. + // + // JoinColumns is a required field + JoinColumns []*string `locationName:"joinColumns" min:"1" type:"list" required:"true"` + + // Columns that can be listed in the output. + // + // ListColumns is a required field + ListColumns []*string `locationName:"listColumns" 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 AnalysisRuleList) 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 AnalysisRuleList) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AnalysisRuleList) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AnalysisRuleList"} + if s.JoinColumns == nil { + invalidParams.Add(request.NewErrParamRequired("JoinColumns")) + } + if s.JoinColumns != nil && len(s.JoinColumns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JoinColumns", 1)) + } + if s.ListColumns == nil { + invalidParams.Add(request.NewErrParamRequired("ListColumns")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJoinColumns sets the JoinColumns field's value. +func (s *AnalysisRuleList) SetJoinColumns(v []*string) *AnalysisRuleList { + s.JoinColumns = v + return s +} + +// SetListColumns sets the ListColumns field's value. +func (s *AnalysisRuleList) SetListColumns(v []*string) *AnalysisRuleList { + s.ListColumns = v + return s +} + +// Controls on the query specifications that can be run on configured table.. +type AnalysisRulePolicy struct { + _ struct{} `type:"structure"` + + // Controls on the query specifications that can be run on configured table.. + V1 *AnalysisRulePolicyV1 `locationName:"v1" 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 AnalysisRulePolicy) 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 AnalysisRulePolicy) GoString() string { + return s.String() +} + +// SetV1 sets the V1 field's value. +func (s *AnalysisRulePolicy) SetV1(v *AnalysisRulePolicyV1) *AnalysisRulePolicy { + s.V1 = v + return s +} + +// Controls on the query specifications that can be run on configured table.. +type AnalysisRulePolicyV1 struct { + _ struct{} `type:"structure"` + + // Analysis rule type that enables only aggregation queries on a configured + // table. + Aggregation *AnalysisRuleAggregation `locationName:"aggregation" type:"structure"` + + // Analysis rule type that enables only list queries on a configured table. + List *AnalysisRuleList `locationName:"list" 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 AnalysisRulePolicyV1) 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 AnalysisRulePolicyV1) GoString() string { + return s.String() +} + +// SetAggregation sets the Aggregation field's value. +func (s *AnalysisRulePolicyV1) SetAggregation(v *AnalysisRuleAggregation) *AnalysisRulePolicyV1 { + s.Aggregation = v + return s +} + +// SetList sets the List field's value. +func (s *AnalysisRulePolicyV1) SetList(v *AnalysisRuleList) *AnalysisRulePolicyV1 { + s.List = v + return s +} + +// An error describing why a schema could not be fetched. +type BatchGetSchemaError struct { + _ struct{} `type:"structure"` + + // An error code for the error. + // + // Code is a required field + Code *string `locationName:"code" type:"string" required:"true"` + + // An error message for the error. + // + // Message is a required field + Message *string `locationName:"message" type:"string" required:"true"` + + // An error name for the error. + // + // Name is a required field + Name *string `locationName:"name" 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 BatchGetSchemaError) 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 BatchGetSchemaError) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *BatchGetSchemaError) SetCode(v string) *BatchGetSchemaError { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *BatchGetSchemaError) SetMessage(v string) *BatchGetSchemaError { + s.Message = &v + return s +} + +// SetName sets the Name field's value. +func (s *BatchGetSchemaError) SetName(v string) *BatchGetSchemaError { + s.Name = &v + return s +} + +type BatchGetSchemaInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the collaboration that the schemas belong to. Currently + // accepts collaboration ID. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` + + // The names for the schema objects to retrieve.> + // + // Names is a required field + Names []*string `locationName:"names" min:"1" 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 BatchGetSchemaInput) 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 BatchGetSchemaInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchGetSchemaInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchGetSchemaInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + if s.Names == nil { + invalidParams.Add(request.NewErrParamRequired("Names")) + } + if s.Names != nil && len(s.Names) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Names", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *BatchGetSchemaInput) SetCollaborationIdentifier(v string) *BatchGetSchemaInput { + s.CollaborationIdentifier = &v + return s +} + +// SetNames sets the Names field's value. +func (s *BatchGetSchemaInput) SetNames(v []*string) *BatchGetSchemaInput { + s.Names = v + return s +} + +type BatchGetSchemaOutput struct { + _ struct{} `type:"structure"` + + // Error reasons for schemas that could not be retrieved. One error is returned + // for every schema that could not be retrieved. + // + // Errors is a required field + Errors []*BatchGetSchemaError `locationName:"errors" type:"list" required:"true"` + + // The retrieved list of schemas. + // + // Schemas is a required field + Schemas []*Schema `locationName:"schemas" 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 BatchGetSchemaOutput) 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 BatchGetSchemaOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *BatchGetSchemaOutput) SetErrors(v []*BatchGetSchemaError) *BatchGetSchemaOutput { + s.Errors = v + return s +} + +// SetSchemas sets the Schemas field's value. +func (s *BatchGetSchemaOutput) SetSchemas(v []*Schema) *BatchGetSchemaOutput { + s.Schemas = v + return s +} + +// The multi-party data share environment. The collaboration contains metadata +// about its purpose and participants. +type Collaboration struct { + _ struct{} `type:"structure"` + + // The unique ARN for the collaboration. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The time when the collaboration was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The identifier used to reference members of the collaboration. Currently + // only supports AWS account ID. + // + // CreatorAccountId is a required field + CreatorAccountId *string `locationName:"creatorAccountId" min:"12" type:"string" required:"true"` + + // A display name of the collaboration creator. + // + // CreatorDisplayName is a required field + CreatorDisplayName *string `locationName:"creatorDisplayName" min:"1" type:"string" required:"true"` + + // The settings for client-side encryption for cryptographic computing. + DataEncryptionMetadata *DataEncryptionMetadata `locationName:"dataEncryptionMetadata" type:"structure"` + + // A description of the collaboration provided by the collaboration owner. + Description *string `locationName:"description" min:"1" type:"string"` + + // The unique ID for the collaboration. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The status of a member in a collaboration. + // + // MemberStatus is a required field + MemberStatus *string `locationName:"memberStatus" type:"string" required:"true" enum:"MemberStatus"` + + // The unique ARN for your membership within the collaboration. + MembershipArn *string `locationName:"membershipArn" type:"string"` + + // The unique ID for your membership within the collaboration. + MembershipId *string `locationName:"membershipId" min:"36" type:"string"` + + // A human-readable identifier provided by the collaboration owner. Display + // names are not unique. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // An indicator as to whether query logging has been enabled or disabled for + // the collaboration. + // + // QueryLogStatus is a required field + QueryLogStatus *string `locationName:"queryLogStatus" type:"string" required:"true" enum:"CollaborationQueryLogStatus"` + + // The time the collaboration metadata was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 Collaboration) 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 Collaboration) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Collaboration) SetArn(v string) *Collaboration { + s.Arn = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *Collaboration) SetCreateTime(v time.Time) *Collaboration { + s.CreateTime = &v + return s +} + +// SetCreatorAccountId sets the CreatorAccountId field's value. +func (s *Collaboration) SetCreatorAccountId(v string) *Collaboration { + s.CreatorAccountId = &v + return s +} + +// SetCreatorDisplayName sets the CreatorDisplayName field's value. +func (s *Collaboration) SetCreatorDisplayName(v string) *Collaboration { + s.CreatorDisplayName = &v + return s +} + +// SetDataEncryptionMetadata sets the DataEncryptionMetadata field's value. +func (s *Collaboration) SetDataEncryptionMetadata(v *DataEncryptionMetadata) *Collaboration { + s.DataEncryptionMetadata = v + return s +} + +// SetDescription sets the Description field's value. +func (s *Collaboration) SetDescription(v string) *Collaboration { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *Collaboration) SetId(v string) *Collaboration { + s.Id = &v + return s +} + +// SetMemberStatus sets the MemberStatus field's value. +func (s *Collaboration) SetMemberStatus(v string) *Collaboration { + s.MemberStatus = &v + return s +} + +// SetMembershipArn sets the MembershipArn field's value. +func (s *Collaboration) SetMembershipArn(v string) *Collaboration { + s.MembershipArn = &v + return s +} + +// SetMembershipId sets the MembershipId field's value. +func (s *Collaboration) SetMembershipId(v string) *Collaboration { + s.MembershipId = &v + return s +} + +// SetName sets the Name field's value. +func (s *Collaboration) SetName(v string) *Collaboration { + s.Name = &v + return s +} + +// SetQueryLogStatus sets the QueryLogStatus field's value. +func (s *Collaboration) SetQueryLogStatus(v string) *Collaboration { + s.QueryLogStatus = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *Collaboration) SetUpdateTime(v time.Time) *Collaboration { + s.UpdateTime = &v + return s +} + +// The metadata of the collaboration. +type CollaborationSummary struct { + _ struct{} `type:"structure"` + + // The ARN of the collaboration. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The time when the collaboration was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The identifier used to reference members of the collaboration. Currently + // only supports AWS Account ID. + // + // CreatorAccountId is a required field + CreatorAccountId *string `locationName:"creatorAccountId" min:"12" type:"string" required:"true"` + + // The display name of the collaboration creator. + // + // CreatorDisplayName is a required field + CreatorDisplayName *string `locationName:"creatorDisplayName" min:"1" type:"string" required:"true"` + + // The identifier for the collaboration. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The status of a member in a collaboration. + // + // MemberStatus is a required field + MemberStatus *string `locationName:"memberStatus" type:"string" required:"true" enum:"MemberStatus"` + + // The ARN of a member in a collaboration. + MembershipArn *string `locationName:"membershipArn" type:"string"` + + // The identifier of a member in a collaboration. + MembershipId *string `locationName:"membershipId" min:"36" type:"string"` + + // A human-readable identifier provided by the collaboration owner. Display + // names are not unique. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The time the collaboration metadata was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 CollaborationSummary) 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 CollaborationSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *CollaborationSummary) SetArn(v string) *CollaborationSummary { + s.Arn = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *CollaborationSummary) SetCreateTime(v time.Time) *CollaborationSummary { + s.CreateTime = &v + return s +} + +// SetCreatorAccountId sets the CreatorAccountId field's value. +func (s *CollaborationSummary) SetCreatorAccountId(v string) *CollaborationSummary { + s.CreatorAccountId = &v + return s +} + +// SetCreatorDisplayName sets the CreatorDisplayName field's value. +func (s *CollaborationSummary) SetCreatorDisplayName(v string) *CollaborationSummary { + s.CreatorDisplayName = &v + return s +} + +// SetId sets the Id field's value. +func (s *CollaborationSummary) SetId(v string) *CollaborationSummary { + s.Id = &v + return s +} + +// SetMemberStatus sets the MemberStatus field's value. +func (s *CollaborationSummary) SetMemberStatus(v string) *CollaborationSummary { + s.MemberStatus = &v + return s +} + +// SetMembershipArn sets the MembershipArn field's value. +func (s *CollaborationSummary) SetMembershipArn(v string) *CollaborationSummary { + s.MembershipArn = &v + return s +} + +// SetMembershipId sets the MembershipId field's value. +func (s *CollaborationSummary) SetMembershipId(v string) *CollaborationSummary { + s.MembershipId = &v + return s +} + +// SetName sets the Name field's value. +func (s *CollaborationSummary) SetName(v string) *CollaborationSummary { + s.Name = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *CollaborationSummary) SetUpdateTime(v time.Time) *CollaborationSummary { + s.UpdateTime = &v + return s +} + +// A column within a schema relation, derived from the underlying AWS Glue table. +type Column struct { + _ struct{} `type:"structure"` + + // The name of the column. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The type of the column. + // + // Type is a required field + Type *string `locationName:"type" 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 Column) 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 Column) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *Column) SetName(v string) *Column { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *Column) SetType(v string) *Column { + s.Type = &v + return s +} + +// A table that has been configured for use in a collaboration. +type ConfiguredTable struct { + _ struct{} `type:"structure"` + + // The columns within the underlying AWS Glue table that can be utilized within + // collaborations. + // + // AllowedColumns is a required field + AllowedColumns []*string `locationName:"allowedColumns" min:"1" type:"list" required:"true"` + + // The analysis method for the configured table. The only valid value is currently + // `DIRECT_QUERY`. + // + // AnalysisMethod is a required field + AnalysisMethod *string `locationName:"analysisMethod" type:"string" required:"true" enum:"AnalysisMethod"` + + // The types of analysis rules associated with this configured table. Valid + // values are `AGGREGATION` and `LIST`. Currently, only one analysis rule may + // be associated with a configured table. + // + // AnalysisRuleTypes is a required field + AnalysisRuleTypes []*string `locationName:"analysisRuleTypes" type:"list" required:"true" enum:"ConfiguredTableAnalysisRuleType"` + + // The unique ARN for the configured table. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The time the configured table was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // A description for the configured table. + Description *string `locationName:"description" type:"string"` + + // The unique ID for the configured table. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // A name for the configured table. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The AWS Glue table that this configured table represents. + // + // TableReference is a required field + TableReference *TableReference `locationName:"tableReference" type:"structure" required:"true"` + + // The time the configured table was last updated + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 ConfiguredTable) 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 ConfiguredTable) GoString() string { + return s.String() +} + +// SetAllowedColumns sets the AllowedColumns field's value. +func (s *ConfiguredTable) SetAllowedColumns(v []*string) *ConfiguredTable { + s.AllowedColumns = v + return s +} + +// SetAnalysisMethod sets the AnalysisMethod field's value. +func (s *ConfiguredTable) SetAnalysisMethod(v string) *ConfiguredTable { + s.AnalysisMethod = &v + return s +} + +// SetAnalysisRuleTypes sets the AnalysisRuleTypes field's value. +func (s *ConfiguredTable) SetAnalysisRuleTypes(v []*string) *ConfiguredTable { + s.AnalysisRuleTypes = v + return s +} + +// SetArn sets the Arn field's value. +func (s *ConfiguredTable) SetArn(v string) *ConfiguredTable { + s.Arn = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *ConfiguredTable) SetCreateTime(v time.Time) *ConfiguredTable { + s.CreateTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ConfiguredTable) SetDescription(v string) *ConfiguredTable { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ConfiguredTable) SetId(v string) *ConfiguredTable { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ConfiguredTable) SetName(v string) *ConfiguredTable { + s.Name = &v + return s +} + +// SetTableReference sets the TableReference field's value. +func (s *ConfiguredTable) SetTableReference(v *TableReference) *ConfiguredTable { + s.TableReference = v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *ConfiguredTable) SetUpdateTime(v time.Time) *ConfiguredTable { + s.UpdateTime = &v + return s +} + +// A configured table analysis rule, which limits how data for this table can +// be used. +type ConfiguredTableAnalysisRule struct { + _ struct{} `type:"structure"` + + // The unique ARN for the configured table. + // + // ConfiguredTableArn is a required field + ConfiguredTableArn *string `locationName:"configuredTableArn" type:"string" required:"true"` + + // The unique ID for the configured table. + // + // ConfiguredTableId is a required field + ConfiguredTableId *string `locationName:"configuredTableId" min:"36" type:"string" required:"true"` + + // The time the configured table analysis rule was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The policy that controls SQL query rules. + // + // Policy is a required field + Policy *ConfiguredTableAnalysisRulePolicy `locationName:"policy" type:"structure" required:"true"` + + // The type of configured table analysis rule. Valid values are `AGGREGATION` + // and `LIST`. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"ConfiguredTableAnalysisRuleType"` + + // The time the configured table analysis rule was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 ConfiguredTableAnalysisRule) 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 ConfiguredTableAnalysisRule) GoString() string { + return s.String() +} + +// SetConfiguredTableArn sets the ConfiguredTableArn field's value. +func (s *ConfiguredTableAnalysisRule) SetConfiguredTableArn(v string) *ConfiguredTableAnalysisRule { + s.ConfiguredTableArn = &v + return s +} + +// SetConfiguredTableId sets the ConfiguredTableId field's value. +func (s *ConfiguredTableAnalysisRule) SetConfiguredTableId(v string) *ConfiguredTableAnalysisRule { + s.ConfiguredTableId = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *ConfiguredTableAnalysisRule) SetCreateTime(v time.Time) *ConfiguredTableAnalysisRule { + s.CreateTime = &v + return s +} + +// SetPolicy sets the Policy field's value. +func (s *ConfiguredTableAnalysisRule) SetPolicy(v *ConfiguredTableAnalysisRulePolicy) *ConfiguredTableAnalysisRule { + s.Policy = v + return s +} + +// SetType sets the Type field's value. +func (s *ConfiguredTableAnalysisRule) SetType(v string) *ConfiguredTableAnalysisRule { + s.Type = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *ConfiguredTableAnalysisRule) SetUpdateTime(v time.Time) *ConfiguredTableAnalysisRule { + s.UpdateTime = &v + return s +} + +// Controls on the query specifications that can be run on a configured table. +type ConfiguredTableAnalysisRulePolicy struct { + _ struct{} `type:"structure"` + + // Controls on the query specifications that can be run on a configured table. + V1 *ConfiguredTableAnalysisRulePolicyV1 `locationName:"v1" 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 ConfiguredTableAnalysisRulePolicy) 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 ConfiguredTableAnalysisRulePolicy) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfiguredTableAnalysisRulePolicy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfiguredTableAnalysisRulePolicy"} + if s.V1 != nil { + if err := s.V1.Validate(); err != nil { + invalidParams.AddNested("V1", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetV1 sets the V1 field's value. +func (s *ConfiguredTableAnalysisRulePolicy) SetV1(v *ConfiguredTableAnalysisRulePolicyV1) *ConfiguredTableAnalysisRulePolicy { + s.V1 = v + return s +} + +// Controls on the query specifications that can be run on a configured table. +type ConfiguredTableAnalysisRulePolicyV1 struct { + _ struct{} `type:"structure"` + + // Analysis rule type that enables only aggregation queries on a configured + // table. + Aggregation *AnalysisRuleAggregation `locationName:"aggregation" type:"structure"` + + // Analysis rule type that enables only list queries on a configured table. + List *AnalysisRuleList `locationName:"list" 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 ConfiguredTableAnalysisRulePolicyV1) 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 ConfiguredTableAnalysisRulePolicyV1) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfiguredTableAnalysisRulePolicyV1) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfiguredTableAnalysisRulePolicyV1"} + if s.Aggregation != nil { + if err := s.Aggregation.Validate(); err != nil { + invalidParams.AddNested("Aggregation", err.(request.ErrInvalidParams)) + } + } + if s.List != nil { + if err := s.List.Validate(); err != nil { + invalidParams.AddNested("List", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAggregation sets the Aggregation field's value. +func (s *ConfiguredTableAnalysisRulePolicyV1) SetAggregation(v *AnalysisRuleAggregation) *ConfiguredTableAnalysisRulePolicyV1 { + s.Aggregation = v + return s +} + +// SetList sets the List field's value. +func (s *ConfiguredTableAnalysisRulePolicyV1) SetList(v *AnalysisRuleList) *ConfiguredTableAnalysisRulePolicyV1 { + s.List = v + return s +} + +// A configured table association links a configured table to a collaboration. +type ConfiguredTableAssociation struct { + _ struct{} `type:"structure"` + + // The unique ARN for the configured table association. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The unique ARN for the configured table that the association refers to. + // + // ConfiguredTableArn is a required field + ConfiguredTableArn *string `locationName:"configuredTableArn" type:"string" required:"true"` + + // The unique ID for the configured table that the association refers to. + // + // ConfiguredTableId is a required field + ConfiguredTableId *string `locationName:"configuredTableId" min:"36" type:"string" required:"true"` + + // The time the configured table association was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // A description of the configured table association. + Description *string `locationName:"description" type:"string"` + + // The unique ID for the configured table association. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The unique ARN for the membership this configured table association belongs + // to. + // + // MembershipArn is a required field + MembershipArn *string `locationName:"membershipArn" type:"string" required:"true"` + + // The unique ID for the membership this configured table association belongs + // to. + // + // MembershipId is a required field + MembershipId *string `locationName:"membershipId" min:"36" type:"string" required:"true"` + + // The name of the configured table association, in lowercase. The table is + // identified by this name when running protected queries against the underlying + // data. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The service will assume this role to access catalog metadata and query the + // table. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` + + // The time the configured table association was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 ConfiguredTableAssociation) 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 ConfiguredTableAssociation) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ConfiguredTableAssociation) SetArn(v string) *ConfiguredTableAssociation { + s.Arn = &v + return s +} + +// SetConfiguredTableArn sets the ConfiguredTableArn field's value. +func (s *ConfiguredTableAssociation) SetConfiguredTableArn(v string) *ConfiguredTableAssociation { + s.ConfiguredTableArn = &v + return s +} + +// SetConfiguredTableId sets the ConfiguredTableId field's value. +func (s *ConfiguredTableAssociation) SetConfiguredTableId(v string) *ConfiguredTableAssociation { + s.ConfiguredTableId = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *ConfiguredTableAssociation) SetCreateTime(v time.Time) *ConfiguredTableAssociation { + s.CreateTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ConfiguredTableAssociation) SetDescription(v string) *ConfiguredTableAssociation { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ConfiguredTableAssociation) SetId(v string) *ConfiguredTableAssociation { + s.Id = &v + return s +} + +// SetMembershipArn sets the MembershipArn field's value. +func (s *ConfiguredTableAssociation) SetMembershipArn(v string) *ConfiguredTableAssociation { + s.MembershipArn = &v + return s +} + +// SetMembershipId sets the MembershipId field's value. +func (s *ConfiguredTableAssociation) SetMembershipId(v string) *ConfiguredTableAssociation { + s.MembershipId = &v + return s +} + +// SetName sets the Name field's value. +func (s *ConfiguredTableAssociation) SetName(v string) *ConfiguredTableAssociation { + s.Name = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *ConfiguredTableAssociation) SetRoleArn(v string) *ConfiguredTableAssociation { + s.RoleArn = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *ConfiguredTableAssociation) SetUpdateTime(v time.Time) *ConfiguredTableAssociation { + s.UpdateTime = &v + return s +} + +// The configured table association summary for the objects listed by the request. +type ConfiguredTableAssociationSummary struct { + _ struct{} `type:"structure"` + + // The unique ARN for the configured table association. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The unique configured table ID that this configured table association refers + // to. + // + // ConfiguredTableId is a required field + ConfiguredTableId *string `locationName:"configuredTableId" min:"36" type:"string" required:"true"` + + // The time the configured table association was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The unique ID for the configured table association. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The unique ARN for the membership that the configured table association belongs + // to. + // + // MembershipArn is a required field + MembershipArn *string `locationName:"membershipArn" type:"string" required:"true"` + + // The unique ID for the membership that the configured table association belongs + // to. + // + // MembershipId is a required field + MembershipId *string `locationName:"membershipId" min:"36" type:"string" required:"true"` + + // The name of the configured table association. The table is identified by + // this name when running Protected Queries against the underlying data. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The time the configured table association was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 ConfiguredTableAssociationSummary) 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 ConfiguredTableAssociationSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ConfiguredTableAssociationSummary) SetArn(v string) *ConfiguredTableAssociationSummary { + s.Arn = &v + return s +} + +// SetConfiguredTableId sets the ConfiguredTableId field's value. +func (s *ConfiguredTableAssociationSummary) SetConfiguredTableId(v string) *ConfiguredTableAssociationSummary { + s.ConfiguredTableId = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *ConfiguredTableAssociationSummary) SetCreateTime(v time.Time) *ConfiguredTableAssociationSummary { + s.CreateTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *ConfiguredTableAssociationSummary) SetId(v string) *ConfiguredTableAssociationSummary { + s.Id = &v + return s +} + +// SetMembershipArn sets the MembershipArn field's value. +func (s *ConfiguredTableAssociationSummary) SetMembershipArn(v string) *ConfiguredTableAssociationSummary { + s.MembershipArn = &v + return s +} + +// SetMembershipId sets the MembershipId field's value. +func (s *ConfiguredTableAssociationSummary) SetMembershipId(v string) *ConfiguredTableAssociationSummary { + s.MembershipId = &v + return s +} + +// SetName sets the Name field's value. +func (s *ConfiguredTableAssociationSummary) SetName(v string) *ConfiguredTableAssociationSummary { + s.Name = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *ConfiguredTableAssociationSummary) SetUpdateTime(v time.Time) *ConfiguredTableAssociationSummary { + s.UpdateTime = &v + return s +} + +// The configured table summary for the objects listed by the request. +type ConfiguredTableSummary struct { + _ struct{} `type:"structure"` + + // The analysis method for the configured tables. The only valid value is currently + // `DIRECT_QUERY`. + // + // AnalysisMethod is a required field + AnalysisMethod *string `locationName:"analysisMethod" type:"string" required:"true" enum:"AnalysisMethod"` + + // The types of analysis rules associated with this configured table. + // + // AnalysisRuleTypes is a required field + AnalysisRuleTypes []*string `locationName:"analysisRuleTypes" type:"list" required:"true" enum:"ConfiguredTableAnalysisRuleType"` + + // The unique ARN of the configured table. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The time the configured table was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The unique ID of the configured table. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The name of the configured table. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The time the configured table was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 ConfiguredTableSummary) 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 ConfiguredTableSummary) GoString() string { + return s.String() +} + +// SetAnalysisMethod sets the AnalysisMethod field's value. +func (s *ConfiguredTableSummary) SetAnalysisMethod(v string) *ConfiguredTableSummary { + s.AnalysisMethod = &v + return s +} + +// SetAnalysisRuleTypes sets the AnalysisRuleTypes field's value. +func (s *ConfiguredTableSummary) SetAnalysisRuleTypes(v []*string) *ConfiguredTableSummary { + s.AnalysisRuleTypes = v + return s +} + +// SetArn sets the Arn field's value. +func (s *ConfiguredTableSummary) SetArn(v string) *ConfiguredTableSummary { + s.Arn = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *ConfiguredTableSummary) SetCreateTime(v time.Time) *ConfiguredTableSummary { + s.CreateTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *ConfiguredTableSummary) SetId(v string) *ConfiguredTableSummary { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ConfiguredTableSummary) SetName(v string) *ConfiguredTableSummary { + s.Name = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *ConfiguredTableSummary) SetUpdateTime(v time.Time) *ConfiguredTableSummary { + s.UpdateTime = &v + return s +} + +// Updating or deleting a resource can cause an inconsistent state. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // A reason code for the exception. + Reason *string `locationName:"reason" type:"string" enum:"ConflictExceptionReason"` + + // The ID of the conflicting resource. + ResourceId *string `locationName:"resourceId" type:"string"` + + // The type of the conflicting resource. + ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` +} + +// 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\n%s", s.Code(), s.Message(), s.String()) +} + +// 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 CreateCollaborationInput struct { + _ struct{} `type:"structure"` + + // The display name of the collaboration creator. + // + // CreatorDisplayName is a required field + CreatorDisplayName *string `locationName:"creatorDisplayName" min:"1" type:"string" required:"true"` + + // The abilities granted to the collaboration creator. + // + // CreatorMemberAbilities is a required field + CreatorMemberAbilities []*string `locationName:"creatorMemberAbilities" type:"list" required:"true" enum:"MemberAbility"` + + // The settings for client-side encryption with Cryptographic Computing for + // Clean Rooms. + DataEncryptionMetadata *DataEncryptionMetadata `locationName:"dataEncryptionMetadata" type:"structure"` + + // A description of the collaboration provided by the collaboration owner. + // + // Description is a required field + Description *string `locationName:"description" min:"1" type:"string" required:"true"` + + // A list of initial members, not including the creator. This list is immutable. + // + // Members is a required field + Members []*MemberSpecification `locationName:"members" type:"list" required:"true"` + + // The display name for a collaboration. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // An indicator as to whether query logging has been enabled or disabled for + // the collaboration. + // + // QueryLogStatus is a required field + QueryLogStatus *string `locationName:"queryLogStatus" type:"string" required:"true" enum:"CollaborationQueryLogStatus"` +} + +// 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 CreateCollaborationInput) 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 CreateCollaborationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateCollaborationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateCollaborationInput"} + if s.CreatorDisplayName == nil { + invalidParams.Add(request.NewErrParamRequired("CreatorDisplayName")) + } + if s.CreatorDisplayName != nil && len(*s.CreatorDisplayName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CreatorDisplayName", 1)) + } + if s.CreatorMemberAbilities == nil { + invalidParams.Add(request.NewErrParamRequired("CreatorMemberAbilities")) + } + if s.Description == nil { + invalidParams.Add(request.NewErrParamRequired("Description")) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Members == nil { + invalidParams.Add(request.NewErrParamRequired("Members")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.QueryLogStatus == nil { + invalidParams.Add(request.NewErrParamRequired("QueryLogStatus")) + } + if s.DataEncryptionMetadata != nil { + if err := s.DataEncryptionMetadata.Validate(); err != nil { + invalidParams.AddNested("DataEncryptionMetadata", err.(request.ErrInvalidParams)) + } + } + if s.Members != nil { + for i, v := range s.Members { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Members", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreatorDisplayName sets the CreatorDisplayName field's value. +func (s *CreateCollaborationInput) SetCreatorDisplayName(v string) *CreateCollaborationInput { + s.CreatorDisplayName = &v + return s +} + +// SetCreatorMemberAbilities sets the CreatorMemberAbilities field's value. +func (s *CreateCollaborationInput) SetCreatorMemberAbilities(v []*string) *CreateCollaborationInput { + s.CreatorMemberAbilities = v + return s +} + +// SetDataEncryptionMetadata sets the DataEncryptionMetadata field's value. +func (s *CreateCollaborationInput) SetDataEncryptionMetadata(v *DataEncryptionMetadata) *CreateCollaborationInput { + s.DataEncryptionMetadata = v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateCollaborationInput) SetDescription(v string) *CreateCollaborationInput { + s.Description = &v + return s +} + +// SetMembers sets the Members field's value. +func (s *CreateCollaborationInput) SetMembers(v []*MemberSpecification) *CreateCollaborationInput { + s.Members = v + return s +} + +// SetName sets the Name field's value. +func (s *CreateCollaborationInput) SetName(v string) *CreateCollaborationInput { + s.Name = &v + return s +} + +// SetQueryLogStatus sets the QueryLogStatus field's value. +func (s *CreateCollaborationInput) SetQueryLogStatus(v string) *CreateCollaborationInput { + s.QueryLogStatus = &v + return s +} + +type CreateCollaborationOutput struct { + _ struct{} `type:"structure"` + + // The entire created collaboration object. + // + // Collaboration is a required field + Collaboration *Collaboration `locationName:"collaboration" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCollaborationOutput) 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 CreateCollaborationOutput) GoString() string { + return s.String() +} + +// SetCollaboration sets the Collaboration field's value. +func (s *CreateCollaborationOutput) SetCollaboration(v *Collaboration) *CreateCollaborationOutput { + s.Collaboration = v + return s +} + +type CreateConfiguredTableAnalysisRuleInput struct { + _ struct{} `type:"structure"` + + // The entire created configured table analysis rule object. + // + // AnalysisRulePolicy is a required field + AnalysisRulePolicy *ConfiguredTableAnalysisRulePolicy `locationName:"analysisRulePolicy" type:"structure" required:"true"` + + // The type of analysis rule. Valid values are AGGREGATION and LIST. + // + // AnalysisRuleType is a required field + AnalysisRuleType *string `locationName:"analysisRuleType" type:"string" required:"true" enum:"ConfiguredTableAnalysisRuleType"` + + // The identifier for the configured table to create the analysis rule for. + // Currently accepts the configured table ID. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `location:"uri" locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConfiguredTableAnalysisRuleInput) 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 CreateConfiguredTableAnalysisRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateConfiguredTableAnalysisRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateConfiguredTableAnalysisRuleInput"} + if s.AnalysisRulePolicy == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisRulePolicy")) + } + if s.AnalysisRuleType == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisRuleType")) + } + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + if s.AnalysisRulePolicy != nil { + if err := s.AnalysisRulePolicy.Validate(); err != nil { + invalidParams.AddNested("AnalysisRulePolicy", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisRulePolicy sets the AnalysisRulePolicy field's value. +func (s *CreateConfiguredTableAnalysisRuleInput) SetAnalysisRulePolicy(v *ConfiguredTableAnalysisRulePolicy) *CreateConfiguredTableAnalysisRuleInput { + s.AnalysisRulePolicy = v + return s +} + +// SetAnalysisRuleType sets the AnalysisRuleType field's value. +func (s *CreateConfiguredTableAnalysisRuleInput) SetAnalysisRuleType(v string) *CreateConfiguredTableAnalysisRuleInput { + s.AnalysisRuleType = &v + return s +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *CreateConfiguredTableAnalysisRuleInput) SetConfiguredTableIdentifier(v string) *CreateConfiguredTableAnalysisRuleInput { + s.ConfiguredTableIdentifier = &v + return s +} + +type CreateConfiguredTableAnalysisRuleOutput struct { + _ struct{} `type:"structure"` + + // The entire created analysis rule. + // + // AnalysisRule is a required field + AnalysisRule *ConfiguredTableAnalysisRule `locationName:"analysisRule" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConfiguredTableAnalysisRuleOutput) 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 CreateConfiguredTableAnalysisRuleOutput) GoString() string { + return s.String() +} + +// SetAnalysisRule sets the AnalysisRule field's value. +func (s *CreateConfiguredTableAnalysisRuleOutput) SetAnalysisRule(v *ConfiguredTableAnalysisRule) *CreateConfiguredTableAnalysisRuleOutput { + s.AnalysisRule = v + return s +} + +type CreateConfiguredTableAssociationInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the configured table to be associated to. Currently + // accepts a configured table ID. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` + + // A description for the configured table association. + Description *string `locationName:"description" type:"string"` + + // A unique identifier for one of your memberships for a collaboration. The + // configured table is associated to the collaboration that this membership + // belongs to. Currently accepts a membership ID. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // The name of the configured table association. This name is used to query + // the underlying configured table. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The service will assume this role to access catalog metadata and query the + // table. + // + // RoleArn is a required field + RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConfiguredTableAssociationInput) 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 CreateConfiguredTableAssociationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateConfiguredTableAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateConfiguredTableAssociationInput"} + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 32 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *CreateConfiguredTableAssociationInput) SetConfiguredTableIdentifier(v string) *CreateConfiguredTableAssociationInput { + s.ConfiguredTableIdentifier = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateConfiguredTableAssociationInput) SetDescription(v string) *CreateConfiguredTableAssociationInput { + s.Description = &v + return s +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *CreateConfiguredTableAssociationInput) SetMembershipIdentifier(v string) *CreateConfiguredTableAssociationInput { + s.MembershipIdentifier = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateConfiguredTableAssociationInput) SetName(v string) *CreateConfiguredTableAssociationInput { + s.Name = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateConfiguredTableAssociationInput) SetRoleArn(v string) *CreateConfiguredTableAssociationInput { + s.RoleArn = &v + return s +} + +type CreateConfiguredTableAssociationOutput struct { + _ struct{} `type:"structure"` + + // The entire configured table association object. + // + // ConfiguredTableAssociation is a required field + ConfiguredTableAssociation *ConfiguredTableAssociation `locationName:"configuredTableAssociation" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConfiguredTableAssociationOutput) 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 CreateConfiguredTableAssociationOutput) GoString() string { + return s.String() +} + +// SetConfiguredTableAssociation sets the ConfiguredTableAssociation field's value. +func (s *CreateConfiguredTableAssociationOutput) SetConfiguredTableAssociation(v *ConfiguredTableAssociation) *CreateConfiguredTableAssociationOutput { + s.ConfiguredTableAssociation = v + return s +} + +type CreateConfiguredTableInput struct { + _ struct{} `type:"structure"` + + // The columns of the underlying table that can be used by collaborations or + // analysis rules. + // + // AllowedColumns is a required field + AllowedColumns []*string `locationName:"allowedColumns" min:"1" type:"list" required:"true"` + + // The analysis method for the configured tables. The only valid value is currently + // `DIRECT_QUERY`. + // + // AnalysisMethod is a required field + AnalysisMethod *string `locationName:"analysisMethod" type:"string" required:"true" enum:"AnalysisMethod"` + + // A description for the configured table. + Description *string `locationName:"description" type:"string"` + + // The name of the configured table. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // A reference to the AWS Glue table being configured. + // + // TableReference is a required field + TableReference *TableReference `locationName:"tableReference" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConfiguredTableInput) 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 CreateConfiguredTableInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateConfiguredTableInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateConfiguredTableInput"} + if s.AllowedColumns == nil { + invalidParams.Add(request.NewErrParamRequired("AllowedColumns")) + } + if s.AllowedColumns != nil && len(s.AllowedColumns) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AllowedColumns", 1)) + } + if s.AnalysisMethod == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisMethod")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.TableReference == nil { + invalidParams.Add(request.NewErrParamRequired("TableReference")) + } + if s.TableReference != nil { + if err := s.TableReference.Validate(); err != nil { + invalidParams.AddNested("TableReference", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowedColumns sets the AllowedColumns field's value. +func (s *CreateConfiguredTableInput) SetAllowedColumns(v []*string) *CreateConfiguredTableInput { + s.AllowedColumns = v + return s +} + +// SetAnalysisMethod sets the AnalysisMethod field's value. +func (s *CreateConfiguredTableInput) SetAnalysisMethod(v string) *CreateConfiguredTableInput { + s.AnalysisMethod = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateConfiguredTableInput) SetDescription(v string) *CreateConfiguredTableInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateConfiguredTableInput) SetName(v string) *CreateConfiguredTableInput { + s.Name = &v + return s +} + +// SetTableReference sets the TableReference field's value. +func (s *CreateConfiguredTableInput) SetTableReference(v *TableReference) *CreateConfiguredTableInput { + s.TableReference = v + return s +} + +type CreateConfiguredTableOutput struct { + _ struct{} `type:"structure"` + + // The created configured table. + // + // ConfiguredTable is a required field + ConfiguredTable *ConfiguredTable `locationName:"configuredTable" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConfiguredTableOutput) 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 CreateConfiguredTableOutput) GoString() string { + return s.String() +} + +// SetConfiguredTable sets the ConfiguredTable field's value. +func (s *CreateConfiguredTableOutput) SetConfiguredTable(v *ConfiguredTable) *CreateConfiguredTableOutput { + s.ConfiguredTable = v + return s +} + +type CreateMembershipInput struct { + _ struct{} `type:"structure"` + + // The unique ID for the associated collaboration. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` + + // An indicator as to whether query logging has been enabled or disabled for + // the collaboration. + // + // QueryLogStatus is a required field + QueryLogStatus *string `locationName:"queryLogStatus" type:"string" required:"true" enum:"MembershipQueryLogStatus"` +} + +// 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 CreateMembershipInput) 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 CreateMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateMembershipInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + if s.QueryLogStatus == nil { + invalidParams.Add(request.NewErrParamRequired("QueryLogStatus")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *CreateMembershipInput) SetCollaborationIdentifier(v string) *CreateMembershipInput { + s.CollaborationIdentifier = &v + return s +} + +// SetQueryLogStatus sets the QueryLogStatus field's value. +func (s *CreateMembershipInput) SetQueryLogStatus(v string) *CreateMembershipInput { + s.QueryLogStatus = &v + return s +} + +type CreateMembershipOutput struct { + _ struct{} `type:"structure"` + + // The membership that was created. + // + // Membership is a required field + Membership *Membership `locationName:"membership" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateMembershipOutput) 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 CreateMembershipOutput) GoString() string { + return s.String() +} + +// SetMembership sets the Membership field's value. +func (s *CreateMembershipOutput) SetMembership(v *Membership) *CreateMembershipOutput { + s.Membership = v + return s +} + +// The settings for client-side encryption for cryptographic computing. +type DataEncryptionMetadata struct { + _ struct{} `type:"structure"` + + // Indicates whether encrypted tables can contain cleartext data (true) or are + // to cryptographically process every column (false). + // + // AllowCleartext is a required field + AllowCleartext *bool `locationName:"allowCleartext" type:"boolean" required:"true"` + + // Indicates whether Fingerprint columns can contain duplicate entries (true) + // or are to contain only non-repeated values (false). + // + // AllowDuplicates is a required field + AllowDuplicates *bool `locationName:"allowDuplicates" type:"boolean" required:"true"` + + // Indicates whether Fingerprint columns can be joined on any other Fingerprint + // column with a different name (true) or can only be joined on Fingerprint + // columns of the same name (false). + // + // AllowJoinsOnColumnsWithDifferentNames is a required field + AllowJoinsOnColumnsWithDifferentNames *bool `locationName:"allowJoinsOnColumnsWithDifferentNames" type:"boolean" required:"true"` + + // Indicates whether NULL values are to be copied as NULL to encrypted tables + // (true) or cryptographically processed (false). + // + // PreserveNulls is a required field + PreserveNulls *bool `locationName:"preserveNulls" type:"boolean" 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 DataEncryptionMetadata) 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 DataEncryptionMetadata) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DataEncryptionMetadata) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DataEncryptionMetadata"} + if s.AllowCleartext == nil { + invalidParams.Add(request.NewErrParamRequired("AllowCleartext")) + } + if s.AllowDuplicates == nil { + invalidParams.Add(request.NewErrParamRequired("AllowDuplicates")) + } + if s.AllowJoinsOnColumnsWithDifferentNames == nil { + invalidParams.Add(request.NewErrParamRequired("AllowJoinsOnColumnsWithDifferentNames")) + } + if s.PreserveNulls == nil { + invalidParams.Add(request.NewErrParamRequired("PreserveNulls")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAllowCleartext sets the AllowCleartext field's value. +func (s *DataEncryptionMetadata) SetAllowCleartext(v bool) *DataEncryptionMetadata { + s.AllowCleartext = &v + return s +} + +// SetAllowDuplicates sets the AllowDuplicates field's value. +func (s *DataEncryptionMetadata) SetAllowDuplicates(v bool) *DataEncryptionMetadata { + s.AllowDuplicates = &v + return s +} + +// SetAllowJoinsOnColumnsWithDifferentNames sets the AllowJoinsOnColumnsWithDifferentNames field's value. +func (s *DataEncryptionMetadata) SetAllowJoinsOnColumnsWithDifferentNames(v bool) *DataEncryptionMetadata { + s.AllowJoinsOnColumnsWithDifferentNames = &v + return s +} + +// SetPreserveNulls sets the PreserveNulls field's value. +func (s *DataEncryptionMetadata) SetPreserveNulls(v bool) *DataEncryptionMetadata { + s.PreserveNulls = &v + return s +} + +type DeleteCollaborationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier for the collaboration. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCollaborationInput) 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 DeleteCollaborationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCollaborationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCollaborationInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *DeleteCollaborationInput) SetCollaborationIdentifier(v string) *DeleteCollaborationInput { + s.CollaborationIdentifier = &v + return s +} + +type DeleteCollaborationOutput 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 DeleteCollaborationOutput) 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 DeleteCollaborationOutput) GoString() string { + return s.String() +} + +type DeleteConfiguredTableAnalysisRuleInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The analysis rule type to be deleted. Configured table analysis rules are + // uniquely identified by their configured table identifier and analysis rule + // type. + // + // AnalysisRuleType is a required field + AnalysisRuleType *string `location:"uri" locationName:"analysisRuleType" type:"string" required:"true" enum:"ConfiguredTableAnalysisRuleType"` + + // The unique identifier for the configured table that the analysis rule applies + // to. Currently accepts the configured table ID. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `location:"uri" locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteConfiguredTableAnalysisRuleInput) 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 DeleteConfiguredTableAnalysisRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteConfiguredTableAnalysisRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteConfiguredTableAnalysisRuleInput"} + if s.AnalysisRuleType == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisRuleType")) + } + if s.AnalysisRuleType != nil && len(*s.AnalysisRuleType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisRuleType", 1)) + } + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisRuleType sets the AnalysisRuleType field's value. +func (s *DeleteConfiguredTableAnalysisRuleInput) SetAnalysisRuleType(v string) *DeleteConfiguredTableAnalysisRuleInput { + s.AnalysisRuleType = &v + return s +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *DeleteConfiguredTableAnalysisRuleInput) SetConfiguredTableIdentifier(v string) *DeleteConfiguredTableAnalysisRuleInput { + s.ConfiguredTableIdentifier = &v + return s +} + +// An empty response that indicates a successful delete. +type DeleteConfiguredTableAnalysisRuleOutput 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 DeleteConfiguredTableAnalysisRuleOutput) 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 DeleteConfiguredTableAnalysisRuleOutput) GoString() string { + return s.String() +} + +type DeleteConfiguredTableAssociationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique ID for the configured table association to be deleted. Currently + // accepts the configured table ID. + // + // ConfiguredTableAssociationIdentifier is a required field + ConfiguredTableAssociationIdentifier *string `location:"uri" locationName:"configuredTableAssociationIdentifier" min:"36" type:"string" required:"true"` + + // A unique identifier for the membership that the configured table association + // belongs to. Currently accepts the membership ID. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteConfiguredTableAssociationInput) 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 DeleteConfiguredTableAssociationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteConfiguredTableAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteConfiguredTableAssociationInput"} + if s.ConfiguredTableAssociationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableAssociationIdentifier")) + } + if s.ConfiguredTableAssociationIdentifier != nil && len(*s.ConfiguredTableAssociationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableAssociationIdentifier", 36)) + } + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguredTableAssociationIdentifier sets the ConfiguredTableAssociationIdentifier field's value. +func (s *DeleteConfiguredTableAssociationInput) SetConfiguredTableAssociationIdentifier(v string) *DeleteConfiguredTableAssociationInput { + s.ConfiguredTableAssociationIdentifier = &v + return s +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *DeleteConfiguredTableAssociationInput) SetMembershipIdentifier(v string) *DeleteConfiguredTableAssociationInput { + s.MembershipIdentifier = &v + return s +} + +type DeleteConfiguredTableAssociationOutput 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 DeleteConfiguredTableAssociationOutput) 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 DeleteConfiguredTableAssociationOutput) GoString() string { + return s.String() +} + +type DeleteConfiguredTableInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique ID for the configured table to delete. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `location:"uri" locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteConfiguredTableInput) 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 DeleteConfiguredTableInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteConfiguredTableInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteConfiguredTableInput"} + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *DeleteConfiguredTableInput) SetConfiguredTableIdentifier(v string) *DeleteConfiguredTableInput { + s.ConfiguredTableIdentifier = &v + return s +} + +// The empty output for a successful deletion. +type DeleteConfiguredTableOutput 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 DeleteConfiguredTableOutput) 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 DeleteConfiguredTableOutput) GoString() string { + return s.String() +} + +type DeleteMemberInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The account ID of the member to remove. + // + // AccountId is a required field + AccountId *string `location:"uri" locationName:"accountId" min:"12" type:"string" required:"true"` + + // The unique identifier for the associated collaboration. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteMemberInput) 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 DeleteMemberInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteMemberInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMemberInput"} + if s.AccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AccountId")) + } + if s.AccountId != nil && len(*s.AccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 12)) + } + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountId sets the AccountId field's value. +func (s *DeleteMemberInput) SetAccountId(v string) *DeleteMemberInput { + s.AccountId = &v + return s +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *DeleteMemberInput) SetCollaborationIdentifier(v string) *DeleteMemberInput { + s.CollaborationIdentifier = &v + return s +} + +type DeleteMemberOutput 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 DeleteMemberOutput) 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 DeleteMemberOutput) GoString() string { + return s.String() +} + +type DeleteMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier for a membership resource. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteMembershipInput) 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 DeleteMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMembershipInput"} + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *DeleteMembershipInput) SetMembershipIdentifier(v string) *DeleteMembershipInput { + s.MembershipIdentifier = &v + return s +} + +type DeleteMembershipOutput 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 DeleteMembershipOutput) 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 DeleteMembershipOutput) GoString() string { + return s.String() +} + +type GetCollaborationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier for the collaboration. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetCollaborationInput) 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 GetCollaborationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCollaborationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCollaborationInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *GetCollaborationInput) SetCollaborationIdentifier(v string) *GetCollaborationInput { + s.CollaborationIdentifier = &v + return s +} + +type GetCollaborationOutput struct { + _ struct{} `type:"structure"` + + // The entire collaboration for this identifier. + // + // Collaboration is a required field + Collaboration *Collaboration `locationName:"collaboration" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetCollaborationOutput) 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 GetCollaborationOutput) GoString() string { + return s.String() +} + +// SetCollaboration sets the Collaboration field's value. +func (s *GetCollaborationOutput) SetCollaboration(v *Collaboration) *GetCollaborationOutput { + s.Collaboration = v + return s +} + +type GetConfiguredTableAnalysisRuleInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The analysis rule to be retrieved. Configured table analysis rules are uniquely + // identified by their configured table identifier and analysis rule type. + // + // AnalysisRuleType is a required field + AnalysisRuleType *string `location:"uri" locationName:"analysisRuleType" type:"string" required:"true" enum:"ConfiguredTableAnalysisRuleType"` + + // The unique identifier for the configured table to retrieve. Currently accepts + // the configured table ID. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `location:"uri" locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConfiguredTableAnalysisRuleInput) 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 GetConfiguredTableAnalysisRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetConfiguredTableAnalysisRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetConfiguredTableAnalysisRuleInput"} + if s.AnalysisRuleType == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisRuleType")) + } + if s.AnalysisRuleType != nil && len(*s.AnalysisRuleType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisRuleType", 1)) + } + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisRuleType sets the AnalysisRuleType field's value. +func (s *GetConfiguredTableAnalysisRuleInput) SetAnalysisRuleType(v string) *GetConfiguredTableAnalysisRuleInput { + s.AnalysisRuleType = &v + return s +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *GetConfiguredTableAnalysisRuleInput) SetConfiguredTableIdentifier(v string) *GetConfiguredTableAnalysisRuleInput { + s.ConfiguredTableIdentifier = &v + return s +} + +type GetConfiguredTableAnalysisRuleOutput struct { + _ struct{} `type:"structure"` + + // The entire analysis rule output. + // + // AnalysisRule is a required field + AnalysisRule *ConfiguredTableAnalysisRule `locationName:"analysisRule" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConfiguredTableAnalysisRuleOutput) 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 GetConfiguredTableAnalysisRuleOutput) GoString() string { + return s.String() +} + +// SetAnalysisRule sets the AnalysisRule field's value. +func (s *GetConfiguredTableAnalysisRuleOutput) SetAnalysisRule(v *ConfiguredTableAnalysisRule) *GetConfiguredTableAnalysisRuleOutput { + s.AnalysisRule = v + return s +} + +type GetConfiguredTableAssociationInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique ID for the configured table association to retrieve. Currently + // accepts the configured table ID. + // + // ConfiguredTableAssociationIdentifier is a required field + ConfiguredTableAssociationIdentifier *string `location:"uri" locationName:"configuredTableAssociationIdentifier" min:"36" type:"string" required:"true"` + + // A unique identifier for the membership that the configured table association + // belongs to. Currently accepts the membership ID. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConfiguredTableAssociationInput) 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 GetConfiguredTableAssociationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetConfiguredTableAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetConfiguredTableAssociationInput"} + if s.ConfiguredTableAssociationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableAssociationIdentifier")) + } + if s.ConfiguredTableAssociationIdentifier != nil && len(*s.ConfiguredTableAssociationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableAssociationIdentifier", 36)) + } + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguredTableAssociationIdentifier sets the ConfiguredTableAssociationIdentifier field's value. +func (s *GetConfiguredTableAssociationInput) SetConfiguredTableAssociationIdentifier(v string) *GetConfiguredTableAssociationInput { + s.ConfiguredTableAssociationIdentifier = &v + return s +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *GetConfiguredTableAssociationInput) SetMembershipIdentifier(v string) *GetConfiguredTableAssociationInput { + s.MembershipIdentifier = &v + return s +} + +type GetConfiguredTableAssociationOutput struct { + _ struct{} `type:"structure"` + + // The entire configured table association object. + // + // ConfiguredTableAssociation is a required field + ConfiguredTableAssociation *ConfiguredTableAssociation `locationName:"configuredTableAssociation" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConfiguredTableAssociationOutput) 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 GetConfiguredTableAssociationOutput) GoString() string { + return s.String() +} + +// SetConfiguredTableAssociation sets the ConfiguredTableAssociation field's value. +func (s *GetConfiguredTableAssociationOutput) SetConfiguredTableAssociation(v *ConfiguredTableAssociation) *GetConfiguredTableAssociationOutput { + s.ConfiguredTableAssociation = v + return s +} + +type GetConfiguredTableInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique ID for the configured table to retrieve. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `location:"uri" locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConfiguredTableInput) 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 GetConfiguredTableInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetConfiguredTableInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetConfiguredTableInput"} + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *GetConfiguredTableInput) SetConfiguredTableIdentifier(v string) *GetConfiguredTableInput { + s.ConfiguredTableIdentifier = &v + return s +} + +type GetConfiguredTableOutput struct { + _ struct{} `type:"structure"` + + // The retrieved configured table. + // + // ConfiguredTable is a required field + ConfiguredTable *ConfiguredTable `locationName:"configuredTable" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConfiguredTableOutput) 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 GetConfiguredTableOutput) GoString() string { + return s.String() +} + +// SetConfiguredTable sets the ConfiguredTable field's value. +func (s *GetConfiguredTableOutput) SetConfiguredTable(v *ConfiguredTable) *GetConfiguredTableOutput { + s.ConfiguredTable = v + return s +} + +type GetMembershipInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier for a membership resource. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetMembershipInput) 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 GetMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMembershipInput"} + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *GetMembershipInput) SetMembershipIdentifier(v string) *GetMembershipInput { + s.MembershipIdentifier = &v + return s +} + +type GetMembershipOutput struct { + _ struct{} `type:"structure"` + + // The membership retrieved for the provided identifier. + // + // Membership is a required field + Membership *Membership `locationName:"membership" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetMembershipOutput) 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 GetMembershipOutput) GoString() string { + return s.String() +} + +// SetMembership sets the Membership field's value. +func (s *GetMembershipOutput) SetMembership(v *Membership) *GetMembershipOutput { + s.Membership = v + return s +} + +type GetProtectedQueryInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier for a membership in a protected query instance. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // The identifier for a protected query instance. + // + // ProtectedQueryIdentifier is a required field + ProtectedQueryIdentifier *string `location:"uri" locationName:"protectedQueryIdentifier" 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 GetProtectedQueryInput) 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 GetProtectedQueryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetProtectedQueryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetProtectedQueryInput"} + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + if s.ProtectedQueryIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ProtectedQueryIdentifier")) + } + if s.ProtectedQueryIdentifier != nil && len(*s.ProtectedQueryIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProtectedQueryIdentifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *GetProtectedQueryInput) SetMembershipIdentifier(v string) *GetProtectedQueryInput { + s.MembershipIdentifier = &v + return s +} + +// SetProtectedQueryIdentifier sets the ProtectedQueryIdentifier field's value. +func (s *GetProtectedQueryInput) SetProtectedQueryIdentifier(v string) *GetProtectedQueryInput { + s.ProtectedQueryIdentifier = &v + return s +} + +type GetProtectedQueryOutput struct { + _ struct{} `type:"structure"` + + // The query processing metadata. + // + // ProtectedQuery is a required field + ProtectedQuery *ProtectedQuery `locationName:"protectedQuery" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetProtectedQueryOutput) 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 GetProtectedQueryOutput) GoString() string { + return s.String() +} + +// SetProtectedQuery sets the ProtectedQuery field's value. +func (s *GetProtectedQueryOutput) SetProtectedQuery(v *ProtectedQuery) *GetProtectedQueryOutput { + s.ProtectedQuery = v + return s +} + +type GetSchemaAnalysisRuleInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the collaboration that the schema belongs to. Currently + // accepts a collaboration ID. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` + + // The name of the schema to retrieve the analysis rule for. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The type of the schema analysis rule to retrieve. Schema analysis rules are + // uniquely identified by a combination of the collaboration, the schema name, + // and their type. + // + // Type is a required field + Type *string `location:"uri" locationName:"type" type:"string" required:"true" enum:"AnalysisRuleType"` +} + +// 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 GetSchemaAnalysisRuleInput) 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 GetSchemaAnalysisRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSchemaAnalysisRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSchemaAnalysisRuleInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.Type != nil && len(*s.Type) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Type", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *GetSchemaAnalysisRuleInput) SetCollaborationIdentifier(v string) *GetSchemaAnalysisRuleInput { + s.CollaborationIdentifier = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetSchemaAnalysisRuleInput) SetName(v string) *GetSchemaAnalysisRuleInput { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *GetSchemaAnalysisRuleInput) SetType(v string) *GetSchemaAnalysisRuleInput { + s.Type = &v + return s +} + +type GetSchemaAnalysisRuleOutput struct { + _ struct{} `type:"structure"` + + // A specification about how data from the configured table can be used. + // + // AnalysisRule is a required field + AnalysisRule *AnalysisRule `locationName:"analysisRule" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetSchemaAnalysisRuleOutput) 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 GetSchemaAnalysisRuleOutput) GoString() string { + return s.String() +} + +// SetAnalysisRule sets the AnalysisRule field's value. +func (s *GetSchemaAnalysisRuleOutput) SetAnalysisRule(v *AnalysisRule) *GetSchemaAnalysisRuleOutput { + s.AnalysisRule = v + return s +} + +type GetSchemaInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the collaboration that the schema belongs to. Currently + // accepts a collaboration ID. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` + + // The name of the relation to retrieve the schema for. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" 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 GetSchemaInput) 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 GetSchemaInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetSchemaInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetSchemaInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *GetSchemaInput) SetCollaborationIdentifier(v string) *GetSchemaInput { + s.CollaborationIdentifier = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetSchemaInput) SetName(v string) *GetSchemaInput { + s.Name = &v + return s +} + +type GetSchemaOutput struct { + _ struct{} `type:"structure"` + + // The entire schema object. + // + // Schema is a required field + Schema *Schema `locationName:"schema" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetSchemaOutput) 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 GetSchemaOutput) GoString() string { + return s.String() +} + +// SetSchema sets the Schema field's value. +func (s *GetSchemaOutput) SetSchema(v *Schema) *GetSchemaOutput { + s.Schema = v + return s +} + +// A reference to a table within an AWS Glue data catalog. +type GlueTableReference struct { + _ struct{} `type:"structure"` + + // The name of the database the AWS Glue table belongs to. + // + // DatabaseName is a required field + DatabaseName *string `locationName:"databaseName" type:"string" required:"true"` + + // The name of the AWS Glue table. + // + // TableName is a required field + TableName *string `locationName:"tableName" 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 GlueTableReference) 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 GlueTableReference) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GlueTableReference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GlueTableReference"} + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) + } + if s.TableName == nil { + invalidParams.Add(request.NewErrParamRequired("TableName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *GlueTableReference) SetDatabaseName(v string) *GlueTableReference { + s.DatabaseName = &v + return s +} + +// SetTableName sets the TableName field's value. +func (s *GlueTableReference) SetTableName(v string) *GlueTableReference { + s.TableName = &v + return s +} + +// Unexpected error during processing of request. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +type ListCollaborationsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum size of the results that is returned per call. Service chooses + // a default if it has not been set. Service may return a nextToken even if + // the maximum results has not been met. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The caller's status in a collaboration. + MemberStatus *string `location:"querystring" locationName:"memberStatus" type:"string" enum:"FilterableMemberStatus"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `location:"querystring" 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 ListCollaborationsInput) 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 ListCollaborationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListCollaborationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCollaborationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListCollaborationsInput) SetMaxResults(v int64) *ListCollaborationsInput { + s.MaxResults = &v + return s +} + +// SetMemberStatus sets the MemberStatus field's value. +func (s *ListCollaborationsInput) SetMemberStatus(v string) *ListCollaborationsInput { + s.MemberStatus = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCollaborationsInput) SetNextToken(v string) *ListCollaborationsInput { + s.NextToken = &v + return s +} + +type ListCollaborationsOutput struct { + _ struct{} `type:"structure"` + + // The list of collaborations. + // + // CollaborationList is a required field + CollaborationList []*CollaborationSummary `locationName:"collaborationList" type:"list" required:"true"` + + // The token value retrieved from a previous call to access the next page of + // results. + 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 ListCollaborationsOutput) 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 ListCollaborationsOutput) GoString() string { + return s.String() +} + +// SetCollaborationList sets the CollaborationList field's value. +func (s *ListCollaborationsOutput) SetCollaborationList(v []*CollaborationSummary) *ListCollaborationsOutput { + s.CollaborationList = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCollaborationsOutput) SetNextToken(v string) *ListCollaborationsOutput { + s.NextToken = &v + return s +} + +type ListConfiguredTableAssociationsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum size of the results that is returned per call. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // A unique identifier for the membership to list configured table associations + // for. Currently accepts the membership ID. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `location:"querystring" 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 ListConfiguredTableAssociationsInput) 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 ListConfiguredTableAssociationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListConfiguredTableAssociationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListConfiguredTableAssociationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListConfiguredTableAssociationsInput) SetMaxResults(v int64) *ListConfiguredTableAssociationsInput { + s.MaxResults = &v + return s +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *ListConfiguredTableAssociationsInput) SetMembershipIdentifier(v string) *ListConfiguredTableAssociationsInput { + s.MembershipIdentifier = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfiguredTableAssociationsInput) SetNextToken(v string) *ListConfiguredTableAssociationsInput { + s.NextToken = &v + return s +} + +type ListConfiguredTableAssociationsOutput struct { + _ struct{} `type:"structure"` + + // The retrieved list of configured table associations. + // + // ConfiguredTableAssociationSummaries is a required field + ConfiguredTableAssociationSummaries []*ConfiguredTableAssociationSummary `locationName:"configuredTableAssociationSummaries" type:"list" required:"true"` + + // The token value retrieved from a previous call to access the next page of + // results. + 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 ListConfiguredTableAssociationsOutput) 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 ListConfiguredTableAssociationsOutput) GoString() string { + return s.String() +} + +// SetConfiguredTableAssociationSummaries sets the ConfiguredTableAssociationSummaries field's value. +func (s *ListConfiguredTableAssociationsOutput) SetConfiguredTableAssociationSummaries(v []*ConfiguredTableAssociationSummary) *ListConfiguredTableAssociationsOutput { + s.ConfiguredTableAssociationSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfiguredTableAssociationsOutput) SetNextToken(v string) *ListConfiguredTableAssociationsOutput { + s.NextToken = &v + return s +} + +type ListConfiguredTablesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum size of the results that is returned per call. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `location:"querystring" 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 ListConfiguredTablesInput) 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 ListConfiguredTablesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListConfiguredTablesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListConfiguredTablesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListConfiguredTablesInput) SetMaxResults(v int64) *ListConfiguredTablesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfiguredTablesInput) SetNextToken(v string) *ListConfiguredTablesInput { + s.NextToken = &v + return s +} + +type ListConfiguredTablesOutput struct { + _ struct{} `type:"structure"` + + // The configured tables listed by the request. + // + // ConfiguredTableSummaries is a required field + ConfiguredTableSummaries []*ConfiguredTableSummary `locationName:"configuredTableSummaries" type:"list" required:"true"` + + // The token value retrieved from a previous call to access the next page of + // results. + 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 ListConfiguredTablesOutput) 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 ListConfiguredTablesOutput) GoString() string { + return s.String() +} + +// SetConfiguredTableSummaries sets the ConfiguredTableSummaries field's value. +func (s *ListConfiguredTablesOutput) SetConfiguredTableSummaries(v []*ConfiguredTableSummary) *ListConfiguredTablesOutput { + s.ConfiguredTableSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListConfiguredTablesOutput) SetNextToken(v string) *ListConfiguredTablesOutput { + s.NextToken = &v + return s +} + +type ListMembersInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the collaboration in which the members are listed. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` + + // The maximum size of the results that is returned per call. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `location:"querystring" 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 ListMembersInput) 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 ListMembersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListMembersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMembersInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *ListMembersInput) SetCollaborationIdentifier(v string) *ListMembersInput { + s.CollaborationIdentifier = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput { + s.NextToken = &v + return s +} + +type ListMembersOutput struct { + _ struct{} `type:"structure"` + + // The list of members returned by the ListMembers operation. + // + // MemberSummaries is a required field + MemberSummaries []*MemberSummary `locationName:"memberSummaries" type:"list" required:"true"` + + // The token value retrieved from a previous call to access the next page of + // results. + 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 ListMembersOutput) 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 ListMembersOutput) GoString() string { + return s.String() +} + +// SetMemberSummaries sets the MemberSummaries field's value. +func (s *ListMembersOutput) SetMemberSummaries(v []*MemberSummary) *ListMembersOutput { + s.MemberSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput { + s.NextToken = &v + return s +} + +type ListMembershipsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum size of the results that is returned per call. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // A filter which will return only memberships in the specified status. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"MembershipStatus"` +} + +// 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 ListMembershipsInput) 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 ListMembershipsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListMembershipsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMembershipsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListMembershipsInput) SetMaxResults(v int64) *ListMembershipsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListMembershipsInput) SetNextToken(v string) *ListMembershipsInput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListMembershipsInput) SetStatus(v string) *ListMembershipsInput { + s.Status = &v + return s +} + +type ListMembershipsOutput struct { + _ struct{} `type:"structure"` + + // The list of memberships returned from the ListMemberships operation. + // + // MembershipSummaries is a required field + MembershipSummaries []*MembershipSummary `locationName:"membershipSummaries" type:"list" required:"true"` + + // The token value retrieved from a previous call to access the next page of + // results. + 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 ListMembershipsOutput) 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 ListMembershipsOutput) GoString() string { + return s.String() +} + +// SetMembershipSummaries sets the MembershipSummaries field's value. +func (s *ListMembershipsOutput) SetMembershipSummaries(v []*MembershipSummary) *ListMembershipsOutput { + s.MembershipSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListMembershipsOutput) SetNextToken(v string) *ListMembershipsOutput { + s.NextToken = &v + return s +} + +type ListProtectedQueriesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum size of the results that is returned per call. Service chooses + // a default if it has not been set. Service can return a nextToken even if + // the maximum results has not been met. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The identifier for the membership in the collaboration. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // A filter on the status of the protected query. + Status *string `location:"querystring" locationName:"status" type:"string" enum:"ProtectedQueryStatus"` +} + +// 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 ListProtectedQueriesInput) 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 ListProtectedQueriesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListProtectedQueriesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListProtectedQueriesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListProtectedQueriesInput) SetMaxResults(v int64) *ListProtectedQueriesInput { + s.MaxResults = &v + return s +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *ListProtectedQueriesInput) SetMembershipIdentifier(v string) *ListProtectedQueriesInput { + s.MembershipIdentifier = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListProtectedQueriesInput) SetNextToken(v string) *ListProtectedQueriesInput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListProtectedQueriesInput) SetStatus(v string) *ListProtectedQueriesInput { + s.Status = &v + return s +} + +type ListProtectedQueriesOutput struct { + _ struct{} `type:"structure"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `locationName:"nextToken" type:"string"` + + // A list of protected queries. + // + // ProtectedQueries is a required field + ProtectedQueries []*ProtectedQuerySummary `locationName:"protectedQueries" 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 ListProtectedQueriesOutput) 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 ListProtectedQueriesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListProtectedQueriesOutput) SetNextToken(v string) *ListProtectedQueriesOutput { + s.NextToken = &v + return s +} + +// SetProtectedQueries sets the ProtectedQueries field's value. +func (s *ListProtectedQueriesOutput) SetProtectedQueries(v []*ProtectedQuerySummary) *ListProtectedQueriesOutput { + s.ProtectedQueries = v + return s +} + +type ListSchemasInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the collaboration that the schema belongs to. Currently + // accepts a collaboration ID. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` + + // The maximum size of the results that is returned per call. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // If present, filter schemas by schema type. The only valid schema type is + // currently `TABLE`. + SchemaType *string `location:"querystring" locationName:"schemaType" type:"string" enum:"SchemaType"` +} + +// 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 ListSchemasInput) 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 ListSchemasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSchemasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSchemasInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *ListSchemasInput) SetCollaborationIdentifier(v string) *ListSchemasInput { + s.CollaborationIdentifier = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListSchemasInput) SetMaxResults(v int64) *ListSchemasInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSchemasInput) SetNextToken(v string) *ListSchemasInput { + s.NextToken = &v + return s +} + +// SetSchemaType sets the SchemaType field's value. +func (s *ListSchemasInput) SetSchemaType(v string) *ListSchemasInput { + s.SchemaType = &v + return s +} + +type ListSchemasOutput struct { + _ struct{} `type:"structure"` + + // The token value retrieved from a previous call to access the next page of + // results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The retrieved list of schemas. + // + // SchemaSummaries is a required field + SchemaSummaries []*SchemaSummary `locationName:"schemaSummaries" 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 ListSchemasOutput) 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 ListSchemasOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSchemasOutput) SetNextToken(v string) *ListSchemasOutput { + s.NextToken = &v + return s +} + +// SetSchemaSummaries sets the SchemaSummaries field's value. +func (s *ListSchemasOutput) SetSchemaSummaries(v []*SchemaSummary) *ListSchemasOutput { + s.SchemaSummaries = v + return s +} + +// Basic metadata used to construct a new member. +type MemberSpecification struct { + _ struct{} `type:"structure"` + + // The identifier used to reference members of the collaboration. Currently + // only supports AWS Account ID. + // + // AccountId is a required field + AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` + + // The member's display name. + // + // DisplayName is a required field + DisplayName *string `locationName:"displayName" min:"1" type:"string" required:"true"` + + // The abilities granted to the collaboration member. + // + // MemberAbilities is a required field + MemberAbilities []*string `locationName:"memberAbilities" type:"list" required:"true" enum:"MemberAbility"` +} + +// 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 MemberSpecification) 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 MemberSpecification) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MemberSpecification) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MemberSpecification"} + if s.AccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AccountId")) + } + if s.AccountId != nil && len(*s.AccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 12)) + } + if s.DisplayName == nil { + invalidParams.Add(request.NewErrParamRequired("DisplayName")) + } + if s.DisplayName != nil && len(*s.DisplayName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) + } + if s.MemberAbilities == nil { + invalidParams.Add(request.NewErrParamRequired("MemberAbilities")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountId sets the AccountId field's value. +func (s *MemberSpecification) SetAccountId(v string) *MemberSpecification { + s.AccountId = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *MemberSpecification) SetDisplayName(v string) *MemberSpecification { + s.DisplayName = &v + return s +} + +// SetMemberAbilities sets the MemberAbilities field's value. +func (s *MemberSpecification) SetMemberAbilities(v []*string) *MemberSpecification { + s.MemberAbilities = v + return s +} + +// The member object listed by the request. +type MemberSummary struct { + _ struct{} `type:"structure"` + + // The abilities granted to the collaboration member. + // + // Abilities is a required field + Abilities []*string `locationName:"abilities" type:"list" required:"true" enum:"MemberAbility"` + + // The identifier used to reference members of the collaboration. Currently + // only supports AWS Account ID. + // + // AccountId is a required field + AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` + + // The time when the member was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The member's display name. + // + // DisplayName is a required field + DisplayName *string `locationName:"displayName" min:"1" type:"string" required:"true"` + + // The unique ARN for the member's associated membership, if present. + MembershipArn *string `locationName:"membershipArn" type:"string"` + + // The unique ID for the member's associated membership, if present. + MembershipId *string `locationName:"membershipId" min:"36" type:"string"` + + // The status of the member. Valid values are `INVITED`, `ACTIVE`, `LEFT`, and + // `REMOVED`. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"MemberStatus"` + + // The time the member metadata was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 MemberSummary) 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 MemberSummary) GoString() string { + return s.String() +} + +// SetAbilities sets the Abilities field's value. +func (s *MemberSummary) SetAbilities(v []*string) *MemberSummary { + s.Abilities = v + return s +} + +// SetAccountId sets the AccountId field's value. +func (s *MemberSummary) SetAccountId(v string) *MemberSummary { + s.AccountId = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *MemberSummary) SetCreateTime(v time.Time) *MemberSummary { + s.CreateTime = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *MemberSummary) SetDisplayName(v string) *MemberSummary { + s.DisplayName = &v + return s +} + +// SetMembershipArn sets the MembershipArn field's value. +func (s *MemberSummary) SetMembershipArn(v string) *MemberSummary { + s.MembershipArn = &v + return s +} + +// SetMembershipId sets the MembershipId field's value. +func (s *MemberSummary) SetMembershipId(v string) *MemberSummary { + s.MembershipId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *MemberSummary) SetStatus(v string) *MemberSummary { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *MemberSummary) SetUpdateTime(v time.Time) *MemberSummary { + s.UpdateTime = &v + return s +} + +// The membership object. +type Membership struct { + _ struct{} `type:"structure"` + + // The unique ARN for the membership. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The unique ARN for the membership's associated collaboration. + // + // CollaborationArn is a required field + CollaborationArn *string `locationName:"collaborationArn" type:"string" required:"true"` + + // The identifier used to reference members of the collaboration. Currently + // only supports AWS account ID. + // + // CollaborationCreatorAccountId is a required field + CollaborationCreatorAccountId *string `locationName:"collaborationCreatorAccountId" min:"12" type:"string" required:"true"` + + // The display name of the collaboration creator. + // + // CollaborationCreatorDisplayName is a required field + CollaborationCreatorDisplayName *string `locationName:"collaborationCreatorDisplayName" min:"1" type:"string" required:"true"` + + // The unique ID for the membership's collaboration. + // + // CollaborationId is a required field + CollaborationId *string `locationName:"collaborationId" min:"36" type:"string" required:"true"` + + // The name of the membership's collaboration. + // + // CollaborationName is a required field + CollaborationName *string `locationName:"collaborationName" min:"1" type:"string" required:"true"` + + // The time when the membership was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The unique ID of the membership. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The abilities granted to the collaboration member. + // + // MemberAbilities is a required field + MemberAbilities []*string `locationName:"memberAbilities" type:"list" required:"true" enum:"MemberAbility"` + + // An indicator as to whether query logging has been enabled or disabled for + // the collaboration. + // + // QueryLogStatus is a required field + QueryLogStatus *string `locationName:"queryLogStatus" type:"string" required:"true" enum:"MembershipQueryLogStatus"` + + // The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"MembershipStatus"` + + // The time the membership metadata was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 Membership) 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 Membership) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *Membership) SetArn(v string) *Membership { + s.Arn = &v + return s +} + +// SetCollaborationArn sets the CollaborationArn field's value. +func (s *Membership) SetCollaborationArn(v string) *Membership { + s.CollaborationArn = &v + return s +} + +// SetCollaborationCreatorAccountId sets the CollaborationCreatorAccountId field's value. +func (s *Membership) SetCollaborationCreatorAccountId(v string) *Membership { + s.CollaborationCreatorAccountId = &v + return s +} + +// SetCollaborationCreatorDisplayName sets the CollaborationCreatorDisplayName field's value. +func (s *Membership) SetCollaborationCreatorDisplayName(v string) *Membership { + s.CollaborationCreatorDisplayName = &v + return s +} + +// SetCollaborationId sets the CollaborationId field's value. +func (s *Membership) SetCollaborationId(v string) *Membership { + s.CollaborationId = &v + return s +} + +// SetCollaborationName sets the CollaborationName field's value. +func (s *Membership) SetCollaborationName(v string) *Membership { + s.CollaborationName = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *Membership) SetCreateTime(v time.Time) *Membership { + s.CreateTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *Membership) SetId(v string) *Membership { + s.Id = &v + return s +} + +// SetMemberAbilities sets the MemberAbilities field's value. +func (s *Membership) SetMemberAbilities(v []*string) *Membership { + s.MemberAbilities = v + return s +} + +// SetQueryLogStatus sets the QueryLogStatus field's value. +func (s *Membership) SetQueryLogStatus(v string) *Membership { + s.QueryLogStatus = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *Membership) SetStatus(v string) *Membership { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *Membership) SetUpdateTime(v time.Time) *Membership { + s.UpdateTime = &v + return s +} + +// The membership object listed by the request. +type MembershipSummary struct { + _ struct{} `type:"structure"` + + // The unique ARN for the membership. + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` + + // The unique ARN for the membership's associated collaboration. + // + // CollaborationArn is a required field + CollaborationArn *string `locationName:"collaborationArn" type:"string" required:"true"` + + // The identifier of the AWS principal that created the collaboration. Currently + // only supports AWS account ID. + // + // CollaborationCreatorAccountId is a required field + CollaborationCreatorAccountId *string `locationName:"collaborationCreatorAccountId" min:"12" type:"string" required:"true"` + + // The display name of the collaboration creator. + // + // CollaborationCreatorDisplayName is a required field + CollaborationCreatorDisplayName *string `locationName:"collaborationCreatorDisplayName" min:"1" type:"string" required:"true"` + + // The unique ID for the membership's collaboration. + // + // CollaborationId is a required field + CollaborationId *string `locationName:"collaborationId" min:"36" type:"string" required:"true"` + + // The name for the membership's collaboration. + // + // CollaborationName is a required field + CollaborationName *string `locationName:"collaborationName" min:"1" type:"string" required:"true"` + + // The time when the membership was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The unique ID for the membership's collaboration. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The abilities granted to the collaboration member. + // + // MemberAbilities is a required field + MemberAbilities []*string `locationName:"memberAbilities" type:"list" required:"true" enum:"MemberAbility"` + + // The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"MembershipStatus"` + + // The time the membership metadata was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 MembershipSummary) 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 MembershipSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *MembershipSummary) SetArn(v string) *MembershipSummary { + s.Arn = &v + return s +} + +// SetCollaborationArn sets the CollaborationArn field's value. +func (s *MembershipSummary) SetCollaborationArn(v string) *MembershipSummary { + s.CollaborationArn = &v + return s +} + +// SetCollaborationCreatorAccountId sets the CollaborationCreatorAccountId field's value. +func (s *MembershipSummary) SetCollaborationCreatorAccountId(v string) *MembershipSummary { + s.CollaborationCreatorAccountId = &v + return s +} + +// SetCollaborationCreatorDisplayName sets the CollaborationCreatorDisplayName field's value. +func (s *MembershipSummary) SetCollaborationCreatorDisplayName(v string) *MembershipSummary { + s.CollaborationCreatorDisplayName = &v + return s +} + +// SetCollaborationId sets the CollaborationId field's value. +func (s *MembershipSummary) SetCollaborationId(v string) *MembershipSummary { + s.CollaborationId = &v + return s +} + +// SetCollaborationName sets the CollaborationName field's value. +func (s *MembershipSummary) SetCollaborationName(v string) *MembershipSummary { + s.CollaborationName = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *MembershipSummary) SetCreateTime(v time.Time) *MembershipSummary { + s.CreateTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *MembershipSummary) SetId(v string) *MembershipSummary { + s.Id = &v + return s +} + +// SetMemberAbilities sets the MemberAbilities field's value. +func (s *MembershipSummary) SetMemberAbilities(v []*string) *MembershipSummary { + s.MemberAbilities = v + return s +} + +// SetStatus sets the Status field's value. +func (s *MembershipSummary) SetStatus(v string) *MembershipSummary { + s.Status = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *MembershipSummary) SetUpdateTime(v time.Time) *MembershipSummary { + s.UpdateTime = &v + return s +} + +// The parameters for an AWS Clean Rooms protected query. +type ProtectedQuery struct { + _ struct{} `type:"structure"` + + // The time at which the protected query was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // An error thrown by the protected query. + Error *ProtectedQueryError `locationName:"error" type:"structure"` + + // The identifier for a protected query instance. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The ARN of the membership. + // + // MembershipArn is a required field + MembershipArn *string `locationName:"membershipArn" type:"string" required:"true"` + + // The identifier for the membership. + // + // MembershipId is a required field + MembershipId *string `locationName:"membershipId" min:"36" type:"string" required:"true"` + + // The result of the protected query. + Result *ProtectedQueryResult `locationName:"result" type:"structure"` + + // Contains any details needed to write the query results. + // + // ResultConfiguration is a required field + ResultConfiguration *ProtectedQueryResultConfiguration `locationName:"resultConfiguration" type:"structure" required:"true"` + + // The protected query SQL parameters. + // + // SqlParameters is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ProtectedQuery's + // String and GoString methods. + // + // SqlParameters is a required field + SqlParameters *ProtectedQuerySQLParameters `locationName:"sqlParameters" type:"structure" required:"true" sensitive:"true"` + + // Statistics about protected query execution. + Statistics *ProtectedQueryStatistics `locationName:"statistics" type:"structure"` + + // The status of the query. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ProtectedQueryStatus"` +} + +// 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 ProtectedQuery) 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 ProtectedQuery) GoString() string { + return s.String() +} + +// SetCreateTime sets the CreateTime field's value. +func (s *ProtectedQuery) SetCreateTime(v time.Time) *ProtectedQuery { + s.CreateTime = &v + return s +} + +// SetError sets the Error field's value. +func (s *ProtectedQuery) SetError(v *ProtectedQueryError) *ProtectedQuery { + s.Error = v + return s +} + +// SetId sets the Id field's value. +func (s *ProtectedQuery) SetId(v string) *ProtectedQuery { + s.Id = &v + return s +} + +// SetMembershipArn sets the MembershipArn field's value. +func (s *ProtectedQuery) SetMembershipArn(v string) *ProtectedQuery { + s.MembershipArn = &v + return s +} + +// SetMembershipId sets the MembershipId field's value. +func (s *ProtectedQuery) SetMembershipId(v string) *ProtectedQuery { + s.MembershipId = &v + return s +} + +// SetResult sets the Result field's value. +func (s *ProtectedQuery) SetResult(v *ProtectedQueryResult) *ProtectedQuery { + s.Result = v + return s +} + +// SetResultConfiguration sets the ResultConfiguration field's value. +func (s *ProtectedQuery) SetResultConfiguration(v *ProtectedQueryResultConfiguration) *ProtectedQuery { + s.ResultConfiguration = v + return s +} + +// SetSqlParameters sets the SqlParameters field's value. +func (s *ProtectedQuery) SetSqlParameters(v *ProtectedQuerySQLParameters) *ProtectedQuery { + s.SqlParameters = v + return s +} + +// SetStatistics sets the Statistics field's value. +func (s *ProtectedQuery) SetStatistics(v *ProtectedQueryStatistics) *ProtectedQuery { + s.Statistics = v + return s +} + +// SetStatus sets the Status field's value. +func (s *ProtectedQuery) SetStatus(v string) *ProtectedQuery { + s.Status = &v + return s +} + +// Details of errors thrown by the protected query. +type ProtectedQueryError struct { + _ struct{} `type:"structure"` + + // An error code for the error. + // + // Code is a required field + Code *string `locationName:"code" type:"string" required:"true"` + + // A description of why the query failed. + // + // 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 ProtectedQueryError) 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 ProtectedQueryError) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *ProtectedQueryError) SetCode(v string) *ProtectedQueryError { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *ProtectedQueryError) SetMessage(v string) *ProtectedQueryError { + s.Message = &v + return s +} + +// Contains configuration details for protected query output. +type ProtectedQueryOutputConfiguration struct { + _ struct{} `type:"structure"` + + // Required configuration for a protected query with an `S3` output type. + S3 *ProtectedQueryS3OutputConfiguration `locationName:"s3" 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 ProtectedQueryOutputConfiguration) 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 ProtectedQueryOutputConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ProtectedQueryOutputConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProtectedQueryOutputConfiguration"} + if s.S3 != nil { + if err := s.S3.Validate(); err != nil { + invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetS3 sets the S3 field's value. +func (s *ProtectedQueryOutputConfiguration) SetS3(v *ProtectedQueryS3OutputConfiguration) *ProtectedQueryOutputConfiguration { + s.S3 = v + return s +} + +// Contains details about the protected query output. +type ProtectedQueryOutput_ struct { + _ struct{} `type:"structure"` + + // If present, the output for a protected query with an `S3` output type. + S3 *ProtectedQueryS3Output_ `locationName:"s3" 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 ProtectedQueryOutput_) 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 ProtectedQueryOutput_) GoString() string { + return s.String() +} + +// SetS3 sets the S3 field's value. +func (s *ProtectedQueryOutput_) SetS3(v *ProtectedQueryS3Output_) *ProtectedQueryOutput_ { + s.S3 = v + return s +} + +// Details about the query results. +type ProtectedQueryResult struct { + _ struct{} `type:"structure"` + + // The output of the protected query. + // + // Output is a required field + Output *ProtectedQueryOutput_ `locationName:"output" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProtectedQueryResult) 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 ProtectedQueryResult) GoString() string { + return s.String() +} + +// SetOutput sets the Output field's value. +func (s *ProtectedQueryResult) SetOutput(v *ProtectedQueryOutput_) *ProtectedQueryResult { + s.Output = v + return s +} + +// Contains configurations for protected query results. +type ProtectedQueryResultConfiguration struct { + _ struct{} `type:"structure"` + + // Configuration for protected query results. + // + // OutputConfiguration is a required field + OutputConfiguration *ProtectedQueryOutputConfiguration `locationName:"outputConfiguration" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProtectedQueryResultConfiguration) 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 ProtectedQueryResultConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ProtectedQueryResultConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProtectedQueryResultConfiguration"} + if s.OutputConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("OutputConfiguration")) + } + if s.OutputConfiguration != nil { + if err := s.OutputConfiguration.Validate(); err != nil { + invalidParams.AddNested("OutputConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOutputConfiguration sets the OutputConfiguration field's value. +func (s *ProtectedQueryResultConfiguration) SetOutputConfiguration(v *ProtectedQueryOutputConfiguration) *ProtectedQueryResultConfiguration { + s.OutputConfiguration = v + return s +} + +// Contains the configuration to write the query results to S3. +type ProtectedQueryS3OutputConfiguration struct { + _ struct{} `type:"structure"` + + // The S3 bucket to unload the protected query results. + // + // Bucket is a required field + Bucket *string `locationName:"bucket" min:"3" type:"string" required:"true"` + + // The S3 prefix to unload the protected query results. + KeyPrefix *string `locationName:"keyPrefix" type:"string"` + + // Intended file format of the result. + // + // ResultFormat is a required field + ResultFormat *string `locationName:"resultFormat" type:"string" required:"true" enum:"ResultFormat"` +} + +// 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 ProtectedQueryS3OutputConfiguration) 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 ProtectedQueryS3OutputConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ProtectedQueryS3OutputConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProtectedQueryS3OutputConfiguration"} + if s.Bucket == nil { + invalidParams.Add(request.NewErrParamRequired("Bucket")) + } + if s.Bucket != nil && len(*s.Bucket) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Bucket", 3)) + } + if s.ResultFormat == nil { + invalidParams.Add(request.NewErrParamRequired("ResultFormat")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBucket sets the Bucket field's value. +func (s *ProtectedQueryS3OutputConfiguration) SetBucket(v string) *ProtectedQueryS3OutputConfiguration { + s.Bucket = &v + return s +} + +// SetKeyPrefix sets the KeyPrefix field's value. +func (s *ProtectedQueryS3OutputConfiguration) SetKeyPrefix(v string) *ProtectedQueryS3OutputConfiguration { + s.KeyPrefix = &v + return s +} + +// SetResultFormat sets the ResultFormat field's value. +func (s *ProtectedQueryS3OutputConfiguration) SetResultFormat(v string) *ProtectedQueryS3OutputConfiguration { + s.ResultFormat = &v + return s +} + +// Contains output information for protected queries with an S3 output type. +type ProtectedQueryS3Output_ struct { + _ struct{} `type:"structure"` + + // The S3 location of the result. + // + // Location is a required field + Location *string `locationName:"location" 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 ProtectedQueryS3Output_) 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 ProtectedQueryS3Output_) GoString() string { + return s.String() +} + +// SetLocation sets the Location field's value. +func (s *ProtectedQueryS3Output_) SetLocation(v string) *ProtectedQueryS3Output_ { + s.Location = &v + return s +} + +// The parameters for the SQL type Protected Query. +type ProtectedQuerySQLParameters struct { + _ struct{} `type:"structure" sensitive:"true"` + + // The query string to be submitted. + // + // QueryString is a required field + QueryString *string `locationName:"queryString" 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 ProtectedQuerySQLParameters) 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 ProtectedQuerySQLParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ProtectedQuerySQLParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ProtectedQuerySQLParameters"} + if s.QueryString == nil { + invalidParams.Add(request.NewErrParamRequired("QueryString")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetQueryString sets the QueryString field's value. +func (s *ProtectedQuerySQLParameters) SetQueryString(v string) *ProtectedQuerySQLParameters { + s.QueryString = &v + return s +} + +// Contains statistics about the execution of the protected query. +type ProtectedQueryStatistics struct { + _ struct{} `type:"structure"` + + // The duration of the Protected Query, from creation until query completion. + TotalDurationInMillis *int64 `locationName:"totalDurationInMillis" 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 ProtectedQueryStatistics) 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 ProtectedQueryStatistics) GoString() string { + return s.String() +} + +// SetTotalDurationInMillis sets the TotalDurationInMillis field's value. +func (s *ProtectedQueryStatistics) SetTotalDurationInMillis(v int64) *ProtectedQueryStatistics { + s.TotalDurationInMillis = &v + return s +} + +// The protected query summary for the objects listed by the request. +type ProtectedQuerySummary struct { + _ struct{} `type:"structure"` + + // The time the protected query was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The unique ID of the protected query. + // + // Id is a required field + Id *string `locationName:"id" min:"36" type:"string" required:"true"` + + // The unique ARN for the membership that initiated the protected query. + // + // MembershipArn is a required field + MembershipArn *string `locationName:"membershipArn" type:"string" required:"true"` + + // The unique ID for the membership that initiated the protected query. + // + // MembershipId is a required field + MembershipId *string `locationName:"membershipId" min:"36" type:"string" required:"true"` + + // The status of the protected query. Value values are `SUBMITTED`, `STARTED`, + // `CANCELLED`, `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`. + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"ProtectedQueryStatus"` +} + +// 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 ProtectedQuerySummary) 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 ProtectedQuerySummary) GoString() string { + return s.String() +} + +// SetCreateTime sets the CreateTime field's value. +func (s *ProtectedQuerySummary) SetCreateTime(v time.Time) *ProtectedQuerySummary { + s.CreateTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *ProtectedQuerySummary) SetId(v string) *ProtectedQuerySummary { + s.Id = &v + return s +} + +// SetMembershipArn sets the MembershipArn field's value. +func (s *ProtectedQuerySummary) SetMembershipArn(v string) *ProtectedQuerySummary { + s.MembershipArn = &v + return s +} + +// SetMembershipId sets the MembershipId field's value. +func (s *ProtectedQuerySummary) SetMembershipId(v string) *ProtectedQuerySummary { + s.MembershipId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ProtectedQuerySummary) SetStatus(v string) *ProtectedQuerySummary { + s.Status = &v + return s +} + +// Request references a resource which does not exist. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The Id of the missing resource. + // + // ResourceId is a required field + ResourceId *string `locationName:"resourceId" type:"string" required:"true"` + + // The type of the missing resource. + // + // ResourceType is a required field + ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` +} + +// 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 ResourceNotFoundException) 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 ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// A schema is a relation within a collaboration. +type Schema struct { + _ struct{} `type:"structure"` + + // The analysis method for the schema. The only valid value is currently DIRECT_QUERY. + AnalysisMethod *string `locationName:"analysisMethod" type:"string" enum:"AnalysisMethod"` + + // The analysis rule types associated with the schema. Valued values are LIST + // and AGGREGATION. Currently, only one entry is present. + // + // AnalysisRuleTypes is a required field + AnalysisRuleTypes []*string `locationName:"analysisRuleTypes" type:"list" required:"true" enum:"AnalysisRuleType"` + + // The unique ARN for the collaboration that the schema belongs to. + // + // CollaborationArn is a required field + CollaborationArn *string `locationName:"collaborationArn" type:"string" required:"true"` + + // The unique ID for the collaboration that the schema belongs to. + // + // CollaborationId is a required field + CollaborationId *string `locationName:"collaborationId" min:"36" type:"string" required:"true"` + + // The columns for the relation this schema represents. + // + // Columns is a required field + Columns []*Column `locationName:"columns" type:"list" required:"true"` + + // The time the schema was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The unique account ID for the AWS account that owns the schema. + // + // CreatorAccountId is a required field + CreatorAccountId *string `locationName:"creatorAccountId" min:"12" type:"string" required:"true"` + + // A description for the schema. + // + // Description is a required field + Description *string `locationName:"description" type:"string" required:"true"` + + // A name for the schema. The schema relation is referred to by this name when + // queried by a protected query. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The partition keys for the data set underlying this schema. + // + // PartitionKeys is a required field + PartitionKeys []*Column `locationName:"partitionKeys" type:"list" required:"true"` + + // The type of schema. The only valid value is currently `TABLE`. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"SchemaType"` + + // The time the schema was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 Schema) 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 Schema) GoString() string { + return s.String() +} + +// SetAnalysisMethod sets the AnalysisMethod field's value. +func (s *Schema) SetAnalysisMethod(v string) *Schema { + s.AnalysisMethod = &v + return s +} + +// SetAnalysisRuleTypes sets the AnalysisRuleTypes field's value. +func (s *Schema) SetAnalysisRuleTypes(v []*string) *Schema { + s.AnalysisRuleTypes = v + return s +} + +// SetCollaborationArn sets the CollaborationArn field's value. +func (s *Schema) SetCollaborationArn(v string) *Schema { + s.CollaborationArn = &v + return s +} + +// SetCollaborationId sets the CollaborationId field's value. +func (s *Schema) SetCollaborationId(v string) *Schema { + s.CollaborationId = &v + return s +} + +// SetColumns sets the Columns field's value. +func (s *Schema) SetColumns(v []*Column) *Schema { + s.Columns = v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *Schema) SetCreateTime(v time.Time) *Schema { + s.CreateTime = &v + return s +} + +// SetCreatorAccountId sets the CreatorAccountId field's value. +func (s *Schema) SetCreatorAccountId(v string) *Schema { + s.CreatorAccountId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Schema) SetDescription(v string) *Schema { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *Schema) SetName(v string) *Schema { + s.Name = &v + return s +} + +// SetPartitionKeys sets the PartitionKeys field's value. +func (s *Schema) SetPartitionKeys(v []*Column) *Schema { + s.PartitionKeys = v + return s +} + +// SetType sets the Type field's value. +func (s *Schema) SetType(v string) *Schema { + s.Type = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *Schema) SetUpdateTime(v time.Time) *Schema { + s.UpdateTime = &v + return s +} + +// The schema summary for the objects listed by the request. +type SchemaSummary struct { + _ struct{} `type:"structure"` + + // The analysis method for the associated schema. The only valid value is currently + // `DIRECT_QUERY`. + AnalysisMethod *string `locationName:"analysisMethod" type:"string" enum:"AnalysisMethod"` + + // The types of analysis rules that are associated with this schema object. + // + // AnalysisRuleTypes is a required field + AnalysisRuleTypes []*string `locationName:"analysisRuleTypes" type:"list" required:"true" enum:"AnalysisRuleType"` + + // The unique ARN for the collaboration that the schema belongs to. + // + // CollaborationArn is a required field + CollaborationArn *string `locationName:"collaborationArn" type:"string" required:"true"` + + // The unique ID for the collaboration that the schema belongs to. + // + // CollaborationId is a required field + CollaborationId *string `locationName:"collaborationId" min:"36" type:"string" required:"true"` + + // The time the schema object was created. + // + // CreateTime is a required field + CreateTime *time.Time `locationName:"createTime" type:"timestamp" required:"true"` + + // The unique account ID for the AWS account that owns the schema. + // + // CreatorAccountId is a required field + CreatorAccountId *string `locationName:"creatorAccountId" min:"12" type:"string" required:"true"` + + // The name for the schema object. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` + + // The type of schema object. The only valid schema type is currently `TABLE`. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"SchemaType"` + + // The time the schema object was last updated. + // + // UpdateTime is a required field + UpdateTime *time.Time `locationName:"updateTime" 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 SchemaSummary) 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 SchemaSummary) GoString() string { + return s.String() +} + +// SetAnalysisMethod sets the AnalysisMethod field's value. +func (s *SchemaSummary) SetAnalysisMethod(v string) *SchemaSummary { + s.AnalysisMethod = &v + return s +} + +// SetAnalysisRuleTypes sets the AnalysisRuleTypes field's value. +func (s *SchemaSummary) SetAnalysisRuleTypes(v []*string) *SchemaSummary { + s.AnalysisRuleTypes = v + return s +} + +// SetCollaborationArn sets the CollaborationArn field's value. +func (s *SchemaSummary) SetCollaborationArn(v string) *SchemaSummary { + s.CollaborationArn = &v + return s +} + +// SetCollaborationId sets the CollaborationId field's value. +func (s *SchemaSummary) SetCollaborationId(v string) *SchemaSummary { + s.CollaborationId = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *SchemaSummary) SetCreateTime(v time.Time) *SchemaSummary { + s.CreateTime = &v + return s +} + +// SetCreatorAccountId sets the CreatorAccountId field's value. +func (s *SchemaSummary) SetCreatorAccountId(v string) *SchemaSummary { + s.CreatorAccountId = &v + return s +} + +// SetName sets the Name field's value. +func (s *SchemaSummary) SetName(v string) *SchemaSummary { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *SchemaSummary) SetType(v string) *SchemaSummary { + s.Type = &v + return s +} + +// SetUpdateTime sets the UpdateTime field's value. +func (s *SchemaSummary) SetUpdateTime(v time.Time) *SchemaSummary { + s.UpdateTime = &v + return s +} + +// Request denied because service quota has been exceeded. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The name of the quota. + // + // QuotaName is a required field + QuotaName *string `locationName:"quotaName" type:"string" required:"true"` + + // The value of the quota. + // + // QuotaValue is a required field + QuotaValue *float64 `locationName:"quotaValue" type:"double" 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 ServiceQuotaExceededException) 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 ServiceQuotaExceededException) GoString() string { + return s.String() +} + +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" +} + +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil +} + +func (s *ServiceQuotaExceededException) 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 *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +type StartProtectedQueryInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the membership to run this query against. Currently + // accepts a membership ID. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // The details needed to write the query results. + // + // ResultConfiguration is a required field + ResultConfiguration *ProtectedQueryResultConfiguration `locationName:"resultConfiguration" type:"structure" required:"true"` + + // The protected SQL query parameters. + // + // SqlParameters is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by StartProtectedQueryInput's + // String and GoString methods. + // + // SqlParameters is a required field + SqlParameters *ProtectedQuerySQLParameters `locationName:"sqlParameters" type:"structure" required:"true" sensitive:"true"` + + // The type of the protected query to be started. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"ProtectedQueryType"` +} + +// 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 StartProtectedQueryInput) 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 StartProtectedQueryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartProtectedQueryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartProtectedQueryInput"} + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + if s.ResultConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("ResultConfiguration")) + } + if s.SqlParameters == nil { + invalidParams.Add(request.NewErrParamRequired("SqlParameters")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + if s.ResultConfiguration != nil { + if err := s.ResultConfiguration.Validate(); err != nil { + invalidParams.AddNested("ResultConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.SqlParameters != nil { + if err := s.SqlParameters.Validate(); err != nil { + invalidParams.AddNested("SqlParameters", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *StartProtectedQueryInput) SetMembershipIdentifier(v string) *StartProtectedQueryInput { + s.MembershipIdentifier = &v + return s +} + +// SetResultConfiguration sets the ResultConfiguration field's value. +func (s *StartProtectedQueryInput) SetResultConfiguration(v *ProtectedQueryResultConfiguration) *StartProtectedQueryInput { + s.ResultConfiguration = v + return s +} + +// SetSqlParameters sets the SqlParameters field's value. +func (s *StartProtectedQueryInput) SetSqlParameters(v *ProtectedQuerySQLParameters) *StartProtectedQueryInput { + s.SqlParameters = v + return s +} + +// SetType sets the Type field's value. +func (s *StartProtectedQueryInput) SetType(v string) *StartProtectedQueryInput { + s.Type = &v + return s +} + +type StartProtectedQueryOutput struct { + _ struct{} `type:"structure"` + + // The protected query. + // + // ProtectedQuery is a required field + ProtectedQuery *ProtectedQuery `locationName:"protectedQuery" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartProtectedQueryOutput) 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 StartProtectedQueryOutput) GoString() string { + return s.String() +} + +// SetProtectedQuery sets the ProtectedQuery field's value. +func (s *StartProtectedQueryOutput) SetProtectedQuery(v *ProtectedQuery) *StartProtectedQueryOutput { + s.ProtectedQuery = v + return s +} + +// A pointer to the data set that underlies this table. Currently, this can +// only be an AWS Glue table. +type TableReference struct { + _ struct{} `type:"structure"` + + // If present, a reference to the AWS Glue table referred to by this table reference. + Glue *GlueTableReference `locationName:"glue" 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 TableReference) 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 TableReference) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TableReference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TableReference"} + if s.Glue != nil { + if err := s.Glue.Validate(); err != nil { + invalidParams.AddNested("Glue", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGlue sets the Glue field's value. +func (s *TableReference) SetGlue(v *GlueTableReference) *TableReference { + s.Glue = v + return s +} + +// Request was denied due to request throttling. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +type UpdateCollaborationInput struct { + _ struct{} `type:"structure"` + + // The identifier for the collaboration. + // + // CollaborationIdentifier is a required field + CollaborationIdentifier *string `location:"uri" locationName:"collaborationIdentifier" min:"36" type:"string" required:"true"` + + // A description of the collaboration. + Description *string `locationName:"description" min:"1" type:"string"` + + // A human-readable identifier provided by the collaboration owner. Display + // names are not unique. + Name *string `locationName:"name" 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 UpdateCollaborationInput) 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 UpdateCollaborationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateCollaborationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCollaborationInput"} + if s.CollaborationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("CollaborationIdentifier")) + } + if s.CollaborationIdentifier != nil && len(*s.CollaborationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("CollaborationIdentifier", 36)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollaborationIdentifier sets the CollaborationIdentifier field's value. +func (s *UpdateCollaborationInput) SetCollaborationIdentifier(v string) *UpdateCollaborationInput { + s.CollaborationIdentifier = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateCollaborationInput) SetDescription(v string) *UpdateCollaborationInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateCollaborationInput) SetName(v string) *UpdateCollaborationInput { + s.Name = &v + return s +} + +type UpdateCollaborationOutput struct { + _ struct{} `type:"structure"` + + // The entire collaboration that has been updated. + // + // Collaboration is a required field + Collaboration *Collaboration `locationName:"collaboration" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateCollaborationOutput) 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 UpdateCollaborationOutput) GoString() string { + return s.String() +} + +// SetCollaboration sets the Collaboration field's value. +func (s *UpdateCollaborationOutput) SetCollaboration(v *Collaboration) *UpdateCollaborationOutput { + s.Collaboration = v + return s +} + +type UpdateConfiguredTableAnalysisRuleInput struct { + _ struct{} `type:"structure"` + + // The new analysis rule policy for the configured table analysis rule. + // + // AnalysisRulePolicy is a required field + AnalysisRulePolicy *ConfiguredTableAnalysisRulePolicy `locationName:"analysisRulePolicy" type:"structure" required:"true"` + + // The analysis rule type to be updated. Configured table analysis rules are + // uniquely identified by their configured table identifier and analysis rule + // type. + // + // AnalysisRuleType is a required field + AnalysisRuleType *string `location:"uri" locationName:"analysisRuleType" type:"string" required:"true" enum:"ConfiguredTableAnalysisRuleType"` + + // The unique identifier for the configured table that the analysis rule applies + // to. Currently accepts the configured table ID. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `location:"uri" locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConfiguredTableAnalysisRuleInput) 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 UpdateConfiguredTableAnalysisRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConfiguredTableAnalysisRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConfiguredTableAnalysisRuleInput"} + if s.AnalysisRulePolicy == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisRulePolicy")) + } + if s.AnalysisRuleType == nil { + invalidParams.Add(request.NewErrParamRequired("AnalysisRuleType")) + } + if s.AnalysisRuleType != nil && len(*s.AnalysisRuleType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AnalysisRuleType", 1)) + } + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + if s.AnalysisRulePolicy != nil { + if err := s.AnalysisRulePolicy.Validate(); err != nil { + invalidParams.AddNested("AnalysisRulePolicy", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisRulePolicy sets the AnalysisRulePolicy field's value. +func (s *UpdateConfiguredTableAnalysisRuleInput) SetAnalysisRulePolicy(v *ConfiguredTableAnalysisRulePolicy) *UpdateConfiguredTableAnalysisRuleInput { + s.AnalysisRulePolicy = v + return s +} + +// SetAnalysisRuleType sets the AnalysisRuleType field's value. +func (s *UpdateConfiguredTableAnalysisRuleInput) SetAnalysisRuleType(v string) *UpdateConfiguredTableAnalysisRuleInput { + s.AnalysisRuleType = &v + return s +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *UpdateConfiguredTableAnalysisRuleInput) SetConfiguredTableIdentifier(v string) *UpdateConfiguredTableAnalysisRuleInput { + s.ConfiguredTableIdentifier = &v + return s +} + +type UpdateConfiguredTableAnalysisRuleOutput struct { + _ struct{} `type:"structure"` + + // The entire updated analysis rule. + // + // AnalysisRule is a required field + AnalysisRule *ConfiguredTableAnalysisRule `locationName:"analysisRule" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConfiguredTableAnalysisRuleOutput) 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 UpdateConfiguredTableAnalysisRuleOutput) GoString() string { + return s.String() +} + +// SetAnalysisRule sets the AnalysisRule field's value. +func (s *UpdateConfiguredTableAnalysisRuleOutput) SetAnalysisRule(v *ConfiguredTableAnalysisRule) *UpdateConfiguredTableAnalysisRuleOutput { + s.AnalysisRule = v + return s +} + +type UpdateConfiguredTableAssociationInput struct { + _ struct{} `type:"structure"` + + // The unique identifier for the configured table association to update. Currently + // accepts the configured table association ID. + // + // ConfiguredTableAssociationIdentifier is a required field + ConfiguredTableAssociationIdentifier *string `location:"uri" locationName:"configuredTableAssociationIdentifier" min:"36" type:"string" required:"true"` + + // A new description for the configured table association. + Description *string `locationName:"description" type:"string"` + + // The unique ID for the membership that the configured table association belongs + // to. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // The service will assume this role to access catalog metadata and query the + // table. + RoleArn *string `locationName:"roleArn" min:"32" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConfiguredTableAssociationInput) 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 UpdateConfiguredTableAssociationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConfiguredTableAssociationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConfiguredTableAssociationInput"} + if s.ConfiguredTableAssociationIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableAssociationIdentifier")) + } + if s.ConfiguredTableAssociationIdentifier != nil && len(*s.ConfiguredTableAssociationIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableAssociationIdentifier", 36)) + } + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 32 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguredTableAssociationIdentifier sets the ConfiguredTableAssociationIdentifier field's value. +func (s *UpdateConfiguredTableAssociationInput) SetConfiguredTableAssociationIdentifier(v string) *UpdateConfiguredTableAssociationInput { + s.ConfiguredTableAssociationIdentifier = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateConfiguredTableAssociationInput) SetDescription(v string) *UpdateConfiguredTableAssociationInput { + s.Description = &v + return s +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *UpdateConfiguredTableAssociationInput) SetMembershipIdentifier(v string) *UpdateConfiguredTableAssociationInput { + s.MembershipIdentifier = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateConfiguredTableAssociationInput) SetRoleArn(v string) *UpdateConfiguredTableAssociationInput { + s.RoleArn = &v + return s +} + +type UpdateConfiguredTableAssociationOutput struct { + _ struct{} `type:"structure"` + + // The entire updated configured table association. + // + // ConfiguredTableAssociation is a required field + ConfiguredTableAssociation *ConfiguredTableAssociation `locationName:"configuredTableAssociation" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConfiguredTableAssociationOutput) 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 UpdateConfiguredTableAssociationOutput) GoString() string { + return s.String() +} + +// SetConfiguredTableAssociation sets the ConfiguredTableAssociation field's value. +func (s *UpdateConfiguredTableAssociationOutput) SetConfiguredTableAssociation(v *ConfiguredTableAssociation) *UpdateConfiguredTableAssociationOutput { + s.ConfiguredTableAssociation = v + return s +} + +type UpdateConfiguredTableInput struct { + _ struct{} `type:"structure"` + + // The identifier for the configured table to update. Currently accepts the + // configured table ID. + // + // ConfiguredTableIdentifier is a required field + ConfiguredTableIdentifier *string `location:"uri" locationName:"configuredTableIdentifier" min:"36" type:"string" required:"true"` + + // A new description for the configured table. + Description *string `locationName:"description" type:"string"` + + // A new name for the configured table. + Name *string `locationName:"name" 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 UpdateConfiguredTableInput) 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 UpdateConfiguredTableInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConfiguredTableInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConfiguredTableInput"} + if s.ConfiguredTableIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ConfiguredTableIdentifier")) + } + if s.ConfiguredTableIdentifier != nil && len(*s.ConfiguredTableIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ConfiguredTableIdentifier", 36)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguredTableIdentifier sets the ConfiguredTableIdentifier field's value. +func (s *UpdateConfiguredTableInput) SetConfiguredTableIdentifier(v string) *UpdateConfiguredTableInput { + s.ConfiguredTableIdentifier = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateConfiguredTableInput) SetDescription(v string) *UpdateConfiguredTableInput { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateConfiguredTableInput) SetName(v string) *UpdateConfiguredTableInput { + s.Name = &v + return s +} + +type UpdateConfiguredTableOutput struct { + _ struct{} `type:"structure"` + + // The updated configured table. + // + // ConfiguredTable is a required field + ConfiguredTable *ConfiguredTable `locationName:"configuredTable" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConfiguredTableOutput) 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 UpdateConfiguredTableOutput) GoString() string { + return s.String() +} + +// SetConfiguredTable sets the ConfiguredTable field's value. +func (s *UpdateConfiguredTableOutput) SetConfiguredTable(v *ConfiguredTable) *UpdateConfiguredTableOutput { + s.ConfiguredTable = v + return s +} + +type UpdateMembershipInput struct { + _ struct{} `type:"structure"` + + // The unique identifier of the membership. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // An indicator as to whether query logging has been enabled or disabled for + // the collaboration. + QueryLogStatus *string `locationName:"queryLogStatus" type:"string" enum:"MembershipQueryLogStatus"` +} + +// 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 UpdateMembershipInput) 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 UpdateMembershipInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateMembershipInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateMembershipInput"} + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *UpdateMembershipInput) SetMembershipIdentifier(v string) *UpdateMembershipInput { + s.MembershipIdentifier = &v + return s +} + +// SetQueryLogStatus sets the QueryLogStatus field's value. +func (s *UpdateMembershipInput) SetQueryLogStatus(v string) *UpdateMembershipInput { + s.QueryLogStatus = &v + return s +} + +type UpdateMembershipOutput struct { + _ struct{} `type:"structure"` + + // The membership object. + // + // Membership is a required field + Membership *Membership `locationName:"membership" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateMembershipOutput) 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 UpdateMembershipOutput) GoString() string { + return s.String() +} + +// SetMembership sets the Membership field's value. +func (s *UpdateMembershipOutput) SetMembership(v *Membership) *UpdateMembershipOutput { + s.Membership = v + return s +} + +type UpdateProtectedQueryInput struct { + _ struct{} `type:"structure"` + + // The identifier for a member of a protected query instance. + // + // MembershipIdentifier is a required field + MembershipIdentifier *string `location:"uri" locationName:"membershipIdentifier" min:"36" type:"string" required:"true"` + + // The identifier for a protected query instance. + // + // ProtectedQueryIdentifier is a required field + ProtectedQueryIdentifier *string `location:"uri" locationName:"protectedQueryIdentifier" min:"1" type:"string" required:"true"` + + // The target status of a query. Used to update the execution status of a currently + // running query. + // + // TargetStatus is a required field + TargetStatus *string `locationName:"targetStatus" type:"string" required:"true" enum:"TargetProtectedQueryStatus"` +} + +// 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 UpdateProtectedQueryInput) 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 UpdateProtectedQueryInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateProtectedQueryInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateProtectedQueryInput"} + if s.MembershipIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("MembershipIdentifier")) + } + if s.MembershipIdentifier != nil && len(*s.MembershipIdentifier) < 36 { + invalidParams.Add(request.NewErrParamMinLen("MembershipIdentifier", 36)) + } + if s.ProtectedQueryIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ProtectedQueryIdentifier")) + } + if s.ProtectedQueryIdentifier != nil && len(*s.ProtectedQueryIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProtectedQueryIdentifier", 1)) + } + if s.TargetStatus == nil { + invalidParams.Add(request.NewErrParamRequired("TargetStatus")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMembershipIdentifier sets the MembershipIdentifier field's value. +func (s *UpdateProtectedQueryInput) SetMembershipIdentifier(v string) *UpdateProtectedQueryInput { + s.MembershipIdentifier = &v + return s +} + +// SetProtectedQueryIdentifier sets the ProtectedQueryIdentifier field's value. +func (s *UpdateProtectedQueryInput) SetProtectedQueryIdentifier(v string) *UpdateProtectedQueryInput { + s.ProtectedQueryIdentifier = &v + return s +} + +// SetTargetStatus sets the TargetStatus field's value. +func (s *UpdateProtectedQueryInput) SetTargetStatus(v string) *UpdateProtectedQueryInput { + s.TargetStatus = &v + return s +} + +type UpdateProtectedQueryOutput struct { + _ struct{} `type:"structure"` + + // The protected query output. + // + // ProtectedQuery is a required field + ProtectedQuery *ProtectedQuery `locationName:"protectedQuery" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateProtectedQueryOutput) 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 UpdateProtectedQueryOutput) GoString() string { + return s.String() +} + +// SetProtectedQuery sets the ProtectedQuery field's value. +func (s *UpdateProtectedQueryOutput) SetProtectedQuery(v *ProtectedQuery) *UpdateProtectedQueryOutput { + s.ProtectedQuery = v + return s +} + +// The input fails to satisfy the specified constraints. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // Validation errors for specific input parameters. + FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"` + + Message_ *string `locationName:"message" type:"string"` + + // A reason code for the exception. + Reason *string `locationName:"reason" type:"string" enum:"ValidationExceptionReason"` +} + +// 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 ValidationException) 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 ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) 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 *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Describes validation errors for specific input parameters. +type ValidationExceptionField struct { + _ struct{} `type:"structure"` + + // A message for the input validation error. + // + // Message is a required field + Message *string `locationName:"message" type:"string" required:"true"` + + // The name of the input parameter. + // + // Name is a required field + Name *string `locationName:"name" 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 ValidationExceptionField) 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 ValidationExceptionField) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField { + s.Message = &v + return s +} + +// SetName sets the Name field's value. +func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField { + s.Name = &v + return s +} + +const ( + // AccessDeniedExceptionReasonInsufficientPermissions is a AccessDeniedExceptionReason enum value + AccessDeniedExceptionReasonInsufficientPermissions = "INSUFFICIENT_PERMISSIONS" +) + +// AccessDeniedExceptionReason_Values returns all elements of the AccessDeniedExceptionReason enum +func AccessDeniedExceptionReason_Values() []string { + return []string{ + AccessDeniedExceptionReasonInsufficientPermissions, + } +} + +const ( + // AggregateFunctionNameSum is a AggregateFunctionName enum value + AggregateFunctionNameSum = "SUM" + + // AggregateFunctionNameSumDistinct is a AggregateFunctionName enum value + AggregateFunctionNameSumDistinct = "SUM_DISTINCT" + + // AggregateFunctionNameCount is a AggregateFunctionName enum value + AggregateFunctionNameCount = "COUNT" + + // AggregateFunctionNameCountDistinct is a AggregateFunctionName enum value + AggregateFunctionNameCountDistinct = "COUNT_DISTINCT" + + // AggregateFunctionNameAvg is a AggregateFunctionName enum value + AggregateFunctionNameAvg = "AVG" +) + +// AggregateFunctionName_Values returns all elements of the AggregateFunctionName enum +func AggregateFunctionName_Values() []string { + return []string{ + AggregateFunctionNameSum, + AggregateFunctionNameSumDistinct, + AggregateFunctionNameCount, + AggregateFunctionNameCountDistinct, + AggregateFunctionNameAvg, + } +} + +const ( + // AggregationTypeCountDistinct is a AggregationType enum value + AggregationTypeCountDistinct = "COUNT_DISTINCT" +) + +// AggregationType_Values returns all elements of the AggregationType enum +func AggregationType_Values() []string { + return []string{ + AggregationTypeCountDistinct, + } +} + +const ( + // AnalysisMethodDirectQuery is a AnalysisMethod enum value + AnalysisMethodDirectQuery = "DIRECT_QUERY" +) + +// AnalysisMethod_Values returns all elements of the AnalysisMethod enum +func AnalysisMethod_Values() []string { + return []string{ + AnalysisMethodDirectQuery, + } +} + +const ( + // AnalysisRuleTypeAggregation is a AnalysisRuleType enum value + AnalysisRuleTypeAggregation = "AGGREGATION" + + // AnalysisRuleTypeList is a AnalysisRuleType enum value + AnalysisRuleTypeList = "LIST" +) + +// AnalysisRuleType_Values returns all elements of the AnalysisRuleType enum +func AnalysisRuleType_Values() []string { + return []string{ + AnalysisRuleTypeAggregation, + AnalysisRuleTypeList, + } +} + +const ( + // CollaborationQueryLogStatusEnabled is a CollaborationQueryLogStatus enum value + CollaborationQueryLogStatusEnabled = "ENABLED" + + // CollaborationQueryLogStatusDisabled is a CollaborationQueryLogStatus enum value + CollaborationQueryLogStatusDisabled = "DISABLED" +) + +// CollaborationQueryLogStatus_Values returns all elements of the CollaborationQueryLogStatus enum +func CollaborationQueryLogStatus_Values() []string { + return []string{ + CollaborationQueryLogStatusEnabled, + CollaborationQueryLogStatusDisabled, + } +} + +const ( + // ConfiguredTableAnalysisRuleTypeAggregation is a ConfiguredTableAnalysisRuleType enum value + ConfiguredTableAnalysisRuleTypeAggregation = "AGGREGATION" + + // ConfiguredTableAnalysisRuleTypeList is a ConfiguredTableAnalysisRuleType enum value + ConfiguredTableAnalysisRuleTypeList = "LIST" +) + +// ConfiguredTableAnalysisRuleType_Values returns all elements of the ConfiguredTableAnalysisRuleType enum +func ConfiguredTableAnalysisRuleType_Values() []string { + return []string{ + ConfiguredTableAnalysisRuleTypeAggregation, + ConfiguredTableAnalysisRuleTypeList, + } +} + +const ( + // ConflictExceptionReasonAlreadyExists is a ConflictExceptionReason enum value + ConflictExceptionReasonAlreadyExists = "ALREADY_EXISTS" + + // ConflictExceptionReasonSubresourcesExist is a ConflictExceptionReason enum value + ConflictExceptionReasonSubresourcesExist = "SUBRESOURCES_EXIST" + + // ConflictExceptionReasonInvalidState is a ConflictExceptionReason enum value + ConflictExceptionReasonInvalidState = "INVALID_STATE" +) + +// ConflictExceptionReason_Values returns all elements of the ConflictExceptionReason enum +func ConflictExceptionReason_Values() []string { + return []string{ + ConflictExceptionReasonAlreadyExists, + ConflictExceptionReasonSubresourcesExist, + ConflictExceptionReasonInvalidState, + } +} + +const ( + // FilterableMemberStatusInvited is a FilterableMemberStatus enum value + FilterableMemberStatusInvited = "INVITED" + + // FilterableMemberStatusActive is a FilterableMemberStatus enum value + FilterableMemberStatusActive = "ACTIVE" +) + +// FilterableMemberStatus_Values returns all elements of the FilterableMemberStatus enum +func FilterableMemberStatus_Values() []string { + return []string{ + FilterableMemberStatusInvited, + FilterableMemberStatusActive, + } +} + +const ( + // JoinRequiredOptionQueryRunner is a JoinRequiredOption enum value + JoinRequiredOptionQueryRunner = "QUERY_RUNNER" +) + +// JoinRequiredOption_Values returns all elements of the JoinRequiredOption enum +func JoinRequiredOption_Values() []string { + return []string{ + JoinRequiredOptionQueryRunner, + } +} + +const ( + // MemberAbilityCanQuery is a MemberAbility enum value + MemberAbilityCanQuery = "CAN_QUERY" + + // MemberAbilityCanReceiveResults is a MemberAbility enum value + MemberAbilityCanReceiveResults = "CAN_RECEIVE_RESULTS" +) + +// MemberAbility_Values returns all elements of the MemberAbility enum +func MemberAbility_Values() []string { + return []string{ + MemberAbilityCanQuery, + MemberAbilityCanReceiveResults, + } +} + +const ( + // MemberStatusInvited is a MemberStatus enum value + MemberStatusInvited = "INVITED" + + // MemberStatusActive is a MemberStatus enum value + MemberStatusActive = "ACTIVE" + + // MemberStatusLeft is a MemberStatus enum value + MemberStatusLeft = "LEFT" + + // MemberStatusRemoved is a MemberStatus enum value + MemberStatusRemoved = "REMOVED" +) + +// MemberStatus_Values returns all elements of the MemberStatus enum +func MemberStatus_Values() []string { + return []string{ + MemberStatusInvited, + MemberStatusActive, + MemberStatusLeft, + MemberStatusRemoved, + } +} + +const ( + // MembershipQueryLogStatusEnabled is a MembershipQueryLogStatus enum value + MembershipQueryLogStatusEnabled = "ENABLED" + + // MembershipQueryLogStatusDisabled is a MembershipQueryLogStatus enum value + MembershipQueryLogStatusDisabled = "DISABLED" +) + +// MembershipQueryLogStatus_Values returns all elements of the MembershipQueryLogStatus enum +func MembershipQueryLogStatus_Values() []string { + return []string{ + MembershipQueryLogStatusEnabled, + MembershipQueryLogStatusDisabled, + } +} + +const ( + // MembershipStatusActive is a MembershipStatus enum value + MembershipStatusActive = "ACTIVE" + + // MembershipStatusRemoved is a MembershipStatus enum value + MembershipStatusRemoved = "REMOVED" + + // MembershipStatusCollaborationDeleted is a MembershipStatus enum value + MembershipStatusCollaborationDeleted = "COLLABORATION_DELETED" +) + +// MembershipStatus_Values returns all elements of the MembershipStatus enum +func MembershipStatus_Values() []string { + return []string{ + MembershipStatusActive, + MembershipStatusRemoved, + MembershipStatusCollaborationDeleted, + } +} + +const ( + // ProtectedQueryStatusSubmitted is a ProtectedQueryStatus enum value + ProtectedQueryStatusSubmitted = "SUBMITTED" + + // ProtectedQueryStatusStarted is a ProtectedQueryStatus enum value + ProtectedQueryStatusStarted = "STARTED" + + // ProtectedQueryStatusCancelled is a ProtectedQueryStatus enum value + ProtectedQueryStatusCancelled = "CANCELLED" + + // ProtectedQueryStatusCancelling is a ProtectedQueryStatus enum value + ProtectedQueryStatusCancelling = "CANCELLING" + + // ProtectedQueryStatusFailed is a ProtectedQueryStatus enum value + ProtectedQueryStatusFailed = "FAILED" + + // ProtectedQueryStatusSuccess is a ProtectedQueryStatus enum value + ProtectedQueryStatusSuccess = "SUCCESS" + + // ProtectedQueryStatusTimedOut is a ProtectedQueryStatus enum value + ProtectedQueryStatusTimedOut = "TIMED_OUT" +) + +// ProtectedQueryStatus_Values returns all elements of the ProtectedQueryStatus enum +func ProtectedQueryStatus_Values() []string { + return []string{ + ProtectedQueryStatusSubmitted, + ProtectedQueryStatusStarted, + ProtectedQueryStatusCancelled, + ProtectedQueryStatusCancelling, + ProtectedQueryStatusFailed, + ProtectedQueryStatusSuccess, + ProtectedQueryStatusTimedOut, + } +} + +const ( + // ProtectedQueryTypeSql is a ProtectedQueryType enum value + ProtectedQueryTypeSql = "SQL" +) + +// ProtectedQueryType_Values returns all elements of the ProtectedQueryType enum +func ProtectedQueryType_Values() []string { + return []string{ + ProtectedQueryTypeSql, + } +} + +const ( + // ResourceTypeConfiguredTable is a ResourceType enum value + ResourceTypeConfiguredTable = "CONFIGURED_TABLE" + + // ResourceTypeCollaboration is a ResourceType enum value + ResourceTypeCollaboration = "COLLABORATION" + + // ResourceTypeMembership is a ResourceType enum value + ResourceTypeMembership = "MEMBERSHIP" + + // ResourceTypeConfiguredTableAssociation is a ResourceType enum value + ResourceTypeConfiguredTableAssociation = "CONFIGURED_TABLE_ASSOCIATION" +) + +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeConfiguredTable, + ResourceTypeCollaboration, + ResourceTypeMembership, + ResourceTypeConfiguredTableAssociation, + } +} + +const ( + // ResultFormatCsv is a ResultFormat enum value + ResultFormatCsv = "CSV" + + // ResultFormatParquet is a ResultFormat enum value + ResultFormatParquet = "PARQUET" +) + +// ResultFormat_Values returns all elements of the ResultFormat enum +func ResultFormat_Values() []string { + return []string{ + ResultFormatCsv, + ResultFormatParquet, + } +} + +const ( + // ScalarFunctionsTrunc is a ScalarFunctions enum value + ScalarFunctionsTrunc = "TRUNC" + + // ScalarFunctionsAbs is a ScalarFunctions enum value + ScalarFunctionsAbs = "ABS" + + // ScalarFunctionsCeiling is a ScalarFunctions enum value + ScalarFunctionsCeiling = "CEILING" + + // ScalarFunctionsFloor is a ScalarFunctions enum value + ScalarFunctionsFloor = "FLOOR" + + // ScalarFunctionsLn is a ScalarFunctions enum value + ScalarFunctionsLn = "LN" + + // ScalarFunctionsLog is a ScalarFunctions enum value + ScalarFunctionsLog = "LOG" + + // ScalarFunctionsRound is a ScalarFunctions enum value + ScalarFunctionsRound = "ROUND" + + // ScalarFunctionsSqrt is a ScalarFunctions enum value + ScalarFunctionsSqrt = "SQRT" + + // ScalarFunctionsCast is a ScalarFunctions enum value + ScalarFunctionsCast = "CAST" + + // ScalarFunctionsLower is a ScalarFunctions enum value + ScalarFunctionsLower = "LOWER" + + // ScalarFunctionsRtrim is a ScalarFunctions enum value + ScalarFunctionsRtrim = "RTRIM" + + // ScalarFunctionsUpper is a ScalarFunctions enum value + ScalarFunctionsUpper = "UPPER" + + // ScalarFunctionsCoalesce is a ScalarFunctions enum value + ScalarFunctionsCoalesce = "COALESCE" +) + +// ScalarFunctions_Values returns all elements of the ScalarFunctions enum +func ScalarFunctions_Values() []string { + return []string{ + ScalarFunctionsTrunc, + ScalarFunctionsAbs, + ScalarFunctionsCeiling, + ScalarFunctionsFloor, + ScalarFunctionsLn, + ScalarFunctionsLog, + ScalarFunctionsRound, + ScalarFunctionsSqrt, + ScalarFunctionsCast, + ScalarFunctionsLower, + ScalarFunctionsRtrim, + ScalarFunctionsUpper, + ScalarFunctionsCoalesce, + } +} + +const ( + // SchemaTypeTable is a SchemaType enum value + SchemaTypeTable = "TABLE" +) + +// SchemaType_Values returns all elements of the SchemaType enum +func SchemaType_Values() []string { + return []string{ + SchemaTypeTable, + } +} + +const ( + // TargetProtectedQueryStatusCancelled is a TargetProtectedQueryStatus enum value + TargetProtectedQueryStatusCancelled = "CANCELLED" +) + +// TargetProtectedQueryStatus_Values returns all elements of the TargetProtectedQueryStatus enum +func TargetProtectedQueryStatus_Values() []string { + return []string{ + TargetProtectedQueryStatusCancelled, + } +} + +const ( + // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value + ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED" + + // ValidationExceptionReasonInvalidConfiguration is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidConfiguration = "INVALID_CONFIGURATION" +) + +// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum +func ValidationExceptionReason_Values() []string { + return []string{ + ValidationExceptionReasonFieldValidationFailed, + ValidationExceptionReasonInvalidConfiguration, + } +} diff --git a/service/cleanrooms/cleanroomsiface/interface.go b/service/cleanrooms/cleanroomsiface/interface.go new file mode 100644 index 00000000000..6f1e248bb25 --- /dev/null +++ b/service/cleanrooms/cleanroomsiface/interface.go @@ -0,0 +1,221 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package cleanroomsiface provides an interface to enable mocking the AWS Clean Rooms Service service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package cleanroomsiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/cleanrooms" +) + +// CleanRoomsAPI provides an interface to enable mocking the +// cleanrooms.CleanRooms service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // AWS Clean Rooms Service. +// func myFunc(svc cleanroomsiface.CleanRoomsAPI) bool { +// // Make svc.BatchGetSchema request +// } +// +// func main() { +// sess := session.New() +// svc := cleanrooms.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCleanRoomsClient struct { +// cleanroomsiface.CleanRoomsAPI +// } +// func (m *mockCleanRoomsClient) BatchGetSchema(input *cleanrooms.BatchGetSchemaInput) (*cleanrooms.BatchGetSchemaOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCleanRoomsClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type CleanRoomsAPI interface { + BatchGetSchema(*cleanrooms.BatchGetSchemaInput) (*cleanrooms.BatchGetSchemaOutput, error) + BatchGetSchemaWithContext(aws.Context, *cleanrooms.BatchGetSchemaInput, ...request.Option) (*cleanrooms.BatchGetSchemaOutput, error) + BatchGetSchemaRequest(*cleanrooms.BatchGetSchemaInput) (*request.Request, *cleanrooms.BatchGetSchemaOutput) + + CreateCollaboration(*cleanrooms.CreateCollaborationInput) (*cleanrooms.CreateCollaborationOutput, error) + CreateCollaborationWithContext(aws.Context, *cleanrooms.CreateCollaborationInput, ...request.Option) (*cleanrooms.CreateCollaborationOutput, error) + CreateCollaborationRequest(*cleanrooms.CreateCollaborationInput) (*request.Request, *cleanrooms.CreateCollaborationOutput) + + CreateConfiguredTable(*cleanrooms.CreateConfiguredTableInput) (*cleanrooms.CreateConfiguredTableOutput, error) + CreateConfiguredTableWithContext(aws.Context, *cleanrooms.CreateConfiguredTableInput, ...request.Option) (*cleanrooms.CreateConfiguredTableOutput, error) + CreateConfiguredTableRequest(*cleanrooms.CreateConfiguredTableInput) (*request.Request, *cleanrooms.CreateConfiguredTableOutput) + + CreateConfiguredTableAnalysisRule(*cleanrooms.CreateConfiguredTableAnalysisRuleInput) (*cleanrooms.CreateConfiguredTableAnalysisRuleOutput, error) + CreateConfiguredTableAnalysisRuleWithContext(aws.Context, *cleanrooms.CreateConfiguredTableAnalysisRuleInput, ...request.Option) (*cleanrooms.CreateConfiguredTableAnalysisRuleOutput, error) + CreateConfiguredTableAnalysisRuleRequest(*cleanrooms.CreateConfiguredTableAnalysisRuleInput) (*request.Request, *cleanrooms.CreateConfiguredTableAnalysisRuleOutput) + + CreateConfiguredTableAssociation(*cleanrooms.CreateConfiguredTableAssociationInput) (*cleanrooms.CreateConfiguredTableAssociationOutput, error) + CreateConfiguredTableAssociationWithContext(aws.Context, *cleanrooms.CreateConfiguredTableAssociationInput, ...request.Option) (*cleanrooms.CreateConfiguredTableAssociationOutput, error) + CreateConfiguredTableAssociationRequest(*cleanrooms.CreateConfiguredTableAssociationInput) (*request.Request, *cleanrooms.CreateConfiguredTableAssociationOutput) + + CreateMembership(*cleanrooms.CreateMembershipInput) (*cleanrooms.CreateMembershipOutput, error) + CreateMembershipWithContext(aws.Context, *cleanrooms.CreateMembershipInput, ...request.Option) (*cleanrooms.CreateMembershipOutput, error) + CreateMembershipRequest(*cleanrooms.CreateMembershipInput) (*request.Request, *cleanrooms.CreateMembershipOutput) + + DeleteCollaboration(*cleanrooms.DeleteCollaborationInput) (*cleanrooms.DeleteCollaborationOutput, error) + DeleteCollaborationWithContext(aws.Context, *cleanrooms.DeleteCollaborationInput, ...request.Option) (*cleanrooms.DeleteCollaborationOutput, error) + DeleteCollaborationRequest(*cleanrooms.DeleteCollaborationInput) (*request.Request, *cleanrooms.DeleteCollaborationOutput) + + DeleteConfiguredTable(*cleanrooms.DeleteConfiguredTableInput) (*cleanrooms.DeleteConfiguredTableOutput, error) + DeleteConfiguredTableWithContext(aws.Context, *cleanrooms.DeleteConfiguredTableInput, ...request.Option) (*cleanrooms.DeleteConfiguredTableOutput, error) + DeleteConfiguredTableRequest(*cleanrooms.DeleteConfiguredTableInput) (*request.Request, *cleanrooms.DeleteConfiguredTableOutput) + + DeleteConfiguredTableAnalysisRule(*cleanrooms.DeleteConfiguredTableAnalysisRuleInput) (*cleanrooms.DeleteConfiguredTableAnalysisRuleOutput, error) + DeleteConfiguredTableAnalysisRuleWithContext(aws.Context, *cleanrooms.DeleteConfiguredTableAnalysisRuleInput, ...request.Option) (*cleanrooms.DeleteConfiguredTableAnalysisRuleOutput, error) + DeleteConfiguredTableAnalysisRuleRequest(*cleanrooms.DeleteConfiguredTableAnalysisRuleInput) (*request.Request, *cleanrooms.DeleteConfiguredTableAnalysisRuleOutput) + + DeleteConfiguredTableAssociation(*cleanrooms.DeleteConfiguredTableAssociationInput) (*cleanrooms.DeleteConfiguredTableAssociationOutput, error) + DeleteConfiguredTableAssociationWithContext(aws.Context, *cleanrooms.DeleteConfiguredTableAssociationInput, ...request.Option) (*cleanrooms.DeleteConfiguredTableAssociationOutput, error) + DeleteConfiguredTableAssociationRequest(*cleanrooms.DeleteConfiguredTableAssociationInput) (*request.Request, *cleanrooms.DeleteConfiguredTableAssociationOutput) + + DeleteMember(*cleanrooms.DeleteMemberInput) (*cleanrooms.DeleteMemberOutput, error) + DeleteMemberWithContext(aws.Context, *cleanrooms.DeleteMemberInput, ...request.Option) (*cleanrooms.DeleteMemberOutput, error) + DeleteMemberRequest(*cleanrooms.DeleteMemberInput) (*request.Request, *cleanrooms.DeleteMemberOutput) + + DeleteMembership(*cleanrooms.DeleteMembershipInput) (*cleanrooms.DeleteMembershipOutput, error) + DeleteMembershipWithContext(aws.Context, *cleanrooms.DeleteMembershipInput, ...request.Option) (*cleanrooms.DeleteMembershipOutput, error) + DeleteMembershipRequest(*cleanrooms.DeleteMembershipInput) (*request.Request, *cleanrooms.DeleteMembershipOutput) + + GetCollaboration(*cleanrooms.GetCollaborationInput) (*cleanrooms.GetCollaborationOutput, error) + GetCollaborationWithContext(aws.Context, *cleanrooms.GetCollaborationInput, ...request.Option) (*cleanrooms.GetCollaborationOutput, error) + GetCollaborationRequest(*cleanrooms.GetCollaborationInput) (*request.Request, *cleanrooms.GetCollaborationOutput) + + GetConfiguredTable(*cleanrooms.GetConfiguredTableInput) (*cleanrooms.GetConfiguredTableOutput, error) + GetConfiguredTableWithContext(aws.Context, *cleanrooms.GetConfiguredTableInput, ...request.Option) (*cleanrooms.GetConfiguredTableOutput, error) + GetConfiguredTableRequest(*cleanrooms.GetConfiguredTableInput) (*request.Request, *cleanrooms.GetConfiguredTableOutput) + + GetConfiguredTableAnalysisRule(*cleanrooms.GetConfiguredTableAnalysisRuleInput) (*cleanrooms.GetConfiguredTableAnalysisRuleOutput, error) + GetConfiguredTableAnalysisRuleWithContext(aws.Context, *cleanrooms.GetConfiguredTableAnalysisRuleInput, ...request.Option) (*cleanrooms.GetConfiguredTableAnalysisRuleOutput, error) + GetConfiguredTableAnalysisRuleRequest(*cleanrooms.GetConfiguredTableAnalysisRuleInput) (*request.Request, *cleanrooms.GetConfiguredTableAnalysisRuleOutput) + + GetConfiguredTableAssociation(*cleanrooms.GetConfiguredTableAssociationInput) (*cleanrooms.GetConfiguredTableAssociationOutput, error) + GetConfiguredTableAssociationWithContext(aws.Context, *cleanrooms.GetConfiguredTableAssociationInput, ...request.Option) (*cleanrooms.GetConfiguredTableAssociationOutput, error) + GetConfiguredTableAssociationRequest(*cleanrooms.GetConfiguredTableAssociationInput) (*request.Request, *cleanrooms.GetConfiguredTableAssociationOutput) + + GetMembership(*cleanrooms.GetMembershipInput) (*cleanrooms.GetMembershipOutput, error) + GetMembershipWithContext(aws.Context, *cleanrooms.GetMembershipInput, ...request.Option) (*cleanrooms.GetMembershipOutput, error) + GetMembershipRequest(*cleanrooms.GetMembershipInput) (*request.Request, *cleanrooms.GetMembershipOutput) + + GetProtectedQuery(*cleanrooms.GetProtectedQueryInput) (*cleanrooms.GetProtectedQueryOutput, error) + GetProtectedQueryWithContext(aws.Context, *cleanrooms.GetProtectedQueryInput, ...request.Option) (*cleanrooms.GetProtectedQueryOutput, error) + GetProtectedQueryRequest(*cleanrooms.GetProtectedQueryInput) (*request.Request, *cleanrooms.GetProtectedQueryOutput) + + GetSchema(*cleanrooms.GetSchemaInput) (*cleanrooms.GetSchemaOutput, error) + GetSchemaWithContext(aws.Context, *cleanrooms.GetSchemaInput, ...request.Option) (*cleanrooms.GetSchemaOutput, error) + GetSchemaRequest(*cleanrooms.GetSchemaInput) (*request.Request, *cleanrooms.GetSchemaOutput) + + GetSchemaAnalysisRule(*cleanrooms.GetSchemaAnalysisRuleInput) (*cleanrooms.GetSchemaAnalysisRuleOutput, error) + GetSchemaAnalysisRuleWithContext(aws.Context, *cleanrooms.GetSchemaAnalysisRuleInput, ...request.Option) (*cleanrooms.GetSchemaAnalysisRuleOutput, error) + GetSchemaAnalysisRuleRequest(*cleanrooms.GetSchemaAnalysisRuleInput) (*request.Request, *cleanrooms.GetSchemaAnalysisRuleOutput) + + ListCollaborations(*cleanrooms.ListCollaborationsInput) (*cleanrooms.ListCollaborationsOutput, error) + ListCollaborationsWithContext(aws.Context, *cleanrooms.ListCollaborationsInput, ...request.Option) (*cleanrooms.ListCollaborationsOutput, error) + ListCollaborationsRequest(*cleanrooms.ListCollaborationsInput) (*request.Request, *cleanrooms.ListCollaborationsOutput) + + ListCollaborationsPages(*cleanrooms.ListCollaborationsInput, func(*cleanrooms.ListCollaborationsOutput, bool) bool) error + ListCollaborationsPagesWithContext(aws.Context, *cleanrooms.ListCollaborationsInput, func(*cleanrooms.ListCollaborationsOutput, bool) bool, ...request.Option) error + + ListConfiguredTableAssociations(*cleanrooms.ListConfiguredTableAssociationsInput) (*cleanrooms.ListConfiguredTableAssociationsOutput, error) + ListConfiguredTableAssociationsWithContext(aws.Context, *cleanrooms.ListConfiguredTableAssociationsInput, ...request.Option) (*cleanrooms.ListConfiguredTableAssociationsOutput, error) + ListConfiguredTableAssociationsRequest(*cleanrooms.ListConfiguredTableAssociationsInput) (*request.Request, *cleanrooms.ListConfiguredTableAssociationsOutput) + + ListConfiguredTableAssociationsPages(*cleanrooms.ListConfiguredTableAssociationsInput, func(*cleanrooms.ListConfiguredTableAssociationsOutput, bool) bool) error + ListConfiguredTableAssociationsPagesWithContext(aws.Context, *cleanrooms.ListConfiguredTableAssociationsInput, func(*cleanrooms.ListConfiguredTableAssociationsOutput, bool) bool, ...request.Option) error + + ListConfiguredTables(*cleanrooms.ListConfiguredTablesInput) (*cleanrooms.ListConfiguredTablesOutput, error) + ListConfiguredTablesWithContext(aws.Context, *cleanrooms.ListConfiguredTablesInput, ...request.Option) (*cleanrooms.ListConfiguredTablesOutput, error) + ListConfiguredTablesRequest(*cleanrooms.ListConfiguredTablesInput) (*request.Request, *cleanrooms.ListConfiguredTablesOutput) + + ListConfiguredTablesPages(*cleanrooms.ListConfiguredTablesInput, func(*cleanrooms.ListConfiguredTablesOutput, bool) bool) error + ListConfiguredTablesPagesWithContext(aws.Context, *cleanrooms.ListConfiguredTablesInput, func(*cleanrooms.ListConfiguredTablesOutput, bool) bool, ...request.Option) error + + ListMembers(*cleanrooms.ListMembersInput) (*cleanrooms.ListMembersOutput, error) + ListMembersWithContext(aws.Context, *cleanrooms.ListMembersInput, ...request.Option) (*cleanrooms.ListMembersOutput, error) + ListMembersRequest(*cleanrooms.ListMembersInput) (*request.Request, *cleanrooms.ListMembersOutput) + + ListMembersPages(*cleanrooms.ListMembersInput, func(*cleanrooms.ListMembersOutput, bool) bool) error + ListMembersPagesWithContext(aws.Context, *cleanrooms.ListMembersInput, func(*cleanrooms.ListMembersOutput, bool) bool, ...request.Option) error + + ListMemberships(*cleanrooms.ListMembershipsInput) (*cleanrooms.ListMembershipsOutput, error) + ListMembershipsWithContext(aws.Context, *cleanrooms.ListMembershipsInput, ...request.Option) (*cleanrooms.ListMembershipsOutput, error) + ListMembershipsRequest(*cleanrooms.ListMembershipsInput) (*request.Request, *cleanrooms.ListMembershipsOutput) + + ListMembershipsPages(*cleanrooms.ListMembershipsInput, func(*cleanrooms.ListMembershipsOutput, bool) bool) error + ListMembershipsPagesWithContext(aws.Context, *cleanrooms.ListMembershipsInput, func(*cleanrooms.ListMembershipsOutput, bool) bool, ...request.Option) error + + ListProtectedQueries(*cleanrooms.ListProtectedQueriesInput) (*cleanrooms.ListProtectedQueriesOutput, error) + ListProtectedQueriesWithContext(aws.Context, *cleanrooms.ListProtectedQueriesInput, ...request.Option) (*cleanrooms.ListProtectedQueriesOutput, error) + ListProtectedQueriesRequest(*cleanrooms.ListProtectedQueriesInput) (*request.Request, *cleanrooms.ListProtectedQueriesOutput) + + ListProtectedQueriesPages(*cleanrooms.ListProtectedQueriesInput, func(*cleanrooms.ListProtectedQueriesOutput, bool) bool) error + ListProtectedQueriesPagesWithContext(aws.Context, *cleanrooms.ListProtectedQueriesInput, func(*cleanrooms.ListProtectedQueriesOutput, bool) bool, ...request.Option) error + + ListSchemas(*cleanrooms.ListSchemasInput) (*cleanrooms.ListSchemasOutput, error) + ListSchemasWithContext(aws.Context, *cleanrooms.ListSchemasInput, ...request.Option) (*cleanrooms.ListSchemasOutput, error) + ListSchemasRequest(*cleanrooms.ListSchemasInput) (*request.Request, *cleanrooms.ListSchemasOutput) + + ListSchemasPages(*cleanrooms.ListSchemasInput, func(*cleanrooms.ListSchemasOutput, bool) bool) error + ListSchemasPagesWithContext(aws.Context, *cleanrooms.ListSchemasInput, func(*cleanrooms.ListSchemasOutput, bool) bool, ...request.Option) error + + StartProtectedQuery(*cleanrooms.StartProtectedQueryInput) (*cleanrooms.StartProtectedQueryOutput, error) + StartProtectedQueryWithContext(aws.Context, *cleanrooms.StartProtectedQueryInput, ...request.Option) (*cleanrooms.StartProtectedQueryOutput, error) + StartProtectedQueryRequest(*cleanrooms.StartProtectedQueryInput) (*request.Request, *cleanrooms.StartProtectedQueryOutput) + + UpdateCollaboration(*cleanrooms.UpdateCollaborationInput) (*cleanrooms.UpdateCollaborationOutput, error) + UpdateCollaborationWithContext(aws.Context, *cleanrooms.UpdateCollaborationInput, ...request.Option) (*cleanrooms.UpdateCollaborationOutput, error) + UpdateCollaborationRequest(*cleanrooms.UpdateCollaborationInput) (*request.Request, *cleanrooms.UpdateCollaborationOutput) + + UpdateConfiguredTable(*cleanrooms.UpdateConfiguredTableInput) (*cleanrooms.UpdateConfiguredTableOutput, error) + UpdateConfiguredTableWithContext(aws.Context, *cleanrooms.UpdateConfiguredTableInput, ...request.Option) (*cleanrooms.UpdateConfiguredTableOutput, error) + UpdateConfiguredTableRequest(*cleanrooms.UpdateConfiguredTableInput) (*request.Request, *cleanrooms.UpdateConfiguredTableOutput) + + UpdateConfiguredTableAnalysisRule(*cleanrooms.UpdateConfiguredTableAnalysisRuleInput) (*cleanrooms.UpdateConfiguredTableAnalysisRuleOutput, error) + UpdateConfiguredTableAnalysisRuleWithContext(aws.Context, *cleanrooms.UpdateConfiguredTableAnalysisRuleInput, ...request.Option) (*cleanrooms.UpdateConfiguredTableAnalysisRuleOutput, error) + UpdateConfiguredTableAnalysisRuleRequest(*cleanrooms.UpdateConfiguredTableAnalysisRuleInput) (*request.Request, *cleanrooms.UpdateConfiguredTableAnalysisRuleOutput) + + UpdateConfiguredTableAssociation(*cleanrooms.UpdateConfiguredTableAssociationInput) (*cleanrooms.UpdateConfiguredTableAssociationOutput, error) + UpdateConfiguredTableAssociationWithContext(aws.Context, *cleanrooms.UpdateConfiguredTableAssociationInput, ...request.Option) (*cleanrooms.UpdateConfiguredTableAssociationOutput, error) + UpdateConfiguredTableAssociationRequest(*cleanrooms.UpdateConfiguredTableAssociationInput) (*request.Request, *cleanrooms.UpdateConfiguredTableAssociationOutput) + + UpdateMembership(*cleanrooms.UpdateMembershipInput) (*cleanrooms.UpdateMembershipOutput, error) + UpdateMembershipWithContext(aws.Context, *cleanrooms.UpdateMembershipInput, ...request.Option) (*cleanrooms.UpdateMembershipOutput, error) + UpdateMembershipRequest(*cleanrooms.UpdateMembershipInput) (*request.Request, *cleanrooms.UpdateMembershipOutput) + + UpdateProtectedQuery(*cleanrooms.UpdateProtectedQueryInput) (*cleanrooms.UpdateProtectedQueryOutput, error) + UpdateProtectedQueryWithContext(aws.Context, *cleanrooms.UpdateProtectedQueryInput, ...request.Option) (*cleanrooms.UpdateProtectedQueryOutput, error) + UpdateProtectedQueryRequest(*cleanrooms.UpdateProtectedQueryInput) (*request.Request, *cleanrooms.UpdateProtectedQueryOutput) +} + +var _ CleanRoomsAPI = (*cleanrooms.CleanRooms)(nil) diff --git a/service/cleanrooms/doc.go b/service/cleanrooms/doc.go new file mode 100644 index 00000000000..aede0541085 --- /dev/null +++ b/service/cleanrooms/doc.go @@ -0,0 +1,38 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package cleanrooms provides the client and types for making API +// requests to AWS Clean Rooms Service. +// +// AWS Clean Rooms is in preview release and is subject to change. +// +// Welcome to the AWS Clean Rooms API Reference. +// +// AWS Clean Rooms is an AWS service that helps multiple parties to join their +// data together in a secure collaboration workspace. In the collaboration, +// members who can query and receive results can get insights into the combined +// data without either party getting access to the other party's raw data. +// +// To learn more about AWS Clean Rooms concepts, procedures, and best practices, +// see the AWS Clean Rooms User Guide (https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html). +// +// See https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17 for more information on this service. +// +// See cleanrooms package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/cleanrooms/ +// +// # Using the Client +// +// To contact AWS Clean Rooms Service with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Clean Rooms Service client CleanRooms for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/cleanrooms/#New +package cleanrooms diff --git a/service/cleanrooms/errors.go b/service/cleanrooms/errors.go new file mode 100644 index 00000000000..d295c6f51f6 --- /dev/null +++ b/service/cleanrooms/errors.go @@ -0,0 +1,62 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package cleanrooms + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // Caller does not have sufficient access to perform this action. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // Updating or deleting a resource can cause an inconsistent state. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // Unexpected error during processing of request. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // Request references a resource which does not exist. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeServiceQuotaExceededException for service response error code + // "ServiceQuotaExceededException". + // + // Request denied because service quota has been exceeded. + ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // Request was denied due to request throttling. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // The input fails to satisfy the specified constraints. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, + "InternalServerException": newErrorInternalServerException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/cleanrooms/service.go b/service/cleanrooms/service.go new file mode 100644 index 00000000000..c447892bfbe --- /dev/null +++ b/service/cleanrooms/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package cleanrooms + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// CleanRooms provides the API operation methods for making requests to +// AWS Clean Rooms Service. See this package's package overview docs +// for details on the service. +// +// CleanRooms methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type CleanRooms struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "CleanRooms" // Name of service. + EndpointsID = "cleanrooms" // ID to lookup a service endpoint with. + ServiceID = "CleanRooms" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the CleanRooms client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a CleanRooms client from just a session. +// svc := cleanrooms.New(mySession) +// +// // Create a CleanRooms client with additional configuration +// svc := cleanrooms.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *CleanRooms { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "cleanrooms" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *CleanRooms { + svc := &CleanRooms{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2022-02-17", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a CleanRooms operation and runs any +// custom request initialization. +func (c *CleanRooms) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/cloudwatchlogs/api.go b/service/cloudwatchlogs/api.go index 4f74a992bcc..27d2cbf1cda 100644 --- a/service/cloudwatchlogs/api.go +++ b/service/cloudwatchlogs/api.go @@ -1790,6 +1790,10 @@ func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInpu // streams or filter the results by prefix. You can also control how the results // are ordered. // +// You can specify the log group to search by using either logGroupIdentifier +// or logGroupName. You must include one of these two parameters, but you can't +// include both. +// // This operation has a limit of five transactions per second, after which transactions // are throttled. // @@ -2585,6 +2589,10 @@ func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (re // // You must have the logs;FilterLogEvents permission to perform this operation. // +// You can specify the log group to search by using either logGroupIdentifier +// or logGroupName. You must include one of these two parameters, but you can't +// include both. +// // By default, this operation returns as many log events as can fit in 1 MB // (up to 10,000 log events) or all the events found within the specified time // range. If the results include a token, that means there are more log events @@ -2842,6 +2850,10 @@ func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *req // operation in a monitoring account and view data from the linked source accounts. // For more information, see CloudWatch cross-account observability (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html). // +// You can specify the log group to search by using either logGroupIdentifier +// or logGroupName. You must include one of these two parameters, but you can't +// include both. +// // 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. @@ -2981,6 +2993,10 @@ func (c *CloudWatchLogs) GetLogGroupFieldsRequest(input *GetLogGroupFieldsInput) // log group. Includes the percentage of log events that contain each field. // The search is limited to a time period that you specify. // +// You can specify the log group to search by using either logGroupIdentifier +// or logGroupName. You must specify one of these parameters, but you can't +// specify both. +// // In the results, fields that start with @ are fields generated by CloudWatch // Logs. For example, @timestamp is the timestamp of each log event. For more // information about the fields that are generated by CloudWatch logs, see Supported @@ -6735,9 +6751,7 @@ type DescribeLogStreamsInput struct { // // If you specify values for both logGroupName and logGroupIdentifier, the action // returns an InvalidParameterException error. - // - // LogGroupName is a required field - LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` + LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // The prefix to match. // @@ -6790,9 +6804,6 @@ func (s *DescribeLogStreamsInput) Validate() error { if s.LogGroupIdentifier != nil && len(*s.LogGroupIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupIdentifier", 1)) } - if s.LogGroupName == nil { - invalidParams.Add(request.NewErrParamRequired("LogGroupName")) - } if s.LogGroupName != nil && len(*s.LogGroupName) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupName", 1)) } @@ -7879,9 +7890,7 @@ type FilterLogEventsInput struct { // // If you specify values for both logGroupName and logGroupIdentifier, the action // returns an InvalidParameterException error. - // - // LogGroupName is a required field - LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` + LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // Filters the results to include only events from log streams that have names // starting with this prefix. @@ -7941,9 +7950,6 @@ func (s *FilterLogEventsInput) Validate() error { if s.LogGroupIdentifier != nil && len(*s.LogGroupIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupIdentifier", 1)) } - if s.LogGroupName == nil { - invalidParams.Add(request.NewErrParamRequired("LogGroupName")) - } if s.LogGroupName != nil && len(*s.LogGroupName) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupName", 1)) } @@ -8277,9 +8283,7 @@ type GetLogEventsInput struct { // // If you specify values for both logGroupName and logGroupIdentifier, the action // returns an InvalidParameterException error. - // - // LogGroupName is a required field - LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` + LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // The name of the log stream. // @@ -8339,9 +8343,6 @@ func (s *GetLogEventsInput) Validate() error { if s.LogGroupIdentifier != nil && len(*s.LogGroupIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupIdentifier", 1)) } - if s.LogGroupName == nil { - invalidParams.Add(request.NewErrParamRequired("LogGroupName")) - } if s.LogGroupName != nil && len(*s.LogGroupName) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupName", 1)) } @@ -8483,9 +8484,7 @@ type GetLogGroupFieldsInput struct { // // If you specify values for both logGroupName and logGroupIdentifier, the action // returns an InvalidParameterException error. - // - // LogGroupName is a required field - LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` + LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // The time to set as the center of the query. If you specify time, the 15 minutes // before this time are queries. If you omit time, the 8 minutes before and @@ -8520,9 +8519,6 @@ func (s *GetLogGroupFieldsInput) Validate() error { if s.LogGroupIdentifier != nil && len(*s.LogGroupIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupIdentifier", 1)) } - if s.LogGroupName == nil { - invalidParams.Add(request.NewErrParamRequired("LogGroupName")) - } if s.LogGroupName != nil && len(*s.LogGroupName) < 1 { invalidParams.Add(request.NewErrParamMinLen("LogGroupName", 1)) } diff --git a/service/lambda/api.go b/service/lambda/api.go index a82b6fef685..87265da5b4f 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -487,21 +487,21 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // The following error handling options are available only for stream sources // (DynamoDB and Kinesis): // -// - BisectBatchOnFunctionError - If the function returns an error, split +// - BisectBatchOnFunctionError – If the function returns an error, split // the batch in two and retry. // -// - DestinationConfig - Send discarded records to an Amazon SQS queue or -// Amazon SNS topic. +// - DestinationConfig – Send discarded records to an Amazon SQS queue +// or Amazon SNS topic. // -// - MaximumRecordAgeInSeconds - Discard records older than the specified +// - MaximumRecordAgeInSeconds – Discard records older than the specified // age. The default value is infinite (-1). When set to infinite (-1), failed // records are retried until the record expires // -// - MaximumRetryAttempts - Discard records after the specified number of -// retries. The default value is infinite (-1). When set to infinite (-1), +// - MaximumRetryAttempts – Discard records after the specified number +// of retries. The default value is infinite (-1). When set to infinite (-1), // failed records are retried until the record expires. // -// - ParallelizationFactor - Process multiple batches from each shard concurrently. +// - ParallelizationFactor – Process multiple batches from each shard concurrently. // // For information about which configuration parameters apply to each event // source, see the following topics. @@ -6370,21 +6370,21 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // The following error handling options are available only for stream sources // (DynamoDB and Kinesis): // -// - BisectBatchOnFunctionError - If the function returns an error, split +// - BisectBatchOnFunctionError – If the function returns an error, split // the batch in two and retry. // -// - DestinationConfig - Send discarded records to an Amazon SQS queue or -// Amazon SNS topic. +// - DestinationConfig – Send discarded records to an Amazon SQS queue +// or Amazon SNS topic. // -// - MaximumRecordAgeInSeconds - Discard records older than the specified +// - MaximumRecordAgeInSeconds – Discard records older than the specified // age. The default value is infinite (-1). When set to infinite (-1), failed // records are retried until the record expires // -// - MaximumRetryAttempts - Discard records after the specified number of -// retries. The default value is infinite (-1). When set to infinite (-1), +// - MaximumRetryAttempts – Discard records after the specified number +// of retries. The default value is infinite (-1). When set to infinite (-1), // failed records are retried until the record expires. // -// - ParallelizationFactor - Process multiple batches from each shard concurrently. +// - ParallelizationFactor – Process multiple batches from each shard concurrently. // // For information about which configuration parameters apply to each event // source, see the following topics. @@ -8270,18 +8270,18 @@ type CreateEventSourceMappingInput struct { // the batch to the function in a single call, up to the payload limit for synchronous // invocation (6 MB). // - // * Amazon Kinesis - Default 100. Max 10,000. + // * Amazon Kinesis – Default 100. Max 10,000. // - // * Amazon DynamoDB Streams - Default 100. Max 10,000. + // * Amazon DynamoDB Streams – Default 100. Max 10,000. // - // * Amazon Simple Queue Service - Default 10. For standard queues the max - // is 10,000. For FIFO queues the max is 10. + // * Amazon Simple Queue Service – Default 10. For standard queues the + // max is 10,000. For FIFO queues the max is 10. // - // * Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. + // * Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000. // - // * Self-managed Apache Kafka - Default 100. Max 10,000. + // * Self-managed Apache Kafka – Default 100. Max 10,000. // - // * Amazon MQ (ActiveMQ and RabbitMQ) - Default 100. Max 10,000. + // * Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000. BatchSize *int64 `min:"1" type:"integer"` // (Streams only) If the function returns an error, split the batch in two and @@ -8300,15 +8300,15 @@ type CreateEventSourceMappingInput struct { // The Amazon Resource Name (ARN) of the event source. // - // * Amazon Kinesis - The ARN of the data stream or a stream consumer. + // * Amazon Kinesis – The ARN of the data stream or a stream consumer. // - // * Amazon DynamoDB Streams - The ARN of the stream. + // * Amazon DynamoDB Streams – The ARN of the stream. // - // * Amazon Simple Queue Service - The ARN of the queue. + // * Amazon Simple Queue Service – The ARN of the queue. // - // * Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. + // * Amazon Managed Streaming for Apache Kafka – The ARN of the cluster. // - // * Amazon MQ - The ARN of the broker. + // * Amazon MQ – The ARN of the broker. EventSourceArn *string `type:"string"` // An object that defines the filter criteria that determine whether Lambda @@ -8320,13 +8320,13 @@ type CreateEventSourceMappingInput struct { // // Name formats // - // * Function name - MyFunction. + // * Function name – MyFunction. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // - // * Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. + // * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. // - // * Partial ARN - 123456789012:function:MyFunction. + // * Partial ARN – 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it's limited to 64 characters in length. @@ -8370,6 +8370,11 @@ type CreateEventSourceMappingInput struct { // (MQ) The name of the Amazon MQ broker destination queue to consume. Queues []*string `min:"1" type:"list"` + // (Amazon SQS only) The scaling configuration for the event source. For more + // information, see Configuring maximum concurrency for Amazon SQS event sources + // (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + ScalingConfig *ScalingConfig `type:"structure"` + // The self-managed Apache Kafka cluster to receive records from. SelfManagedEventSource *SelfManagedEventSource `type:"structure"` @@ -8446,6 +8451,11 @@ func (s *CreateEventSourceMappingInput) Validate() error { invalidParams.AddNested("AmazonManagedKafkaEventSourceConfig", err.(request.ErrInvalidParams)) } } + if s.ScalingConfig != nil { + if err := s.ScalingConfig.Validate(); err != nil { + invalidParams.AddNested("ScalingConfig", err.(request.ErrInvalidParams)) + } + } if s.SelfManagedEventSource != nil { if err := s.SelfManagedEventSource.Validate(); err != nil { invalidParams.AddNested("SelfManagedEventSource", err.(request.ErrInvalidParams)) @@ -8557,6 +8567,12 @@ func (s *CreateEventSourceMappingInput) SetQueues(v []*string) *CreateEventSourc return s } +// SetScalingConfig sets the ScalingConfig field's value. +func (s *CreateEventSourceMappingInput) SetScalingConfig(v *ScalingConfig) *CreateEventSourceMappingInput { + s.ScalingConfig = v + return s +} + // SetSelfManagedEventSource sets the SelfManagedEventSource field's value. func (s *CreateEventSourceMappingInput) SetSelfManagedEventSource(v *SelfManagedEventSource) *CreateEventSourceMappingInput { s.SelfManagedEventSource = v @@ -10836,6 +10852,11 @@ type EventSourceMappingConfiguration struct { // (Amazon MQ) The name of the Amazon MQ broker destination queue to consume. Queues []*string `min:"1" type:"list"` + // (Amazon SQS only) The scaling configuration for the event source. For more + // information, see Configuring maximum concurrency for Amazon SQS event sources + // (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + ScalingConfig *ScalingConfig `type:"structure"` + // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *SelfManagedEventSource `type:"structure"` @@ -10981,6 +11002,12 @@ func (s *EventSourceMappingConfiguration) SetQueues(v []*string) *EventSourceMap return s } +// SetScalingConfig sets the ScalingConfig field's value. +func (s *EventSourceMappingConfiguration) SetScalingConfig(v *ScalingConfig) *EventSourceMappingConfiguration { + s.ScalingConfig = v + return s +} + // SetSelfManagedEventSource sets the SelfManagedEventSource field's value. func (s *EventSourceMappingConfiguration) SetSelfManagedEventSource(v *SelfManagedEventSource) *EventSourceMappingConfiguration { s.SelfManagedEventSource = v @@ -11419,7 +11446,7 @@ type FunctionConfiguration struct { // Set ApplyOn to PublishedVersions to create a snapshot of the initialized // execution environment when you publish a function version. For more information, - // see Reducing startup time with Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + // see Improving startup performance with Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). SnapStart *SnapStartResponse `type:"structure"` // The current state of the function. When the state is Inactive, you can reactivate @@ -15300,28 +15327,28 @@ type ListEventSourceMappingsInput struct { // The Amazon Resource Name (ARN) of the event source. // - // * Amazon Kinesis - The ARN of the data stream or a stream consumer. + // * Amazon Kinesis – The ARN of the data stream or a stream consumer. // - // * Amazon DynamoDB Streams - The ARN of the stream. + // * Amazon DynamoDB Streams – The ARN of the stream. // - // * Amazon Simple Queue Service - The ARN of the queue. + // * Amazon Simple Queue Service – The ARN of the queue. // - // * Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. + // * Amazon Managed Streaming for Apache Kafka – The ARN of the cluster. // - // * Amazon MQ - The ARN of the broker. + // * Amazon MQ – The ARN of the broker. EventSourceArn *string `location:"querystring" locationName:"EventSourceArn" type:"string"` // The name of the Lambda function. // // Name formats // - // * Function name - MyFunction. + // * Function name – MyFunction. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // - // * Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. + // * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. // - // * Partial ARN - 123456789012:function:MyFunction. + // * Partial ARN – 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it's limited to 64 characters in length. @@ -18318,6 +18345,53 @@ func (s *ResourceNotReadyException) RequestID() string { return s.RespMetadata.RequestID } +// (Amazon SQS only) The scaling configuration for the event source. To remove +// the configuration, pass an empty value. +type ScalingConfig struct { + _ struct{} `type:"structure"` + + // Limits the number of concurrent instances that the Amazon SQS event source + // can invoke. + MaximumConcurrency *int64 `min:"2" 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 ScalingConfig) 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 ScalingConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ScalingConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ScalingConfig"} + if s.MaximumConcurrency != nil && *s.MaximumConcurrency < 2 { + invalidParams.Add(request.NewErrParamMinValue("MaximumConcurrency", 2)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaximumConcurrency sets the MaximumConcurrency field's value. +func (s *ScalingConfig) SetMaximumConcurrency(v int64) *ScalingConfig { + s.MaximumConcurrency = &v + return s +} + // The self-managed Apache Kafka cluster for your event source. type SelfManagedEventSource struct { _ struct{} `type:"structure"` @@ -18478,10 +18552,12 @@ func (s *ServiceException) RequestID() string { return s.RespMetadata.RequestID } -// The function's SnapStart setting. Set ApplyOn to PublishedVersions to create -// a snapshot of the initialized execution environment when you publish a function -// version. For more information, see Reducing startup time with Lambda SnapStart -// (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). +// The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions +// to create a snapshot of the initialized execution environment when you publish +// a function version. +// +// SnapStart is supported with the java11 runtime. For more information, see +// Improving startup performance with Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). type SnapStart struct { _ struct{} `type:"structure"` @@ -18768,39 +18844,39 @@ type SourceAccessConfiguration struct { // The type of authentication protocol, VPC components, or virtual host for // your event source. For example: "Type":"SASL_SCRAM_512_AUTH". // - // * BASIC_AUTH - (Amazon MQ) The Secrets Manager secret that stores your + // * BASIC_AUTH – (Amazon MQ) The Secrets Manager secret that stores your // broker credentials. // - // * BASIC_AUTH - (Self-managed Apache Kafka) The Secrets Manager ARN of + // * BASIC_AUTH – (Self-managed Apache Kafka) The Secrets Manager ARN of // your secret key used for SASL/PLAIN authentication of your Apache Kafka // brokers. // - // * VPC_SUBNET - (Self-managed Apache Kafka) The subnets associated with + // * VPC_SUBNET – (Self-managed Apache Kafka) The subnets associated with // your VPC. Lambda connects to these subnets to fetch data from your self-managed // Apache Kafka cluster. // - // * VPC_SECURITY_GROUP - (Self-managed Apache Kafka) The VPC security group - // used to manage access to your self-managed Apache Kafka brokers. + // * VPC_SECURITY_GROUP – (Self-managed Apache Kafka) The VPC security + // group used to manage access to your self-managed Apache Kafka brokers. // - // * SASL_SCRAM_256_AUTH - (Self-managed Apache Kafka) The Secrets Manager + // * SASL_SCRAM_256_AUTH – (Self-managed Apache Kafka) The Secrets Manager // ARN of your secret key used for SASL SCRAM-256 authentication of your // self-managed Apache Kafka brokers. // - // * SASL_SCRAM_512_AUTH - (Amazon MSK, Self-managed Apache Kafka) The Secrets - // Manager ARN of your secret key used for SASL SCRAM-512 authentication + // * SASL_SCRAM_512_AUTH – (Amazon MSK, Self-managed Apache Kafka) The + // Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication // of your self-managed Apache Kafka brokers. // - // * VIRTUAL_HOST - (RabbitMQ) The name of the virtual host in your RabbitMQ + // * VIRTUAL_HOST –- (RabbitMQ) The name of the virtual host in your RabbitMQ // broker. Lambda uses this RabbitMQ host as the event source. This property // cannot be specified in an UpdateEventSourceMapping API call. // - // * CLIENT_CERTIFICATE_TLS_AUTH - (Amazon MSK, self-managed Apache Kafka) + // * CLIENT_CERTIFICATE_TLS_AUTH – (Amazon MSK, self-managed Apache Kafka) // The Secrets Manager ARN of your secret key containing the certificate // chain (X.509 PEM), private key (PKCS#8 PEM), and private key password // (optional) used for mutual TLS authentication of your MSK/Apache Kafka // brokers. // - // * SERVER_ROOT_CA_CERTIFICATE - (Self-managed Apache Kafka) The Secrets + // * SERVER_ROOT_CA_CERTIFICATE – (Self-managed Apache Kafka) The Secrets // Manager ARN of your secret key containing the root CA certificate (X.509 // PEM) used for TLS encryption of your Apache Kafka brokers. Type *string `type:"string" enum:"SourceAccessType"` @@ -19534,18 +19610,18 @@ type UpdateEventSourceMappingInput struct { // the batch to the function in a single call, up to the payload limit for synchronous // invocation (6 MB). // - // * Amazon Kinesis - Default 100. Max 10,000. + // * Amazon Kinesis – Default 100. Max 10,000. // - // * Amazon DynamoDB Streams - Default 100. Max 10,000. + // * Amazon DynamoDB Streams – Default 100. Max 10,000. // - // * Amazon Simple Queue Service - Default 10. For standard queues the max - // is 10,000. For FIFO queues the max is 10. + // * Amazon Simple Queue Service – Default 10. For standard queues the + // max is 10,000. For FIFO queues the max is 10. // - // * Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. + // * Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000. // - // * Self-managed Apache Kafka - Default 100. Max 10,000. + // * Self-managed Apache Kafka – Default 100. Max 10,000. // - // * Amazon MQ (ActiveMQ and RabbitMQ) - Default 100. Max 10,000. + // * Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000. BatchSize *int64 `min:"1" type:"integer"` // (Streams only) If the function returns an error, split the batch in two and @@ -19571,13 +19647,13 @@ type UpdateEventSourceMappingInput struct { // // Name formats // - // * Function name - MyFunction. + // * Function name – MyFunction. // - // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // - // * Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. + // * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. // - // * Partial ARN - 123456789012:function:MyFunction. + // * Partial ARN – 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it's limited to 64 characters in length. @@ -19616,6 +19692,11 @@ type UpdateEventSourceMappingInput struct { // (Streams only) The number of batches to process from each shard concurrently. ParallelizationFactor *int64 `min:"1" type:"integer"` + // (Amazon SQS only) The scaling configuration for the event source. For more + // information, see Configuring maximum concurrency for Amazon SQS event sources + // (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + ScalingConfig *ScalingConfig `type:"structure"` + // An array of authentication protocols or VPC components required to secure // your event source. SourceAccessConfigurations []*SourceAccessConfiguration `type:"list"` @@ -19672,6 +19753,11 @@ func (s *UpdateEventSourceMappingInput) Validate() error { if s.UUID != nil && len(*s.UUID) < 1 { invalidParams.Add(request.NewErrParamMinLen("UUID", 1)) } + if s.ScalingConfig != nil { + if err := s.ScalingConfig.Validate(); err != nil { + invalidParams.AddNested("ScalingConfig", err.(request.ErrInvalidParams)) + } + } if s.SourceAccessConfigurations != nil { for i, v := range s.SourceAccessConfigurations { if v == nil { @@ -19755,6 +19841,12 @@ func (s *UpdateEventSourceMappingInput) SetParallelizationFactor(v int64) *Updat return s } +// SetScalingConfig sets the ScalingConfig field's value. +func (s *UpdateEventSourceMappingInput) SetScalingConfig(v *ScalingConfig) *UpdateEventSourceMappingInput { + s.ScalingConfig = v + return s +} + // SetSourceAccessConfigurations sets the SourceAccessConfigurations field's value. func (s *UpdateEventSourceMappingInput) SetSourceAccessConfigurations(v []*SourceAccessConfiguration) *UpdateEventSourceMappingInput { s.SourceAccessConfigurations = v diff --git a/service/mediaconvert/api.go b/service/mediaconvert/api.go index 8c539bcaf64..aed1d8a1361 100644 --- a/service/mediaconvert/api.go +++ b/service/mediaconvert/api.go @@ -3929,6 +3929,12 @@ type AudioNormalizationSettings struct { // choose for Algorithm (algorithm). If you choose algorithm 1770-1, the encoder // will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS. TargetLkfs *float64 `locationName:"targetLkfs" type:"double"` + + // Specify the True-peak limiter threshold in decibels relative to full scale + // (dBFS). The peak inter-audio sample loudness in your output will be limited + // to the value that you specify, without affecting the overall target LKFS. + // Enter a value from 0 to -20. Leave blank to use the default value 0. + TruePeakLimiterThreshold *float64 `locationName:"truePeakLimiterThreshold" type:"double"` } // String returns the string representation. @@ -3998,6 +4004,12 @@ func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizatio return s } +// SetTruePeakLimiterThreshold sets the TruePeakLimiterThreshold field's value. +func (s *AudioNormalizationSettings) SetTruePeakLimiterThreshold(v float64) *AudioNormalizationSettings { + s.TruePeakLimiterThreshold = &v + return s +} + // Use Audio selectors (AudioSelectors) to specify a track or set of tracks // from the input that you will use in your outputs. You can use multiple Audio // selectors per input. @@ -6318,6 +6330,105 @@ func (s *ChannelMapping) SetOutputChannels(v []*OutputChannelMapping) *ChannelMa return s } +// Specify YUV limits and RGB tolerances when you set Sample range conversion +// to Limited range clip. +type ClipLimits struct { + _ struct{} `type:"structure"` + + // Specify the Maximum RGB color sample range tolerance for your output. MediaConvert + // corrects any YUV values that, when converted to RGB, would be outside the + // upper tolerance that you specify. Enter an integer from 90 to 105 as an offset + // percentage to the maximum possible value. Leave blank to use the default + // value 100. When you specify a value for Maximum RGB tolerance, you must set + // Sample range conversion to Limited range clip. + MaximumRGBTolerance *int64 `locationName:"maximumRGBTolerance" min:"90" type:"integer"` + + // Specify the Maximum YUV color sample limit. MediaConvert conforms any pixels + // in your input above the value that you specify to typical limited range bounds. + // Enter an integer from 920 to 1023. Leave blank to use the default value 940. + // The value that you enter applies to 10-bit ranges. For 8-bit ranges, MediaConvert + // automatically scales this value down. When you specify a value for Maximum + // YUV, you must set Sample range conversion to Limited range clip. + MaximumYUV *int64 `locationName:"maximumYUV" min:"920" type:"integer"` + + // Specify the Minimum RGB color sample range tolerance for your output. MediaConvert + // corrects any YUV values that, when converted to RGB, would be outside the + // lower tolerance that you specify. Enter an integer from -5 to 10 as an offset + // percentage to the minimum possible value. Leave blank to use the default + // value 0. When you specify a value for Minimum RGB tolerance, you must set + // Sample range conversion to Limited range clip. + MinimumRGBTolerance *int64 `locationName:"minimumRGBTolerance" type:"integer"` + + // Specify the Minimum YUV color sample limit. MediaConvert conforms any pixels + // in your input below the value that you specify to typical limited range bounds. + // Enter an integer from 0 to 128. Leave blank to use the default value 64. + // The value that you enter applies to 10-bit ranges. For 8-bit ranges, MediaConvert + // automatically scales this value down. When you specify a value for Minumum + // YUV, you must set Sample range conversion to Limited range clip. + MinimumYUV *int64 `locationName:"minimumYUV" 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 ClipLimits) 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 ClipLimits) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ClipLimits) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ClipLimits"} + if s.MaximumRGBTolerance != nil && *s.MaximumRGBTolerance < 90 { + invalidParams.Add(request.NewErrParamMinValue("MaximumRGBTolerance", 90)) + } + if s.MaximumYUV != nil && *s.MaximumYUV < 920 { + invalidParams.Add(request.NewErrParamMinValue("MaximumYUV", 920)) + } + if s.MinimumRGBTolerance != nil && *s.MinimumRGBTolerance < -5 { + invalidParams.Add(request.NewErrParamMinValue("MinimumRGBTolerance", -5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaximumRGBTolerance sets the MaximumRGBTolerance field's value. +func (s *ClipLimits) SetMaximumRGBTolerance(v int64) *ClipLimits { + s.MaximumRGBTolerance = &v + return s +} + +// SetMaximumYUV sets the MaximumYUV field's value. +func (s *ClipLimits) SetMaximumYUV(v int64) *ClipLimits { + s.MaximumYUV = &v + return s +} + +// SetMinimumRGBTolerance sets the MinimumRGBTolerance field's value. +func (s *ClipLimits) SetMinimumRGBTolerance(v int64) *ClipLimits { + s.MinimumRGBTolerance = &v + return s +} + +// SetMinimumYUV sets the MinimumYUV field's value. +func (s *ClipLimits) SetMinimumYUV(v int64) *ClipLimits { + s.MinimumYUV = &v + return s +} + // Specify the details for each pair of HLS and DASH additional manifests that // you want the service to generate for this CMAF output group. Each pair of // manifests can reference a different subset of outputs in the group. @@ -6508,6 +6619,15 @@ type CmafGroupSettings struct { // generation. CodecSpecification *string `locationName:"codecSpecification" type:"string" enum:"CmafCodecSpecification"` + // Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. + // To write a SegmentTimeline in each video Representation: Keep the default + // value, Basic. To write a common SegmentTimeline in the video AdaptationSet: + // Choose Compact. Note that MediaConvert will still write a SegmentTimeline + // in any Representation that does not share a common timeline. To write a video + // AdaptationSet for each different output framerate, and a common SegmentTimeline + // in each AdaptationSet: Choose Distinct. + DashManifestStyle *string `locationName:"dashManifestStyle" type:"string" enum:"DashManifestStyle"` + // Use Destination (Destination) to specify the S3 output location and the output // filename base. Destination accepts format identifiers. If you do not specify // the base filename in the URI, the service will use the filename of the input @@ -6731,6 +6851,12 @@ func (s *CmafGroupSettings) SetCodecSpecification(v string) *CmafGroupSettings { return s } +// SetDashManifestStyle sets the DashManifestStyle field's value. +func (s *CmafGroupSettings) SetDashManifestStyle(v string) *CmafGroupSettings { + s.DashManifestStyle = &v + return s +} + // SetDestination sets the Destination field's value. func (s *CmafGroupSettings) SetDestination(v string) *CmafGroupSettings { s.Destination = &v @@ -7069,7 +7195,9 @@ type CmfcSettings struct { // that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, // the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". // To leave these elements out of your output MPD manifest, set Manifest metadata - // signaling to Disabled. + // signaling to Disabled. To enable Manifest metadata signaling, you must also + // set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata + // (TimedMetadata) to Passthrough. ManifestMetadataSignaling *string `locationName:"manifestMetadataSignaling" type:"string" enum:"CmfcManifestMetadataSignaling"` // Use this setting only when you specify SCTE-35 markers from ESAM. Choose @@ -7220,6 +7348,10 @@ type ColorCorrector struct { // Brightness level. Brightness *int64 `locationName:"brightness" min:"1" type:"integer"` + // Specify YUV limits and RGB tolerances when you set Sample range conversion + // to Limited range clip. + ClipLimits *ClipLimits `locationName:"clipLimits" type:"structure"` + // Specify the color space you want for this output. The service supports conversion // between HDR formats, between SDR formats, from SDR to HDR, and from HDR to // SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted @@ -7251,16 +7383,20 @@ type ColorCorrector struct { // Hue in degrees. Hue *int64 `locationName:"hue" type:"integer"` - // Specify the video color sample range for this output. To create a full range - // output, you must start with a full range YUV input and keep the default value, - // None (NONE). To create a limited range output from a full range input, choose - // Limited range (LIMITED_RANGE_SQUEEZE). With RGB inputs, your output is always - // limited range, regardless of your choice here. When you create a limited - // range output from a full range input, MediaConvert limits the active pixel - // values in a way that depends on the output's bit depth: 8-bit outputs contain - // only values from 16 through 235 and 10-bit outputs contain only values from - // 64 through 940. With this conversion, MediaConvert also changes the output - // metadata to note the limited range. + // Specify how MediaConvert limits the color sample range for this output. To + // create a limited range output from a full range input: Choose Limited range + // squeeze. For full range inputs, MediaConvert performs a linear offset to + // color samples equally across all pixels and frames. Color samples in 10-bit + // outputs are limited to 64 through 940, and 8-bit outputs are limited to 16 + // through 235. Note: For limited range inputs, values for color samples are + // passed through to your output unchanged. MediaConvert does not limit the + // sample range. To correct pixels in your input that are out of range or out + // of gamut: Choose Limited range clip. Use for broadcast applications. MediaConvert + // conforms any pixels outside of the values that you specify under Minimum + // YUV and Maximum YUV to limited range bounds. MediaConvert also corrects any + // YUV values that, when converted to RGB, would be outside the bounds you specify + // under Minimum RGB tolerance and Maximum RGB tolerance. With either limited + // range conversion, MediaConvert writes the sample range metadata in the output. SampleRangeConversion *string `locationName:"sampleRangeConversion" type:"string" enum:"SampleRangeConversion"` // Saturation level. @@ -7314,6 +7450,11 @@ func (s *ColorCorrector) Validate() error { if s.SdrReferenceWhiteLevel != nil && *s.SdrReferenceWhiteLevel < 100 { invalidParams.Add(request.NewErrParamMinValue("SdrReferenceWhiteLevel", 100)) } + if s.ClipLimits != nil { + if err := s.ClipLimits.Validate(); err != nil { + invalidParams.AddNested("ClipLimits", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -7327,6 +7468,12 @@ func (s *ColorCorrector) SetBrightness(v int64) *ColorCorrector { return s } +// SetClipLimits sets the ClipLimits field's value. +func (s *ColorCorrector) SetClipLimits(v *ClipLimits) *ColorCorrector { + s.ClipLimits = v + return s +} + // SetColorSpaceConversion sets the ColorSpaceConversion field's value. func (s *ColorCorrector) SetColorSpaceConversion(v string) *ColorCorrector { s.ColorSpaceConversion = &v @@ -7588,7 +7735,11 @@ type CreateJobInput struct { // for this field, your job outputs will appear on the billing report unsorted. BillingTagsSource *string `locationName:"billingTagsSource" type:"string" enum:"BillingTagsSource"` - // Optional. Idempotency token for CreateJob operation. + // Prevent duplicate jobs from being created and ensure idempotency for your + // requests. A client request token can be any string that includes up to 64 + // ASCII characters. If you reuse a client request token within one minute of + // a successful request, the API returns the job details of the original request + // instead. For more information see https://docs.aws.amazon.com/mediaconvert/latest/apireference/idempotency.html. ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` // Optional. Use queue hopping to avoid overly long waits in the backlog of @@ -8437,6 +8588,15 @@ type DashIsoGroupSettings struct { // URL than the manifest file. BaseUrl *string `locationName:"baseUrl" type:"string"` + // Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. + // To write a SegmentTimeline in each video Representation: Keep the default + // value, Basic. To write a common SegmentTimeline in the video AdaptationSet: + // Choose Compact. Note that MediaConvert will still write a SegmentTimeline + // in any Representation that does not share a common timeline. To write a video + // AdaptationSet for each different output framerate, and a common SegmentTimeline + // in each AdaptationSet: Choose Distinct. + DashManifestStyle *string `locationName:"dashManifestStyle" type:"string" enum:"DashManifestStyle"` + // Use Destination (Destination) to specify the S3 output location and the output // filename base. Destination accepts format identifiers. If you do not specify // the base filename in the URI, the service will use the filename of the input @@ -8625,6 +8785,12 @@ func (s *DashIsoGroupSettings) SetBaseUrl(v string) *DashIsoGroupSettings { return s } +// SetDashManifestStyle sets the DashManifestStyle field's value. +func (s *DashIsoGroupSettings) SetDashManifestStyle(v string) *DashIsoGroupSettings { + s.DashManifestStyle = &v + return s +} + // SetDestination sets the Destination field's value. func (s *DashIsoGroupSettings) SetDestination(v string) *DashIsoGroupSettings { s.Destination = &v @@ -19247,7 +19413,9 @@ type MpdSettings struct { // that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, // the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". // To leave these elements out of your output MPD manifest, set Manifest metadata - // signaling to Disabled. + // signaling to Disabled. To enable Manifest metadata signaling, you must also + // set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata + // (TimedMetadata) to Passthrough. ManifestMetadataSignaling *string `locationName:"manifestMetadataSignaling" type:"string" enum:"MpdManifestMetadataSignaling"` // Use this setting only when you specify SCTE-35 markers from ESAM. Choose @@ -28963,7 +29131,9 @@ func CmfcKlvMetadata_Values() []string { // that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, // the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". // To leave these elements out of your output MPD manifest, set Manifest metadata -// signaling to Disabled. +// signaling to Disabled. To enable Manifest metadata signaling, you must also +// set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata +// (TimedMetadata) to Passthrough. const ( // CmfcManifestMetadataSignalingEnabled is a CmfcManifestMetadataSignaling enum value CmfcManifestMetadataSignalingEnabled = "ENABLED" @@ -29553,6 +29723,33 @@ func DashIsoWriteSegmentTimelineInRepresentation_Values() []string { } } +// Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. +// To write a SegmentTimeline in each video Representation: Keep the default +// value, Basic. To write a common SegmentTimeline in the video AdaptationSet: +// Choose Compact. Note that MediaConvert will still write a SegmentTimeline +// in any Representation that does not share a common timeline. To write a video +// AdaptationSet for each different output framerate, and a common SegmentTimeline +// in each AdaptationSet: Choose Distinct. +const ( + // DashManifestStyleBasic is a DashManifestStyle enum value + DashManifestStyleBasic = "BASIC" + + // DashManifestStyleCompact is a DashManifestStyle enum value + DashManifestStyleCompact = "COMPACT" + + // DashManifestStyleDistinct is a DashManifestStyle enum value + DashManifestStyleDistinct = "DISTINCT" +) + +// DashManifestStyle_Values returns all elements of the DashManifestStyle enum +func DashManifestStyle_Values() []string { + return []string{ + DashManifestStyleBasic, + DashManifestStyleCompact, + DashManifestStyleDistinct, + } +} + // Specify the encryption mode that you used to encrypt your input files. const ( // DecryptionModeAesCtr is a DecryptionMode enum value @@ -34635,7 +34832,9 @@ func MpdKlvMetadata_Values() []string { // that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, // the InbandEventStream element schemeIdUri will be "urn:scte:scte35:2013:bin". // To leave these elements out of your output MPD manifest, set Manifest metadata -// signaling to Disabled. +// signaling to Disabled. To enable Manifest metadata signaling, you must also +// set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata +// (TimedMetadata) to Passthrough. const ( // MpdManifestMetadataSignalingEnabled is a MpdManifestMetadataSignaling enum value MpdManifestMetadataSignalingEnabled = "ENABLED" @@ -36142,22 +36341,29 @@ func S3ServerSideEncryptionType_Values() []string { } } -// Specify the video color sample range for this output. To create a full range -// output, you must start with a full range YUV input and keep the default value, -// None (NONE). To create a limited range output from a full range input, choose -// Limited range (LIMITED_RANGE_SQUEEZE). With RGB inputs, your output is always -// limited range, regardless of your choice here. When you create a limited -// range output from a full range input, MediaConvert limits the active pixel -// values in a way that depends on the output's bit depth: 8-bit outputs contain -// only values from 16 through 235 and 10-bit outputs contain only values from -// 64 through 940. With this conversion, MediaConvert also changes the output -// metadata to note the limited range. +// Specify how MediaConvert limits the color sample range for this output. To +// create a limited range output from a full range input: Choose Limited range +// squeeze. For full range inputs, MediaConvert performs a linear offset to +// color samples equally across all pixels and frames. Color samples in 10-bit +// outputs are limited to 64 through 940, and 8-bit outputs are limited to 16 +// through 235. Note: For limited range inputs, values for color samples are +// passed through to your output unchanged. MediaConvert does not limit the +// sample range. To correct pixels in your input that are out of range or out +// of gamut: Choose Limited range clip. Use for broadcast applications. MediaConvert +// conforms any pixels outside of the values that you specify under Minimum +// YUV and Maximum YUV to limited range bounds. MediaConvert also corrects any +// YUV values that, when converted to RGB, would be outside the bounds you specify +// under Minimum RGB tolerance and Maximum RGB tolerance. With either limited +// range conversion, MediaConvert writes the sample range metadata in the output. const ( // SampleRangeConversionLimitedRangeSqueeze is a SampleRangeConversion enum value SampleRangeConversionLimitedRangeSqueeze = "LIMITED_RANGE_SQUEEZE" // SampleRangeConversionNone is a SampleRangeConversion enum value SampleRangeConversionNone = "NONE" + + // SampleRangeConversionLimitedRangeClip is a SampleRangeConversion enum value + SampleRangeConversionLimitedRangeClip = "LIMITED_RANGE_CLIP" ) // SampleRangeConversion_Values returns all elements of the SampleRangeConversion enum @@ -36165,6 +36371,7 @@ func SampleRangeConversion_Values() []string { return []string{ SampleRangeConversionLimitedRangeSqueeze, SampleRangeConversionNone, + SampleRangeConversionLimitedRangeClip, } } diff --git a/service/secretsmanager/api.go b/service/secretsmanager/api.go index 4e2ffdcc693..426c50c6841 100644 --- a/service/secretsmanager/api.go +++ b/service/secretsmanager/api.go @@ -184,6 +184,10 @@ func (c *SecretsManager) CreateSecretRequest(input *CreateSecretInput) (req *req // protected secret data and the important information needed to manage the // secret. // +// For secrets that use managed rotation, you need to create the secret through +// the managing service. For more information, see Secrets Manager secrets managed +// by other Amazon Web Services services (https://docs.aws.amazon.com/secretsmanager/latest/userguide/service-linked-secrets.html). +// // For information about creating a secret in the console, see Create a secret // (https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html). // @@ -1949,42 +1953,20 @@ func (c *SecretsManager) RotateSecretRequest(input *RotateSecretInput) (req *req // RotateSecret API operation for AWS Secrets Manager. // // Configures and starts the asynchronous process of rotating the secret. For -// more information about rotation, see Rotate secrets (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html). -// -// If you include the configuration parameters, the operation sets the values -// for the secret and then immediately starts a rotation. If you don't include -// the configuration parameters, the operation starts a rotation with the values -// already stored in the secret. -// -// For database credentials you want to rotate, for Secrets Manager to be able -// to rotate the secret, you must make sure the secret value is in the JSON -// structure of a database secret (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html). -// In particular, if you want to use the alternating users strategy (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users), -// your secret must contain the ARN of a superuser secret. -// -// To configure rotation, you also need the ARN of an Amazon Web Services Lambda -// function and the schedule for the rotation. The Lambda rotation function -// creates a new version of the secret and creates or updates the credentials -// on the database or service to match. After testing the new credentials, the -// function marks the new secret version with the staging label AWSCURRENT. -// Then anyone who retrieves the secret gets the new version. For more information, -// see How rotation works (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html). -// -// You can create the Lambda rotation function based on the rotation function -// templates (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html) -// that Secrets Manager provides. Choose a template that matches your Rotation -// strategy (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html). +// information about rotation, see Rotate secrets (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html) +// in the Secrets Manager User Guide. If you include the configuration parameters, +// the operation sets the values for the secret and then immediately starts +// a rotation. If you don't include the configuration parameters, the operation +// starts a rotation with the values already stored in the secret. // // When rotation is successful, the AWSPENDING staging label might be attached // to the same version as the AWSCURRENT version, or it might not be attached // to any version. If the AWSPENDING staging label is present but not attached // to the same version as AWSCURRENT, then any later invocation of RotateSecret // assumes that a previous rotation request is still in progress and returns -// an error. -// -// When rotation is unsuccessful, the AWSPENDING staging label might be attached -// to an empty secret version. For more information, see Troubleshoot rotation -// (https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html) +// an error. When rotation is unsuccessful, the AWSPENDING staging label might +// be attached to an empty secret version. For more information, see Troubleshoot +// rotation (https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html) // in the Secrets Manager User Guide. // // Secrets Manager generates a CloudTrail log entry when you call this action. @@ -2469,6 +2451,10 @@ func (c *SecretsManager) UpdateSecretRequest(input *UpdateSecretInput) (req *req // // To change the rotation configuration of a secret, use RotateSecret instead. // +// To change a secret so that it is managed by another service, you need to +// recreate the secret in that service. See Secrets Manager secrets managed +// by other Amazon Web Services services (https://docs.aws.amazon.com/secretsmanager/latest/userguide/service-linked-secrets.html). +// // We recommend you avoid calling UpdateSecret at a sustained rate of more than // once every 10 minutes. When you call UpdateSecret to update the secret value, // Secrets Manager creates a new version of the secret. Secrets Manager removes @@ -3654,6 +3640,9 @@ type DescribeSecretOutput struct { // The name of the secret. Name *string `min:"1" type:"string"` + // The next date and time that Secrets Manager will rotate the secret, rounded + // to the nearest hour. If the secret isn't configured for rotation, Secrets + // Manager returns null. NextRotationDate *time.Time `type:"timestamp"` // The ID of the service that created this secret. For more information, see @@ -3925,6 +3914,8 @@ type Filter struct { // // * primary-region: Prefix match, case-sensitive. // + // * owning-service: Prefix match, case-sensitive. + // // * all: Breaks the filter value string into words and then searches all // attributes for matches. Not case-sensitive. Key *string `type:"string" enum:"FilterNameStringType"` @@ -4924,6 +4915,7 @@ type ListSecretsInput struct { // The filters to apply to the list of secrets. Filters []*Filter `type:"list"` + // Specifies whether to include secrets scheduled for deletion. IncludePlannedDeletion *bool `type:"boolean"` // The number of results to include in the response. @@ -6190,8 +6182,9 @@ type RotateSecretInput struct { // Specifies whether to rotate the secret immediately or wait until the next // scheduled rotation window. The rotation schedule is defined in RotateSecretRequest$RotationRules. // - // If you don't immediately rotate the secret, Secrets Manager tests the rotation - // configuration by running the testSecret step (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html) + // For secrets that use a Lambda rotation function to rotate, if you don't immediately + // rotate the secret, Secrets Manager tests the rotation configuration by running + // the testSecret step (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html) // of the Lambda rotation function. The test creates an AWSPENDING version of // the secret and then removes it. // @@ -6199,7 +6192,12 @@ type RotateSecretInput struct { // the secret immediately. RotateImmediately *bool `type:"boolean"` - // The ARN of the Lambda rotation function that can rotate the secret. + // For secrets that use a Lambda rotation function to rotate, the ARN of the + // Lambda rotation function. + // + // For secrets that use managed rotation, omit this field. For more information, + // see Managed rotation (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_managed.html) + // in the Secrets Manager User Guide. RotationLambdaARN *string `type:"string"` // A structure that defines the rotation configuration for this secret. @@ -6339,9 +6337,12 @@ func (s *RotateSecretOutput) SetVersionId(v string) *RotateSecretOutput { type RotationRulesType struct { _ struct{} `type:"structure"` - // The number of days between automatic scheduled rotations of the secret. You - // can use this value to check that your secret meets your compliance guidelines - // for how often secrets must be rotated. + // The number of days between rotations of the secret. You can use this value + // to check that your secret meets your compliance guidelines for how often + // secrets must be rotated. If you use this field to set the rotation schedule, + // Secrets Manager calculates the next rotation date based on the previous rotation. + // Manually updating the secret value by calling PutSecretValue or UpdateSecret + // is considered a valid rotation. // // In DescribeSecret and ListSecrets, this value is calculated from the rotation // schedule after every successful rotation. In RotateSecret, you can set the @@ -6484,6 +6485,9 @@ type SecretListEntry struct { // in the folder prod. Name *string `min:"1" type:"string"` + // The next date and time that Secrets Manager will attempt to rotate the secret, + // rounded to the nearest hour. This value is null if the secret is not set + // up for rotation. NextRotationDate *time.Time `type:"timestamp"` // Returns the name of the service that created the secret. diff --git a/service/secretsmanager/doc.go b/service/secretsmanager/doc.go index e4a983867e4..402a2dd6e55 100644 --- a/service/secretsmanager/doc.go +++ b/service/secretsmanager/doc.go @@ -15,6 +15,9 @@ // This version of the Secrets Manager API Reference documents the Secrets Manager // API version 2017-10-17. // +// For a list of endpoints, see Amazon Web Services Secrets Manager endpoints +// (https://docs.aws.amazon.com/secretsmanager/latest/userguide/asm_access.html#endpoints). +// // # Support and Feedback for Amazon Web Services Secrets Manager // // We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com