Skip to content

Commit

Permalink
fix(client-s3-control): add staticContextParams in endpoint param ins…
Browse files Browse the repository at this point in the history
…tructions (#4284)
  • Loading branch information
trivikr committed Dec 14, 2022
1 parent fa65be6 commit 0cba099
Show file tree
Hide file tree
Showing 58 changed files with 58 additions and 0 deletions.
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
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
1 change: 1 addition & 0 deletions clients/client-s3-control/src/commands/CreateJobCommand.ts
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1 change: 1 addition & 0 deletions clients/client-s3-control/src/commands/GetBucketCommand.ts
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1 change: 1 addition & 0 deletions clients/client-s3-control/src/commands/ListJobsCommand.ts
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
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
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
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

0 comments on commit 0cba099

Please sign in to comment.