@aws-sdk/client-service-catalog 3.46.0 → 3.47.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 +11 -0
- package/dist-cjs/endpoints.js +0 -24
- package/dist-cjs/models/models_0.js +6 -54
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -24
- package/dist-es/models/models_0.js +0 -32
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/ServiceCatalogClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -48
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ServiceCatalogClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -32
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "servicecatalog.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "servicecatalog-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "servicecatalog.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "servicecatalog-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-gov-east-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "servicecatalog.us-gov-east-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "servicecatalog-fips.us-gov-east-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-gov-west-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "servicecatalog.us-gov-west-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "servicecatalog-fips.us-gov-west-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-west-1": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "servicecatalog.us-west-1.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "servicecatalog-fips.us-west-1.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"us-west-2": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "servicecatalog.us-west-2.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "servicecatalog-fips.us-west-2.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.DescribePortfolioSharesOutput = exports.PortfolioShareDetail = exports.DescribePortfolioSharesInput = exports.DescribePortfolioShareType = exports.DescribePortfolioOutput = exports.BudgetDetail = exports.DescribePortfolioInput = exports.DescribeCopyProductStatusOutput = exports.CopyProductStatus = exports.DescribeCopyProductStatusInput = exports.DescribeConstraintOutput = exports.DescribeConstraintInput = exports.DeleteTagOptionOutput = exports.DeleteTagOptionInput = exports.DeleteServiceActionOutput = exports.DeleteServiceActionInput = exports.DeleteProvisioningArtifactOutput = exports.DeleteProvisioningArtifactInput = exports.DeleteProvisionedProductPlanOutput = exports.DeleteProvisionedProductPlanInput = exports.DeleteProductOutput = exports.DeleteProductInput = exports.DeletePortfolioShareOutput = exports.DeletePortfolioShareInput = exports.
|
|
5
|
-
exports.DescribeServiceActionInput = exports.DescribeRecordOutput = exports.RecordOutput = exports.RecordDetail = exports.RecordStatus = exports.RecordTag = exports.RecordError = exports.DescribeRecordInput = exports.DescribeProvisioningParametersOutput = exports.UsageInstruction = exports.TagOptionSummary = exports.ProvisioningArtifactPreferences = exports.ProvisioningArtifactParameter = exports.ParameterConstraints = exports.ProvisioningArtifactOutput = exports.ConstraintSummary = exports.DescribeProvisioningParametersInput = exports.DescribeProvisioningArtifactOutput = exports.DescribeProvisioningArtifactInput = exports.DescribeProvisionedProductPlanOutput = exports.ResourceChange = exports.Replacement = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeAction = exports.ProvisionedProductPlanDetails = exports.ProvisionedProductPlanStatus = exports.DescribeProvisionedProductPlanInput = exports.DescribeProvisionedProductOutput = exports.ProvisionedProductDetail = exports.ProvisionedProductStatus = exports.CloudWatchDashboard = exports.DescribeProvisionedProductInput = exports.DescribeProductViewOutput = exports.DescribeProductViewInput = exports.DescribeProductAsAdminOutput = exports.ProvisioningArtifactSummary = exports.DescribeProductAsAdminInput = exports.DescribeProductOutput =
|
|
6
|
-
exports.ListPrincipalsForPortfolioOutput = exports.Principal = exports.ListPrincipalsForPortfolioInput = exports.ListPortfoliosForProductOutput = exports.ListPortfoliosForProductInput = exports.ListPortfoliosOutput = exports.ListPortfoliosInput = exports.ListPortfolioAccessOutput = exports.ListPortfolioAccessInput = exports.ListOrganizationPortfolioAccessOutput = exports.ListOrganizationPortfolioAccessInput = exports.ListLaunchPathsOutput = exports.LaunchPathSummary = exports.ListLaunchPathsInput = exports.ListConstraintsForPortfolioOutput = exports.ListConstraintsForPortfolioInput = exports.ListBudgetsForResourceOutput = exports.ListBudgetsForResourceInput = exports.ListAcceptedPortfolioSharesOutput = exports.ListAcceptedPortfolioSharesInput = exports.ImportAsProvisionedProductOutput = exports.ImportAsProvisionedProductInput = exports.GetProvisionedProductOutputsOutput = exports.GetProvisionedProductOutputsInput = exports.GetAWSOrganizationsAccessStatusOutput = exports.GetAWSOrganizationsAccessStatusInput = exports.ExecuteProvisionedProductServiceActionOutput = exports.ExecuteProvisionedProductServiceActionInput = exports.ExecuteProvisionedProductPlanOutput = exports.ExecuteProvisionedProductPlanInput = exports.EnableAWSOrganizationsAccessOutput = exports.EnableAWSOrganizationsAccessInput = exports.DisassociateTagOptionFromResourceOutput = exports.DisassociateTagOptionFromResourceInput = exports.DisassociateServiceActionFromProvisioningArtifactOutput = exports.DisassociateServiceActionFromProvisioningArtifactInput = exports.DisassociateProductFromPortfolioOutput = exports.DisassociateProductFromPortfolioInput = exports.DisassociatePrincipalFromPortfolioOutput = exports.DisassociatePrincipalFromPortfolioInput = exports.DisassociateBudgetFromResourceOutput = exports.DisassociateBudgetFromResourceInput =
|
|
7
|
-
exports.UpdateConstraintOutput = exports.UpdateConstraintInput = exports.TerminateProvisionedProductOutput = exports.TerminateProvisionedProductInput = exports.SearchProvisionedProductsOutput = exports.ProvisionedProductAttribute = exports.SearchProvisionedProductsInput = exports.ProvisionedProductViewFilterBy = exports.SearchProductsAsAdminOutput = exports.SearchProductsAsAdminInput = exports.ProductSource = exports.SearchProductsOutput = exports.ProductViewAggregationValue = exports.SearchProductsInput = exports.SortOrder = exports.ProductViewSortBy = exports.ProductViewFilterBy = exports.ScanProvisionedProductsOutput = exports.ScanProvisionedProductsInput = exports.RejectPortfolioShareOutput = exports.RejectPortfolioShareInput = exports.ProvisionProductOutput = exports.ProvisionProductInput = exports.ProvisioningPreferences = exports.ProvisioningParameter = exports.ListTagOptionsOutput = exports.ListTagOptionsInput = exports.ListTagOptionsFilters = exports.ListStackInstancesForProvisionedProductOutput = exports.StackInstance = exports.StackInstanceStatus = exports.ListStackInstancesForProvisionedProductInput = exports.ListServiceActionsForProvisioningArtifactOutput = exports.ListServiceActionsForProvisioningArtifactInput = exports.ListServiceActionsOutput = exports.ListServiceActionsInput = exports.ListResourcesForTagOptionOutput = exports.ResourceDetail = exports.ListResourcesForTagOptionInput = exports.ListRecordHistoryOutput = exports.ListRecordHistoryInput = exports.ListRecordHistorySearchFilter =
|
|
8
|
-
exports.UpdateTagOptionOutput = exports.UpdateTagOptionInput = exports.UpdateServiceActionOutput = exports.UpdateServiceActionInput = exports.UpdateProvisioningArtifactOutput = exports.UpdateProvisioningArtifactInput = exports.UpdateProvisionedProductPropertiesOutput = exports.UpdateProvisionedProductPropertiesInput = exports.PropertyKey = exports.UpdateProvisionedProductOutput =
|
|
3
|
+
exports.ProvisionedProductPlanType = exports.CreateProductOutput = exports.ProvisioningArtifactDetail = exports.ProvisioningArtifactGuidance = exports.ProductViewDetail = exports.ProductViewSummary = exports.CreateProductInput = exports.ProvisioningArtifactProperties = exports.ProvisioningArtifactType = exports.ProductType = exports.CreatePortfolioShareOutput = exports.CreatePortfolioShareInput = exports.OrganizationNode = exports.OrganizationNodeType = exports.CreatePortfolioOutput = exports.PortfolioDetail = exports.CreatePortfolioInput = exports.CreateConstraintOutput = exports.Status = exports.ConstraintDetail = exports.CreateConstraintInput = exports.CopyProductOutput = exports.CopyProductInput = exports.ProvisioningArtifactPropertyName = exports.CopyOption = exports.BatchDisassociateServiceActionFromProvisioningArtifactOutput = exports.BatchDisassociateServiceActionFromProvisioningArtifactInput = exports.BatchAssociateServiceActionWithProvisioningArtifactOutput = exports.FailedServiceActionAssociation = exports.ServiceActionAssociationErrorCode = exports.BatchAssociateServiceActionWithProvisioningArtifactInput = exports.ServiceActionAssociation = exports.AssociateTagOptionWithResourceOutput = exports.AssociateTagOptionWithResourceInput = exports.AssociateServiceActionWithProvisioningArtifactOutput = exports.AssociateServiceActionWithProvisioningArtifactInput = exports.AssociateProductWithPortfolioOutput = exports.AssociateProductWithPortfolioInput = exports.AssociatePrincipalWithPortfolioOutput = exports.AssociatePrincipalWithPortfolioInput = exports.PrincipalType = exports.AssociateBudgetWithResourceOutput = exports.AssociateBudgetWithResourceInput = exports.Tag = exports.AccessStatus = exports.AccessLevelFilter = exports.AccessLevelFilterKey = exports.AcceptPortfolioShareOutput = exports.AcceptPortfolioShareInput = exports.PortfolioShareType = void 0;
|
|
4
|
+
exports.ProvisioningArtifact = exports.LaunchPath = exports.DescribeProductInput = exports.DescribePortfolioShareStatusOutput = exports.ShareStatus = exports.ShareDetails = exports.ShareError = exports.DescribePortfolioShareStatusInput = exports.DescribePortfolioSharesOutput = exports.PortfolioShareDetail = exports.DescribePortfolioSharesInput = exports.DescribePortfolioShareType = exports.DescribePortfolioOutput = exports.BudgetDetail = exports.DescribePortfolioInput = exports.DescribeCopyProductStatusOutput = exports.CopyProductStatus = exports.DescribeCopyProductStatusInput = exports.DescribeConstraintOutput = exports.DescribeConstraintInput = exports.DeleteTagOptionOutput = exports.DeleteTagOptionInput = exports.DeleteServiceActionOutput = exports.DeleteServiceActionInput = exports.DeleteProvisioningArtifactOutput = exports.DeleteProvisioningArtifactInput = exports.DeleteProvisionedProductPlanOutput = exports.DeleteProvisionedProductPlanInput = exports.DeleteProductOutput = exports.DeleteProductInput = exports.DeletePortfolioShareOutput = exports.DeletePortfolioShareInput = exports.DeletePortfolioOutput = exports.DeletePortfolioInput = exports.DeleteConstraintOutput = exports.DeleteConstraintInput = exports.CreateTagOptionOutput = exports.TagOptionDetail = exports.CreateTagOptionInput = exports.CreateServiceActionOutput = exports.ServiceActionDetail = exports.ServiceActionSummary = exports.CreateServiceActionInput = exports.ServiceActionDefinitionType = exports.ServiceActionDefinitionKey = exports.CreateProvisioningArtifactOutput = exports.CreateProvisioningArtifactInput = exports.CreateProvisionedProductPlanOutput = exports.CreateProvisionedProductPlanInput = exports.UpdateProvisioningParameter = void 0;
|
|
5
|
+
exports.DisableAWSOrganizationsAccessOutput = exports.DisableAWSOrganizationsAccessInput = exports.DescribeTagOptionOutput = exports.DescribeTagOptionInput = exports.DescribeServiceActionExecutionParametersOutput = exports.ExecutionParameter = exports.DescribeServiceActionExecutionParametersInput = exports.DescribeServiceActionOutput = exports.DescribeServiceActionInput = exports.DescribeRecordOutput = exports.RecordOutput = exports.RecordDetail = exports.RecordStatus = exports.RecordTag = exports.RecordError = exports.DescribeRecordInput = exports.DescribeProvisioningParametersOutput = exports.UsageInstruction = exports.TagOptionSummary = exports.ProvisioningArtifactPreferences = exports.ProvisioningArtifactParameter = exports.ParameterConstraints = exports.ProvisioningArtifactOutput = exports.ConstraintSummary = exports.DescribeProvisioningParametersInput = exports.DescribeProvisioningArtifactOutput = exports.DescribeProvisioningArtifactInput = exports.DescribeProvisionedProductPlanOutput = exports.ResourceChange = exports.Replacement = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeAction = exports.ProvisionedProductPlanDetails = exports.ProvisionedProductPlanStatus = exports.DescribeProvisionedProductPlanInput = exports.DescribeProvisionedProductOutput = exports.ProvisionedProductDetail = exports.ProvisionedProductStatus = exports.CloudWatchDashboard = exports.DescribeProvisionedProductInput = exports.DescribeProductViewOutput = exports.DescribeProductViewInput = exports.DescribeProductAsAdminOutput = exports.ProvisioningArtifactSummary = exports.DescribeProductAsAdminInput = exports.DescribeProductOutput = void 0;
|
|
6
|
+
exports.ListProvisioningArtifactsForServiceActionOutput = exports.ProvisioningArtifactView = exports.ListProvisioningArtifactsForServiceActionInput = exports.ListProvisioningArtifactsOutput = exports.ListProvisioningArtifactsInput = exports.ListProvisionedProductPlansOutput = exports.ProvisionedProductPlanSummary = exports.ListProvisionedProductPlansInput = exports.ListPrincipalsForPortfolioOutput = exports.Principal = exports.ListPrincipalsForPortfolioInput = exports.ListPortfoliosForProductOutput = exports.ListPortfoliosForProductInput = exports.ListPortfoliosOutput = exports.ListPortfoliosInput = exports.ListPortfolioAccessOutput = exports.ListPortfolioAccessInput = exports.ListOrganizationPortfolioAccessOutput = exports.ListOrganizationPortfolioAccessInput = exports.ListLaunchPathsOutput = exports.LaunchPathSummary = exports.ListLaunchPathsInput = exports.ListConstraintsForPortfolioOutput = exports.ListConstraintsForPortfolioInput = exports.ListBudgetsForResourceOutput = exports.ListBudgetsForResourceInput = exports.ListAcceptedPortfolioSharesOutput = exports.ListAcceptedPortfolioSharesInput = exports.ImportAsProvisionedProductOutput = exports.ImportAsProvisionedProductInput = exports.GetProvisionedProductOutputsOutput = exports.GetProvisionedProductOutputsInput = exports.GetAWSOrganizationsAccessStatusOutput = exports.GetAWSOrganizationsAccessStatusInput = exports.ExecuteProvisionedProductServiceActionOutput = exports.ExecuteProvisionedProductServiceActionInput = exports.ExecuteProvisionedProductPlanOutput = exports.ExecuteProvisionedProductPlanInput = exports.EnableAWSOrganizationsAccessOutput = exports.EnableAWSOrganizationsAccessInput = exports.DisassociateTagOptionFromResourceOutput = exports.DisassociateTagOptionFromResourceInput = exports.DisassociateServiceActionFromProvisioningArtifactOutput = exports.DisassociateServiceActionFromProvisioningArtifactInput = exports.DisassociateProductFromPortfolioOutput = exports.DisassociateProductFromPortfolioInput = exports.DisassociatePrincipalFromPortfolioOutput = exports.DisassociatePrincipalFromPortfolioInput = exports.DisassociateBudgetFromResourceOutput = exports.DisassociateBudgetFromResourceInput = void 0;
|
|
7
|
+
exports.UpdateProvisionedProductInput = exports.UpdateProvisioningPreferences = exports.UpdateProductOutput = exports.UpdateProductInput = exports.UpdatePortfolioShareOutput = exports.UpdatePortfolioShareInput = exports.UpdatePortfolioOutput = exports.UpdatePortfolioInput = exports.UpdateConstraintOutput = exports.UpdateConstraintInput = exports.TerminateProvisionedProductOutput = exports.TerminateProvisionedProductInput = exports.SearchProvisionedProductsOutput = exports.ProvisionedProductAttribute = exports.SearchProvisionedProductsInput = exports.ProvisionedProductViewFilterBy = exports.SearchProductsAsAdminOutput = exports.SearchProductsAsAdminInput = exports.ProductSource = exports.SearchProductsOutput = exports.ProductViewAggregationValue = exports.SearchProductsInput = exports.SortOrder = exports.ProductViewSortBy = exports.ProductViewFilterBy = exports.ScanProvisionedProductsOutput = exports.ScanProvisionedProductsInput = exports.RejectPortfolioShareOutput = exports.RejectPortfolioShareInput = exports.ProvisionProductOutput = exports.ProvisionProductInput = exports.ProvisioningPreferences = exports.ProvisioningParameter = exports.ListTagOptionsOutput = exports.ListTagOptionsInput = exports.ListTagOptionsFilters = exports.ListStackInstancesForProvisionedProductOutput = exports.StackInstance = exports.StackInstanceStatus = exports.ListStackInstancesForProvisionedProductInput = exports.ListServiceActionsForProvisioningArtifactOutput = exports.ListServiceActionsForProvisioningArtifactInput = exports.ListServiceActionsOutput = exports.ListServiceActionsInput = exports.ListResourcesForTagOptionOutput = exports.ResourceDetail = exports.ListResourcesForTagOptionInput = exports.ListRecordHistoryOutput = exports.ListRecordHistoryInput = exports.ListRecordHistorySearchFilter = void 0;
|
|
8
|
+
exports.UpdateTagOptionOutput = exports.UpdateTagOptionInput = exports.UpdateServiceActionOutput = exports.UpdateServiceActionInput = exports.UpdateProvisioningArtifactOutput = exports.UpdateProvisioningArtifactInput = exports.UpdateProvisionedProductPropertiesOutput = exports.UpdateProvisionedProductPropertiesInput = exports.PropertyKey = exports.UpdateProvisionedProductOutput = void 0;
|
|
9
9
|
var PortfolioShareType;
|
|
10
10
|
(function (PortfolioShareType) {
|
|
11
11
|
PortfolioShareType["AWS_ORGANIZATIONS"] = "AWS_ORGANIZATIONS";
|
|
@@ -24,24 +24,6 @@ var AcceptPortfolioShareOutput;
|
|
|
24
24
|
...obj,
|
|
25
25
|
});
|
|
26
26
|
})(AcceptPortfolioShareOutput = exports.AcceptPortfolioShareOutput || (exports.AcceptPortfolioShareOutput = {}));
|
|
27
|
-
var InvalidParametersException;
|
|
28
|
-
(function (InvalidParametersException) {
|
|
29
|
-
InvalidParametersException.filterSensitiveLog = (obj) => ({
|
|
30
|
-
...obj,
|
|
31
|
-
});
|
|
32
|
-
})(InvalidParametersException = exports.InvalidParametersException || (exports.InvalidParametersException = {}));
|
|
33
|
-
var LimitExceededException;
|
|
34
|
-
(function (LimitExceededException) {
|
|
35
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
36
|
-
...obj,
|
|
37
|
-
});
|
|
38
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
39
|
-
var ResourceNotFoundException;
|
|
40
|
-
(function (ResourceNotFoundException) {
|
|
41
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
42
|
-
...obj,
|
|
43
|
-
});
|
|
44
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
45
27
|
var AccessLevelFilterKey;
|
|
46
28
|
(function (AccessLevelFilterKey) {
|
|
47
29
|
AccessLevelFilterKey["ACCOUNT"] = "Account";
|
|
@@ -78,12 +60,6 @@ var AssociateBudgetWithResourceOutput;
|
|
|
78
60
|
...obj,
|
|
79
61
|
});
|
|
80
62
|
})(AssociateBudgetWithResourceOutput = exports.AssociateBudgetWithResourceOutput || (exports.AssociateBudgetWithResourceOutput = {}));
|
|
81
|
-
var DuplicateResourceException;
|
|
82
|
-
(function (DuplicateResourceException) {
|
|
83
|
-
DuplicateResourceException.filterSensitiveLog = (obj) => ({
|
|
84
|
-
...obj,
|
|
85
|
-
});
|
|
86
|
-
})(DuplicateResourceException = exports.DuplicateResourceException || (exports.DuplicateResourceException = {}));
|
|
87
63
|
var PrincipalType;
|
|
88
64
|
(function (PrincipalType) {
|
|
89
65
|
PrincipalType["IAM"] = "IAM";
|
|
@@ -136,18 +112,6 @@ var AssociateTagOptionWithResourceOutput;
|
|
|
136
112
|
...obj,
|
|
137
113
|
});
|
|
138
114
|
})(AssociateTagOptionWithResourceOutput = exports.AssociateTagOptionWithResourceOutput || (exports.AssociateTagOptionWithResourceOutput = {}));
|
|
139
|
-
var InvalidStateException;
|
|
140
|
-
(function (InvalidStateException) {
|
|
141
|
-
InvalidStateException.filterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
})(InvalidStateException = exports.InvalidStateException || (exports.InvalidStateException = {}));
|
|
145
|
-
var TagOptionNotMigratedException;
|
|
146
|
-
(function (TagOptionNotMigratedException) {
|
|
147
|
-
TagOptionNotMigratedException.filterSensitiveLog = (obj) => ({
|
|
148
|
-
...obj,
|
|
149
|
-
});
|
|
150
|
-
})(TagOptionNotMigratedException = exports.TagOptionNotMigratedException || (exports.TagOptionNotMigratedException = {}));
|
|
151
115
|
var ServiceActionAssociation;
|
|
152
116
|
(function (ServiceActionAssociation) {
|
|
153
117
|
ServiceActionAssociation.filterSensitiveLog = (obj) => ({
|
|
@@ -278,12 +242,6 @@ var CreatePortfolioShareOutput;
|
|
|
278
242
|
...obj,
|
|
279
243
|
});
|
|
280
244
|
})(CreatePortfolioShareOutput = exports.CreatePortfolioShareOutput || (exports.CreatePortfolioShareOutput = {}));
|
|
281
|
-
var OperationNotSupportedException;
|
|
282
|
-
(function (OperationNotSupportedException) {
|
|
283
|
-
OperationNotSupportedException.filterSensitiveLog = (obj) => ({
|
|
284
|
-
...obj,
|
|
285
|
-
});
|
|
286
|
-
})(OperationNotSupportedException = exports.OperationNotSupportedException || (exports.OperationNotSupportedException = {}));
|
|
287
245
|
var ProductType;
|
|
288
246
|
(function (ProductType) {
|
|
289
247
|
ProductType["CLOUD_FORMATION_TEMPLATE"] = "CLOUD_FORMATION_TEMPLATE";
|
|
@@ -447,12 +405,6 @@ var DeletePortfolioOutput;
|
|
|
447
405
|
...obj,
|
|
448
406
|
});
|
|
449
407
|
})(DeletePortfolioOutput = exports.DeletePortfolioOutput || (exports.DeletePortfolioOutput = {}));
|
|
450
|
-
var ResourceInUseException;
|
|
451
|
-
(function (ResourceInUseException) {
|
|
452
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
453
|
-
...obj,
|
|
454
|
-
});
|
|
455
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
456
408
|
var DeletePortfolioShareInput;
|
|
457
409
|
(function (DeletePortfolioShareInput) {
|
|
458
410
|
DeletePortfolioShareInput.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "servicecatalog.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "servicecatalog-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "servicecatalog.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "servicecatalog-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-east-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "servicecatalog.us-gov-east-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "servicecatalog-fips.us-gov-east-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "servicecatalog.us-gov-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "servicecatalog-fips.us-gov-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "servicecatalog.us-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "servicecatalog-fips.us-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-2": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "servicecatalog.us-west-2.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "servicecatalog-fips.us-west-2.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|
|
@@ -13,18 +13,6 @@ export var AcceptPortfolioShareOutput;
|
|
|
13
13
|
(function (AcceptPortfolioShareOutput) {
|
|
14
14
|
AcceptPortfolioShareOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
15
|
})(AcceptPortfolioShareOutput || (AcceptPortfolioShareOutput = {}));
|
|
16
|
-
export var InvalidParametersException;
|
|
17
|
-
(function (InvalidParametersException) {
|
|
18
|
-
InvalidParametersException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
-
})(InvalidParametersException || (InvalidParametersException = {}));
|
|
20
|
-
export var LimitExceededException;
|
|
21
|
-
(function (LimitExceededException) {
|
|
22
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
24
|
-
export var ResourceNotFoundException;
|
|
25
|
-
(function (ResourceNotFoundException) {
|
|
26
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
28
16
|
export var AccessLevelFilterKey;
|
|
29
17
|
(function (AccessLevelFilterKey) {
|
|
30
18
|
AccessLevelFilterKey["ACCOUNT"] = "Account";
|
|
@@ -53,10 +41,6 @@ export var AssociateBudgetWithResourceOutput;
|
|
|
53
41
|
(function (AssociateBudgetWithResourceOutput) {
|
|
54
42
|
AssociateBudgetWithResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
55
43
|
})(AssociateBudgetWithResourceOutput || (AssociateBudgetWithResourceOutput = {}));
|
|
56
|
-
export var DuplicateResourceException;
|
|
57
|
-
(function (DuplicateResourceException) {
|
|
58
|
-
DuplicateResourceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
59
|
-
})(DuplicateResourceException || (DuplicateResourceException = {}));
|
|
60
44
|
export var PrincipalType;
|
|
61
45
|
(function (PrincipalType) {
|
|
62
46
|
PrincipalType["IAM"] = "IAM";
|
|
@@ -93,14 +77,6 @@ export var AssociateTagOptionWithResourceOutput;
|
|
|
93
77
|
(function (AssociateTagOptionWithResourceOutput) {
|
|
94
78
|
AssociateTagOptionWithResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
79
|
})(AssociateTagOptionWithResourceOutput || (AssociateTagOptionWithResourceOutput = {}));
|
|
96
|
-
export var InvalidStateException;
|
|
97
|
-
(function (InvalidStateException) {
|
|
98
|
-
InvalidStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
|
-
})(InvalidStateException || (InvalidStateException = {}));
|
|
100
|
-
export var TagOptionNotMigratedException;
|
|
101
|
-
(function (TagOptionNotMigratedException) {
|
|
102
|
-
TagOptionNotMigratedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
-
})(TagOptionNotMigratedException || (TagOptionNotMigratedException = {}));
|
|
104
80
|
export var ServiceActionAssociation;
|
|
105
81
|
(function (ServiceActionAssociation) {
|
|
106
82
|
ServiceActionAssociation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -197,10 +173,6 @@ export var CreatePortfolioShareOutput;
|
|
|
197
173
|
(function (CreatePortfolioShareOutput) {
|
|
198
174
|
CreatePortfolioShareOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
175
|
})(CreatePortfolioShareOutput || (CreatePortfolioShareOutput = {}));
|
|
200
|
-
export var OperationNotSupportedException;
|
|
201
|
-
(function (OperationNotSupportedException) {
|
|
202
|
-
OperationNotSupportedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
-
})(OperationNotSupportedException || (OperationNotSupportedException = {}));
|
|
204
176
|
export var ProductType;
|
|
205
177
|
(function (ProductType) {
|
|
206
178
|
ProductType["CLOUD_FORMATION_TEMPLATE"] = "CLOUD_FORMATION_TEMPLATE";
|
|
@@ -320,10 +292,6 @@ export var DeletePortfolioOutput;
|
|
|
320
292
|
(function (DeletePortfolioOutput) {
|
|
321
293
|
DeletePortfolioOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
322
294
|
})(DeletePortfolioOutput || (DeletePortfolioOutput = {}));
|
|
323
|
-
export var ResourceInUseException;
|
|
324
|
-
(function (ResourceInUseException) {
|
|
325
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
326
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
327
295
|
export var DeletePortfolioShareInput;
|
|
328
296
|
(function (DeletePortfolioShareInput) {
|
|
329
297
|
DeletePortfolioShareInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
19
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptPortfolioShareCommandInput, AcceptPortfolioShareCommandOutput } from "./commands/AcceptPortfolioShareCommand";
|
|
10
10
|
import { AssociateBudgetWithResourceCommandInput, AssociateBudgetWithResourceCommandOutput } from "./commands/AssociateBudgetWithResourceCommand";
|
|
@@ -195,6 +195,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
195
195
|
* @internal
|
|
196
196
|
*/
|
|
197
197
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
198
|
+
/**
|
|
199
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
200
|
+
*/
|
|
201
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
198
202
|
}
|
|
199
203
|
declare type ServiceCatalogClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
200
204
|
/**
|
|
@@ -71,12 +71,6 @@ export interface InvalidParametersException extends __SmithyException, $Metadata
|
|
|
71
71
|
$fault: "client";
|
|
72
72
|
Message?: string;
|
|
73
73
|
}
|
|
74
|
-
export declare namespace InvalidParametersException {
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
const filterSensitiveLog: (obj: InvalidParametersException) => any;
|
|
79
|
-
}
|
|
80
74
|
/**
|
|
81
75
|
* <p>The current limits of the service would have been exceeded by this operation. Decrease your
|
|
82
76
|
* resource use or increase your service limits and retry the operation.</p>
|
|
@@ -86,12 +80,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
86
80
|
$fault: "client";
|
|
87
81
|
Message?: string;
|
|
88
82
|
}
|
|
89
|
-
export declare namespace LimitExceededException {
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
94
|
-
}
|
|
95
83
|
/**
|
|
96
84
|
* <p>The specified resource was not found.</p>
|
|
97
85
|
*/
|
|
@@ -100,12 +88,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
100
88
|
$fault: "client";
|
|
101
89
|
Message?: string;
|
|
102
90
|
}
|
|
103
|
-
export declare namespace ResourceNotFoundException {
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
108
|
-
}
|
|
109
91
|
export declare enum AccessLevelFilterKey {
|
|
110
92
|
ACCOUNT = "Account",
|
|
111
93
|
ROLE = "Role",
|
|
@@ -201,12 +183,6 @@ export interface DuplicateResourceException extends __SmithyException, $Metadata
|
|
|
201
183
|
$fault: "client";
|
|
202
184
|
Message?: string;
|
|
203
185
|
}
|
|
204
|
-
export declare namespace DuplicateResourceException {
|
|
205
|
-
/**
|
|
206
|
-
* @internal
|
|
207
|
-
*/
|
|
208
|
-
const filterSensitiveLog: (obj: DuplicateResourceException) => any;
|
|
209
|
-
}
|
|
210
186
|
export declare enum PrincipalType {
|
|
211
187
|
IAM = "IAM"
|
|
212
188
|
}
|
|
@@ -381,12 +357,6 @@ export interface InvalidStateException extends __SmithyException, $MetadataBeare
|
|
|
381
357
|
$fault: "client";
|
|
382
358
|
Message?: string;
|
|
383
359
|
}
|
|
384
|
-
export declare namespace InvalidStateException {
|
|
385
|
-
/**
|
|
386
|
-
* @internal
|
|
387
|
-
*/
|
|
388
|
-
const filterSensitiveLog: (obj: InvalidStateException) => any;
|
|
389
|
-
}
|
|
390
360
|
/**
|
|
391
361
|
* <p>An operation requiring TagOptions failed because the TagOptions migration process has
|
|
392
362
|
* not been performed for this account. Please use the AWS console to perform the migration
|
|
@@ -397,12 +367,6 @@ export interface TagOptionNotMigratedException extends __SmithyException, $Metad
|
|
|
397
367
|
$fault: "client";
|
|
398
368
|
Message?: string;
|
|
399
369
|
}
|
|
400
|
-
export declare namespace TagOptionNotMigratedException {
|
|
401
|
-
/**
|
|
402
|
-
* @internal
|
|
403
|
-
*/
|
|
404
|
-
const filterSensitiveLog: (obj: TagOptionNotMigratedException) => any;
|
|
405
|
-
}
|
|
406
370
|
/**
|
|
407
371
|
* <p>A self-service action association consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.</p>
|
|
408
372
|
*/
|
|
@@ -1019,12 +983,6 @@ export interface OperationNotSupportedException extends __SmithyException, $Meta
|
|
|
1019
983
|
$fault: "client";
|
|
1020
984
|
Message?: string;
|
|
1021
985
|
}
|
|
1022
|
-
export declare namespace OperationNotSupportedException {
|
|
1023
|
-
/**
|
|
1024
|
-
* @internal
|
|
1025
|
-
*/
|
|
1026
|
-
const filterSensitiveLog: (obj: OperationNotSupportedException) => any;
|
|
1027
|
-
}
|
|
1028
986
|
export declare enum ProductType {
|
|
1029
987
|
CLOUD_FORMATION_TEMPLATE = "CLOUD_FORMATION_TEMPLATE",
|
|
1030
988
|
MARKETPLACE = "MARKETPLACE"
|
|
@@ -1827,12 +1785,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
1827
1785
|
$fault: "client";
|
|
1828
1786
|
Message?: string;
|
|
1829
1787
|
}
|
|
1830
|
-
export declare namespace ResourceInUseException {
|
|
1831
|
-
/**
|
|
1832
|
-
* @internal
|
|
1833
|
-
*/
|
|
1834
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
1835
|
-
}
|
|
1836
1788
|
export interface DeletePortfolioShareInput {
|
|
1837
1789
|
/**
|
|
1838
1790
|
* <p>The language code.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ServiceCatalogClientConfig } from "./ServiceCatalogClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ServiceCatalogClientConfig } from "./ServiceCatalogClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptPortfolioShareCommandInput, AcceptPortfolioShareCommandOutput } from "./commands/AcceptPortfolioShareCommand";
|
|
10
10
|
import { AssociateBudgetWithResourceCommandInput, AssociateBudgetWithResourceCommandOutput } from "./commands/AssociateBudgetWithResourceCommand";
|
|
@@ -138,6 +138,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
138
138
|
regionInfoProvider?: RegionInfoProvider;
|
|
139
139
|
|
|
140
140
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
141
|
+
|
|
142
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
141
143
|
}
|
|
142
144
|
declare type ServiceCatalogClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
143
145
|
|
|
@@ -28,30 +28,18 @@ export interface InvalidParametersException extends __SmithyException, $Metadata
|
|
|
28
28
|
$fault: "client";
|
|
29
29
|
Message?: string;
|
|
30
30
|
}
|
|
31
|
-
export declare namespace InvalidParametersException {
|
|
32
|
-
|
|
33
|
-
const filterSensitiveLog: (obj: InvalidParametersException) => any;
|
|
34
|
-
}
|
|
35
31
|
|
|
36
32
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
37
33
|
name: "LimitExceededException";
|
|
38
34
|
$fault: "client";
|
|
39
35
|
Message?: string;
|
|
40
36
|
}
|
|
41
|
-
export declare namespace LimitExceededException {
|
|
42
|
-
|
|
43
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
44
|
-
}
|
|
45
37
|
|
|
46
38
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
47
39
|
name: "ResourceNotFoundException";
|
|
48
40
|
$fault: "client";
|
|
49
41
|
Message?: string;
|
|
50
42
|
}
|
|
51
|
-
export declare namespace ResourceNotFoundException {
|
|
52
|
-
|
|
53
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
54
|
-
}
|
|
55
43
|
export declare enum AccessLevelFilterKey {
|
|
56
44
|
ACCOUNT = "Account",
|
|
57
45
|
ROLE = "Role",
|
|
@@ -106,10 +94,6 @@ export interface DuplicateResourceException extends __SmithyException, $Metadata
|
|
|
106
94
|
$fault: "client";
|
|
107
95
|
Message?: string;
|
|
108
96
|
}
|
|
109
|
-
export declare namespace DuplicateResourceException {
|
|
110
|
-
|
|
111
|
-
const filterSensitiveLog: (obj: DuplicateResourceException) => any;
|
|
112
|
-
}
|
|
113
97
|
export declare enum PrincipalType {
|
|
114
98
|
IAM = "IAM"
|
|
115
99
|
}
|
|
@@ -195,20 +179,12 @@ export interface InvalidStateException extends __SmithyException, $MetadataBeare
|
|
|
195
179
|
$fault: "client";
|
|
196
180
|
Message?: string;
|
|
197
181
|
}
|
|
198
|
-
export declare namespace InvalidStateException {
|
|
199
|
-
|
|
200
|
-
const filterSensitiveLog: (obj: InvalidStateException) => any;
|
|
201
|
-
}
|
|
202
182
|
|
|
203
183
|
export interface TagOptionNotMigratedException extends __SmithyException, $MetadataBearer {
|
|
204
184
|
name: "TagOptionNotMigratedException";
|
|
205
185
|
$fault: "client";
|
|
206
186
|
Message?: string;
|
|
207
187
|
}
|
|
208
|
-
export declare namespace TagOptionNotMigratedException {
|
|
209
|
-
|
|
210
|
-
const filterSensitiveLog: (obj: TagOptionNotMigratedException) => any;
|
|
211
|
-
}
|
|
212
188
|
|
|
213
189
|
export interface ServiceActionAssociation {
|
|
214
190
|
|
|
@@ -467,10 +443,6 @@ export interface OperationNotSupportedException extends __SmithyException, $Meta
|
|
|
467
443
|
$fault: "client";
|
|
468
444
|
Message?: string;
|
|
469
445
|
}
|
|
470
|
-
export declare namespace OperationNotSupportedException {
|
|
471
|
-
|
|
472
|
-
const filterSensitiveLog: (obj: OperationNotSupportedException) => any;
|
|
473
|
-
}
|
|
474
446
|
export declare enum ProductType {
|
|
475
447
|
CLOUD_FORMATION_TEMPLATE = "CLOUD_FORMATION_TEMPLATE",
|
|
476
448
|
MARKETPLACE = "MARKETPLACE"
|
|
@@ -836,10 +808,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
836
808
|
$fault: "client";
|
|
837
809
|
Message?: string;
|
|
838
810
|
}
|
|
839
|
-
export declare namespace ResourceInUseException {
|
|
840
|
-
|
|
841
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
842
|
-
}
|
|
843
811
|
export interface DeletePortfolioShareInput {
|
|
844
812
|
|
|
845
813
|
AcceptLanguage?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ServiceCatalogClientConfig } from "./ServiceCatalogClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ServiceCatalogClientConfig } from "./ServiceCatalogClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ServiceCatalogClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
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.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,39 +18,41 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"@types/uuid": "^8.3.0"
|
|
58
58
|
},
|