Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client-s3-control): add staticContextParams in endpoint param instructions #4284

Merged
merged 1 commit into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class CreateAccessPointCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class CreateAccessPointForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class CreateJobCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export class CreateMultiRegionAccessPointCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export class DeleteAccessPointCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccessPointName: { type: "contextParams", name: "AccessPointName" },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class DeleteAccessPointForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class DeleteAccessPointPolicyCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccessPointName: { type: "contextParams", name: "AccessPointName" },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class DeleteAccessPointPolicyForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class DeleteBucketCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export class DeleteBucketLifecycleConfigurationCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export class DeleteBucketPolicyCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class DeleteBucketTaggingCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class DeleteJobTaggingCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class DeleteMultiRegionAccessPointCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class DeletePublicAccessBlockCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class DeleteStorageLensConfigurationCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class DeleteStorageLensConfigurationTaggingCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export class DescribeJobCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class DescribeMultiRegionAccessPointOperationCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export class GetAccessPointCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccessPointName: { type: "contextParams", name: "AccessPointName" },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class GetAccessPointConfigurationForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class GetAccessPointForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class GetAccessPointPolicyCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccessPointName: { type: "contextParams", name: "AccessPointName" },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export class GetAccessPointPolicyForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class GetAccessPointPolicyStatusCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccessPointName: { type: "contextParams", name: "AccessPointName" },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class GetAccessPointPolicyStatusForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export class GetBucketCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class GetBucketLifecycleConfigurationCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export class GetBucketPolicyCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class GetBucketTaggingCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class GetJobTaggingCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export class GetMultiRegionAccessPointCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class GetMultiRegionAccessPointPolicyCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class GetMultiRegionAccessPointPolicyStatusCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export class GetMultiRegionAccessPointRoutesCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export class GetPublicAccessBlockCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class GetStorageLensConfigurationCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export class GetStorageLensConfigurationTaggingCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class ListAccessPointsCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
Bucket: { type: "contextParams", name: "Bucket" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class ListAccessPointsForObjectLambdaCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class ListJobsCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class ListMultiRegionAccessPointsCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class ListRegionalBucketsCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
OutpostId: { type: "contextParams", name: "OutpostId" },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export class ListStorageLensConfigurationsCommand extends $Command<

public static getEndpointParameterInstructions(): EndpointParameterInstructions {
return {
RequiresAccountId: { type: "staticContextParams", value: true },
AccountId: { type: "contextParams", name: "AccountId" },
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Expand Down