@jjrawlins/cdk-iam-policy-builder-helper 0.0.71 → 0.0.73
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/.jsii +3 -3
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/lib/constructs/Actions.d.ts +15 -0
- package/lib/constructs/Actions.js +16 -1
- package/methods_list.txt +15 -0
- package/node_modules/@aws-sdk/client-iam/package.json +12 -12
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +3 -1
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +3 -3
package/methods_list.txt
CHANGED
|
@@ -950,6 +950,7 @@ apptest:UpdateTestConfiguration
|
|
|
950
950
|
apptest:UpdateTestSuite
|
|
951
951
|
aps:CreateAlertManagerAlerts
|
|
952
952
|
aps:CreateAlertManagerDefinition
|
|
953
|
+
aps:CreateAnomalyDetector
|
|
953
954
|
aps:CreateLoggingConfiguration
|
|
954
955
|
aps:CreateQueryLoggingConfiguration
|
|
955
956
|
aps:CreateRuleGroupsNamespace
|
|
@@ -957,18 +958,22 @@ aps:CreateScraper
|
|
|
957
958
|
aps:CreateWorkspace
|
|
958
959
|
aps:DeleteAlertManagerDefinition
|
|
959
960
|
aps:DeleteAlertManagerSilence
|
|
961
|
+
aps:DeleteAnomalyDetector
|
|
960
962
|
aps:DeleteLoggingConfiguration
|
|
961
963
|
aps:DeleteQueryLoggingConfiguration
|
|
962
964
|
aps:DeleteResourcePolicy
|
|
963
965
|
aps:DeleteRuleGroupsNamespace
|
|
964
966
|
aps:DeleteScraper
|
|
967
|
+
aps:DeleteScraperLoggingConfiguration
|
|
965
968
|
aps:DeleteWorkspace
|
|
966
969
|
aps:DescribeAlertManagerDefinition
|
|
970
|
+
aps:DescribeAnomalyDetector
|
|
967
971
|
aps:DescribeLoggingConfiguration
|
|
968
972
|
aps:DescribeQueryLoggingConfiguration
|
|
969
973
|
aps:DescribeResourcePolicy
|
|
970
974
|
aps:DescribeRuleGroupsNamespace
|
|
971
975
|
aps:DescribeScraper
|
|
976
|
+
aps:DescribeScraperLoggingConfiguration
|
|
972
977
|
aps:DescribeWorkspace
|
|
973
978
|
aps:DescribeWorkspaceConfiguration
|
|
974
979
|
aps:GetAlertManagerSilence
|
|
@@ -982,13 +987,16 @@ aps:ListAlertManagerAlerts
|
|
|
982
987
|
aps:ListAlertManagerReceivers
|
|
983
988
|
aps:ListAlertManagerSilences
|
|
984
989
|
aps:ListAlerts
|
|
990
|
+
aps:ListAnomalyDetectors
|
|
985
991
|
aps:ListRuleGroupsNamespaces
|
|
986
992
|
aps:ListRules
|
|
987
993
|
aps:ListScrapers
|
|
988
994
|
aps:ListTagsForResource
|
|
989
995
|
aps:ListWorkspaces
|
|
996
|
+
aps:PreviewAnomalyDetector
|
|
990
997
|
aps:PutAlertManagerDefinition
|
|
991
998
|
aps:PutAlertManagerSilences
|
|
999
|
+
aps:PutAnomalyDetector
|
|
992
1000
|
aps:PutResourcePolicy
|
|
993
1001
|
aps:PutRuleGroupsNamespace
|
|
994
1002
|
aps:QueryMetrics
|
|
@@ -998,6 +1006,7 @@ aps:UntagResource
|
|
|
998
1006
|
aps:UpdateLoggingConfiguration
|
|
999
1007
|
aps:UpdateQueryLoggingConfiguration
|
|
1000
1008
|
aps:UpdateScraper
|
|
1009
|
+
aps:UpdateScraperLoggingConfiguration
|
|
1001
1010
|
aps:UpdateWorkspaceAlias
|
|
1002
1011
|
aps:UpdateWorkspaceConfiguration
|
|
1003
1012
|
arc-region-switch:ApprovePlanExecutionStep
|
|
@@ -1866,6 +1875,7 @@ bedrock:InvokeFlow
|
|
|
1866
1875
|
bedrock:InvokeInlineAgent
|
|
1867
1876
|
bedrock:InvokeModel
|
|
1868
1877
|
bedrock:InvokeModelWithResponseStream
|
|
1878
|
+
bedrock:InvokeTool
|
|
1869
1879
|
bedrock:ListAgentActionGroups
|
|
1870
1880
|
bedrock:ListAgentAliases
|
|
1871
1881
|
bedrock:ListAgentCollaborators
|
|
@@ -3803,6 +3813,7 @@ cognito-idp:CreateGroup
|
|
|
3803
3813
|
cognito-idp:CreateIdentityProvider
|
|
3804
3814
|
cognito-idp:CreateManagedLoginBranding
|
|
3805
3815
|
cognito-idp:CreateResourceServer
|
|
3816
|
+
cognito-idp:CreateTerms
|
|
3806
3817
|
cognito-idp:CreateUserImportJob
|
|
3807
3818
|
cognito-idp:CreateUserPool
|
|
3808
3819
|
cognito-idp:CreateUserPoolClient
|
|
@@ -3811,6 +3822,7 @@ cognito-idp:DeleteGroup
|
|
|
3811
3822
|
cognito-idp:DeleteIdentityProvider
|
|
3812
3823
|
cognito-idp:DeleteManagedLoginBranding
|
|
3813
3824
|
cognito-idp:DeleteResourceServer
|
|
3825
|
+
cognito-idp:DeleteTerms
|
|
3814
3826
|
cognito-idp:DeleteUser
|
|
3815
3827
|
cognito-idp:DeleteUserAttributes
|
|
3816
3828
|
cognito-idp:DeleteUserPool
|
|
@@ -3821,6 +3833,7 @@ cognito-idp:DescribeManagedLoginBranding
|
|
|
3821
3833
|
cognito-idp:DescribeManagedLoginBrandingByClient
|
|
3822
3834
|
cognito-idp:DescribeResourceServer
|
|
3823
3835
|
cognito-idp:DescribeRiskConfiguration
|
|
3836
|
+
cognito-idp:DescribeTerms
|
|
3824
3837
|
cognito-idp:DescribeUserImportJob
|
|
3825
3838
|
cognito-idp:DescribeUserPool
|
|
3826
3839
|
cognito-idp:DescribeUserPoolClient
|
|
@@ -3848,6 +3861,7 @@ cognito-idp:ListIdentityProviders
|
|
|
3848
3861
|
cognito-idp:ListResourceServers
|
|
3849
3862
|
cognito-idp:ListResourcesForWebACL
|
|
3850
3863
|
cognito-idp:ListTagsForResource
|
|
3864
|
+
cognito-idp:ListTerms
|
|
3851
3865
|
cognito-idp:ListUserImportJobs
|
|
3852
3866
|
cognito-idp:ListUserPoolClients
|
|
3853
3867
|
cognito-idp:ListUserPools
|
|
@@ -3873,6 +3887,7 @@ cognito-idp:UpdateGroup
|
|
|
3873
3887
|
cognito-idp:UpdateIdentityProvider
|
|
3874
3888
|
cognito-idp:UpdateManagedLoginBranding
|
|
3875
3889
|
cognito-idp:UpdateResourceServer
|
|
3890
|
+
cognito-idp:UpdateTerms
|
|
3876
3891
|
cognito-idp:UpdateUserAttributes
|
|
3877
3892
|
cognito-idp:UpdateUserPool
|
|
3878
3893
|
cognito-idp:UpdateUserPoolClient
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.922.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iam",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.922.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.922.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.922.0",
|
|
30
|
+
"@aws-sdk/types": "3.922.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.922.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.1",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.922.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.922.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.922.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.922.0",
|
|
29
|
+
"@aws-sdk/types": "3.922.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.922.0",
|
|
33
33
|
"@smithy/config-resolver": "^4.4.1",
|
|
34
34
|
"@smithy/core": "^3.17.2",
|
|
35
35
|
"@smithy/fetch-http-handler": "^5.3.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/types": "3.
|
|
84
|
+
"@aws-sdk/types": "3.922.0",
|
|
85
85
|
"@aws-sdk/xml-builder": "3.921.0",
|
|
86
86
|
"@smithy/core": "^3.17.2",
|
|
87
87
|
"@smithy/node-config-provider": "^4.3.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/core": "3.922.0",
|
|
30
|
+
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@smithy/property-provider": "^4.2.4",
|
|
32
32
|
"@smithy/types": "^4.8.1",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
31
|
+
"@aws-sdk/core": "3.922.0",
|
|
32
|
+
"@aws-sdk/types": "3.922.0",
|
|
33
33
|
"@smithy/fetch-http-handler": "^5.3.5",
|
|
34
34
|
"@smithy/node-http-handler": "^4.4.4",
|
|
35
35
|
"@smithy/property-provider": "^4.2.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
31
|
+
"@aws-sdk/core": "3.922.0",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.922.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.922.0",
|
|
34
|
+
"@aws-sdk/credential-provider-process": "3.922.0",
|
|
35
|
+
"@aws-sdk/credential-provider-sso": "3.922.0",
|
|
36
|
+
"@aws-sdk/credential-provider-web-identity": "3.922.0",
|
|
37
|
+
"@aws-sdk/nested-clients": "3.922.0",
|
|
38
|
+
"@aws-sdk/types": "3.922.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^4.2.4",
|
|
40
40
|
"@smithy/property-provider": "^4.2.4",
|
|
41
41
|
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "3.922.0",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "3.922.0",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.922.0",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "3.922.0",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.922.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.922.0",
|
|
40
|
+
"@aws-sdk/types": "3.922.0",
|
|
41
41
|
"@smithy/credential-provider-imds": "^4.2.4",
|
|
42
42
|
"@smithy/property-provider": "^4.2.4",
|
|
43
43
|
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/core": "3.922.0",
|
|
30
|
+
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@smithy/property-provider": "^4.2.4",
|
|
32
32
|
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
33
33
|
"@smithy/types": "^4.8.1",
|
|
@@ -59,6 +59,7 @@ const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ss
|
|
|
59
59
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
60
60
|
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
61
61
|
region: clientConfig?.region ?? ssoRegion,
|
|
62
|
+
userAgentAppId: clientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId,
|
|
62
63
|
}));
|
|
63
64
|
let ssoResp;
|
|
64
65
|
try {
|
|
@@ -49,6 +49,7 @@ export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccoun
|
|
|
49
49
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
50
50
|
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
51
51
|
region: clientConfig?.region ?? ssoRegion,
|
|
52
|
+
userAgentAppId: clientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId,
|
|
52
53
|
}));
|
|
53
54
|
let ssoResp;
|
|
54
55
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-sso": "3.
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/client-sso": "3.922.0",
|
|
30
|
+
"@aws-sdk/core": "3.922.0",
|
|
31
|
+
"@aws-sdk/token-providers": "3.922.0",
|
|
32
|
+
"@aws-sdk/types": "3.922.0",
|
|
33
33
|
"@smithy/property-provider": "^4.2.4",
|
|
34
34
|
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
35
35
|
"@smithy/types": "^4.8.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aws-sdk/core": "3.
|
|
38
|
-
"@aws-sdk/nested-clients": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
37
|
+
"@aws-sdk/core": "3.922.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.922.0",
|
|
39
|
+
"@aws-sdk/types": "3.922.0",
|
|
40
40
|
"@smithy/property-provider": "^4.2.4",
|
|
41
41
|
"@smithy/shared-ini-file-loader": "^4.3.4",
|
|
42
42
|
"@smithy/types": "^4.8.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
29
|
"@smithy/protocol-http": "^5.3.4",
|
|
30
30
|
"@smithy/types": "^4.8.1",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/types": "3.922.0",
|
|
29
29
|
"@smithy/types": "^4.8.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.922.0",
|
|
28
28
|
"@aws/lambda-invoke-store": "^0.1.1",
|
|
29
29
|
"@smithy/protocol-http": "^5.3.4",
|
|
30
30
|
"@smithy/types": "^4.8.1",
|
|
@@ -86,8 +86,8 @@ const USER_AGENT = "user-agent";
|
|
|
86
86
|
const X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
87
87
|
const SPACE = " ";
|
|
88
88
|
const UA_NAME_SEPARATOR = "/";
|
|
89
|
-
const UA_NAME_ESCAPE_REGEX = /[
|
|
90
|
-
const UA_VALUE_ESCAPE_REGEX = /[
|
|
89
|
+
const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
|
|
90
|
+
const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
|
|
91
91
|
const UA_ESCAPE_CHAR = "-";
|
|
92
92
|
|
|
93
93
|
const BYTE_LIMIT = 1024;
|
|
@@ -123,7 +123,7 @@ const userAgentMiddleware = (options) => (next, context) => async (args) => {
|
|
|
123
123
|
const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
|
|
124
124
|
const appId = await options.userAgentAppId();
|
|
125
125
|
if (appId) {
|
|
126
|
-
defaultUserAgent.push(escapeUserAgent([`app
|
|
126
|
+
defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
|
|
127
127
|
}
|
|
128
128
|
const prefix = utilEndpoints.getUserAgentPrefix();
|
|
129
129
|
const sdkUserAgentValue = (prefix ? [prefix] : [])
|
|
@@ -2,6 +2,6 @@ export const USER_AGENT = "user-agent";
|
|
|
2
2
|
export const X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
3
3
|
export const SPACE = " ";
|
|
4
4
|
export const UA_NAME_SEPARATOR = "/";
|
|
5
|
-
export const UA_NAME_ESCAPE_REGEX = /[
|
|
6
|
-
export const UA_VALUE_ESCAPE_REGEX = /[
|
|
5
|
+
export const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g;
|
|
6
|
+
export const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g;
|
|
7
7
|
export const UA_ESCAPE_CHAR = "-";
|
|
@@ -17,7 +17,7 @@ export const userAgentMiddleware = (options) => (next, context) => async (args)
|
|
|
17
17
|
const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
|
|
18
18
|
const appId = await options.userAgentAppId();
|
|
19
19
|
if (appId) {
|
|
20
|
-
defaultUserAgent.push(escapeUserAgent([`app
|
|
20
|
+
defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));
|
|
21
21
|
}
|
|
22
22
|
const prefix = getUserAgentPrefix();
|
|
23
23
|
const sdkUserAgentValue = (prefix ? [prefix] : [])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.922.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
28
|
+
"@aws-sdk/core": "3.922.0",
|
|
29
|
+
"@aws-sdk/types": "3.922.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
31
31
|
"@smithy/core": "^3.17.2",
|
|
32
32
|
"@smithy/protocol-http": "^5.3.4",
|
|
33
33
|
"@smithy/types": "^4.8.1",
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
5
|
-
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "
|
|
5
|
+
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, "default": false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -702,7 +702,7 @@ const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
|
|
|
702
702
|
return async (sourceCreds, params) => {
|
|
703
703
|
closureSourceCreds = sourceCreds;
|
|
704
704
|
if (!stsClient) {
|
|
705
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
705
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
706
706
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
707
707
|
logger,
|
|
708
708
|
profile,
|
|
@@ -710,6 +710,7 @@ const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
|
|
|
710
710
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
711
711
|
stsClient = new STSClient({
|
|
712
712
|
...stsOptions,
|
|
713
|
+
userAgentAppId,
|
|
713
714
|
profile,
|
|
714
715
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
715
716
|
region: resolvedRegion,
|
|
@@ -738,7 +739,7 @@ const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => {
|
|
|
738
739
|
let stsClient;
|
|
739
740
|
return async (params) => {
|
|
740
741
|
if (!stsClient) {
|
|
741
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
742
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
742
743
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
743
744
|
logger,
|
|
744
745
|
profile,
|
|
@@ -746,6 +747,7 @@ const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => {
|
|
|
746
747
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
747
748
|
stsClient = new STSClient({
|
|
748
749
|
...stsOptions,
|
|
750
|
+
userAgentAppId,
|
|
749
751
|
profile,
|
|
750
752
|
region: resolvedRegion,
|
|
751
753
|
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
CHANGED
|
@@ -24,7 +24,7 @@ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
|
|
|
24
24
|
return async (sourceCreds, params) => {
|
|
25
25
|
closureSourceCreds = sourceCreds;
|
|
26
26
|
if (!stsClient) {
|
|
27
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
27
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
28
28
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
29
29
|
logger,
|
|
30
30
|
profile,
|
|
@@ -32,6 +32,7 @@ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
|
|
|
32
32
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
33
33
|
stsClient = new STSClient({
|
|
34
34
|
...stsOptions,
|
|
35
|
+
userAgentAppId,
|
|
35
36
|
profile,
|
|
36
37
|
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
37
38
|
region: resolvedRegion,
|
|
@@ -60,7 +61,7 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
|
|
|
60
61
|
let stsClient;
|
|
61
62
|
return async (params) => {
|
|
62
63
|
if (!stsClient) {
|
|
63
|
-
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
|
|
64
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions;
|
|
64
65
|
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
65
66
|
logger,
|
|
66
67
|
profile,
|
|
@@ -68,6 +69,7 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
|
|
|
68
69
|
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
69
70
|
stsClient = new STSClient({
|
|
70
71
|
...stsOptions,
|
|
72
|
+
userAgentAppId,
|
|
71
73
|
profile,
|
|
72
74
|
region: resolvedRegion,
|
|
73
75
|
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
2
|
-
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "
|
|
2
|
+
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, "default": false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { STSClient, STSClientConfig } from "./STSClient";
|
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
export type STSRoleAssumerOptions = Pick<STSClientConfig, "logger" | "region" | "requestHandler" | "profile"> & {
|
|
9
|
+
export type STSRoleAssumerOptions = Pick<STSClientConfig, "logger" | "region" | "requestHandler" | "profile" | "userAgentAppId"> & {
|
|
10
10
|
credentialProviderLogger?: Logger;
|
|
11
11
|
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|
|
12
12
|
};
|
|
@@ -5,7 +5,7 @@ import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWith
|
|
|
5
5
|
import { STSClient, STSClientConfig } from "./STSClient";
|
|
6
6
|
export type STSRoleAssumerOptions = Pick<
|
|
7
7
|
STSClientConfig,
|
|
8
|
-
"logger" | "region" | "requestHandler" | "profile"
|
|
8
|
+
"logger" | "region" | "requestHandler" | "profile" | "userAgentAppId"
|
|
9
9
|
> & {
|
|
10
10
|
credentialProviderLogger?: Logger;
|
|
11
11
|
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|