@aws-sdk/client-service-catalog 3.95.0 → 3.105.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-service-catalog
20
+
21
+
22
+
23
+
24
+
25
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-service-catalog
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-service-catalog
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class ServiceCatalogClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var ServiceCatalogClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -578,9 +578,7 @@ export interface CopyProductInput {
578
578
  * <p>The identifiers of the provisioning artifacts (also known as versions) of the product to copy.
579
579
  * By default, all provisioning artifacts are copied.</p>
580
580
  */
581
- SourceProvisioningArtifactIdentifiers?: {
582
- [key: string]: string;
583
- }[];
581
+ SourceProvisioningArtifactIdentifiers?: Record<string, string>[];
584
582
  /**
585
583
  * <p>The copy options. If the value is <code>CopyTags</code>, the tags from the source
586
584
  * product are copied to the target product.</p>
@@ -1046,9 +1044,7 @@ export interface ProvisioningArtifactProperties {
1046
1044
  * format as follows: <code>ImportFromPhysicalId: “arn:aws:cloudformation:[us-east-1]:[accountId]:stack/[StackName]/[resourceId]</code>
1047
1045
  * </p>
1048
1046
  */
1049
- Info: {
1050
- [key: string]: string;
1051
- } | undefined;
1047
+ Info: Record<string, string> | undefined;
1052
1048
  /**
1053
1049
  * <p>The type of provisioning artifact.</p>
1054
1050
  * <ul>
@@ -1517,9 +1513,7 @@ export interface CreateProvisioningArtifactOutput {
1517
1513
  * <p>Use the physical id of the resource that contains the template; currently supports
1518
1514
  * CloudFormation stack ARN.</p>
1519
1515
  */
1520
- Info?: {
1521
- [key: string]: string;
1522
- };
1516
+ Info?: Record<string, string>;
1523
1517
  /**
1524
1518
  * <p>The status of the current request.</p>
1525
1519
  */
@@ -1574,9 +1568,7 @@ export interface CreateServiceActionInput {
1574
1568
  * </dd>
1575
1569
  * </dl>
1576
1570
  */
1577
- Definition: {
1578
- [key: string]: string;
1579
- } | undefined;
1571
+ Definition: Record<string, string> | undefined;
1580
1572
  /**
1581
1573
  * <p>The self-service action description.</p>
1582
1574
  */
@@ -1649,9 +1641,7 @@ export interface ServiceActionDetail {
1649
1641
  /**
1650
1642
  * <p>A map that defines the self-service action.</p>
1651
1643
  */
1652
- Definition?: {
1653
- [key: string]: string;
1654
- };
1644
+ Definition?: Record<string, string>;
1655
1645
  }
1656
1646
  export declare namespace ServiceActionDetail {
1657
1647
  /**
@@ -2569,9 +2559,7 @@ export interface ProvisioningArtifactSummary {
2569
2559
  /**
2570
2560
  * <p>The metadata for the provisioning artifact. This is used with AWS Marketplace products.</p>
2571
2561
  */
2572
- ProvisioningArtifactMetadata?: {
2573
- [key: string]: string;
2574
- };
2562
+ ProvisioningArtifactMetadata?: Record<string, string>;
2575
2563
  }
2576
2564
  export declare namespace ProvisioningArtifactSummary {
2577
2565
  /**
@@ -3190,9 +3178,7 @@ export interface DescribeProvisioningArtifactOutput {
3190
3178
  /**
3191
3179
  * <p>The URL of the CloudFormation template in Amazon S3.</p>
3192
3180
  */
3193
- Info?: {
3194
- [key: string]: string;
3195
- };
3181
+ Info?: Record<string, string>;
3196
3182
  /**
3197
3183
  * <p>The status of the current request.</p>
3198
3184
  */
@@ -4163,9 +4149,7 @@ export interface ExecuteProvisionedProductServiceActionInput {
4163
4149
  * override the default value generated by AWS Service Catalog. If the parameters field is not provided, no additional parameters are passed and default values will be used for
4164
4150
  * any special parameters such as <code>TARGET</code>.</p>
4165
4151
  */
4166
- Parameters?: {
4167
- [key: string]: string[];
4168
- };
4152
+ Parameters?: Record<string, string[]>;
4169
4153
  }
4170
4154
  export declare namespace ExecuteProvisionedProductServiceActionInput {
4171
4155
  /**
@@ -5869,9 +5853,7 @@ export interface SearchProductsInput {
5869
5853
  * <p>The search filters. If no search filters are specified, the output includes
5870
5854
  * all products to which the caller has access.</p>
5871
5855
  */
5872
- Filters?: {
5873
- [key: string]: string[];
5874
- };
5856
+ Filters?: Record<string, string[]>;
5875
5857
  /**
5876
5858
  * <p>The maximum number of items to return with this call.</p>
5877
5859
  */
@@ -5923,9 +5905,7 @@ export interface SearchProductsOutput {
5923
5905
  /**
5924
5906
  * <p>The product view aggregations.</p>
5925
5907
  */
5926
- ProductViewAggregations?: {
5927
- [key: string]: ProductViewAggregationValue[];
5928
- };
5908
+ ProductViewAggregations?: Record<string, ProductViewAggregationValue[]>;
5929
5909
  /**
5930
5910
  * <p>The page token to use to retrieve the next set of results. If there are no additional results, this value is null.</p>
5931
5911
  */
@@ -5967,9 +5947,7 @@ export interface SearchProductsAsAdminInput {
5967
5947
  * <p>The search filters. If no search filters are specified, the output includes all products
5968
5948
  * to which the administrator has access.</p>
5969
5949
  */
5970
- Filters?: {
5971
- [key: string]: string[];
5972
- };
5950
+ Filters?: Record<string, string[]>;
5973
5951
  /**
5974
5952
  * <p>The sort field. If no value is specified, the results are not sorted.</p>
5975
5953
  */
@@ -6050,9 +6028,7 @@ export interface SearchProvisionedProductsInput {
6050
6028
  * <p>Example: <code>"SearchQuery":["status:AVAILABLE"]</code>
6051
6029
  * </p>
6052
6030
  */
6053
- Filters?: {
6054
- [key: string]: string[];
6055
- };
6031
+ Filters?: Record<string, string[]>;
6056
6032
  /**
6057
6033
  * <p>The sort field. If no value is specified, the results are not sorted. The valid values are <code>arn</code>, <code>id</code>, <code>name</code>,
6058
6034
  * and <code>lastRecordId</code>.</p>
@@ -6851,9 +6827,7 @@ export interface UpdateProvisionedProductPropertiesInput {
6851
6827
  * If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through
6852
6828
  * API or the Service Catalog console on that provisioned product.</p>
6853
6829
  */
6854
- ProvisionedProductProperties: {
6855
- [key: string]: string;
6856
- } | undefined;
6830
+ ProvisionedProductProperties: Record<string, string> | undefined;
6857
6831
  /**
6858
6832
  * <p>The idempotency token that uniquely identifies the provisioning product update request.</p>
6859
6833
  */
@@ -6873,9 +6847,7 @@ export interface UpdateProvisionedProductPropertiesOutput {
6873
6847
  /**
6874
6848
  * <p>A map that contains the properties updated.</p>
6875
6849
  */
6876
- ProvisionedProductProperties?: {
6877
- [key: string]: string;
6878
- };
6850
+ ProvisionedProductProperties?: Record<string, string>;
6879
6851
  /**
6880
6852
  * <p>The identifier of the record.</p>
6881
6853
  */
@@ -6954,9 +6926,7 @@ export interface UpdateProvisioningArtifactOutput {
6954
6926
  /**
6955
6927
  * <p>The URL of the CloudFormation template in Amazon S3.</p>
6956
6928
  */
6957
- Info?: {
6958
- [key: string]: string;
6959
- };
6929
+ Info?: Record<string, string>;
6960
6930
  /**
6961
6931
  * <p>The status of the current request.</p>
6962
6932
  */
@@ -6980,9 +6950,7 @@ export interface UpdateServiceActionInput {
6980
6950
  /**
6981
6951
  * <p>A map that defines the self-service action.</p>
6982
6952
  */
6983
- Definition?: {
6984
- [key: string]: string;
6985
- };
6953
+ Definition?: Record<string, string>;
6986
6954
  /**
6987
6955
  * <p>The self-service action description.</p>
6988
6956
  */
@@ -287,9 +287,7 @@ export interface CopyProductInput {
287
287
 
288
288
  TargetProductName?: string;
289
289
 
290
- SourceProvisioningArtifactIdentifiers?: {
291
- [key: string]: string;
292
- }[];
290
+ SourceProvisioningArtifactIdentifiers?: Record<string, string>[];
293
291
 
294
292
  CopyOptions?: (CopyOption | string)[];
295
293
 
@@ -474,9 +472,7 @@ export interface ProvisioningArtifactProperties {
474
472
 
475
473
  Description?: string;
476
474
 
477
- Info: {
478
- [key: string]: string;
479
- } | undefined;
475
+ Info: Record<string, string> | undefined;
480
476
 
481
477
  Type?: ProvisioningArtifactType | string;
482
478
 
@@ -675,9 +671,7 @@ export interface CreateProvisioningArtifactOutput {
675
671
 
676
672
  ProvisioningArtifactDetail?: ProvisioningArtifactDetail;
677
673
 
678
- Info?: {
679
- [key: string]: string;
680
- };
674
+ Info?: Record<string, string>;
681
675
 
682
676
  Status?: Status | string;
683
677
  }
@@ -700,9 +694,7 @@ export interface CreateServiceActionInput {
700
694
 
701
695
  DefinitionType: ServiceActionDefinitionType | string | undefined;
702
696
 
703
- Definition: {
704
- [key: string]: string;
705
- } | undefined;
697
+ Definition: Record<string, string> | undefined;
706
698
 
707
699
  Description?: string;
708
700
 
@@ -734,9 +726,7 @@ export interface ServiceActionDetail {
734
726
 
735
727
  ServiceActionSummary?: ServiceActionSummary;
736
728
 
737
- Definition?: {
738
- [key: string]: string;
739
- };
729
+ Definition?: Record<string, string>;
740
730
  }
741
731
  export declare namespace ServiceActionDetail {
742
732
 
@@ -1190,9 +1180,7 @@ export interface ProvisioningArtifactSummary {
1190
1180
 
1191
1181
  CreatedTime?: Date;
1192
1182
 
1193
- ProvisioningArtifactMetadata?: {
1194
- [key: string]: string;
1195
- };
1183
+ ProvisioningArtifactMetadata?: Record<string, string>;
1196
1184
  }
1197
1185
  export declare namespace ProvisioningArtifactSummary {
1198
1186
 
@@ -1475,9 +1463,7 @@ export interface DescribeProvisioningArtifactOutput {
1475
1463
 
1476
1464
  ProvisioningArtifactDetail?: ProvisioningArtifactDetail;
1477
1465
 
1478
- Info?: {
1479
- [key: string]: string;
1480
- };
1466
+ Info?: Record<string, string>;
1481
1467
 
1482
1468
  Status?: Status | string;
1483
1469
  }
@@ -1932,9 +1918,7 @@ export interface ExecuteProvisionedProductServiceActionInput {
1932
1918
 
1933
1919
  AcceptLanguage?: string;
1934
1920
 
1935
- Parameters?: {
1936
- [key: string]: string[];
1937
- };
1921
+ Parameters?: Record<string, string[]>;
1938
1922
  }
1939
1923
  export declare namespace ExecuteProvisionedProductServiceActionInput {
1940
1924
 
@@ -2696,9 +2680,7 @@ export interface SearchProductsInput {
2696
2680
 
2697
2681
  AcceptLanguage?: string;
2698
2682
 
2699
- Filters?: {
2700
- [key: string]: string[];
2701
- };
2683
+ Filters?: Record<string, string[]>;
2702
2684
 
2703
2685
  PageSize?: number;
2704
2686
 
@@ -2727,9 +2709,7 @@ export interface SearchProductsOutput {
2727
2709
 
2728
2710
  ProductViewSummaries?: ProductViewSummary[];
2729
2711
 
2730
- ProductViewAggregations?: {
2731
- [key: string]: ProductViewAggregationValue[];
2732
- };
2712
+ ProductViewAggregations?: Record<string, ProductViewAggregationValue[]>;
2733
2713
 
2734
2714
  NextPageToken?: string;
2735
2715
  }
@@ -2746,9 +2726,7 @@ export interface SearchProductsAsAdminInput {
2746
2726
 
2747
2727
  PortfolioId?: string;
2748
2728
 
2749
- Filters?: {
2750
- [key: string]: string[];
2751
- };
2729
+ Filters?: Record<string, string[]>;
2752
2730
 
2753
2731
  SortBy?: ProductViewSortBy | string;
2754
2732
 
@@ -2783,9 +2761,7 @@ export interface SearchProvisionedProductsInput {
2783
2761
 
2784
2762
  AccessLevelFilter?: AccessLevelFilter;
2785
2763
 
2786
- Filters?: {
2787
- [key: string]: string[];
2788
- };
2764
+ Filters?: Record<string, string[]>;
2789
2765
 
2790
2766
  SortBy?: string;
2791
2767
 
@@ -3074,9 +3050,7 @@ export interface UpdateProvisionedProductPropertiesInput {
3074
3050
 
3075
3051
  ProvisionedProductId: string | undefined;
3076
3052
 
3077
- ProvisionedProductProperties: {
3078
- [key: string]: string;
3079
- } | undefined;
3053
+ ProvisionedProductProperties: Record<string, string> | undefined;
3080
3054
 
3081
3055
  IdempotencyToken?: string;
3082
3056
  }
@@ -3088,9 +3062,7 @@ export interface UpdateProvisionedProductPropertiesOutput {
3088
3062
 
3089
3063
  ProvisionedProductId?: string;
3090
3064
 
3091
- ProvisionedProductProperties?: {
3092
- [key: string]: string;
3093
- };
3065
+ ProvisionedProductProperties?: Record<string, string>;
3094
3066
 
3095
3067
  RecordId?: string;
3096
3068
 
@@ -3124,9 +3096,7 @@ export interface UpdateProvisioningArtifactOutput {
3124
3096
 
3125
3097
  ProvisioningArtifactDetail?: ProvisioningArtifactDetail;
3126
3098
 
3127
- Info?: {
3128
- [key: string]: string;
3129
- };
3099
+ Info?: Record<string, string>;
3130
3100
 
3131
3101
  Status?: Status | string;
3132
3102
  }
@@ -3140,9 +3110,7 @@ export interface UpdateServiceActionInput {
3140
3110
 
3141
3111
  Name?: string;
3142
3112
 
3143
- Definition?: {
3144
- [key: string]: string;
3145
- };
3113
+ Definition?: Record<string, string>;
3146
3114
 
3147
3115
  Description?: string;
3148
3116
 
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.95.0",
4
+ "version": "3.105.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",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.95.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.95.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",
@@ -35,15 +36,15 @@
35
36
  "@aws-sdk/node-config-provider": "3.80.0",
36
37
  "@aws-sdk/node-http-handler": "3.94.0",
37
38
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.85.0",
39
+ "@aws-sdk/smithy-client": "3.99.0",
39
40
  "@aws-sdk/types": "3.78.0",
40
41
  "@aws-sdk/url-parser": "3.78.0",
41
42
  "@aws-sdk/util-base64-browser": "3.58.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.85.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
48
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
49
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
50
  "@aws-sdk/util-utf8-browser": "3.55.0",