From 686951267a0b3a81aee1078f5e1a449637c8bcc7 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 30 Oct 2023 18:20:37 +0000 Subject: [PATCH] feat(client-s3outposts): Updated ListOutpostsWithS3 API response to include S3OutpostArn for use with AWS RAM. --- .../src/commands/ListOutpostsWithS3Command.ts | 1 + clients/client-s3outposts/src/models/models_0.ts | 6 ++++++ codegen/sdk-codegen/aws-models/s3outposts.json | 12 ++++++++++++ 3 files changed, 19 insertions(+) diff --git a/clients/client-s3outposts/src/commands/ListOutpostsWithS3Command.ts b/clients/client-s3outposts/src/commands/ListOutpostsWithS3Command.ts index b11ee7656cb0f..82363b7448caa 100644 --- a/clients/client-s3outposts/src/commands/ListOutpostsWithS3Command.ts +++ b/clients/client-s3outposts/src/commands/ListOutpostsWithS3Command.ts @@ -56,6 +56,7 @@ export interface ListOutpostsWithS3CommandOutput extends ListOutpostsWithS3Resul * // Outposts: [ // Outposts * // { // Outpost * // OutpostArn: "STRING_VALUE", + * // S3OutpostArn: "STRING_VALUE", * // OutpostId: "STRING_VALUE", * // OwnerId: "STRING_VALUE", * // CapacityInBytes: Number("long"), diff --git a/clients/client-s3outposts/src/models/models_0.ts b/clients/client-s3outposts/src/models/models_0.ts index 44ab3a426701a..0fec32c0169dd 100644 --- a/clients/client-s3outposts/src/models/models_0.ts +++ b/clients/client-s3outposts/src/models/models_0.ts @@ -439,6 +439,12 @@ export interface Outpost { */ OutpostArn?: string; + /** + * @public + *

Specifies the unique S3 on Outposts ARN for use with Resource Access Manager (RAM).

+ */ + S3OutpostArn?: string; + /** * @public *

Specifies the unique identifier for the outpost.

diff --git a/codegen/sdk-codegen/aws-models/s3outposts.json b/codegen/sdk-codegen/aws-models/s3outposts.json index cea5fd2d30f0e..a948eb0ab6381 100644 --- a/codegen/sdk-codegen/aws-models/s3outposts.json +++ b/codegen/sdk-codegen/aws-models/s3outposts.json @@ -733,6 +733,12 @@ "smithy.api#documentation": "

Specifies the unique Amazon Resource Name (ARN) for the outpost.

" } }, + "S3OutpostArn": { + "target": "com.amazonaws.s3outposts#S3OutpostArn", + "traits": { + "smithy.api#documentation": "

Specifies the unique S3 on Outposts ARN for use with Resource Access Manager (RAM).

" + } + }, "OutpostId": { "target": "com.amazonaws.s3outposts#OutpostId", "traits": { @@ -801,6 +807,12 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.s3outposts#S3OutpostArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):s3-outposts:[a-z\\-0-9]*:[0-9]{12}:outpost/(op-[a-f0-9]{17}|\\d{12})/s3$" + } + }, "com.amazonaws.s3outposts#S3Outposts": { "type": "service", "version": "2017-07-25",