From f1b85a9837d3fc3113494b31807c3cd03f636be0 Mon Sep 17 00:00:00 2001 From: AWS SDK For Ruby Date: Wed, 19 Jun 2024 18:17:12 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/artifact/2018-05-10/api-2.json | 84 +++--- apis/artifact/2018-05-10/docs-2.json | 33 +-- apis/artifact/2018-05-10/examples-1.json | 113 ++++++++ apis/artifact/2018-05-10/waiters-2.json | 5 + apis/athena/2017-05-18/api-2.json | 3 +- apis/athena/2017-05-18/smoke-2.json | 16 ++ apis/cur/2017-01-06/api-2.json | 4 +- apis/cur/2017-01-06/smoke-2.json | 16 ++ apis/directconnect/2012-10-25/api-2.json | 4 +- .../2012-10-25/endpoint-rule-set-1.json | 40 +-- apis/directconnect/2012-10-25/smoke-2.json | 29 ++ apis/elastictranscoder/2012-09-25/api-2.json | 4 +- .../2012-09-25/endpoint-rule-set-1.json | 40 +-- .../elastictranscoder/2012-09-25/smoke-2.json | 16 ++ apis/opensearch/2021-01-01/api-2.json | 33 ++- apis/opensearch/2021-01-01/docs-2.json | 34 ++- gems/aws-partitions/CHANGELOG.md | 5 + gems/aws-partitions/VERSION | 2 +- gems/aws-partitions/partitions.json | 38 +++ gems/aws-sdk-artifact/CHANGELOG.md | 5 + gems/aws-sdk-artifact/VERSION | 2 +- gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb | 3 +- .../lib/aws-sdk-artifact/client.rb | 177 +++++++++++-- .../lib/aws-sdk-artifact/client_api.rb | 60 +++-- .../lib/aws-sdk-artifact/errors.rb | 30 +-- .../lib/aws-sdk-artifact/types.rb | 249 +++++++++--------- .../lib/aws-sdk-artifact/waiters.rb | 15 ++ gems/aws-sdk-artifact/sig/client.rbs | 2 +- gems/aws-sdk-artifact/sig/errors.rbs | 6 +- gems/aws-sdk-artifact/sig/types.rbs | 57 ++-- gems/aws-sdk-athena/CHANGELOG.md | 5 + gems/aws-sdk-athena/VERSION | 2 +- gems/aws-sdk-athena/features/smoke.feature | 20 ++ gems/aws-sdk-athena/lib/aws-sdk-athena.rb | 2 +- .../lib/aws-sdk-athena/client.rb | 2 +- .../lib/aws-sdk-athena/client_api.rb | 1 + gems/aws-sdk-core/CHANGELOG.md | 3 + gems/aws-sdk-core/VERSION | 2 +- gems/aws-sdk-core/lib/aws-sdk-sso.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-sso/client.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb | 2 +- .../lib/aws-sdk-ssooidc/client.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-sts.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-sts/client.rb | 2 +- .../CHANGELOG.md | 5 + .../aws-sdk-costandusagereportservice/VERSION | 2 +- .../features/smoke.feature | 20 ++ .../lib/aws-sdk-costandusagereportservice.rb | 2 +- .../client.rb | 2 +- .../client_api.rb | 2 + gems/aws-sdk-directconnect/CHANGELOG.md | 5 + gems/aws-sdk-directconnect/VERSION | 2 +- .../features/smoke.feature | 32 +++ .../lib/aws-sdk-directconnect.rb | 2 +- .../lib/aws-sdk-directconnect/client.rb | 2 +- .../lib/aws-sdk-directconnect/client_api.rb | 2 + .../endpoint_provider.rb | 2 +- gems/aws-sdk-elastictranscoder/CHANGELOG.md | 5 + gems/aws-sdk-elastictranscoder/VERSION | 2 +- .../features/smoke.feature | 20 ++ .../lib/aws-sdk-elastictranscoder.rb | 2 +- .../lib/aws-sdk-elastictranscoder/client.rb | 2 +- .../aws-sdk-elastictranscoder/client_api.rb | 2 + .../endpoint_provider.rb | 2 +- gems/aws-sdk-opensearchservice/CHANGELOG.md | 5 + gems/aws-sdk-opensearchservice/VERSION | 2 +- .../lib/aws-sdk-opensearchservice.rb | 2 +- .../lib/aws-sdk-opensearchservice/client.rb | 44 +++- .../aws-sdk-opensearchservice/client_api.rb | 19 ++ .../lib/aws-sdk-opensearchservice/types.rb | 76 +++++- gems/aws-sdk-opensearchservice/sig/client.rbs | 12 + gems/aws-sdk-opensearchservice/sig/types.rbs | 18 ++ 72 files changed, 1109 insertions(+), 358 deletions(-) create mode 100644 apis/artifact/2018-05-10/waiters-2.json create mode 100644 apis/athena/2017-05-18/smoke-2.json create mode 100644 apis/cur/2017-01-06/smoke-2.json create mode 100644 apis/directconnect/2012-10-25/smoke-2.json create mode 100644 apis/elastictranscoder/2012-09-25/smoke-2.json create mode 100644 gems/aws-sdk-artifact/lib/aws-sdk-artifact/waiters.rb create mode 100644 gems/aws-sdk-athena/features/smoke.feature create mode 100644 gems/aws-sdk-costandusagereportservice/features/smoke.feature create mode 100644 gems/aws-sdk-directconnect/features/smoke.feature create mode 100644 gems/aws-sdk-elastictranscoder/features/smoke.feature diff --git a/apis/artifact/2018-05-10/api-2.json b/apis/artifact/2018-05-10/api-2.json index 38c6a17d5d4..72153884b1f 100644 --- a/apis/artifact/2018-05-10/api-2.json +++ b/apis/artifact/2018-05-10/api-2.json @@ -2,9 +2,10 @@ "version":"2.0", "metadata":{ "apiVersion":"2018-05-10", + "auth":["aws.auth#sigv4"], "endpointPrefix":"artifact", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS Artifact", "serviceId":"Artifact", "signatureVersion":"v4", @@ -304,15 +305,15 @@ "ListReportsResponse":{ "type":"structure", "members":{ - "nextToken":{"shape":"NextTokenAttribute"}, - "reports":{"shape":"ReportsList"} + "reports":{"shape":"ReportsList"}, + "nextToken":{"shape":"NextTokenAttribute"} } }, "LongStringAttribute":{ "type":"string", "max":1024, "min":1, - "pattern":"^[^<>]*$" + "pattern":"[^<>]*" }, "MaxResultsAttribute":{ "type":"integer", @@ -354,49 +355,50 @@ "ReportDetail":{ "type":"structure", "members":{ - "acceptanceType":{"shape":"AcceptanceType"}, - "arn":{"shape":"LongStringAttribute"}, - "category":{"shape":"ShortStringAttribute"}, - "companyName":{"shape":"ShortStringAttribute"}, - "createdAt":{"shape":"TimestampAttribute"}, - "deletedAt":{"shape":"TimestampAttribute"}, - "description":{"shape":"LongStringAttribute"}, "id":{"shape":"ReportId"}, - "lastModifiedAt":{"shape":"TimestampAttribute"}, "name":{"shape":"ShortStringAttribute"}, - "periodEnd":{"shape":"TimestampAttribute"}, + "description":{"shape":"LongStringAttribute"}, "periodStart":{"shape":"TimestampAttribute"}, - "productName":{"shape":"ShortStringAttribute"}, - "sequenceNumber":{"shape":"SequenceNumberAttribute"}, - "series":{"shape":"ShortStringAttribute"}, + "periodEnd":{"shape":"TimestampAttribute"}, + "createdAt":{"shape":"TimestampAttribute"}, + "lastModifiedAt":{"shape":"TimestampAttribute"}, + "deletedAt":{"shape":"TimestampAttribute"}, "state":{"shape":"PublishedState"}, - "statusMessage":{"shape":"StatusMessage"}, + "arn":{"shape":"LongStringAttribute"}, + "series":{"shape":"ShortStringAttribute"}, + "category":{"shape":"ShortStringAttribute"}, + "companyName":{"shape":"ShortStringAttribute"}, + "productName":{"shape":"ShortStringAttribute"}, "termArn":{"shape":"LongStringAttribute"}, + "version":{"shape":"VersionAttribute"}, + "acceptanceType":{"shape":"AcceptanceType"}, + "sequenceNumber":{"shape":"SequenceNumberAttribute"}, "uploadState":{"shape":"UploadState"}, - "version":{"shape":"VersionAttribute"} + "statusMessage":{"shape":"StatusMessage"} } }, "ReportId":{ "type":"string", - "pattern":"^report-[a-zA-Z0-9]{16}$" + "pattern":"report-[a-zA-Z0-9]{16}" }, "ReportSummary":{ "type":"structure", "members":{ - "arn":{"shape":"LongStringAttribute"}, - "category":{"shape":"ShortStringAttribute"}, - "companyName":{"shape":"ShortStringAttribute"}, - "description":{"shape":"LongStringAttribute"}, "id":{"shape":"ReportId"}, "name":{"shape":"ShortStringAttribute"}, - "periodEnd":{"shape":"TimestampAttribute"}, + "state":{"shape":"PublishedState"}, + "arn":{"shape":"LongStringAttribute"}, + "version":{"shape":"VersionAttribute"}, + "uploadState":{"shape":"UploadState"}, + "description":{"shape":"LongStringAttribute"}, "periodStart":{"shape":"TimestampAttribute"}, - "productName":{"shape":"ShortStringAttribute"}, + "periodEnd":{"shape":"TimestampAttribute"}, "series":{"shape":"ShortStringAttribute"}, - "state":{"shape":"PublishedState"}, + "category":{"shape":"ShortStringAttribute"}, + "companyName":{"shape":"ShortStringAttribute"}, + "productName":{"shape":"ShortStringAttribute"}, "statusMessage":{"shape":"StatusMessage"}, - "uploadState":{"shape":"UploadState"}, - "version":{"shape":"VersionAttribute"} + "acceptanceType":{"shape":"AcceptanceType"} } }, "ReportsList":{ @@ -430,17 +432,17 @@ "type":"structure", "required":[ "message", - "quotaCode", "resourceId", "resourceType", - "serviceCode" + "serviceCode", + "quotaCode" ], "members":{ "message":{"shape":"String"}, - "quotaCode":{"shape":"String"}, "resourceId":{"shape":"String"}, "resourceType":{"shape":"String"}, - "serviceCode":{"shape":"String"} + "serviceCode":{"shape":"String"}, + "quotaCode":{"shape":"String"} }, "error":{ "httpStatusCode":402, @@ -452,7 +454,7 @@ "type":"string", "max":256, "min":1, - "pattern":"^[a-zA-Z0-9_\\-\\s]*$" + "pattern":"[a-zA-Z0-9_\\-\\s]*" }, "StatusMessage":{"type":"string"}, "String":{"type":"string"}, @@ -461,13 +463,13 @@ "required":["message"], "members":{ "message":{"shape":"String"}, + "serviceCode":{"shape":"String"}, "quotaCode":{"shape":"String"}, "retryAfterSeconds":{ "shape":"Integer", "location":"header", "locationName":"Retry-After" - }, - "serviceCode":{"shape":"String"} + } }, "error":{ "httpStatusCode":429, @@ -496,9 +498,9 @@ "reason" ], "members":{ - "fieldList":{"shape":"ValidationExceptionFieldList"}, "message":{"shape":"String"}, - "reason":{"shape":"ValidationExceptionReason"} + "reason":{"shape":"ValidationExceptionReason"}, + "fieldList":{"shape":"ValidationExceptionFieldList"} }, "error":{ "httpStatusCode":400, @@ -509,12 +511,12 @@ "ValidationExceptionField":{ "type":"structure", "required":[ - "message", - "name" + "name", + "message" ], "members":{ - "message":{"shape":"String"}, - "name":{"shape":"String"} + "name":{"shape":"String"}, + "message":{"shape":"String"} } }, "ValidationExceptionFieldList":{ diff --git a/apis/artifact/2018-05-10/docs-2.json b/apis/artifact/2018-05-10/docs-2.json index 33093aaaeea..d8e78d65d66 100644 --- a/apis/artifact/2018-05-10/docs-2.json +++ b/apis/artifact/2018-05-10/docs-2.json @@ -13,7 +13,8 @@ "AcceptanceType": { "base": null, "refs": { - "ReportDetail$acceptanceType": "

Acceptance type for report.

" + "ReportDetail$acceptanceType": "

Acceptance type for report.

", + "ReportSummary$acceptanceType": "

Acceptance type for report.

" } }, "AccessDeniedException": { @@ -110,8 +111,8 @@ "LongStringAttribute": { "base": null, "refs": { - "ReportDetail$arn": "

ARN for the report resource.

", "ReportDetail$description": "

Description for the report resource.

", + "ReportDetail$arn": "

ARN for the report resource.

", "ReportDetail$termArn": "

Unique resource ARN for term resource.

", "ReportSummary$arn": "

ARN for the report resource.

", "ReportSummary$description": "

Description for the report resource.

" @@ -202,16 +203,16 @@ "base": null, "refs": { "GetReportRequest$termToken": "

Unique download token provided by GetTermForReport API.

", + "ReportDetail$name": "

Name for the report resource.

", + "ReportDetail$series": "

Series for the report resource.

", "ReportDetail$category": "

Category for the report resource.

", "ReportDetail$companyName": "

Associated company name for the report resource.

", - "ReportDetail$name": "

Name for the report resource.

", "ReportDetail$productName": "

Associated product name for the report resource.

", - "ReportDetail$series": "

Series for the report resource.

", + "ReportSummary$name": "

Name for the report resource.

", + "ReportSummary$series": "

Series for the report resource.

", "ReportSummary$category": "

Category for the report resource.

", "ReportSummary$companyName": "

Associated company name for the report resource.

", - "ReportSummary$name": "

Name for the report resource.

", - "ReportSummary$productName": "

Associated product name for the report resource.

", - "ReportSummary$series": "

Series for the report resource.

" + "ReportSummary$productName": "

Associated product name for the report resource.

" } }, "StatusMessage": { @@ -234,16 +235,16 @@ "ResourceNotFoundException$resourceId": "

Identifier of the affected resource.

", "ResourceNotFoundException$resourceType": "

Type of the affected resource.

", "ServiceQuotaExceededException$message": null, - "ServiceQuotaExceededException$quotaCode": "

Code for the affected quota.

", "ServiceQuotaExceededException$resourceId": "

Identifier of the affected resource.

", "ServiceQuotaExceededException$resourceType": "

Type of the affected resource.

", "ServiceQuotaExceededException$serviceCode": "

Code for the affected service.

", + "ServiceQuotaExceededException$quotaCode": "

Code for the affected quota.

", "ThrottlingException$message": null, - "ThrottlingException$quotaCode": "

Code for the affected quota.

", "ThrottlingException$serviceCode": "

Code for the affected service.

", + "ThrottlingException$quotaCode": "

Code for the affected quota.

", "ValidationException$message": null, - "ValidationExceptionField$message": "

Message describing why the field failed validation.

", - "ValidationExceptionField$name": "

Name of validation exception.

" + "ValidationExceptionField$name": "

Name of validation exception.

", + "ValidationExceptionField$message": "

Message describing why the field failed validation.

" } }, "ThrottlingException": { @@ -254,13 +255,13 @@ "TimestampAttribute": { "base": null, "refs": { + "ReportDetail$periodStart": "

Timestamp indicating the report resource effective start.

", + "ReportDetail$periodEnd": "

Timestamp indicating the report resource effective end.

", "ReportDetail$createdAt": "

Timestamp indicating when the report resource was created.

", - "ReportDetail$deletedAt": "

Timestamp indicating when the report resource was deleted.

", "ReportDetail$lastModifiedAt": "

Timestamp indicating when the report resource was last modified.

", - "ReportDetail$periodEnd": "

Timestamp indicating the report resource effective end.

", - "ReportDetail$periodStart": "

Timestamp indicating the report resource effective start.

", - "ReportSummary$periodEnd": "

Timestamp indicating the report resource effective end.

", - "ReportSummary$periodStart": "

Timestamp indicating the report resource effective start.

" + "ReportDetail$deletedAt": "

Timestamp indicating when the report resource was deleted.

", + "ReportSummary$periodStart": "

Timestamp indicating the report resource effective start.

", + "ReportSummary$periodEnd": "

Timestamp indicating the report resource effective end.

" } }, "UploadState": { diff --git a/apis/artifact/2018-05-10/examples-1.json b/apis/artifact/2018-05-10/examples-1.json index 0ea7e3b0bbe..3f3857338d9 100644 --- a/apis/artifact/2018-05-10/examples-1.json +++ b/apis/artifact/2018-05-10/examples-1.json @@ -1,5 +1,118 @@ { "version": "1.0", "examples": { + "GetAccountSettings": [ + { + "input": { + }, + "output": { + "accountSettings": { + "notificationSubscriptionStatus": "SUBSCRIBED" + } + }, + "description": "Get the current account settings.", + "id": "example-1", + "title": "Invoke GetAccountSettings operation" + } + ], + "GetReport": [ + { + "input": { + "reportId": "report-1hVFddebtfDNJAUf", + "termToken": "term-token-gPFEGk7CF4wS901w7ppYclt7" + }, + "output": { + "documentPresignedUrl": "" + }, + "description": "The GetReport operation is invoked on a reportId and on a optional version.\n Callers must provide a termToken, which is provided by the GetTermForReport\n operation. If callers do not provide a version, it will default to the\n report's latest version", + "id": "example-1", + "title": "Invoke GetReport operation on the latest version of a specific report" + } + ], + "GetReportMetadata": [ + { + "input": { + "reportId": "report-bqhUJF3FrQZsMJpb" + }, + "output": { + "reportDetails": { + "version": 1, + "name": "Name of report", + "arn": "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb:1", + "category": "Artifact Category", + "companyName": "AWS", + "createdAt": "2022-05-27T23:17:00.343940Z", + "description": "Description of report", + "id": "report-bqhUJF3FrQZsMJpb", + "periodEnd": "2022-04-01T20:32:04Z", + "periodStart": "2022-04-01T20:32:04Z", + "productName": "Product of report", + "series": "Artifact Series", + "state": "PUBLISHED", + "termArn": "arn:aws:artifact:us-east-1::term/term-gLJGG12NyPtYcmtu:1" + } + }, + "description": "The GetReportMetadata operation is invoked on a reportId and on a optional version.\n If callers do not provide a version, it will default to the report's latest version.", + "id": "example-1", + "title": "Invoke GetReportMetadata operation on the latest version of a specific report" + } + ], + "GetTermForReport": [ + { + "input": { + "reportId": "report-bqhUJF3FrQZsMJpb" + }, + "output": { + "documentPresignedUrl": "", + "termToken": "term-token-gPFEGk7CF4wS901w7ppYclt7" + }, + "description": "The GetTermForReport operation is invoked on a reportId and on a optional version.\n If callers do not provide a version, it will default to the report's latest version.", + "id": "example-1", + "title": "Invoke GetTermForReport operation on the latest version of a specific report" + } + ], + "ListReports": [ + { + "input": { + }, + "output": { + "nextToken": "gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7", + "reports": [ + { + "version": 1, + "name": "Name of report", + "arn": "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb", + "category": "Artifact Category", + "companyName": "AWS", + "description": "Description of report", + "id": "report-bqhUJF3FrQZsMJpb", + "periodEnd": "2022-04-01T20:32:04Z", + "periodStart": "2022-04-01T20:32:04Z", + "productName": "Product of report", + "series": "Artifact Series", + "state": "PUBLISHED" + } + ] + }, + "description": "The ListReports operation returns a collection of report resources.", + "id": "example-1", + "title": "Invoke ListReports operation" + } + ], + "PutAccountSettings": [ + { + "input": { + "notificationSubscriptionStatus": "SUBSCRIBED" + }, + "output": { + "accountSettings": { + "notificationSubscriptionStatus": "SUBSCRIBED" + } + }, + "description": "Set the account settings.", + "id": "example-1", + "title": "Invoke PutAccountSettings operation" + } + ] } } diff --git a/apis/artifact/2018-05-10/waiters-2.json b/apis/artifact/2018-05-10/waiters-2.json new file mode 100644 index 00000000000..13f60ee66be --- /dev/null +++ b/apis/artifact/2018-05-10/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/apis/athena/2017-05-18/api-2.json b/apis/athena/2017-05-18/api-2.json index 7229167b09b..01aa0dd4049 100644 --- a/apis/athena/2017-05-18/api-2.json +++ b/apis/athena/2017-05-18/api-2.json @@ -10,7 +10,8 @@ "serviceId":"Athena", "signatureVersion":"v4", "targetPrefix":"AmazonAthena", - "uid":"athena-2017-05-18" + "uid":"athena-2017-05-18", + "auth":["aws.auth#sigv4"] }, "operations":{ "BatchGetNamedQuery":{ diff --git a/apis/athena/2017-05-18/smoke-2.json b/apis/athena/2017-05-18/smoke-2.json new file mode 100644 index 00000000000..d1a78bf148c --- /dev/null +++ b/apis/athena/2017-05-18/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListNamedQueriesSuccess", + "operationName": "ListNamedQueries", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/cur/2017-01-06/api-2.json b/apis/cur/2017-01-06/api-2.json index f10eaaf8872..f16450f37dc 100644 --- a/apis/cur/2017-01-06/api-2.json +++ b/apis/cur/2017-01-06/api-2.json @@ -5,12 +5,14 @@ "endpointPrefix":"cur", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"AWS Cost and Usage Report Service", "serviceId":"Cost and Usage Report Service", "signatureVersion":"v4", "signingName":"cur", "targetPrefix":"AWSOrigamiServiceGatewayService", - "uid":"cur-2017-01-06" + "uid":"cur-2017-01-06", + "auth":["aws.auth#sigv4"] }, "operations":{ "DeleteReportDefinition":{ diff --git a/apis/cur/2017-01-06/smoke-2.json b/apis/cur/2017-01-06/smoke-2.json new file mode 100644 index 00000000000..6b594c455f8 --- /dev/null +++ b/apis/cur/2017-01-06/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeReportDefinitionsSuccess", + "operationName": "DescribeReportDefinitions", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-east-1" + } + } + ] +} diff --git a/apis/directconnect/2012-10-25/api-2.json b/apis/directconnect/2012-10-25/api-2.json index 64bd806c368..d6b47158c12 100644 --- a/apis/directconnect/2012-10-25/api-2.json +++ b/apis/directconnect/2012-10-25/api-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"directconnect", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"AWS Direct Connect", "serviceId":"Direct Connect", "signatureVersion":"v4", "targetPrefix":"OvertureService", - "uid":"directconnect-2012-10-25" + "uid":"directconnect-2012-10-25", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptDirectConnectGatewayAssociationProposal":{ diff --git a/apis/directconnect/2012-10-25/endpoint-rule-set-1.json b/apis/directconnect/2012-10-25/endpoint-rule-set-1.json index 72a011aafac..c255b39924e 100644 --- a/apis/directconnect/2012-10-25/endpoint-rule-set-1.json +++ b/apis/directconnect/2012-10-25/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/directconnect/2012-10-25/smoke-2.json b/apis/directconnect/2012-10-25/smoke-2.json new file mode 100644 index 00000000000..506d2ae82aa --- /dev/null +++ b/apis/directconnect/2012-10-25/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeConnectionsSuccess", + "operationName": "DescribeConnections", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeConnectionsFailure", + "operationName": "DescribeConnections", + "input": { + "connectionId": "fake-connection" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/elastictranscoder/2012-09-25/api-2.json b/apis/elastictranscoder/2012-09-25/api-2.json index 3b5a948685a..862f2ad933b 100644 --- a/apis/elastictranscoder/2012-09-25/api-2.json +++ b/apis/elastictranscoder/2012-09-25/api-2.json @@ -4,10 +4,12 @@ "apiVersion":"2012-09-25", "endpointPrefix":"elastictranscoder", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon Elastic Transcoder", "serviceId":"Elastic Transcoder", "signatureVersion":"v4", - "uid":"elastictranscoder-2012-09-25" + "uid":"elastictranscoder-2012-09-25", + "auth":["aws.auth#sigv4"] }, "operations":{ "CancelJob":{ diff --git a/apis/elastictranscoder/2012-09-25/endpoint-rule-set-1.json b/apis/elastictranscoder/2012-09-25/endpoint-rule-set-1.json index 29f802e5320..e6fea0075e8 100644 --- a/apis/elastictranscoder/2012-09-25/endpoint-rule-set-1.json +++ b/apis/elastictranscoder/2012-09-25/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/elastictranscoder/2012-09-25/smoke-2.json b/apis/elastictranscoder/2012-09-25/smoke-2.json new file mode 100644 index 00000000000..952cf1968a7 --- /dev/null +++ b/apis/elastictranscoder/2012-09-25/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListPresetsSuccess", + "operationName": "ListPresets", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/apis/opensearch/2021-01-01/api-2.json b/apis/opensearch/2021-01-01/api-2.json index d132c8dfe1f..ae094168fe8 100644 --- a/apis/opensearch/2021-01-01/api-2.json +++ b/apis/opensearch/2021-01-01/api-2.json @@ -8,7 +8,8 @@ "serviceFullName":"Amazon OpenSearch Service", "serviceId":"OpenSearch", "signatureVersion":"v4", - "uid":"opensearch-2021-01-01" + "uid":"opensearch-2021-01-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptInboundConnection":{ @@ -1148,6 +1149,7 @@ "Enabled":{"shape":"Boolean"}, "InternalUserDatabaseEnabled":{"shape":"Boolean"}, "SAMLOptions":{"shape":"SAMLOptionsOutput"}, + "JWTOptions":{"shape":"JWTOptionsOutput"}, "AnonymousAuthDisableDate":{"shape":"DisableTimestamp"}, "AnonymousAuthEnabled":{"shape":"Boolean"} } @@ -1159,6 +1161,7 @@ "InternalUserDatabaseEnabled":{"shape":"Boolean"}, "MasterUserOptions":{"shape":"MasterUserOptions"}, "SAMLOptions":{"shape":"SAMLOptionsInput"}, + "JWTOptions":{"shape":"JWTOptionsInput"}, "AnonymousAuthEnabled":{"shape":"Boolean"} } }, @@ -2907,6 +2910,24 @@ "type":"list", "member":{"shape":"Issue"} }, + "JWTOptionsInput":{ + "type":"structure", + "members":{ + "Enabled":{"shape":"Boolean"}, + "SubjectKey":{"shape":"SubjectKey"}, + "RolesKey":{"shape":"RolesKey"}, + "PublicKey":{"shape":"String"} + } + }, + "JWTOptionsOutput":{ + "type":"structure", + "members":{ + "Enabled":{"shape":"Boolean"}, + "SubjectKey":{"shape":"String"}, + "RolesKey":{"shape":"String"}, + "PublicKey":{"shape":"String"} + } + }, "KmsKeyId":{ "type":"string", "max":500, @@ -3906,6 +3927,11 @@ "min":20, "pattern":"arn:(aws|aws\\-cn|aws\\-us\\-gov|aws\\-iso|aws\\-iso\\-b):iam::[0-9]+:role\\/.*" }, + "RolesKey":{ + "type":"string", + "max":64, + "min":1 + }, "RollbackOnDisable":{ "type":"string", "enum":[ @@ -4178,6 +4204,11 @@ "type":"list", "member":{"shape":"String"} }, + "SubjectKey":{ + "type":"string", + "max":64, + "min":1 + }, "TLSSecurityPolicy":{ "type":"string", "enum":[ diff --git a/apis/opensearch/2021-01-01/docs-2.json b/apis/opensearch/2021-01-01/docs-2.json index 21afc3e227a..af8019750ea 100644 --- a/apis/opensearch/2021-01-01/docs-2.json +++ b/apis/opensearch/2021-01-01/docs-2.json @@ -388,6 +388,8 @@ "InstanceTypeDetails$AppLogsEnabled": "

Whether logging is supported for the instance type.

", "InstanceTypeDetails$AdvancedSecurityEnabled": "

Whether fine-grained access control is supported for the instance type.

", "InstanceTypeDetails$WarmEnabled": "

Whether UltraWarm is supported for the instance type.

", + "JWTOptionsInput$Enabled": "

True to enable JWT authentication and authorization for a domain.

", + "JWTOptionsOutput$Enabled": "

True if JWT use is enabled.

", "ListInstanceTypeDetailsRequest$RetrieveAZs": "

An optional parameter that specifies the Availability Zones for the domain.

", "LogPublishingOption$Enabled": "

Whether the log should be published.

", "NodeToNodeEncryptionOptions$Enabled": "

True to enable node-to-node encryption.

", @@ -687,8 +689,8 @@ "base": null, "refs": { "DataSourceDetails$Status": "

The status of the data source.

", - "GetDataSourceResponse$Status": "

The status of the data source response.

", - "UpdateDataSourceRequest$Status": "

The status of the data source update request.

" + "GetDataSourceResponse$Status": "

The status of the data source.

", + "UpdateDataSourceRequest$Status": "

The status of the data source update.

" } }, "DataSourceType": { @@ -1585,6 +1587,18 @@ "UpgradeStepItem$Issues": "

A list of strings containing detailed information about the errors encountered in a particular step.

" } }, + "JWTOptionsInput": { + "base": "

The JWT authentication and authorization configuration for an Amazon OpenSearch Service domain.

", + "refs": { + "AdvancedSecurityOptionsInput$JWTOptions": "

Container for information about the JWT configuration of the Amazon OpenSearch Service.

" + } + }, + "JWTOptionsOutput": { + "base": "

Describes the JWT options configured for the domain.

", + "refs": { + "AdvancedSecurityOptions$JWTOptions": "

Container for information about the JWT configuration of the Amazon OpenSearch Service.

" + } + }, "KmsKeyId": { "base": null, "refs": { @@ -2355,6 +2369,12 @@ "S3GlueDataCatalog$RoleArn": "

>The Amazon Resource Name (ARN) for the S3 Glue Data Catalog.

" } }, + "RolesKey": { + "base": null, + "refs": { + "JWTOptionsInput$RolesKey": "

Element of the JWT assertion to use for roles.

" + } + }, "RollbackOnDisable": { "base": "

The rollback state while disabling Auto-Tune for the domain.

", "refs": { @@ -2626,6 +2646,10 @@ "EndpointsMap$key": null, "GetPackageVersionHistoryResponse$NextToken": "

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

", "GetUpgradeHistoryResponse$NextToken": "

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

", + "JWTOptionsInput$PublicKey": "

Element of the JWT assertion used by the cluster to verify JWT signatures.

", + "JWTOptionsOutput$SubjectKey": "

The key used for matching the JWT subject attribute.

", + "JWTOptionsOutput$RolesKey": "

The key used for matching the JWT roles attribute.

", + "JWTOptionsOutput$PublicKey": "

The key used to verify the signature of incoming JWT requests.

", "ListDomainsForPackageResponse$NextToken": "

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

", "ListPackagesForDomainResponse$NextToken": "

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

", "ModifyingProperties$Name": "

The name of the property that is currently being modified.

", @@ -2669,6 +2693,12 @@ "VPCOptions$SecurityGroupIds": "

The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.

" } }, + "SubjectKey": { + "base": null, + "refs": { + "JWTOptionsInput$SubjectKey": "

Element of the JWT assertion to use for the user name.

" + } + }, "TLSSecurityPolicy": { "base": null, "refs": { diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 9c57a999a78..7420f8931ff 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.945.0 (2024-06-19) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.944.0 (2024-06-12) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 2edba4f3c39..70ace7fc715 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.944.0 +1.945.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 89026614d94..ee333c2c88b 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -25256,6 +25256,44 @@ "us-gov-west-1" : { } } }, + "kinesisvideo" : { + "endpoints" : { + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "kinesisvideo-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "kinesisvideo-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "hostname" : "kinesisvideo-fips.us-gov-east-1.amazonaws.com", + "variants" : [ { + "hostname" : "kinesisvideo-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "kinesisvideo-fips.us-gov-west-1.amazonaws.com", + "variants" : [ { + "hostname" : "kinesisvideo-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } + } + }, "kms" : { "endpoints" : { "ProdFips" : { diff --git a/gems/aws-sdk-artifact/CHANGELOG.md b/gems/aws-sdk-artifact/CHANGELOG.md index e57158d79d5..877f4e69417 100644 --- a/gems/aws-sdk-artifact/CHANGELOG.md +++ b/gems/aws-sdk-artifact/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.4.0 (2024-06-19) +------------------ + +* Feature - This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response). + 1.3.0 (2024-06-05) ------------------ diff --git a/gems/aws-sdk-artifact/VERSION b/gems/aws-sdk-artifact/VERSION index f0bb29e7638..88c5fb891dc 100644 --- a/gems/aws-sdk-artifact/VERSION +++ b/gems/aws-sdk-artifact/VERSION @@ -1 +1 @@ -1.3.0 +1.4.0 diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb index a75dab72f55..b8c7133aa40 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb @@ -16,6 +16,7 @@ require_relative 'aws-sdk-artifact/plugins/endpoints.rb' require_relative 'aws-sdk-artifact/client' require_relative 'aws-sdk-artifact/errors' +require_relative 'aws-sdk-artifact/waiters' require_relative 'aws-sdk-artifact/resource' require_relative 'aws-sdk-artifact/endpoint_parameters' require_relative 'aws-sdk-artifact/endpoint_provider' @@ -52,6 +53,6 @@ # @!group service module Aws::Artifact - GEM_VERSION = '1.3.0' + GEM_VERSION = '1.4.0' end diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb index 6e9778fb60b..6ab35bca285 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb @@ -419,6 +419,21 @@ def initialize(*args) # # * {Types::GetAccountSettingsResponse#account_settings #account_settings} => Types::AccountSettings # + # + # @example Example: Invoke GetAccountSettings operation + # + # # Get the current account settings. + # + # resp = client.get_account_settings({ + # }) + # + # resp.to_h outputs the following: + # { + # account_settings: { + # notification_subscription_status: "SUBSCRIBED", + # }, + # } + # # @example Response structure # # resp.account_settings.notification_subscription_status #=> String, one of "SUBSCRIBED", "NOT_SUBSCRIBED" @@ -447,6 +462,24 @@ def get_account_settings(params = {}, options = {}) # # * {Types::GetReportResponse#document_presigned_url #document_presigned_url} => String # + # + # @example Example: Invoke GetReport operation on the latest version of a specific report + # + # # The GetReport operation is invoked on a reportId and on a optional version. + # # Callers must provide a termToken, which is provided by the GetTermForReport + # # operation. If callers do not provide a version, it will default to the + # # report's latest version + # + # resp = client.get_report({ + # report_id: "report-1hVFddebtfDNJAUf", + # term_token: "term-token-gPFEGk7CF4wS901w7ppYclt7", + # }) + # + # resp.to_h outputs the following: + # { + # document_presigned_url: "", + # } + # # @example Request syntax with placeholder values # # resp = client.get_report({ @@ -480,6 +513,36 @@ def get_report(params = {}, options = {}) # # * {Types::GetReportMetadataResponse#report_details #report_details} => Types::ReportDetail # + # + # @example Example: Invoke GetReportMetadata operation on the latest version of a specific report + # + # # The GetReportMetadata operation is invoked on a reportId and on a optional version. + # # If callers do not provide a version, it will default to the report's latest version. + # + # resp = client.get_report_metadata({ + # report_id: "report-bqhUJF3FrQZsMJpb", + # }) + # + # resp.to_h outputs the following: + # { + # report_details: { + # version: 1, + # name: "Name of report", + # arn: "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb:1", + # category: "Artifact Category", + # company_name: "AWS", + # created_at: Time.parse("2022-05-27T23:17:00.343940Z"), + # description: "Description of report", + # id: "report-bqhUJF3FrQZsMJpb", + # period_end: Time.parse("2022-04-01T20:32:04Z"), + # period_start: Time.parse("2022-04-01T20:32:04Z"), + # product_name: "Product of report", + # series: "Artifact Series", + # state: "PUBLISHED", + # term_arn: "arn:aws:artifact:us-east-1::term/term-gLJGG12NyPtYcmtu:1", + # }, + # } + # # @example Request syntax with placeholder values # # resp = client.get_report_metadata({ @@ -489,26 +552,26 @@ def get_report(params = {}, options = {}) # # @example Response structure # - # resp.report_details.acceptance_type #=> String, one of "PASSTHROUGH", "EXPLICIT" - # resp.report_details.arn #=> String - # resp.report_details.category #=> String - # resp.report_details.company_name #=> String - # resp.report_details.created_at #=> Time - # resp.report_details.deleted_at #=> Time - # resp.report_details.description #=> String # resp.report_details.id #=> String - # resp.report_details.last_modified_at #=> Time # resp.report_details.name #=> String - # resp.report_details.period_end #=> Time + # resp.report_details.description #=> String # resp.report_details.period_start #=> Time - # resp.report_details.product_name #=> String - # resp.report_details.sequence_number #=> Integer - # resp.report_details.series #=> String + # resp.report_details.period_end #=> Time + # resp.report_details.created_at #=> Time + # resp.report_details.last_modified_at #=> Time + # resp.report_details.deleted_at #=> Time # resp.report_details.state #=> String, one of "PUBLISHED", "UNPUBLISHED" - # resp.report_details.status_message #=> String + # resp.report_details.arn #=> String + # resp.report_details.series #=> String + # resp.report_details.category #=> String + # resp.report_details.company_name #=> String + # resp.report_details.product_name #=> String # resp.report_details.term_arn #=> String - # resp.report_details.upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT" # resp.report_details.version #=> Integer + # resp.report_details.acceptance_type #=> String, one of "PASSTHROUGH", "EXPLICIT" + # resp.report_details.sequence_number #=> Integer + # resp.report_details.upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT" + # resp.report_details.status_message #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadata AWS API Documentation # @@ -532,6 +595,22 @@ def get_report_metadata(params = {}, options = {}) # * {Types::GetTermForReportResponse#document_presigned_url #document_presigned_url} => String # * {Types::GetTermForReportResponse#term_token #term_token} => String # + # + # @example Example: Invoke GetTermForReport operation on the latest version of a specific report + # + # # The GetTermForReport operation is invoked on a reportId and on a optional version. + # # If callers do not provide a version, it will default to the report's latest version. + # + # resp = client.get_term_for_report({ + # report_id: "report-bqhUJF3FrQZsMJpb", + # }) + # + # resp.to_h outputs the following: + # { + # document_presigned_url: "", + # term_token: "term-token-gPFEGk7CF4wS901w7ppYclt7", + # } + # # @example Request syntax with placeholder values # # resp = client.get_term_for_report({ @@ -563,11 +642,40 @@ def get_term_for_report(params = {}, options = {}) # # @return [Types::ListReportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # - # * {Types::ListReportsResponse#next_token #next_token} => String # * {Types::ListReportsResponse#reports #reports} => Array<Types::ReportSummary> + # * {Types::ListReportsResponse#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # + # + # @example Example: Invoke ListReports operation + # + # # The ListReports operation returns a collection of report resources. + # + # resp = client.list_reports({ + # }) + # + # resp.to_h outputs the following: + # { + # next_token: "gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7", + # reports: [ + # { + # version: 1, + # name: "Name of report", + # arn: "arn:aws:artifact:us-east-1::report/report-bqhUJF3FrQZsMJpb", + # category: "Artifact Category", + # company_name: "AWS", + # description: "Description of report", + # id: "report-bqhUJF3FrQZsMJpb", + # period_end: Time.parse("2022-04-01T20:32:04Z"), + # period_start: Time.parse("2022-04-01T20:32:04Z"), + # product_name: "Product of report", + # series: "Artifact Series", + # state: "PUBLISHED", + # }, + # ], + # } + # # @example Request syntax with placeholder values # # resp = client.list_reports({ @@ -577,22 +685,23 @@ def get_term_for_report(params = {}, options = {}) # # @example Response structure # - # resp.next_token #=> String # resp.reports #=> Array - # resp.reports[0].arn #=> String - # resp.reports[0].category #=> String - # resp.reports[0].company_name #=> String - # resp.reports[0].description #=> String # resp.reports[0].id #=> String # resp.reports[0].name #=> String - # resp.reports[0].period_end #=> Time + # resp.reports[0].state #=> String, one of "PUBLISHED", "UNPUBLISHED" + # resp.reports[0].arn #=> String + # resp.reports[0].version #=> Integer + # resp.reports[0].upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT" + # resp.reports[0].description #=> String # resp.reports[0].period_start #=> Time - # resp.reports[0].product_name #=> String + # resp.reports[0].period_end #=> Time # resp.reports[0].series #=> String - # resp.reports[0].state #=> String, one of "PUBLISHED", "UNPUBLISHED" + # resp.reports[0].category #=> String + # resp.reports[0].company_name #=> String + # resp.reports[0].product_name #=> String # resp.reports[0].status_message #=> String - # resp.reports[0].upload_state #=> String, one of "PROCESSING", "COMPLETE", "FAILED", "FAULT" - # resp.reports[0].version #=> Integer + # resp.reports[0].acceptance_type #=> String, one of "PASSTHROUGH", "EXPLICIT" + # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReports AWS API Documentation # @@ -612,6 +721,22 @@ def list_reports(params = {}, options = {}) # # * {Types::PutAccountSettingsResponse#account_settings #account_settings} => Types::AccountSettings # + # + # @example Example: Invoke PutAccountSettings operation + # + # # Set the account settings. + # + # resp = client.put_account_settings({ + # notification_subscription_status: "SUBSCRIBED", + # }) + # + # resp.to_h outputs the following: + # { + # account_settings: { + # notification_subscription_status: "SUBSCRIBED", + # }, + # } + # # @example Request syntax with placeholder values # # resp = client.put_account_settings({ @@ -644,7 +769,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-artifact' - context[:gem_version] = '1.3.0' + context[:gem_version] = '1.4.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client_api.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client_api.rb index b4b5a1006f2..7bf867e43da 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client_api.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client_api.rb @@ -104,8 +104,8 @@ module ClientApi ListReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location: "querystring", location_name: "nextToken")) ListReportsRequest.struct_class = Types::ListReportsRequest - ListReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken")) ListReportsResponse.add_member(:reports, Shapes::ShapeRef.new(shape: ReportsList, location_name: "reports")) + ListReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenAttribute, location_name: "nextToken")) ListReportsResponse.struct_class = Types::ListReportsResponse PutAccountSettingsRequest.add_member(:notification_subscription_status, Shapes::ShapeRef.new(shape: NotificationSubscriptionStatus, location_name: "notificationSubscriptionStatus")) @@ -114,42 +114,43 @@ module ClientApi PutAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "accountSettings")) PutAccountSettingsResponse.struct_class = Types::PutAccountSettingsResponse - ReportDetail.add_member(:acceptance_type, Shapes::ShapeRef.new(shape: AcceptanceType, location_name: "acceptanceType")) - ReportDetail.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn")) - ReportDetail.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category")) - ReportDetail.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName")) - ReportDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "createdAt")) - ReportDetail.add_member(:deleted_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "deletedAt")) - ReportDetail.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description")) ReportDetail.add_member(:id, Shapes::ShapeRef.new(shape: ReportId, location_name: "id")) - ReportDetail.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "lastModifiedAt")) ReportDetail.add_member(:name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "name")) - ReportDetail.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd")) + ReportDetail.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description")) ReportDetail.add_member(:period_start, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodStart")) - ReportDetail.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName")) - ReportDetail.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumberAttribute, location_name: "sequenceNumber")) - ReportDetail.add_member(:series, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "series")) + ReportDetail.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd")) + ReportDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "createdAt")) + ReportDetail.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "lastModifiedAt")) + ReportDetail.add_member(:deleted_at, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "deletedAt")) ReportDetail.add_member(:state, Shapes::ShapeRef.new(shape: PublishedState, location_name: "state")) - ReportDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage")) + ReportDetail.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn")) + ReportDetail.add_member(:series, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "series")) + ReportDetail.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category")) + ReportDetail.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName")) + ReportDetail.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName")) ReportDetail.add_member(:term_arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "termArn")) - ReportDetail.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState")) ReportDetail.add_member(:version, Shapes::ShapeRef.new(shape: VersionAttribute, location_name: "version")) + ReportDetail.add_member(:acceptance_type, Shapes::ShapeRef.new(shape: AcceptanceType, location_name: "acceptanceType")) + ReportDetail.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumberAttribute, location_name: "sequenceNumber")) + ReportDetail.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState")) + ReportDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage")) ReportDetail.struct_class = Types::ReportDetail - ReportSummary.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn")) - ReportSummary.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category")) - ReportSummary.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName")) - ReportSummary.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description")) ReportSummary.add_member(:id, Shapes::ShapeRef.new(shape: ReportId, location_name: "id")) ReportSummary.add_member(:name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "name")) - ReportSummary.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd")) + ReportSummary.add_member(:state, Shapes::ShapeRef.new(shape: PublishedState, location_name: "state")) + ReportSummary.add_member(:arn, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "arn")) + ReportSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionAttribute, location_name: "version")) + ReportSummary.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState")) + ReportSummary.add_member(:description, Shapes::ShapeRef.new(shape: LongStringAttribute, location_name: "description")) ReportSummary.add_member(:period_start, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodStart")) - ReportSummary.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName")) + ReportSummary.add_member(:period_end, Shapes::ShapeRef.new(shape: TimestampAttribute, location_name: "periodEnd")) ReportSummary.add_member(:series, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "series")) - ReportSummary.add_member(:state, Shapes::ShapeRef.new(shape: PublishedState, location_name: "state")) + ReportSummary.add_member(:category, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "category")) + ReportSummary.add_member(:company_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "companyName")) + ReportSummary.add_member(:product_name, Shapes::ShapeRef.new(shape: ShortStringAttribute, location_name: "productName")) ReportSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "statusMessage")) - ReportSummary.add_member(:upload_state, Shapes::ShapeRef.new(shape: UploadState, location_name: "uploadState")) - ReportSummary.add_member(:version, Shapes::ShapeRef.new(shape: VersionAttribute, location_name: "version")) + ReportSummary.add_member(:acceptance_type, Shapes::ShapeRef.new(shape: AcceptanceType, location_name: "acceptanceType")) ReportSummary.struct_class = Types::ReportSummary ReportsList.member = Shapes::ShapeRef.new(shape: ReportSummary) @@ -160,25 +161,25 @@ module ClientApi ResourceNotFoundException.struct_class = Types::ResourceNotFoundException ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) - ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode")) ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId")) ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType")) ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode")) + ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode")) ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) + ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode")) ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode")) ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After")) - ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode")) ThrottlingException.struct_class = Types::ThrottlingException - ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList")) ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason")) + ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList")) ValidationException.struct_class = Types::ValidationException - ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name")) + ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) ValidationExceptionField.struct_class = Types::ValidationExceptionField ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField) @@ -191,9 +192,10 @@ module ClientApi api.metadata = { "apiVersion" => "2018-05-10", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "artifact", - "jsonVersion" => "1.1", "protocol" => "rest-json", + "protocols" => ["rest-json"], "serviceFullName" => "AWS Artifact", "serviceId" => "Artifact", "signatureVersion" => "v4", diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/errors.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/errors.rb index 7038e7e85b0..8b38f7f30b7 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/errors.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/errors.rb @@ -144,11 +144,6 @@ def message @message || @data[:message] end - # @return [String] - def quota_code - @data[:quota_code] - end - # @return [String] def resource_id @data[:resource_id] @@ -163,6 +158,11 @@ def resource_type def service_code @data[:service_code] end + + # @return [String] + def quota_code + @data[:quota_code] + end end class ThrottlingException < ServiceError @@ -179,6 +179,11 @@ def message @message || @data[:message] end + # @return [String] + def service_code + @data[:service_code] + end + # @return [String] def quota_code @data[:quota_code] @@ -189,11 +194,6 @@ def retry_after_seconds @data[:retry_after_seconds] end - # @return [String] - def service_code - @data[:service_code] - end - def retryable? true end @@ -212,11 +212,6 @@ def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end - # @return [String] - def field_list - @data[:field_list] - end - # @return [String] def message @message || @data[:message] @@ -226,6 +221,11 @@ def message def reason @data[:reason] end + + # @return [String] + def field_list + @data[:field_list] + end end end diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/types.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/types.rb index d5ccc26eb63..3ad38f787e2 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/types.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/types.rb @@ -210,19 +210,19 @@ class ListReportsRequest < Struct.new( include Aws::Structure end - # @!attribute [rw] next_token - # Pagination token to request the next page of resources. - # @return [String] - # # @!attribute [rw] reports # List of report resources. # @return [Array] # + # @!attribute [rw] next_token + # Pagination token to request the next page of resources. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReportsResponse AWS API Documentation # class ListReportsResponse < Struct.new( - :next_token, - :reports) + :reports, + :next_token) SENSITIVE = [] include Aws::Structure end @@ -253,188 +253,193 @@ class PutAccountSettingsResponse < Struct.new( # Full detail for report resource metadata. # - # @!attribute [rw] acceptance_type - # Acceptance type for report. + # @!attribute [rw] id + # Unique resource ID for the report resource. # @return [String] # - # @!attribute [rw] arn - # ARN for the report resource. + # @!attribute [rw] name + # Name for the report resource. # @return [String] # - # @!attribute [rw] category - # Category for the report resource. + # @!attribute [rw] description + # Description for the report resource. # @return [String] # - # @!attribute [rw] company_name - # Associated company name for the report resource. - # @return [String] + # @!attribute [rw] period_start + # Timestamp indicating the report resource effective start. + # @return [Time] + # + # @!attribute [rw] period_end + # Timestamp indicating the report resource effective end. + # @return [Time] # # @!attribute [rw] created_at # Timestamp indicating when the report resource was created. # @return [Time] # + # @!attribute [rw] last_modified_at + # Timestamp indicating when the report resource was last modified. + # @return [Time] + # # @!attribute [rw] deleted_at # Timestamp indicating when the report resource was deleted. # @return [Time] # - # @!attribute [rw] description - # Description for the report resource. + # @!attribute [rw] state + # Current state of the report resource # @return [String] # - # @!attribute [rw] id - # Unique resource ID for the report resource. + # @!attribute [rw] arn + # ARN for the report resource. # @return [String] # - # @!attribute [rw] last_modified_at - # Timestamp indicating when the report resource was last modified. - # @return [Time] - # - # @!attribute [rw] name - # Name for the report resource. + # @!attribute [rw] series + # Series for the report resource. # @return [String] # - # @!attribute [rw] period_end - # Timestamp indicating the report resource effective end. - # @return [Time] + # @!attribute [rw] category + # Category for the report resource. + # @return [String] # - # @!attribute [rw] period_start - # Timestamp indicating the report resource effective start. - # @return [Time] + # @!attribute [rw] company_name + # Associated company name for the report resource. + # @return [String] # # @!attribute [rw] product_name # Associated product name for the report resource. # @return [String] # - # @!attribute [rw] sequence_number - # Sequence number to enforce optimistic locking. - # @return [Integer] - # - # @!attribute [rw] series - # Series for the report resource. + # @!attribute [rw] term_arn + # Unique resource ARN for term resource. # @return [String] # - # @!attribute [rw] state - # Current state of the report resource - # @return [String] + # @!attribute [rw] version + # Version for the report resource. + # @return [Integer] # - # @!attribute [rw] status_message - # The message associated with the current upload state. + # @!attribute [rw] acceptance_type + # Acceptance type for report. # @return [String] # - # @!attribute [rw] term_arn - # Unique resource ARN for term resource. - # @return [String] + # @!attribute [rw] sequence_number + # Sequence number to enforce optimistic locking. + # @return [Integer] # # @!attribute [rw] upload_state # The current state of the document upload. # @return [String] # - # @!attribute [rw] version - # Version for the report resource. - # @return [Integer] + # @!attribute [rw] status_message + # The message associated with the current upload state. + # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ReportDetail AWS API Documentation # class ReportDetail < Struct.new( - :acceptance_type, - :arn, - :category, - :company_name, - :created_at, - :deleted_at, - :description, :id, - :last_modified_at, :name, - :period_end, + :description, :period_start, - :product_name, - :sequence_number, - :series, + :period_end, + :created_at, + :last_modified_at, + :deleted_at, :state, - :status_message, + :arn, + :series, + :category, + :company_name, + :product_name, :term_arn, + :version, + :acceptance_type, + :sequence_number, :upload_state, - :version) + :status_message) SENSITIVE = [] include Aws::Structure end # Summary for report resource. # - # @!attribute [rw] arn - # ARN for the report resource. + # @!attribute [rw] id + # Unique resource ID for the report resource. # @return [String] # - # @!attribute [rw] category - # Category for the report resource. + # @!attribute [rw] name + # Name for the report resource. # @return [String] # - # @!attribute [rw] company_name - # Associated company name for the report resource. + # @!attribute [rw] state + # Current state of the report resource. # @return [String] # - # @!attribute [rw] description - # Description for the report resource. + # @!attribute [rw] arn + # ARN for the report resource. # @return [String] # - # @!attribute [rw] id - # Unique resource ID for the report resource. - # @return [String] + # @!attribute [rw] version + # Version for the report resource. + # @return [Integer] # - # @!attribute [rw] name - # Name for the report resource. + # @!attribute [rw] upload_state + # The current state of the document upload. # @return [String] # - # @!attribute [rw] period_end - # Timestamp indicating the report resource effective end. - # @return [Time] + # @!attribute [rw] description + # Description for the report resource. + # @return [String] # # @!attribute [rw] period_start # Timestamp indicating the report resource effective start. # @return [Time] # - # @!attribute [rw] product_name - # Associated product name for the report resource. - # @return [String] + # @!attribute [rw] period_end + # Timestamp indicating the report resource effective end. + # @return [Time] # # @!attribute [rw] series # Series for the report resource. # @return [String] # - # @!attribute [rw] state - # Current state of the report resource. + # @!attribute [rw] category + # Category for the report resource. + # @return [String] + # + # @!attribute [rw] company_name + # Associated company name for the report resource. + # @return [String] + # + # @!attribute [rw] product_name + # Associated product name for the report resource. # @return [String] # # @!attribute [rw] status_message # The message associated with the current upload state. # @return [String] # - # @!attribute [rw] upload_state - # The current state of the document upload. + # @!attribute [rw] acceptance_type + # Acceptance type for report. # @return [String] # - # @!attribute [rw] version - # Version for the report resource. - # @return [Integer] - # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ReportSummary AWS API Documentation # class ReportSummary < Struct.new( - :arn, - :category, - :company_name, - :description, :id, :name, - :period_end, + :state, + :arn, + :version, + :upload_state, + :description, :period_start, - :product_name, + :period_end, :series, - :state, + :category, + :company_name, + :product_name, :status_message, - :upload_state, - :version) + :acceptance_type) SENSITIVE = [] include Aws::Structure end @@ -467,10 +472,6 @@ class ResourceNotFoundException < Struct.new( # @!attribute [rw] message # @return [String] # - # @!attribute [rw] quota_code - # Code for the affected quota. - # @return [String] - # # @!attribute [rw] resource_id # Identifier of the affected resource. # @return [String] @@ -483,14 +484,18 @@ class ResourceNotFoundException < Struct.new( # Code for the affected service. # @return [String] # + # @!attribute [rw] quota_code + # Code for the affected quota. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ServiceQuotaExceededException AWS API Documentation # class ServiceQuotaExceededException < Struct.new( :message, - :quota_code, :resource_id, :resource_type, - :service_code) + :service_code, + :quota_code) SENSITIVE = [] include Aws::Structure end @@ -500,6 +505,10 @@ class ServiceQuotaExceededException < Struct.new( # @!attribute [rw] message # @return [String] # + # @!attribute [rw] service_code + # Code for the affected service. + # @return [String] + # # @!attribute [rw] quota_code # Code for the affected quota. # @return [String] @@ -508,27 +517,19 @@ class ServiceQuotaExceededException < Struct.new( # Number of seconds in which the caller can retry the request. # @return [Integer] # - # @!attribute [rw] service_code - # Code for the affected service. - # @return [String] - # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ThrottlingException AWS API Documentation # class ThrottlingException < Struct.new( :message, + :service_code, :quota_code, - :retry_after_seconds, - :service_code) + :retry_after_seconds) SENSITIVE = [] include Aws::Structure end # Request fails to satisfy the constraints specified by an AWS service. # - # @!attribute [rw] field_list - # The field that caused the error, if applicable. - # @return [Array] - # # @!attribute [rw] message # @return [String] # @@ -536,31 +537,35 @@ class ThrottlingException < Struct.new( # Reason the request failed validation. # @return [String] # + # @!attribute [rw] field_list + # The field that caused the error, if applicable. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ValidationException AWS API Documentation # class ValidationException < Struct.new( - :field_list, :message, - :reason) + :reason, + :field_list) SENSITIVE = [] include Aws::Structure end # Validation exception message and name. # - # @!attribute [rw] message - # Message describing why the field failed validation. - # @return [String] - # # @!attribute [rw] name # Name of validation exception. # @return [String] # + # @!attribute [rw] message + # Message describing why the field failed validation. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ValidationExceptionField AWS API Documentation # class ValidationExceptionField < Struct.new( - :message, - :name) + :name, + :message) SENSITIVE = [] include Aws::Structure end diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/waiters.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/waiters.rb new file mode 100644 index 00000000000..0001bc47c65 --- /dev/null +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/waiters.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +require 'aws-sdk-core/waiters' + +module Aws::Artifact + module Waiters + end +end diff --git a/gems/aws-sdk-artifact/sig/client.rbs b/gems/aws-sdk-artifact/sig/client.rbs index 90a9c800513..860a4e27eb0 100644 --- a/gems/aws-sdk-artifact/sig/client.rbs +++ b/gems/aws-sdk-artifact/sig/client.rbs @@ -118,8 +118,8 @@ module Aws interface _ListReportsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListReportsResponse] - def next_token: () -> ::String def reports: () -> ::Array[Types::ReportSummary] + def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#list_reports-instance_method def list_reports: ( diff --git a/gems/aws-sdk-artifact/sig/errors.rbs b/gems/aws-sdk-artifact/sig/errors.rbs index 3096339cb02..67fd596154d 100644 --- a/gems/aws-sdk-artifact/sig/errors.rbs +++ b/gems/aws-sdk-artifact/sig/errors.rbs @@ -30,21 +30,21 @@ module Aws end class ServiceQuotaExceededException < ::Aws::Errors::ServiceError def message: () -> ::String - def quota_code: () -> ::String def resource_id: () -> ::String def resource_type: () -> ::String def service_code: () -> ::String + def quota_code: () -> ::String end class ThrottlingException < ::Aws::Errors::ServiceError def message: () -> ::String + def service_code: () -> ::String def quota_code: () -> ::String def retry_after_seconds: () -> ::String - def service_code: () -> ::String end class ValidationException < ::Aws::Errors::ServiceError - def field_list: () -> ::String def message: () -> ::String def reason: () -> ::String + def field_list: () -> ::String end end end diff --git a/gems/aws-sdk-artifact/sig/types.rbs b/gems/aws-sdk-artifact/sig/types.rbs index b544909fe0e..ebf8a00ce72 100644 --- a/gems/aws-sdk-artifact/sig/types.rbs +++ b/gems/aws-sdk-artifact/sig/types.rbs @@ -81,8 +81,8 @@ module Aws::Artifact end class ListReportsResponse - attr_accessor next_token: ::String attr_accessor reports: ::Array[Types::ReportSummary] + attr_accessor next_token: ::String SENSITIVE: [] end @@ -97,44 +97,45 @@ module Aws::Artifact end class ReportDetail - attr_accessor acceptance_type: ("PASSTHROUGH" | "EXPLICIT") - attr_accessor arn: ::String - attr_accessor category: ::String - attr_accessor company_name: ::String - attr_accessor created_at: ::Time - attr_accessor deleted_at: ::Time - attr_accessor description: ::String attr_accessor id: ::String - attr_accessor last_modified_at: ::Time attr_accessor name: ::String - attr_accessor period_end: ::Time + attr_accessor description: ::String attr_accessor period_start: ::Time - attr_accessor product_name: ::String - attr_accessor sequence_number: ::Integer - attr_accessor series: ::String + attr_accessor period_end: ::Time + attr_accessor created_at: ::Time + attr_accessor last_modified_at: ::Time + attr_accessor deleted_at: ::Time attr_accessor state: ("PUBLISHED" | "UNPUBLISHED") - attr_accessor status_message: ::String + attr_accessor arn: ::String + attr_accessor series: ::String + attr_accessor category: ::String + attr_accessor company_name: ::String + attr_accessor product_name: ::String attr_accessor term_arn: ::String - attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT") attr_accessor version: ::Integer + attr_accessor acceptance_type: ("PASSTHROUGH" | "EXPLICIT") + attr_accessor sequence_number: ::Integer + attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT") + attr_accessor status_message: ::String SENSITIVE: [] end class ReportSummary - attr_accessor arn: ::String - attr_accessor category: ::String - attr_accessor company_name: ::String - attr_accessor description: ::String attr_accessor id: ::String attr_accessor name: ::String - attr_accessor period_end: ::Time + attr_accessor state: ("PUBLISHED" | "UNPUBLISHED") + attr_accessor arn: ::String + attr_accessor version: ::Integer + attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT") + attr_accessor description: ::String attr_accessor period_start: ::Time - attr_accessor product_name: ::String + attr_accessor period_end: ::Time attr_accessor series: ::String - attr_accessor state: ("PUBLISHED" | "UNPUBLISHED") + attr_accessor category: ::String + attr_accessor company_name: ::String + attr_accessor product_name: ::String attr_accessor status_message: ::String - attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT") - attr_accessor version: ::Integer + attr_accessor acceptance_type: ("PASSTHROUGH" | "EXPLICIT") SENSITIVE: [] end @@ -147,31 +148,31 @@ module Aws::Artifact class ServiceQuotaExceededException attr_accessor message: ::String - attr_accessor quota_code: ::String attr_accessor resource_id: ::String attr_accessor resource_type: ::String attr_accessor service_code: ::String + attr_accessor quota_code: ::String SENSITIVE: [] end class ThrottlingException attr_accessor message: ::String + attr_accessor service_code: ::String attr_accessor quota_code: ::String attr_accessor retry_after_seconds: ::Integer - attr_accessor service_code: ::String SENSITIVE: [] end class ValidationException - attr_accessor field_list: ::Array[Types::ValidationExceptionField] attr_accessor message: ::String attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "invalidToken" | "other") + attr_accessor field_list: ::Array[Types::ValidationExceptionField] SENSITIVE: [] end class ValidationExceptionField - attr_accessor message: ::String attr_accessor name: ::String + attr_accessor message: ::String SENSITIVE: [] end end diff --git a/gems/aws-sdk-athena/CHANGELOG.md b/gems/aws-sdk-athena/CHANGELOG.md index f2cb54a2fac..6308508c2b3 100644 --- a/gems/aws-sdk-athena/CHANGELOG.md +++ b/gems/aws-sdk-athena/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.86.0 (2024-06-19) +------------------ + +* Feature - Add v2 smoke tests and smithy smokeTests trait for SDK testing. + 1.85.0 (2024-06-05) ------------------ diff --git a/gems/aws-sdk-athena/VERSION b/gems/aws-sdk-athena/VERSION index f288d11142d..b7844a6ffdc 100644 --- a/gems/aws-sdk-athena/VERSION +++ b/gems/aws-sdk-athena/VERSION @@ -1 +1 @@ -1.85.0 +1.86.0 diff --git a/gems/aws-sdk-athena/features/smoke.feature b/gems/aws-sdk-athena/features/smoke.feature new file mode 100644 index 00000000000..0681ca5d66f --- /dev/null +++ b/gems/aws-sdk-athena/features/smoke.feature @@ -0,0 +1,20 @@ +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +Feature: Smoke tests for Athena + + @athena @smoke + Scenario: ListNamedQueriesSuccess + Given I create a 'Aws::Athena' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_named_queries' with params: + """ +{} + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-athena/lib/aws-sdk-athena.rb b/gems/aws-sdk-athena/lib/aws-sdk-athena.rb index 613f6d02d7e..88b40f2280d 100644 --- a/gems/aws-sdk-athena/lib/aws-sdk-athena.rb +++ b/gems/aws-sdk-athena/lib/aws-sdk-athena.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Athena - GEM_VERSION = '1.85.0' + GEM_VERSION = '1.86.0' end diff --git a/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb b/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb index 1bc3520fbc2..c83325dfe80 100644 --- a/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb +++ b/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb @@ -3685,7 +3685,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-athena' - context[:gem_version] = '1.85.0' + context[:gem_version] = '1.86.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-athena/lib/aws-sdk-athena/client_api.rb b/gems/aws-sdk-athena/lib/aws-sdk-athena/client_api.rb index dd6f239c64c..982c5f1cbf8 100644 --- a/gems/aws-sdk-athena/lib/aws-sdk-athena/client_api.rb +++ b/gems/aws-sdk-athena/lib/aws-sdk-athena/client_api.rb @@ -1356,6 +1356,7 @@ module ClientApi api.metadata = { "apiVersion" => "2017-05-18", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "athena", "jsonVersion" => "1.1", "protocol" => "json", diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md index c9c23784f74..29e8e70a644 100644 --- a/gems/aws-sdk-core/CHANGELOG.md +++ b/gems/aws-sdk-core/CHANGELOG.md @@ -1,6 +1,9 @@ Unreleased Changes ------------------ +3.197.1 (2024-06-19) +------------------ + * Issue - Support an array of string arguments for `Aws::ProcessCredentials` to be executed by `system`. 3.197.0 (2024-06-05) diff --git a/gems/aws-sdk-core/VERSION b/gems/aws-sdk-core/VERSION index ff2ac398a4f..62d63bacd95 100644 --- a/gems/aws-sdk-core/VERSION +++ b/gems/aws-sdk-core/VERSION @@ -1 +1 @@ -3.197.0 +3.197.1 diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso.rb b/gems/aws-sdk-core/lib/aws-sdk-sso.rb index 95f5945c766..b7bf3fd35ae 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sso.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sso.rb @@ -54,6 +54,6 @@ # @!group service module Aws::SSO - GEM_VERSION = '3.197.0' + GEM_VERSION = '3.197.1' end diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb b/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb index 059fcc31c8e..c5fa9260011 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb @@ -630,7 +630,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-core' - context[:gem_version] = '3.197.0' + context[:gem_version] = '3.197.1' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb b/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb index 503cc03337c..72dee594e43 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb @@ -54,6 +54,6 @@ # @!group service module Aws::SSOOIDC - GEM_VERSION = '3.197.0' + GEM_VERSION = '3.197.1' end diff --git a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb index af3450c3524..619c7c09c7d 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb @@ -983,7 +983,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-core' - context[:gem_version] = '3.197.0' + context[:gem_version] = '3.197.1' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts.rb b/gems/aws-sdk-core/lib/aws-sdk-sts.rb index dbb073e3665..58936382bb7 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sts.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sts.rb @@ -54,6 +54,6 @@ # @!group service module Aws::STS - GEM_VERSION = '3.197.0' + GEM_VERSION = '3.197.1' end diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb index ed4b64959cb..e3fdb19c158 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb @@ -2377,7 +2377,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-core' - context[:gem_version] = '3.197.0' + context[:gem_version] = '3.197.1' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-costandusagereportservice/CHANGELOG.md b/gems/aws-sdk-costandusagereportservice/CHANGELOG.md index c92ffbdf17a..fa4731b640c 100644 --- a/gems/aws-sdk-costandusagereportservice/CHANGELOG.md +++ b/gems/aws-sdk-costandusagereportservice/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.58.0 (2024-06-19) +------------------ + +* Feature - Add v2 smoke tests and smithy smokeTests trait for SDK testing. + 1.57.0 (2024-06-05) ------------------ diff --git a/gems/aws-sdk-costandusagereportservice/VERSION b/gems/aws-sdk-costandusagereportservice/VERSION index 373aea97570..79f82f6b8e0 100644 --- a/gems/aws-sdk-costandusagereportservice/VERSION +++ b/gems/aws-sdk-costandusagereportservice/VERSION @@ -1 +1 @@ -1.57.0 +1.58.0 diff --git a/gems/aws-sdk-costandusagereportservice/features/smoke.feature b/gems/aws-sdk-costandusagereportservice/features/smoke.feature new file mode 100644 index 00000000000..bdbc1e733e8 --- /dev/null +++ b/gems/aws-sdk-costandusagereportservice/features/smoke.feature @@ -0,0 +1,20 @@ +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +Feature: Smoke tests for CostandUsageReportService + + @costandusagereportservice @smoke + Scenario: DescribeReportDefinitionsSuccess + Given I create a 'Aws::CostandUsageReportService' client with config: + """ +{"region":"us-east-1"} + """ + When I call the operation 'describe_report_definitions' with params: + """ +{} + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb index eb6beeedaaa..4d9bf683bc1 100644 --- a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb +++ b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb @@ -52,6 +52,6 @@ # @!group service module Aws::CostandUsageReportService - GEM_VERSION = '1.57.0' + GEM_VERSION = '1.58.0' end diff --git a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb index 1e5490121a1..2951806fe77 100644 --- a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb +++ b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb @@ -784,7 +784,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-costandusagereportservice' - context[:gem_version] = '1.57.0' + context[:gem_version] = '1.58.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client_api.rb b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client_api.rb index 983b48b5bf9..1d98091a1a5 100644 --- a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client_api.rb +++ b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client_api.rb @@ -161,9 +161,11 @@ module ClientApi api.metadata = { "apiVersion" => "2017-01-06", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "cur", "jsonVersion" => "1.1", "protocol" => "json", + "protocols" => ["json"], "serviceFullName" => "AWS Cost and Usage Report Service", "serviceId" => "Cost and Usage Report Service", "signatureVersion" => "v4", diff --git a/gems/aws-sdk-directconnect/CHANGELOG.md b/gems/aws-sdk-directconnect/CHANGELOG.md index 21e2afd4595..c34fdbeab6e 100644 --- a/gems/aws-sdk-directconnect/CHANGELOG.md +++ b/gems/aws-sdk-directconnect/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.73.0 (2024-06-19) +------------------ + +* Feature - Add v2 smoke tests and smithy smokeTests trait for SDK testing. + 1.72.0 (2024-06-05) ------------------ diff --git a/gems/aws-sdk-directconnect/VERSION b/gems/aws-sdk-directconnect/VERSION index 0834888f558..5e3a4256626 100644 --- a/gems/aws-sdk-directconnect/VERSION +++ b/gems/aws-sdk-directconnect/VERSION @@ -1 +1 @@ -1.72.0 +1.73.0 diff --git a/gems/aws-sdk-directconnect/features/smoke.feature b/gems/aws-sdk-directconnect/features/smoke.feature new file mode 100644 index 00000000000..1d360131068 --- /dev/null +++ b/gems/aws-sdk-directconnect/features/smoke.feature @@ -0,0 +1,32 @@ +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +Feature: Smoke tests for DirectConnect + + @directconnect @smoke + Scenario: DescribeConnectionsSuccess + Given I create a 'Aws::DirectConnect' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_connections' with params: + """ +{} + """ + Then I expect an error was not raised + + @directconnect @smoke + Scenario: DescribeConnectionsFailure + Given I create a 'Aws::DirectConnect' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'describe_connections' with params: + """ +{"connection_id":"fake-connection"} + """ + Then I expect an error was raised diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb index 13b797660ad..af3d9b2c794 100644 --- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb +++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb @@ -52,6 +52,6 @@ # @!group service module Aws::DirectConnect - GEM_VERSION = '1.72.0' + GEM_VERSION = '1.73.0' end diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb index 7b7cbcc5abf..a4e3b9f755a 100644 --- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb +++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb @@ -4952,7 +4952,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-directconnect' - context[:gem_version] = '1.72.0' + context[:gem_version] = '1.73.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client_api.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client_api.rb index 5c898fb6ab2..9ead3d9b273 100644 --- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client_api.rb +++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client_api.rb @@ -1030,9 +1030,11 @@ module ClientApi api.metadata = { "apiVersion" => "2012-10-25", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "directconnect", "jsonVersion" => "1.1", "protocol" => "json", + "protocols" => ["json"], "serviceFullName" => "AWS Direct Connect", "serviceId" => "Direct Connect", "signatureVersion" => "v4", diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoint_provider.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoint_provider.rb index e4b341ed26d..8a2cefb6393 100644 --- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoint_provider.rb +++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoint_provider.rb @@ -32,7 +32,7 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) return Aws::Endpoints::Endpoint.new(url: "https://directconnect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" diff --git a/gems/aws-sdk-elastictranscoder/CHANGELOG.md b/gems/aws-sdk-elastictranscoder/CHANGELOG.md index b45c335f5ba..625a513082c 100644 --- a/gems/aws-sdk-elastictranscoder/CHANGELOG.md +++ b/gems/aws-sdk-elastictranscoder/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.54.0 (2024-06-19) +------------------ + +* Feature - Add v2 smoke tests and smithy smokeTests trait for SDK testing. + 1.53.0 (2024-06-05) ------------------ diff --git a/gems/aws-sdk-elastictranscoder/VERSION b/gems/aws-sdk-elastictranscoder/VERSION index 3f4830156cb..b7921ae87bc 100644 --- a/gems/aws-sdk-elastictranscoder/VERSION +++ b/gems/aws-sdk-elastictranscoder/VERSION @@ -1 +1 @@ -1.53.0 +1.54.0 diff --git a/gems/aws-sdk-elastictranscoder/features/smoke.feature b/gems/aws-sdk-elastictranscoder/features/smoke.feature new file mode 100644 index 00000000000..52738668a65 --- /dev/null +++ b/gems/aws-sdk-elastictranscoder/features/smoke.feature @@ -0,0 +1,20 @@ +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +Feature: Smoke tests for ElasticTranscoder + + @elastictranscoder @smoke + Scenario: ListPresetsSuccess + Given I create a 'Aws::ElasticTranscoder' client with config: + """ +{"region":"us-west-2"} + """ + When I call the operation 'list_presets' with params: + """ +{} + """ + Then I expect an error was not raised diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb index 625bfd588fb..3654f2b7092 100644 --- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb +++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb @@ -53,6 +53,6 @@ # @!group service module Aws::ElasticTranscoder - GEM_VERSION = '1.53.0' + GEM_VERSION = '1.54.0' end diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb index 242dd3134f3..5eb9b151650 100644 --- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb +++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb @@ -3077,7 +3077,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-elastictranscoder' - context[:gem_version] = '1.53.0' + context[:gem_version] = '1.54.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client_api.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client_api.rb index 66554a9b84c..f340c60f33d 100644 --- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client_api.rb +++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client_api.rb @@ -653,8 +653,10 @@ module ClientApi api.metadata = { "apiVersion" => "2012-09-25", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "elastictranscoder", "protocol" => "rest-json", + "protocols" => ["rest-json"], "serviceFullName" => "Amazon Elastic Transcoder", "serviceId" => "Elastic Transcoder", "signatureVersion" => "v4", diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoint_provider.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoint_provider.rb index 378283d9cf0..c452eab852f 100644 --- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoint_provider.rb +++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoint_provider.rb @@ -32,7 +32,7 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) return Aws::Endpoints::Endpoint.new(url: "https://elastictranscoder-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" diff --git a/gems/aws-sdk-opensearchservice/CHANGELOG.md b/gems/aws-sdk-opensearchservice/CHANGELOG.md index 171887961da..8b197305c39 100644 --- a/gems/aws-sdk-opensearchservice/CHANGELOG.md +++ b/gems/aws-sdk-opensearchservice/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.44.0 (2024-06-19) +------------------ + +* Feature - This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains. + 1.43.0 (2024-06-05) ------------------ diff --git a/gems/aws-sdk-opensearchservice/VERSION b/gems/aws-sdk-opensearchservice/VERSION index b978278f05f..372cf402c73 100644 --- a/gems/aws-sdk-opensearchservice/VERSION +++ b/gems/aws-sdk-opensearchservice/VERSION @@ -1 +1 @@ -1.43.0 +1.44.0 diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb index d8169d7866e..db68d02a41d 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb @@ -52,6 +52,6 @@ # @!group service module Aws::OpenSearchService - GEM_VERSION = '1.43.0' + GEM_VERSION = '1.44.0' end diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb index d1712405941..731da28fb35 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb @@ -936,6 +936,12 @@ def cancel_service_software_update(params = {}, options = {}) # roles_key: "String", # session_timeout_minutes: 1, # }, + # jwt_options: { + # enabled: false, + # subject_key: "SubjectKey", + # roles_key: "RolesKey", + # public_key: "String", + # }, # anonymous_auth_enabled: false, # }, # tag_list: [ @@ -1047,6 +1053,10 @@ def cancel_service_software_update(params = {}, options = {}) # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer + # resp.domain_status.advanced_security_options.jwt_options.enabled #=> Boolean + # resp.domain_status.advanced_security_options.jwt_options.subject_key #=> String + # resp.domain_status.advanced_security_options.jwt_options.roles_key #=> String + # resp.domain_status.advanced_security_options.jwt_options.public_key #=> String # resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time # resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean # resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR" @@ -1408,6 +1418,10 @@ def delete_data_source(params = {}, options = {}) # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer + # resp.domain_status.advanced_security_options.jwt_options.enabled #=> Boolean + # resp.domain_status.advanced_security_options.jwt_options.subject_key #=> String + # resp.domain_status.advanced_security_options.jwt_options.roles_key #=> String + # resp.domain_status.advanced_security_options.jwt_options.public_key #=> String # resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time # resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean # resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR" @@ -1702,6 +1716,10 @@ def delete_vpc_endpoint(params = {}, options = {}) # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer + # resp.domain_status.advanced_security_options.jwt_options.enabled #=> Boolean + # resp.domain_status.advanced_security_options.jwt_options.subject_key #=> String + # resp.domain_status.advanced_security_options.jwt_options.roles_key #=> String + # resp.domain_status.advanced_security_options.jwt_options.public_key #=> String # resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time # resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean # resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR" @@ -1979,6 +1997,10 @@ def describe_domain_change_progress(params = {}, options = {}) # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer + # resp.domain_config.advanced_security_options.options.jwt_options.enabled #=> Boolean + # resp.domain_config.advanced_security_options.options.jwt_options.subject_key #=> String + # resp.domain_config.advanced_security_options.options.jwt_options.roles_key #=> String + # resp.domain_config.advanced_security_options.options.jwt_options.public_key #=> String # resp.domain_config.advanced_security_options.options.anonymous_auth_disable_date #=> Time # resp.domain_config.advanced_security_options.options.anonymous_auth_enabled #=> Boolean # resp.domain_config.advanced_security_options.status.creation_date #=> Time @@ -2227,6 +2249,10 @@ def describe_domain_nodes(params = {}, options = {}) # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String # resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer + # resp.domain_status_list[0].advanced_security_options.jwt_options.enabled #=> Boolean + # resp.domain_status_list[0].advanced_security_options.jwt_options.subject_key #=> String + # resp.domain_status_list[0].advanced_security_options.jwt_options.roles_key #=> String + # resp.domain_status_list[0].advanced_security_options.jwt_options.public_key #=> String # resp.domain_status_list[0].advanced_security_options.anonymous_auth_disable_date #=> Time # resp.domain_status_list[0].advanced_security_options.anonymous_auth_enabled #=> Boolean # resp.domain_status_list[0].auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR" @@ -2373,6 +2399,10 @@ def describe_domains(params = {}, options = {}) # resp.dry_run_config.advanced_security_options.saml_options.subject_key #=> String # resp.dry_run_config.advanced_security_options.saml_options.roles_key #=> String # resp.dry_run_config.advanced_security_options.saml_options.session_timeout_minutes #=> Integer + # resp.dry_run_config.advanced_security_options.jwt_options.enabled #=> Boolean + # resp.dry_run_config.advanced_security_options.jwt_options.subject_key #=> String + # resp.dry_run_config.advanced_security_options.jwt_options.roles_key #=> String + # resp.dry_run_config.advanced_security_options.jwt_options.public_key #=> String # resp.dry_run_config.advanced_security_options.anonymous_auth_disable_date #=> Time # resp.dry_run_config.advanced_security_options.anonymous_auth_enabled #=> Boolean # resp.dry_run_config.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR" @@ -3992,7 +4022,7 @@ def start_service_software_update(params = {}, options = {}) # A new description of the data source. # # @option params [String] :status - # The status of the data source update request. + # The status of the data source update. # # @return [Types::UpdateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -4230,6 +4260,12 @@ def update_data_source(params = {}, options = {}) # roles_key: "String", # session_timeout_minutes: 1, # }, + # jwt_options: { + # enabled: false, + # subject_key: "SubjectKey", + # roles_key: "RolesKey", + # public_key: "String", + # }, # anonymous_auth_enabled: false, # }, # auto_tune_options: { @@ -4383,6 +4419,10 @@ def update_data_source(params = {}, options = {}) # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer + # resp.domain_config.advanced_security_options.options.jwt_options.enabled #=> Boolean + # resp.domain_config.advanced_security_options.options.jwt_options.subject_key #=> String + # resp.domain_config.advanced_security_options.options.jwt_options.roles_key #=> String + # resp.domain_config.advanced_security_options.options.jwt_options.public_key #=> String # resp.domain_config.advanced_security_options.options.anonymous_auth_disable_date #=> Time # resp.domain_config.advanced_security_options.options.anonymous_auth_enabled #=> Boolean # resp.domain_config.advanced_security_options.status.creation_date #=> Time @@ -4722,7 +4762,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-opensearchservice' - context[:gem_version] = '1.43.0' + context[:gem_version] = '1.44.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb index 2ad721dbacb..73c2a7b5ad0 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb @@ -244,6 +244,8 @@ module ClientApi InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException') Issue = Shapes::StringShape.new(name: 'Issue') Issues = Shapes::ListShape.new(name: 'Issues') + JWTOptionsInput = Shapes::StructureShape.new(name: 'JWTOptionsInput') + JWTOptionsOutput = Shapes::StructureShape.new(name: 'JWTOptionsOutput') KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId') LastUpdated = Shapes::TimestampShape.new(name: 'LastUpdated') LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') @@ -356,6 +358,7 @@ module ClientApi RevokeVpcEndpointAccessRequest = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessRequest') RevokeVpcEndpointAccessResponse = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessResponse') RoleArn = Shapes::StringShape.new(name: 'RoleArn') + RolesKey = Shapes::StringShape.new(name: 'RolesKey') RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable') S3BucketName = Shapes::StringShape.new(name: 'S3BucketName') S3GlueDataCatalog = Shapes::StructureShape.new(name: 'S3GlueDataCatalog') @@ -398,6 +401,7 @@ module ClientApi StorageTypeName = Shapes::StringShape.new(name: 'StorageTypeName') String = Shapes::StringShape.new(name: 'String') StringList = Shapes::ListShape.new(name: 'StringList') + SubjectKey = Shapes::StringShape.new(name: 'SubjectKey') TLSSecurityPolicy = Shapes::StringShape.new(name: 'TLSSecurityPolicy') Tag = Shapes::StructureShape.new(name: 'Tag') TagKey = Shapes::StringShape.new(name: 'TagKey') @@ -501,6 +505,7 @@ module ClientApi AdvancedSecurityOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled")) AdvancedSecurityOptions.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled")) AdvancedSecurityOptions.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsOutput, location_name: "SAMLOptions")) + AdvancedSecurityOptions.add_member(:jwt_options, Shapes::ShapeRef.new(shape: JWTOptionsOutput, location_name: "JWTOptions")) AdvancedSecurityOptions.add_member(:anonymous_auth_disable_date, Shapes::ShapeRef.new(shape: DisableTimestamp, location_name: "AnonymousAuthDisableDate")) AdvancedSecurityOptions.add_member(:anonymous_auth_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AnonymousAuthEnabled")) AdvancedSecurityOptions.struct_class = Types::AdvancedSecurityOptions @@ -509,6 +514,7 @@ module ClientApi AdvancedSecurityOptionsInput.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled")) AdvancedSecurityOptionsInput.add_member(:master_user_options, Shapes::ShapeRef.new(shape: MasterUserOptions, location_name: "MasterUserOptions")) AdvancedSecurityOptionsInput.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsInput, location_name: "SAMLOptions")) + AdvancedSecurityOptionsInput.add_member(:jwt_options, Shapes::ShapeRef.new(shape: JWTOptionsInput, location_name: "JWTOptions")) AdvancedSecurityOptionsInput.add_member(:anonymous_auth_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AnonymousAuthEnabled")) AdvancedSecurityOptionsInput.struct_class = Types::AdvancedSecurityOptionsInput @@ -1217,6 +1223,18 @@ module ClientApi Issues.member = Shapes::ShapeRef.new(shape: Issue) + JWTOptionsInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled")) + JWTOptionsInput.add_member(:subject_key, Shapes::ShapeRef.new(shape: SubjectKey, location_name: "SubjectKey")) + JWTOptionsInput.add_member(:roles_key, Shapes::ShapeRef.new(shape: RolesKey, location_name: "RolesKey")) + JWTOptionsInput.add_member(:public_key, Shapes::ShapeRef.new(shape: String, location_name: "PublicKey")) + JWTOptionsInput.struct_class = Types::JWTOptionsInput + + JWTOptionsOutput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled")) + JWTOptionsOutput.add_member(:subject_key, Shapes::ShapeRef.new(shape: String, location_name: "SubjectKey")) + JWTOptionsOutput.add_member(:roles_key, Shapes::ShapeRef.new(shape: String, location_name: "RolesKey")) + JWTOptionsOutput.add_member(:public_key, Shapes::ShapeRef.new(shape: String, location_name: "PublicKey")) + JWTOptionsOutput.struct_class = Types::JWTOptionsOutput + LimitExceededException.struct_class = Types::LimitExceededException LimitValueList.member = Shapes::ShapeRef.new(shape: LimitValue) @@ -1763,6 +1781,7 @@ module ClientApi api.metadata = { "apiVersion" => "2021-01-01", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "es", "protocol" => "rest-json", "protocols" => ["rest-json"], diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb index 740dc6d5295..6b64f1b8732 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb @@ -250,6 +250,11 @@ class AdvancedOptionsStatus < Struct.new( # OpenSearch Dashboards. # @return [Types::SAMLOptionsOutput] # + # @!attribute [rw] jwt_options + # Container for information about the JWT configuration of the Amazon + # OpenSearch Service. + # @return [Types::JWTOptionsOutput] + # # @!attribute [rw] anonymous_auth_disable_date # Date and time when the migration period will be disabled. Only # necessary when [enabling fine-grained access control on an existing @@ -276,6 +281,7 @@ class AdvancedSecurityOptions < Struct.new( :enabled, :internal_user_database_enabled, :saml_options, + :jwt_options, :anonymous_auth_disable_date, :anonymous_auth_enabled) SENSITIVE = [] @@ -307,6 +313,11 @@ class AdvancedSecurityOptions < Struct.new( # OpenSearch Dashboards. # @return [Types::SAMLOptionsInput] # + # @!attribute [rw] jwt_options + # Container for information about the JWT configuration of the Amazon + # OpenSearch Service. + # @return [Types::JWTOptionsInput] + # # @!attribute [rw] anonymous_auth_enabled # True to enable a 30-day migration period during which administrators # can create role mappings. Only necessary when [enabling fine-grained @@ -324,6 +335,7 @@ class AdvancedSecurityOptionsInput < Struct.new( :internal_user_database_enabled, :master_user_options, :saml_options, + :jwt_options, :anonymous_auth_enabled) SENSITIVE = [] include Aws::Structure @@ -3508,7 +3520,7 @@ class GetDataSourceRequest < Struct.new( # @return [String] # # @!attribute [rw] status - # The status of the data source response. + # The status of the data source. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSourceResponse AWS API Documentation @@ -3942,6 +3954,66 @@ class InvalidPaginationTokenException < Aws::EmptyStructure; end # class InvalidTypeException < Aws::EmptyStructure; end + # The JWT authentication and authorization configuration for an Amazon + # OpenSearch Service domain. + # + # @!attribute [rw] enabled + # True to enable JWT authentication and authorization for a domain. + # @return [Boolean] + # + # @!attribute [rw] subject_key + # Element of the JWT assertion to use for the user name. + # @return [String] + # + # @!attribute [rw] roles_key + # Element of the JWT assertion to use for roles. + # @return [String] + # + # @!attribute [rw] public_key + # Element of the JWT assertion used by the cluster to verify JWT + # signatures. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/JWTOptionsInput AWS API Documentation + # + class JWTOptionsInput < Struct.new( + :enabled, + :subject_key, + :roles_key, + :public_key) + SENSITIVE = [] + include Aws::Structure + end + + # Describes the JWT options configured for the domain. + # + # @!attribute [rw] enabled + # True if JWT use is enabled. + # @return [Boolean] + # + # @!attribute [rw] subject_key + # The key used for matching the JWT subject attribute. + # @return [String] + # + # @!attribute [rw] roles_key + # The key used for matching the JWT roles attribute. + # @return [String] + # + # @!attribute [rw] public_key + # The key used to verify the signature of incoming JWT requests. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/JWTOptionsOutput AWS API Documentation + # + class JWTOptionsOutput < Struct.new( + :enabled, + :subject_key, + :roles_key, + :public_key) + SENSITIVE = [] + include Aws::Structure + end + # An exception for trying to create more than the allowed number of # resources or sub-resources. # @@ -5884,7 +5956,7 @@ class Tag < Struct.new( # @return [String] # # @!attribute [rw] status - # The status of the data source update request. + # The status of the data source update. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSourceRequest AWS API Documentation diff --git a/gems/aws-sdk-opensearchservice/sig/client.rbs b/gems/aws-sdk-opensearchservice/sig/client.rbs index 4a9de6fbc36..d7c6943cd12 100644 --- a/gems/aws-sdk-opensearchservice/sig/client.rbs +++ b/gems/aws-sdk-opensearchservice/sig/client.rbs @@ -243,6 +243,12 @@ module Aws roles_key: ::String?, session_timeout_minutes: ::Integer? }?, + jwt_options: { + enabled: bool?, + subject_key: ::String?, + roles_key: ::String?, + public_key: ::String? + }?, anonymous_auth_enabled: bool? }, ?tag_list: Array[ @@ -1019,6 +1025,12 @@ module Aws roles_key: ::String?, session_timeout_minutes: ::Integer? }?, + jwt_options: { + enabled: bool?, + subject_key: ::String?, + roles_key: ::String?, + public_key: ::String? + }?, anonymous_auth_enabled: bool? }, ?auto_tune_options: { diff --git a/gems/aws-sdk-opensearchservice/sig/types.rbs b/gems/aws-sdk-opensearchservice/sig/types.rbs index f0a9470a25c..50fb9a0e66a 100644 --- a/gems/aws-sdk-opensearchservice/sig/types.rbs +++ b/gems/aws-sdk-opensearchservice/sig/types.rbs @@ -69,6 +69,7 @@ module Aws::OpenSearchService attr_accessor enabled: bool attr_accessor internal_user_database_enabled: bool attr_accessor saml_options: Types::SAMLOptionsOutput + attr_accessor jwt_options: Types::JWTOptionsOutput attr_accessor anonymous_auth_disable_date: ::Time attr_accessor anonymous_auth_enabled: bool SENSITIVE: [] @@ -79,6 +80,7 @@ module Aws::OpenSearchService attr_accessor internal_user_database_enabled: bool attr_accessor master_user_options: Types::MasterUserOptions attr_accessor saml_options: Types::SAMLOptionsInput + attr_accessor jwt_options: Types::JWTOptionsInput attr_accessor anonymous_auth_enabled: bool SENSITIVE: [] end @@ -994,6 +996,22 @@ module Aws::OpenSearchService class InvalidTypeException < Aws::EmptyStructure end + class JWTOptionsInput + attr_accessor enabled: bool + attr_accessor subject_key: ::String + attr_accessor roles_key: ::String + attr_accessor public_key: ::String + SENSITIVE: [] + end + + class JWTOptionsOutput + attr_accessor enabled: bool + attr_accessor subject_key: ::String + attr_accessor roles_key: ::String + attr_accessor public_key: ::String + SENSITIVE: [] + end + class LimitExceededException < Aws::EmptyStructure end