@aws-sdk/client-vpc-lattice 3.306.0 → 3.307.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/VPCLattice.d.ts +12 -8
- package/dist-types/commands/CreateServiceNetworkVpcAssociationCommand.d.ts +4 -3
- package/dist-types/commands/DeleteAuthPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutAuthPolicyCommand.d.ts +2 -1
- package/dist-types/commands/UpdateServiceNetworkVpcAssociationCommand.d.ts +4 -2
- package/dist-types/models/models_0.d.ts +9 -8
- package/package.json +1 -1
|
@@ -144,9 +144,10 @@ export declare class VPCLattice extends VPCLatticeClient {
|
|
|
144
144
|
* fails, retry by deleting the association and recreating it.</p>
|
|
145
145
|
* <p>As a result of this operation, the association gets created in the service network account
|
|
146
146
|
* and the VPC owner account.</p>
|
|
147
|
-
* <p>
|
|
148
|
-
*
|
|
149
|
-
*
|
|
147
|
+
* <p>If you add a security group to the service network and VPC association, the association must
|
|
148
|
+
* continue to always have at least one security group. You can add or edit security groups at any
|
|
149
|
+
* time. However, to remove all security groups, you must first delete the association and recreate
|
|
150
|
+
* it without security groups.</p>
|
|
150
151
|
*/
|
|
151
152
|
createServiceNetworkVpcAssociation(args: CreateServiceNetworkVpcAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceNetworkVpcAssociationCommandOutput>;
|
|
152
153
|
createServiceNetworkVpcAssociation(args: CreateServiceNetworkVpcAssociationCommandInput, cb: (err: any, data?: CreateServiceNetworkVpcAssociationCommandOutput) => void): void;
|
|
@@ -170,7 +171,7 @@ export declare class VPCLattice extends VPCLatticeClient {
|
|
|
170
171
|
deleteAccessLogSubscription(args: DeleteAccessLogSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessLogSubscriptionCommandOutput) => void): void;
|
|
171
172
|
/**
|
|
172
173
|
* @public
|
|
173
|
-
* <p>Deletes the specified auth policy. If an auth is set to <code>
|
|
174
|
+
* <p>Deletes the specified auth policy. If an auth is set to <code>AWS_IAM</code>
|
|
174
175
|
* and the auth policy is deleted, all requests will be denied by default. If you are trying to
|
|
175
176
|
* remove the auth policy completely, you must set the auth_type to <code>NONE</code>. If auth is
|
|
176
177
|
* enabled on the resource, but no auth policy is set, all requests will be denied.</p>
|
|
@@ -282,7 +283,7 @@ export declare class VPCLattice extends VPCLatticeClient {
|
|
|
282
283
|
/**
|
|
283
284
|
* @public
|
|
284
285
|
* <p>Retrieves information about the resource policy. The resource policy is an IAM policy
|
|
285
|
-
* created
|
|
286
|
+
* created on behalf of the resource owner when they share a resource.</p>
|
|
286
287
|
*/
|
|
287
288
|
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
|
|
288
289
|
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
@@ -416,7 +417,8 @@ export declare class VPCLattice extends VPCLatticeClient {
|
|
|
416
417
|
listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
|
|
417
418
|
/**
|
|
418
419
|
* @public
|
|
419
|
-
* <p>Creates or updates the auth policy
|
|
420
|
+
* <p>Creates or updates the auth policy. The policy string in JSON must not contain newlines or
|
|
421
|
+
* blank lines.</p>
|
|
420
422
|
*/
|
|
421
423
|
putAuthPolicy(args: PutAuthPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutAuthPolicyCommandOutput>;
|
|
422
424
|
putAuthPolicy(args: PutAuthPolicyCommandInput, cb: (err: any, data?: PutAuthPolicyCommandOutput) => void): void;
|
|
@@ -490,8 +492,10 @@ export declare class VPCLattice extends VPCLatticeClient {
|
|
|
490
492
|
updateServiceNetwork(args: UpdateServiceNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceNetworkCommandOutput) => void): void;
|
|
491
493
|
/**
|
|
492
494
|
* @public
|
|
493
|
-
* <p>Updates the service network and VPC association.
|
|
494
|
-
*
|
|
495
|
+
* <p>Updates the service network and VPC association. If you add a security group to the service
|
|
496
|
+
* network and VPC association, the association must continue to always have at least one security
|
|
497
|
+
* group. You can add or edit security groups at any time. However, to remove all security groups,
|
|
498
|
+
* you must first delete the association and recreate it without security groups.</p>
|
|
495
499
|
*/
|
|
496
500
|
updateServiceNetworkVpcAssociation(args: UpdateServiceNetworkVpcAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceNetworkVpcAssociationCommandOutput>;
|
|
497
501
|
updateServiceNetworkVpcAssociation(args: UpdateServiceNetworkVpcAssociationCommandInput, cb: (err: any, data?: UpdateServiceNetworkVpcAssociationCommandOutput) => void): void;
|
|
@@ -26,9 +26,10 @@ export interface CreateServiceNetworkVpcAssociationCommandOutput extends CreateS
|
|
|
26
26
|
* fails, retry by deleting the association and recreating it.</p>
|
|
27
27
|
* <p>As a result of this operation, the association gets created in the service network account
|
|
28
28
|
* and the VPC owner account.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* <p>If you add a security group to the service network and VPC association, the association must
|
|
30
|
+
* continue to always have at least one security group. You can add or edit security groups at any
|
|
31
|
+
* time. However, to remove all security groups, you must first delete the association and recreate
|
|
32
|
+
* it without security groups.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -19,7 +19,7 @@ export interface DeleteAuthPolicyCommandOutput extends DeleteAuthPolicyResponse,
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Deletes the specified auth policy. If an auth is set to <code>
|
|
22
|
+
* <p>Deletes the specified auth policy. If an auth is set to <code>AWS_IAM</code>
|
|
23
23
|
* and the auth policy is deleted, all requests will be denied by default. If you are trying to
|
|
24
24
|
* remove the auth policy completely, you must set the auth_type to <code>NONE</code>. If auth is
|
|
25
25
|
* enabled on the resource, but no auth policy is set, all requests will be denied.</p>
|
|
@@ -20,7 +20,7 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Retrieves information about the resource policy. The resource policy is an IAM policy
|
|
23
|
-
* created
|
|
23
|
+
* created on behalf of the resource owner when they share a resource.</p>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
26
|
* ```javascript
|
|
@@ -19,7 +19,8 @@ export interface PutAuthPolicyCommandOutput extends PutAuthPolicyResponse, __Met
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Creates or updates the auth policy
|
|
22
|
+
* <p>Creates or updates the auth policy. The policy string in JSON must not contain newlines or
|
|
23
|
+
* blank lines.</p>
|
|
23
24
|
* @example
|
|
24
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
26
|
* ```javascript
|
|
@@ -19,8 +19,10 @@ export interface UpdateServiceNetworkVpcAssociationCommandOutput extends UpdateS
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Updates the service network and VPC association.
|
|
23
|
-
*
|
|
22
|
+
* <p>Updates the service network and VPC association. If you add a security group to the service
|
|
23
|
+
* network and VPC association, the association must continue to always have at least one security
|
|
24
|
+
* group. You can add or edit security groups at any time. However, to remove all security groups,
|
|
25
|
+
* you must first delete the association and recreate it without security groups.</p>
|
|
24
26
|
* @example
|
|
25
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
28
|
* ```javascript
|
|
@@ -1904,7 +1904,7 @@ export interface GetAuthPolicyResponse {
|
|
|
1904
1904
|
policy?: string;
|
|
1905
1905
|
/**
|
|
1906
1906
|
* <p>The state of the auth policy. The auth policy is only active when the auth type is set to
|
|
1907
|
-
* <code>
|
|
1907
|
+
* <code>AWS_IAM</code>. If you provide a policy, then authentication and
|
|
1908
1908
|
* authorization decisions are made based on this policy and the client's IAM policy. If the auth
|
|
1909
1909
|
* type is <code>NONE</code>, then any auth policy you provide will remain inactive. For more
|
|
1910
1910
|
* information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
|
|
@@ -1984,7 +1984,7 @@ export interface GetListenerResponse {
|
|
|
1984
1984
|
*/
|
|
1985
1985
|
export interface GetResourcePolicyRequest {
|
|
1986
1986
|
/**
|
|
1987
|
-
* <p>
|
|
1987
|
+
* <p>The Amazon Resource Name (ARN) of the service network or service.</p>
|
|
1988
1988
|
*/
|
|
1989
1989
|
resourceArn: string | undefined;
|
|
1990
1990
|
}
|
|
@@ -1993,7 +1993,7 @@ export interface GetResourcePolicyRequest {
|
|
|
1993
1993
|
*/
|
|
1994
1994
|
export interface GetResourcePolicyResponse {
|
|
1995
1995
|
/**
|
|
1996
|
-
* <p>
|
|
1996
|
+
* <p>An IAM policy.</p>
|
|
1997
1997
|
*/
|
|
1998
1998
|
policy?: string;
|
|
1999
1999
|
}
|
|
@@ -3090,7 +3090,7 @@ export interface PutAuthPolicyRequest {
|
|
|
3090
3090
|
*/
|
|
3091
3091
|
resourceIdentifier: string | undefined;
|
|
3092
3092
|
/**
|
|
3093
|
-
* <p>The auth policy.</p>
|
|
3093
|
+
* <p>The auth policy. The policy string in JSON must not contain newlines or blank lines.</p>
|
|
3094
3094
|
*/
|
|
3095
3095
|
policy: string | undefined;
|
|
3096
3096
|
}
|
|
@@ -3099,12 +3099,12 @@ export interface PutAuthPolicyRequest {
|
|
|
3099
3099
|
*/
|
|
3100
3100
|
export interface PutAuthPolicyResponse {
|
|
3101
3101
|
/**
|
|
3102
|
-
* <p>The auth policy.</p>
|
|
3102
|
+
* <p>The auth policy. The policy string in JSON must not contain newlines or blank lines.</p>
|
|
3103
3103
|
*/
|
|
3104
3104
|
policy?: string;
|
|
3105
3105
|
/**
|
|
3106
3106
|
* <p>The state of the auth policy. The auth policy is only active when the auth type is set to
|
|
3107
|
-
* <code>
|
|
3107
|
+
* <code>AWS_IAM</code>. If you provide a policy, then authentication and
|
|
3108
3108
|
* authorization decisions are made based on this policy and the client's IAM policy. If the Auth
|
|
3109
3109
|
* type is <code>NONE</code>, then, any auth policy you provide will remain inactive. For more
|
|
3110
3110
|
* information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service
|
|
@@ -3122,7 +3122,8 @@ export interface PutResourcePolicyRequest {
|
|
|
3122
3122
|
*/
|
|
3123
3123
|
resourceArn: string | undefined;
|
|
3124
3124
|
/**
|
|
3125
|
-
* <p>An IAM policy
|
|
3125
|
+
* <p>An IAM policy. The policy string in JSON must not contain newlines or
|
|
3126
|
+
* blank lines.</p>
|
|
3126
3127
|
*/
|
|
3127
3128
|
policy: string | undefined;
|
|
3128
3129
|
}
|
|
@@ -3302,7 +3303,7 @@ export interface UpdateServiceNetworkVpcAssociationRequest {
|
|
|
3302
3303
|
*/
|
|
3303
3304
|
serviceNetworkVpcAssociationIdentifier: string | undefined;
|
|
3304
3305
|
/**
|
|
3305
|
-
* <p>The IDs of the security groups.
|
|
3306
|
+
* <p>The IDs of the security groups. </p>
|
|
3306
3307
|
*/
|
|
3307
3308
|
securityGroupIds: string[] | undefined;
|
|
3308
3309
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-vpc-lattice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Vpc Lattice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.307.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|