@cdklabs/cdk-ecs-codedeploy 0.0.45 → 0.0.46
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/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +4 -5
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/package.json +2 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +2 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +0 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -12
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +2 -22
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/package.json +3 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/package.json +6 -6
- package/node_modules/@aws-sdk/util-utf8-node/LICENSE +0 -201
- package/node_modules/@aws-sdk/util-utf8-node/README.md +0 -4
- package/node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js +0 -11
- package/node_modules/@aws-sdk/util-utf8-node/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/util-utf8-node/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-node/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-node/package.json +0 -55
|
@@ -76,7 +76,6 @@ export interface AssumeRoleRequest {
|
|
|
76
76
|
* plaintext that you use for both inline and managed session policies can't exceed 2,048
|
|
77
77
|
* characters. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services
|
|
78
78
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
79
|
-
*
|
|
80
79
|
* <note>
|
|
81
80
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
82
81
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -84,7 +83,6 @@ export interface AssumeRoleRequest {
|
|
|
84
83
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
85
84
|
* policies and tags for your request are to the upper size limit.</p>
|
|
86
85
|
* </note>
|
|
87
|
-
*
|
|
88
86
|
* <p>Passing policies to this operation returns new
|
|
89
87
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
90
88
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
@@ -110,7 +108,6 @@ export interface AssumeRoleRequest {
|
|
|
110
108
|
* character to the end of the valid character list (\u0020 through \u00FF). It can also
|
|
111
109
|
* include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
|
|
112
110
|
* characters.</p>
|
|
113
|
-
*
|
|
114
111
|
* <note>
|
|
115
112
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
116
113
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -156,7 +153,6 @@ export interface AssumeRoleRequest {
|
|
|
156
153
|
* tag keys can’t exceed 128 characters, and the values can’t exceed 256 characters. For these
|
|
157
154
|
* and additional limits, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
158
155
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
159
|
-
*
|
|
160
156
|
* <note>
|
|
161
157
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
162
158
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -164,7 +160,6 @@ export interface AssumeRoleRequest {
|
|
|
164
160
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
165
161
|
* policies and tags for your request are to the upper size limit.</p>
|
|
166
162
|
* </note>
|
|
167
|
-
*
|
|
168
163
|
* <p>You can pass a session tag with the same key as a tag that is already attached to the
|
|
169
164
|
* role. When you do, session tags override a role tag with the same key. </p>
|
|
170
165
|
* <p>Tag key–value pairs are not case sensitive, but case is preserved. This means that you
|
|
@@ -276,7 +271,6 @@ export interface AssumeRoleResponse {
|
|
|
276
271
|
/**
|
|
277
272
|
* <p>The temporary security credentials, which include an access key ID, a secret access key,
|
|
278
273
|
* and a security (or session) token.</p>
|
|
279
|
-
*
|
|
280
274
|
* <note>
|
|
281
275
|
* <p>The size of the security token that STS API operations return is not fixed. We
|
|
282
276
|
* strongly recommend that you make no assumptions about the maximum size.</p>
|
|
@@ -345,7 +339,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
345
339
|
* separate limit. The error message indicates by percentage how close the policies and
|
|
346
340
|
* tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
|
347
341
|
* the <i>IAM User Guide</i>.</p>
|
|
348
|
-
*
|
|
342
|
+
* <p>You could receive this error even though you meet other defined session policy and
|
|
349
343
|
* session tag limits. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity
|
|
350
344
|
* Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
351
345
|
*/
|
|
@@ -395,7 +389,6 @@ export interface AssumeRoleWithSAMLRequest {
|
|
|
395
389
|
* plaintext that you use for both inline and managed session policies can't exceed 2,048
|
|
396
390
|
* characters. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services
|
|
397
391
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
398
|
-
*
|
|
399
392
|
* <note>
|
|
400
393
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
401
394
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -403,7 +396,6 @@ export interface AssumeRoleWithSAMLRequest {
|
|
|
403
396
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
404
397
|
* policies and tags for your request are to the upper size limit.</p>
|
|
405
398
|
* </note>
|
|
406
|
-
*
|
|
407
399
|
* <p>Passing policies to this operation returns new
|
|
408
400
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
409
401
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
@@ -429,7 +421,6 @@ export interface AssumeRoleWithSAMLRequest {
|
|
|
429
421
|
* character to the end of the valid character list (\u0020 through \u00FF). It can also
|
|
430
422
|
* include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
|
|
431
423
|
* characters.</p>
|
|
432
|
-
*
|
|
433
424
|
* <note>
|
|
434
425
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
435
426
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -472,7 +463,6 @@ export interface AssumeRoleWithSAMLResponse {
|
|
|
472
463
|
/**
|
|
473
464
|
* <p>The temporary security credentials, which include an access key ID, a secret access key,
|
|
474
465
|
* and a security (or session) token.</p>
|
|
475
|
-
*
|
|
476
466
|
* <note>
|
|
477
467
|
* <p>The size of the security token that STS API operations return is not fixed. We
|
|
478
468
|
* strongly recommend that you make no assumptions about the maximum size.</p>
|
|
@@ -558,7 +548,7 @@ export interface AssumeRoleWithSAMLResponse {
|
|
|
558
548
|
/**
|
|
559
549
|
* <p>The identity provider (IdP) reported that authentication failed. This might be because
|
|
560
550
|
* the claim is invalid.</p>
|
|
561
|
-
*
|
|
551
|
+
* <p>If this error is returned for the <code>AssumeRoleWithWebIdentity</code> operation, it
|
|
562
552
|
* can also mean that the claim has expired or has been explicitly revoked. </p>
|
|
563
553
|
*/
|
|
564
554
|
export declare class IDPRejectedClaimException extends __BaseException {
|
|
@@ -620,7 +610,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
620
610
|
* plaintext that you use for both inline and managed session policies can't exceed 2,048
|
|
621
611
|
* characters. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services
|
|
622
612
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
623
|
-
*
|
|
624
613
|
* <note>
|
|
625
614
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
626
615
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -628,7 +617,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
628
617
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
629
618
|
* policies and tags for your request are to the upper size limit.</p>
|
|
630
619
|
* </note>
|
|
631
|
-
*
|
|
632
620
|
* <p>Passing policies to this operation returns new
|
|
633
621
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
634
622
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
@@ -654,7 +642,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
654
642
|
* character to the end of the valid character list (\u0020 through \u00FF). It can also
|
|
655
643
|
* include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
|
|
656
644
|
* characters.</p>
|
|
657
|
-
*
|
|
658
645
|
* <note>
|
|
659
646
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
660
647
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -694,7 +681,6 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
694
681
|
/**
|
|
695
682
|
* <p>The temporary security credentials, which include an access key ID, a secret access key,
|
|
696
683
|
* and a security token.</p>
|
|
697
|
-
*
|
|
698
684
|
* <note>
|
|
699
685
|
* <p>The size of the security token that STS API operations return is not fixed. We
|
|
700
686
|
* strongly recommend that you make no assumptions about the maximum size.</p>
|
|
@@ -874,7 +860,6 @@ export interface GetFederationTokenRequest {
|
|
|
874
860
|
* character to the end of the valid character list (\u0020 through \u00FF). It can also
|
|
875
861
|
* include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
|
|
876
862
|
* characters.</p>
|
|
877
|
-
*
|
|
878
863
|
* <note>
|
|
879
864
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
880
865
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -908,7 +893,6 @@ export interface GetFederationTokenRequest {
|
|
|
908
893
|
* <code>Principal</code> element of the policy, the session has the permissions allowed by
|
|
909
894
|
* the policy. These permissions are granted in addition to the permissions that are granted
|
|
910
895
|
* by the session policies.</p>
|
|
911
|
-
*
|
|
912
896
|
* <note>
|
|
913
897
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
914
898
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -935,7 +919,6 @@ export interface GetFederationTokenRequest {
|
|
|
935
919
|
* tag keys can’t exceed 128 characters and the values can’t exceed 256 characters. For these
|
|
936
920
|
* and additional limits, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
937
921
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
938
|
-
*
|
|
939
922
|
* <note>
|
|
940
923
|
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
941
924
|
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
@@ -943,7 +926,6 @@ export interface GetFederationTokenRequest {
|
|
|
943
926
|
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
944
927
|
* policies and tags for your request are to the upper size limit.</p>
|
|
945
928
|
* </note>
|
|
946
|
-
*
|
|
947
929
|
* <p>You can pass a session tag with the same key as a tag that is already attached to the
|
|
948
930
|
* user you are federating. When you do, session tags override a user tag with the same key. </p>
|
|
949
931
|
* <p>Tag key–value pairs are not case sensitive, but case is preserved. This means that you
|
|
@@ -979,7 +961,6 @@ export interface GetFederationTokenResponse {
|
|
|
979
961
|
/**
|
|
980
962
|
* <p>The temporary security credentials, which include an access key ID, a secret access key,
|
|
981
963
|
* and a security (or session) token.</p>
|
|
982
|
-
*
|
|
983
964
|
* <note>
|
|
984
965
|
* <p>The size of the security token that STS API operations return is not fixed. We
|
|
985
966
|
* strongly recommend that you make no assumptions about the maximum size.</p>
|
|
@@ -1041,7 +1022,6 @@ export interface GetSessionTokenResponse {
|
|
|
1041
1022
|
/**
|
|
1042
1023
|
* <p>The temporary security credentials, which include an access key ID, a secret access key,
|
|
1043
1024
|
* and a security (or session) token.</p>
|
|
1044
|
-
*
|
|
1045
1025
|
* <note>
|
|
1046
1026
|
* <p>The size of the security token that STS API operations return is not fixed. We
|
|
1047
1027
|
* strongly recommend that you make no assumptions about the maximum size.</p>
|
|
@@ -17,12 +17,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
20
|
apiVersion: string;
|
|
23
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
22
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
23
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -17,12 +17,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
20
|
apiVersion: string;
|
|
23
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
22
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
23
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
|
@@ -27,12 +27,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
27
27
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
31
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
32
30
|
apiVersion: string;
|
|
33
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
32
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
33
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -25,12 +25,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
25
25
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
26
26
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
28
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
29
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
30
28
|
apiVersion: string;
|
|
31
29
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
30
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
33
31
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
32
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
34
|
disableHostPrefix: boolean;
|
|
35
35
|
logger: import("@aws-sdk/types").Logger;
|
|
36
36
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.258.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.257.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.258.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.257.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
@@ -53,8 +53,7 @@
|
|
|
53
53
|
"@aws-sdk/util-retry": "3.257.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
55
55
|
"@aws-sdk/util-user-agent-node": "3.257.0",
|
|
56
|
-
"@aws-sdk/util-utf8
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
|
+
"@aws-sdk/util-utf8": "3.254.0",
|
|
58
57
|
"fast-xml-parser": "4.0.11",
|
|
59
58
|
"tslib": "^2.3.1"
|
|
60
59
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.258.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",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@aws-sdk/credential-provider-env": "3.257.0",
|
|
28
28
|
"@aws-sdk/credential-provider-imds": "3.257.0",
|
|
29
29
|
"@aws-sdk/credential-provider-process": "3.257.0",
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.258.0",
|
|
31
31
|
"@aws-sdk/credential-provider-web-identity": "3.257.0",
|
|
32
32
|
"@aws-sdk/property-provider": "3.257.0",
|
|
33
33
|
"@aws-sdk/shared-ini-file-loader": "3.257.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.258.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.0.0"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-sdk/credential-provider-env": "3.257.0",
|
|
31
31
|
"@aws-sdk/credential-provider-imds": "3.257.0",
|
|
32
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-ini": "3.258.0",
|
|
33
33
|
"@aws-sdk/credential-provider-process": "3.257.0",
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.258.0",
|
|
35
35
|
"@aws-sdk/credential-provider-web-identity": "3.257.0",
|
|
36
36
|
"@aws-sdk/property-provider": "3.257.0",
|
|
37
37
|
"@aws-sdk/shared-ini-file-loader": "3.257.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.258.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",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.258.0",
|
|
28
28
|
"@aws-sdk/property-provider": "3.257.0",
|
|
29
29
|
"@aws-sdk/shared-ini-file-loader": "3.257.0",
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
30
|
+
"@aws-sdk/token-providers": "3.258.0",
|
|
31
31
|
"@aws-sdk/types": "3.257.0",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.258.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
28
|
+
"@aws-sdk/client-sso-oidc": "3.258.0",
|
|
29
29
|
"@aws-sdk/property-provider": "3.257.0",
|
|
30
30
|
"@aws-sdk/shared-ini-file-loader": "3.257.0",
|
|
31
31
|
"@aws-sdk/types": "3.257.0",
|
package/package.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@aws-cdk/aws-synthetics-alpha": "2.55.1-alpha.0",
|
|
65
|
-
"@aws-cdk/integ-tests-alpha": "^2.
|
|
65
|
+
"@aws-cdk/integ-tests-alpha": "^2.62.0-alpha.0",
|
|
66
66
|
"@types/aws-lambda": "^8.10.109",
|
|
67
67
|
"@types/jest": "^27",
|
|
68
68
|
"@types/lambda-tester": "^3.6.2",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"aws-cdk-lib": "2.55.1",
|
|
74
74
|
"aws-sdk-client-mock": "^2.0.1",
|
|
75
75
|
"aws-sdk-client-mock-jest": "^2.0.1",
|
|
76
|
-
"cdk-nag": "^2.21.
|
|
76
|
+
"cdk-nag": "^2.21.73",
|
|
77
77
|
"constructs": "10.0.5",
|
|
78
78
|
"esbuild": "^0.17.4",
|
|
79
79
|
"eslint": "^8",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"jest-junit": "^13",
|
|
85
85
|
"jsii": "^1.73.0",
|
|
86
86
|
"jsii-diff": "^1.73.0",
|
|
87
|
-
"jsii-docgen": "^7.0.
|
|
87
|
+
"jsii-docgen": "^7.0.214",
|
|
88
88
|
"jsii-pacmak": "^1.73.0",
|
|
89
89
|
"json-schema": "^0.4.0",
|
|
90
90
|
"lambda-tester": "^4.0.1",
|
|
91
91
|
"npm-check-updates": "^16",
|
|
92
|
-
"projen": "0.67.
|
|
92
|
+
"projen": "0.67.13",
|
|
93
93
|
"standard-version": "^9",
|
|
94
94
|
"ts-jest": "^27",
|
|
95
95
|
"ts-node": "^10.9.1",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"constructs": "^10.0.5"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
104
|
+
"@aws-sdk/client-codedeploy": "^3.258.0",
|
|
105
105
|
"jmespath": "^0.16.0"
|
|
106
106
|
},
|
|
107
107
|
"bundledDependencies": [
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"publishConfig": {
|
|
120
120
|
"access": "public"
|
|
121
121
|
},
|
|
122
|
-
"version": "0.0.
|
|
122
|
+
"version": "0.0.46",
|
|
123
123
|
"jest": {
|
|
124
124
|
"testMatch": [
|
|
125
125
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
# @aws-sdk/util-utf8-node
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@aws-sdk/util-utf8-node)
|
|
4
|
-
[](https://www.npmjs.com/package/@aws-sdk/util-utf8-node)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
4
|
-
const util_buffer_from_1 = require("@aws-sdk/util-buffer-from");
|
|
5
|
-
const fromUtf8 = (input) => {
|
|
6
|
-
const buf = (0, util_buffer_from_1.fromString)(input, "utf8");
|
|
7
|
-
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
8
|
-
};
|
|
9
|
-
exports.fromUtf8 = fromUtf8;
|
|
10
|
-
const toUtf8 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
11
|
-
exports.toUtf8 = toUtf8;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { fromArrayBuffer, fromString } from "@aws-sdk/util-buffer-from";
|
|
2
|
-
export const fromUtf8 = (input) => {
|
|
3
|
-
const buf = fromString(input, "utf8");
|
|
4
|
-
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
5
|
-
};
|
|
6
|
-
export const toUtf8 = (input) => fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|