@aws-sdk/client-service-catalog 3.484.0 → 3.486.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.
@@ -40,7 +40,7 @@ exports.se_AssociateProductWithPortfolioCommand = se_AssociateProductWithPortfol
40
40
  const se_AssociateServiceActionWithProvisioningArtifactCommand = async (input, context) => {
41
41
  const headers = sharedHeaders("AssociateServiceActionWithProvisioningArtifact");
42
42
  let body;
43
- body = JSON.stringify((0, smithy_client_1._json)(input));
43
+ body = JSON.stringify(se_AssociateServiceActionWithProvisioningArtifactInput(input, context));
44
44
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
45
45
  };
46
46
  exports.se_AssociateServiceActionWithProvisioningArtifactCommand = se_AssociateServiceActionWithProvisioningArtifactCommand;
@@ -173,7 +173,7 @@ exports.se_DeleteProvisioningArtifactCommand = se_DeleteProvisioningArtifactComm
173
173
  const se_DeleteServiceActionCommand = async (input, context) => {
174
174
  const headers = sharedHeaders("DeleteServiceAction");
175
175
  let body;
176
- body = JSON.stringify((0, smithy_client_1._json)(input));
176
+ body = JSON.stringify(se_DeleteServiceActionInput(input, context));
177
177
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
178
178
  };
179
179
  exports.se_DeleteServiceActionCommand = se_DeleteServiceActionCommand;
@@ -327,7 +327,7 @@ exports.se_DisassociateProductFromPortfolioCommand = se_DisassociateProductFromP
327
327
  const se_DisassociateServiceActionFromProvisioningArtifactCommand = async (input, context) => {
328
328
  const headers = sharedHeaders("DisassociateServiceActionFromProvisioningArtifact");
329
329
  let body;
330
- body = JSON.stringify((0, smithy_client_1._json)(input));
330
+ body = JSON.stringify(se_DisassociateServiceActionFromProvisioningArtifactInput(input, context));
331
331
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
332
332
  };
333
333
  exports.se_DisassociateServiceActionFromProvisioningArtifactCommand = se_DisassociateServiceActionFromProvisioningArtifactCommand;
@@ -4044,6 +4044,15 @@ const de_TagOptionNotMigratedExceptionRes = async (parsedOutput, context) => {
4044
4044
  });
4045
4045
  return (0, smithy_client_1.decorateServiceException)(exception, body);
4046
4046
  };
4047
+ const se_AssociateServiceActionWithProvisioningArtifactInput = (input, context) => {
4048
+ return (0, smithy_client_1.take)(input, {
4049
+ AcceptLanguage: [],
4050
+ IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
4051
+ ProductId: [],
4052
+ ProvisioningArtifactId: [],
4053
+ ServiceActionId: [],
4054
+ });
4055
+ };
4047
4056
  const se_CopyProductInput = (input, context) => {
4048
4057
  return (0, smithy_client_1.take)(input, {
4049
4058
  AcceptLanguage: [],
@@ -4126,6 +4135,22 @@ const se_CreateServiceActionInput = (input, context) => {
4126
4135
  Name: [],
4127
4136
  });
4128
4137
  };
4138
+ const se_DeleteServiceActionInput = (input, context) => {
4139
+ return (0, smithy_client_1.take)(input, {
4140
+ AcceptLanguage: [],
4141
+ Id: [],
4142
+ IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
4143
+ });
4144
+ };
4145
+ const se_DisassociateServiceActionFromProvisioningArtifactInput = (input, context) => {
4146
+ return (0, smithy_client_1.take)(input, {
4147
+ AcceptLanguage: [],
4148
+ IdempotencyToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
4149
+ ProductId: [],
4150
+ ProvisioningArtifactId: [],
4151
+ ServiceActionId: [],
4152
+ });
4153
+ };
4129
4154
  const se_ExecuteProvisionedProductPlanInput = (input, context) => {
4130
4155
  return (0, smithy_client_1.take)(input, {
4131
4156
  AcceptLanguage: [],
@@ -30,7 +30,7 @@ export const se_AssociateProductWithPortfolioCommand = async (input, context) =>
30
30
  export const se_AssociateServiceActionWithProvisioningArtifactCommand = async (input, context) => {
31
31
  const headers = sharedHeaders("AssociateServiceActionWithProvisioningArtifact");
32
32
  let body;
33
- body = JSON.stringify(_json(input));
33
+ body = JSON.stringify(se_AssociateServiceActionWithProvisioningArtifactInput(input, context));
34
34
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
35
35
  };
36
36
  export const se_AssociateTagOptionWithResourceCommand = async (input, context) => {
@@ -144,7 +144,7 @@ export const se_DeleteProvisioningArtifactCommand = async (input, context) => {
144
144
  export const se_DeleteServiceActionCommand = async (input, context) => {
145
145
  const headers = sharedHeaders("DeleteServiceAction");
146
146
  let body;
147
- body = JSON.stringify(_json(input));
147
+ body = JSON.stringify(se_DeleteServiceActionInput(input, context));
148
148
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
149
  };
150
150
  export const se_DeleteTagOptionCommand = async (input, context) => {
@@ -276,7 +276,7 @@ export const se_DisassociateProductFromPortfolioCommand = async (input, context)
276
276
  export const se_DisassociateServiceActionFromProvisioningArtifactCommand = async (input, context) => {
277
277
  const headers = sharedHeaders("DisassociateServiceActionFromProvisioningArtifact");
278
278
  let body;
279
- body = JSON.stringify(_json(input));
279
+ body = JSON.stringify(se_DisassociateServiceActionFromProvisioningArtifactInput(input, context));
280
280
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
281
281
  };
282
282
  export const se_DisassociateTagOptionFromResourceCommand = async (input, context) => {
@@ -3858,6 +3858,15 @@ const de_TagOptionNotMigratedExceptionRes = async (parsedOutput, context) => {
3858
3858
  });
3859
3859
  return __decorateServiceException(exception, body);
3860
3860
  };
3861
+ const se_AssociateServiceActionWithProvisioningArtifactInput = (input, context) => {
3862
+ return take(input, {
3863
+ AcceptLanguage: [],
3864
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
3865
+ ProductId: [],
3866
+ ProvisioningArtifactId: [],
3867
+ ServiceActionId: [],
3868
+ });
3869
+ };
3861
3870
  const se_CopyProductInput = (input, context) => {
3862
3871
  return take(input, {
3863
3872
  AcceptLanguage: [],
@@ -3940,6 +3949,22 @@ const se_CreateServiceActionInput = (input, context) => {
3940
3949
  Name: [],
3941
3950
  });
3942
3951
  };
3952
+ const se_DeleteServiceActionInput = (input, context) => {
3953
+ return take(input, {
3954
+ AcceptLanguage: [],
3955
+ Id: [],
3956
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
3957
+ });
3958
+ };
3959
+ const se_DisassociateServiceActionFromProvisioningArtifactInput = (input, context) => {
3960
+ return take(input, {
3961
+ AcceptLanguage: [],
3962
+ IdempotencyToken: [true, (_) => _ ?? generateIdempotencyToken()],
3963
+ ProductId: [],
3964
+ ProvisioningArtifactId: [],
3965
+ ServiceActionId: [],
3966
+ });
3967
+ };
3943
3968
  const se_ExecuteProvisionedProductPlanInput = (input, context) => {
3944
3969
  return take(input, {
3945
3970
  AcceptLanguage: [],
@@ -38,6 +38,7 @@ declare const AssociateServiceActionWithProvisioningArtifactCommand_base: {
38
38
  * ProvisioningArtifactId: "STRING_VALUE", // required
39
39
  * ServiceActionId: "STRING_VALUE", // required
40
40
  * AcceptLanguage: "STRING_VALUE",
41
+ * IdempotencyToken: "STRING_VALUE",
41
42
  * };
42
43
  * const command = new AssociateServiceActionWithProvisioningArtifactCommand(input);
43
44
  * const response = await client.send(command);
@@ -36,6 +36,7 @@ declare const DeleteServiceActionCommand_base: {
36
36
  * const input = { // DeleteServiceActionInput
37
37
  * Id: "STRING_VALUE", // required
38
38
  * AcceptLanguage: "STRING_VALUE",
39
+ * IdempotencyToken: "STRING_VALUE",
39
40
  * };
40
41
  * const command = new DeleteServiceActionCommand(input);
41
42
  * const response = await client.send(command);
@@ -38,6 +38,7 @@ declare const DisassociateServiceActionFromProvisioningArtifactCommand_base: {
38
38
  * ProvisioningArtifactId: "STRING_VALUE", // required
39
39
  * ServiceActionId: "STRING_VALUE", // required
40
40
  * AcceptLanguage: "STRING_VALUE",
41
+ * IdempotencyToken: "STRING_VALUE",
41
42
  * };
42
43
  * const command = new DisassociateServiceActionFromProvisioningArtifactCommand(input);
43
44
  * const response = await client.send(command);
@@ -392,6 +392,11 @@ export interface AssociateServiceActionWithProvisioningArtifactInput {
392
392
  * </ul>
393
393
  */
394
394
  AcceptLanguage?: string;
395
+ /**
396
+ * @public
397
+ * <p>A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web Services account use the same idempotency token, the same response is returned for each repeated request. </p>
398
+ */
399
+ IdempotencyToken?: string;
395
400
  }
396
401
  /**
397
402
  * @public
@@ -1057,8 +1062,10 @@ export interface CreatePortfolioShareInput {
1057
1062
  ShareTagOptions?: boolean;
1058
1063
  /**
1059
1064
  * @public
1060
- * <p>Enables or disables <code>Principal</code> sharing when creating the portfolio share. If this flag is not provided,
1061
- * principal sharing is disabled. </p>
1065
+ * <p>This parameter is only supported for portfolios with an <b>OrganizationalNode</b>
1066
+ * Type of <code>ORGANIZATION</code> or <code>ORGANIZATIONAL_UNIT</code>. </p>
1067
+ * <p>Enables or disables <code>Principal</code> sharing when creating the portfolio share. If you do
1068
+ * <b>not</b> provide this flag, principal sharing is disabled. </p>
1062
1069
  * <p>When you enable Principal Name Sharing for a portfolio share, the share recipient
1063
1070
  * account end users with a principal that matches any of the associated IAM
1064
1071
  * patterns can provision products from the portfolio. Once
@@ -2336,6 +2343,11 @@ export interface DeleteServiceActionInput {
2336
2343
  * </ul>
2337
2344
  */
2338
2345
  AcceptLanguage?: string;
2346
+ /**
2347
+ * @public
2348
+ * <p>A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web Services account use the same idempotency token, the same response is returned for each repeated request. </p>
2349
+ */
2350
+ IdempotencyToken?: string;
2339
2351
  }
2340
2352
  /**
2341
2353
  * @public
@@ -4353,6 +4365,11 @@ export interface DisassociateServiceActionFromProvisioningArtifactInput {
4353
4365
  * </ul>
4354
4366
  */
4355
4367
  AcceptLanguage?: string;
4368
+ /**
4369
+ * @public
4370
+ * <p>A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web Services account use the same idempotency token, the same response is returned for each repeated request. </p>
4371
+ */
4372
+ IdempotencyToken?: string;
4356
4373
  }
4357
4374
  /**
4358
4375
  * @public
@@ -95,6 +95,7 @@ export interface AssociateServiceActionWithProvisioningArtifactInput {
95
95
  ProvisioningArtifactId: string | undefined;
96
96
  ServiceActionId: string | undefined;
97
97
  AcceptLanguage?: string;
98
+ IdempotencyToken?: string;
98
99
  }
99
100
  export interface AssociateServiceActionWithProvisioningArtifactOutput {}
100
101
  export interface AssociateTagOptionWithResourceInput {
@@ -507,6 +508,7 @@ export interface DeleteProvisioningArtifactOutput {}
507
508
  export interface DeleteServiceActionInput {
508
509
  Id: string | undefined;
509
510
  AcceptLanguage?: string;
511
+ IdempotencyToken?: string;
510
512
  }
511
513
  export interface DeleteServiceActionOutput {}
512
514
  export interface DeleteTagOptionInput {
@@ -951,6 +953,7 @@ export interface DisassociateServiceActionFromProvisioningArtifactInput {
951
953
  ProvisioningArtifactId: string | undefined;
952
954
  ServiceActionId: string | undefined;
953
955
  AcceptLanguage?: string;
956
+ IdempotencyToken?: string;
954
957
  }
955
958
  export interface DisassociateServiceActionFromProvisioningArtifactOutput {}
956
959
  export interface DisassociateTagOptionFromResourceInput {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog",
3
3
  "description": "AWS SDK for JavaScript Service Catalog Client for Node.js, Browser and React Native",
4
- "version": "3.484.0",
4
+ "version": "3.486.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",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.484.0",
24
- "@aws-sdk/core": "3.481.0",
25
- "@aws-sdk/credential-provider-node": "3.484.0",
26
- "@aws-sdk/middleware-host-header": "3.468.0",
27
- "@aws-sdk/middleware-logger": "3.468.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
- "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.478.0",
31
- "@aws-sdk/region-config-resolver": "3.484.0",
32
- "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.478.0",
34
- "@aws-sdk/util-user-agent-browser": "3.468.0",
35
- "@aws-sdk/util-user-agent-node": "3.470.0",
36
- "@smithy/config-resolver": "^2.0.22",
37
- "@smithy/core": "^1.2.1",
38
- "@smithy/fetch-http-handler": "^2.3.1",
39
- "@smithy/hash-node": "^2.0.17",
40
- "@smithy/invalid-dependency": "^2.0.15",
41
- "@smithy/middleware-content-length": "^2.0.17",
42
- "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.25",
44
- "@smithy/middleware-serde": "^2.0.15",
45
- "@smithy/middleware-stack": "^2.0.9",
46
- "@smithy/node-config-provider": "^2.1.8",
47
- "@smithy/node-http-handler": "^2.2.1",
48
- "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.2.0",
50
- "@smithy/types": "^2.7.0",
51
- "@smithy/url-parser": "^2.0.15",
23
+ "@aws-sdk/client-sts": "3.485.0",
24
+ "@aws-sdk/core": "3.485.0",
25
+ "@aws-sdk/credential-provider-node": "3.485.0",
26
+ "@aws-sdk/middleware-host-header": "3.485.0",
27
+ "@aws-sdk/middleware-logger": "3.485.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.485.0",
29
+ "@aws-sdk/middleware-signing": "3.485.0",
30
+ "@aws-sdk/middleware-user-agent": "3.485.0",
31
+ "@aws-sdk/region-config-resolver": "3.485.0",
32
+ "@aws-sdk/types": "3.485.0",
33
+ "@aws-sdk/util-endpoints": "3.485.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.485.0",
35
+ "@aws-sdk/util-user-agent-node": "3.485.0",
36
+ "@smithy/config-resolver": "^2.0.23",
37
+ "@smithy/core": "^1.2.2",
38
+ "@smithy/fetch-http-handler": "^2.3.2",
39
+ "@smithy/hash-node": "^2.0.18",
40
+ "@smithy/invalid-dependency": "^2.0.16",
41
+ "@smithy/middleware-content-length": "^2.0.18",
42
+ "@smithy/middleware-endpoint": "^2.3.0",
43
+ "@smithy/middleware-retry": "^2.0.26",
44
+ "@smithy/middleware-serde": "^2.0.16",
45
+ "@smithy/middleware-stack": "^2.0.10",
46
+ "@smithy/node-config-provider": "^2.1.9",
47
+ "@smithy/node-http-handler": "^2.2.2",
48
+ "@smithy/protocol-http": "^3.0.12",
49
+ "@smithy/smithy-client": "^2.2.1",
50
+ "@smithy/types": "^2.8.0",
51
+ "@smithy/url-parser": "^2.0.16",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.23",
56
- "@smithy/util-defaults-mode-node": "^2.0.31",
57
- "@smithy/util-endpoints": "^1.0.7",
58
- "@smithy/util-retry": "^2.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.24",
56
+ "@smithy/util-defaults-mode-node": "^2.0.32",
57
+ "@smithy/util-endpoints": "^1.0.8",
58
+ "@smithy/util-retry": "^2.0.9",
59
59
  "@smithy/util-utf8": "^2.0.2",
60
60
  "tslib": "^2.5.0",
61
61
  "uuid": "^8.3.2"