@aws-sdk/client-signin 3.1076.0 → 3.1078.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/dist-cjs/index.js +23 -108
- package/dist-es/commandBuilder.js +11 -0
- package/dist-es/commands/CreateOAuth2TokenCommand.js +2 -17
- package/dist-es/commands/DeleteConsoleAuthorizationConfigurationCommand.js +2 -17
- package/dist-es/commands/DeleteResourcePermissionStatementCommand.js +2 -17
- package/dist-es/commands/GetConsoleAuthorizationConfigurationCommand.js +2 -17
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -17
- package/dist-es/commands/ListResourcePermissionStatementsCommand.js +2 -17
- package/dist-es/commands/PutConsoleAuthorizationConfigurationCommand.js +2 -17
- package/dist-es/commands/PutResourcePermissionStatementCommand.js +2 -17
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/CreateOAuth2TokenCommand.d.ts +3 -8
- package/dist-types/commands/DeleteConsoleAuthorizationConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteResourcePermissionStatementCommand.d.ts +3 -8
- package/dist-types/commands/GetConsoleAuthorizationConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/ListResourcePermissionStatementsCommand.d.ts +3 -8
- package/dist-types/commands/PutConsoleAuthorizationConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/PutResourcePermissionStatementCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateOAuth2TokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteConsoleAuthorizationConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteResourcePermissionStatementCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetConsoleAuthorizationConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListResourcePermissionStatementsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutConsoleAuthorizationConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutResourcePermissionStatementCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +9 -11
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -77,7 +79,7 @@ const commonParams = {
|
|
|
77
79
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
78
80
|
};
|
|
79
81
|
|
|
80
|
-
var version = "3.
|
|
82
|
+
var version = "3.1077.0";
|
|
81
83
|
var packageInfo = {
|
|
82
84
|
version: version};
|
|
83
85
|
|
|
@@ -608,6 +610,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
608
610
|
serviceTarget: "Signin",
|
|
609
611
|
},
|
|
610
612
|
serviceId: config?.serviceId ?? "Signin",
|
|
613
|
+
sha256: config?.sha256 ?? Sha256,
|
|
611
614
|
urlParser: config?.urlParser ?? parseUrl,
|
|
612
615
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
613
616
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -641,7 +644,6 @@ const getRuntimeConfig = (config) => {
|
|
|
641
644
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
642
645
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
643
646
|
}, config),
|
|
644
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
645
647
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
646
648
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
647
649
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -729,124 +731,37 @@ class SigninClient extends Client {
|
|
|
729
731
|
}
|
|
730
732
|
}
|
|
731
733
|
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
.ep({
|
|
735
|
-
...commonParams,
|
|
734
|
+
const command = makeBuilder(commonParams, "Signin", "SigninClient", getEndpointPlugin);
|
|
735
|
+
const _ep0 = {
|
|
736
736
|
IsControlPlane: { type: "staticContextParams", value: false },
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
.build() {
|
|
737
|
+
};
|
|
738
|
+
const _ep1 = {
|
|
739
|
+
IsControlPlane: { type: "staticContextParams", value: true },
|
|
740
|
+
};
|
|
741
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
742
|
+
|
|
743
|
+
class CreateOAuth2TokenCommand extends command(_ep0, _mw0, "CreateOAuth2Token", CreateOAuth2Token$) {
|
|
745
744
|
}
|
|
746
745
|
|
|
747
|
-
class DeleteConsoleAuthorizationConfigurationCommand extends
|
|
748
|
-
.classBuilder()
|
|
749
|
-
.ep({
|
|
750
|
-
...commonParams,
|
|
751
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
752
|
-
})
|
|
753
|
-
.m(function (Command, cs, config, o) {
|
|
754
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
755
|
-
})
|
|
756
|
-
.s("Signin", "DeleteConsoleAuthorizationConfiguration", {})
|
|
757
|
-
.n("SigninClient", "DeleteConsoleAuthorizationConfigurationCommand")
|
|
758
|
-
.sc(DeleteConsoleAuthorizationConfiguration$)
|
|
759
|
-
.build() {
|
|
746
|
+
class DeleteConsoleAuthorizationConfigurationCommand extends command(_ep1, _mw0, "DeleteConsoleAuthorizationConfiguration", DeleteConsoleAuthorizationConfiguration$) {
|
|
760
747
|
}
|
|
761
748
|
|
|
762
|
-
class DeleteResourcePermissionStatementCommand extends
|
|
763
|
-
.classBuilder()
|
|
764
|
-
.ep({
|
|
765
|
-
...commonParams,
|
|
766
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
767
|
-
})
|
|
768
|
-
.m(function (Command, cs, config, o) {
|
|
769
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
770
|
-
})
|
|
771
|
-
.s("Signin", "DeleteResourcePermissionStatement", {})
|
|
772
|
-
.n("SigninClient", "DeleteResourcePermissionStatementCommand")
|
|
773
|
-
.sc(DeleteResourcePermissionStatement$)
|
|
774
|
-
.build() {
|
|
749
|
+
class DeleteResourcePermissionStatementCommand extends command(_ep1, _mw0, "DeleteResourcePermissionStatement", DeleteResourcePermissionStatement$) {
|
|
775
750
|
}
|
|
776
751
|
|
|
777
|
-
class GetConsoleAuthorizationConfigurationCommand extends
|
|
778
|
-
.classBuilder()
|
|
779
|
-
.ep({
|
|
780
|
-
...commonParams,
|
|
781
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
782
|
-
})
|
|
783
|
-
.m(function (Command, cs, config, o) {
|
|
784
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
785
|
-
})
|
|
786
|
-
.s("Signin", "GetConsoleAuthorizationConfiguration", {})
|
|
787
|
-
.n("SigninClient", "GetConsoleAuthorizationConfigurationCommand")
|
|
788
|
-
.sc(GetConsoleAuthorizationConfiguration$)
|
|
789
|
-
.build() {
|
|
752
|
+
class GetConsoleAuthorizationConfigurationCommand extends command(_ep1, _mw0, "GetConsoleAuthorizationConfiguration", GetConsoleAuthorizationConfiguration$) {
|
|
790
753
|
}
|
|
791
754
|
|
|
792
|
-
class GetResourcePolicyCommand extends
|
|
793
|
-
.classBuilder()
|
|
794
|
-
.ep({
|
|
795
|
-
...commonParams,
|
|
796
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
797
|
-
})
|
|
798
|
-
.m(function (Command, cs, config, o) {
|
|
799
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
800
|
-
})
|
|
801
|
-
.s("Signin", "GetResourcePolicy", {})
|
|
802
|
-
.n("SigninClient", "GetResourcePolicyCommand")
|
|
803
|
-
.sc(GetResourcePolicy$)
|
|
804
|
-
.build() {
|
|
755
|
+
class GetResourcePolicyCommand extends command(_ep1, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
|
|
805
756
|
}
|
|
806
757
|
|
|
807
|
-
class ListResourcePermissionStatementsCommand extends
|
|
808
|
-
.classBuilder()
|
|
809
|
-
.ep({
|
|
810
|
-
...commonParams,
|
|
811
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
812
|
-
})
|
|
813
|
-
.m(function (Command, cs, config, o) {
|
|
814
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
815
|
-
})
|
|
816
|
-
.s("Signin", "ListResourcePermissionStatements", {})
|
|
817
|
-
.n("SigninClient", "ListResourcePermissionStatementsCommand")
|
|
818
|
-
.sc(ListResourcePermissionStatements$)
|
|
819
|
-
.build() {
|
|
758
|
+
class ListResourcePermissionStatementsCommand extends command(_ep1, _mw0, "ListResourcePermissionStatements", ListResourcePermissionStatements$) {
|
|
820
759
|
}
|
|
821
760
|
|
|
822
|
-
class PutConsoleAuthorizationConfigurationCommand extends
|
|
823
|
-
.classBuilder()
|
|
824
|
-
.ep({
|
|
825
|
-
...commonParams,
|
|
826
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
827
|
-
})
|
|
828
|
-
.m(function (Command, cs, config, o) {
|
|
829
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
830
|
-
})
|
|
831
|
-
.s("Signin", "PutConsoleAuthorizationConfiguration", {})
|
|
832
|
-
.n("SigninClient", "PutConsoleAuthorizationConfigurationCommand")
|
|
833
|
-
.sc(PutConsoleAuthorizationConfiguration$)
|
|
834
|
-
.build() {
|
|
761
|
+
class PutConsoleAuthorizationConfigurationCommand extends command(_ep1, _mw0, "PutConsoleAuthorizationConfiguration", PutConsoleAuthorizationConfiguration$) {
|
|
835
762
|
}
|
|
836
763
|
|
|
837
|
-
class PutResourcePermissionStatementCommand extends
|
|
838
|
-
.classBuilder()
|
|
839
|
-
.ep({
|
|
840
|
-
...commonParams,
|
|
841
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
842
|
-
})
|
|
843
|
-
.m(function (Command, cs, config, o) {
|
|
844
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
845
|
-
})
|
|
846
|
-
.s("Signin", "PutResourcePermissionStatement", {})
|
|
847
|
-
.n("SigninClient", "PutResourcePermissionStatementCommand")
|
|
848
|
-
.sc(PutResourcePermissionStatement$)
|
|
849
|
-
.build() {
|
|
764
|
+
class PutResourcePermissionStatementCommand extends command(_ep1, _mw0, "PutResourcePermissionStatement", PutResourcePermissionStatement$) {
|
|
850
765
|
}
|
|
851
766
|
|
|
852
767
|
const paginateListResourcePermissionStatements = createPaginator(SigninClient, ListResourcePermissionStatementsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "Signin", "SigninClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {
|
|
6
|
+
IsControlPlane: { type: "staticContextParams", value: false },
|
|
7
|
+
};
|
|
8
|
+
export const _ep1 = {
|
|
9
|
+
IsControlPlane: { type: "staticContextParams", value: true },
|
|
10
|
+
};
|
|
11
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateOAuth2Token$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateOAuth2TokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: false },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "CreateOAuth2Token", {})
|
|
16
|
-
.n("SigninClient", "CreateOAuth2TokenCommand")
|
|
17
|
-
.sc(CreateOAuth2Token$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class CreateOAuth2TokenCommand extends command(_ep0, _mw0, "CreateOAuth2Token", CreateOAuth2Token$) {
|
|
19
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteConsoleAuthorizationConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteConsoleAuthorizationConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "DeleteConsoleAuthorizationConfiguration", {})
|
|
16
|
-
.n("SigninClient", "DeleteConsoleAuthorizationConfigurationCommand")
|
|
17
|
-
.sc(DeleteConsoleAuthorizationConfiguration$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class DeleteConsoleAuthorizationConfigurationCommand extends command(_ep1, _mw0, "DeleteConsoleAuthorizationConfiguration", DeleteConsoleAuthorizationConfiguration$) {
|
|
19
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteResourcePermissionStatement$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteResourcePermissionStatementCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "DeleteResourcePermissionStatement", {})
|
|
16
|
-
.n("SigninClient", "DeleteResourcePermissionStatementCommand")
|
|
17
|
-
.sc(DeleteResourcePermissionStatement$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class DeleteResourcePermissionStatementCommand extends command(_ep1, _mw0, "DeleteResourcePermissionStatement", DeleteResourcePermissionStatement$) {
|
|
19
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetConsoleAuthorizationConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetConsoleAuthorizationConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "GetConsoleAuthorizationConfiguration", {})
|
|
16
|
-
.n("SigninClient", "GetConsoleAuthorizationConfigurationCommand")
|
|
17
|
-
.sc(GetConsoleAuthorizationConfiguration$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class GetConsoleAuthorizationConfigurationCommand extends command(_ep1, _mw0, "GetConsoleAuthorizationConfiguration", GetConsoleAuthorizationConfiguration$) {
|
|
19
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetResourcePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "GetResourcePolicy", {})
|
|
16
|
-
.n("SigninClient", "GetResourcePolicyCommand")
|
|
17
|
-
.sc(GetResourcePolicy$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class GetResourcePolicyCommand extends command(_ep1, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
|
|
19
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListResourcePermissionStatements$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListResourcePermissionStatementsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "ListResourcePermissionStatements", {})
|
|
16
|
-
.n("SigninClient", "ListResourcePermissionStatementsCommand")
|
|
17
|
-
.sc(ListResourcePermissionStatements$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class ListResourcePermissionStatementsCommand extends command(_ep1, _mw0, "ListResourcePermissionStatements", ListResourcePermissionStatements$) {
|
|
19
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutConsoleAuthorizationConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutConsoleAuthorizationConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "PutConsoleAuthorizationConfiguration", {})
|
|
16
|
-
.n("SigninClient", "PutConsoleAuthorizationConfigurationCommand")
|
|
17
|
-
.sc(PutConsoleAuthorizationConfiguration$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class PutConsoleAuthorizationConfigurationCommand extends command(_ep1, _mw0, "PutConsoleAuthorizationConfiguration", PutConsoleAuthorizationConfiguration$) {
|
|
19
4
|
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutResourcePermissionStatement$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutResourcePermissionStatementCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
IsControlPlane: { type: "staticContextParams", value: true },
|
|
11
|
-
})
|
|
12
|
-
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
14
|
-
})
|
|
15
|
-
.s("Signin", "PutResourcePermissionStatement", {})
|
|
16
|
-
.n("SigninClient", "PutResourcePermissionStatementCommand")
|
|
17
|
-
.sc(PutResourcePermissionStatement$)
|
|
18
|
-
.build() {
|
|
3
|
+
export class PutResourcePermissionStatementCommand extends command(_ep1, _mw0, "PutResourcePermissionStatement", PutResourcePermissionStatement$) {
|
|
19
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
4
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
4
5
|
import { NoOpLogger } from "@smithy/core/client";
|
|
5
6
|
import { parseUrl } from "@smithy/core/protocols";
|
|
6
7
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -37,6 +38,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
37
38
|
serviceTarget: "Signin",
|
|
38
39
|
},
|
|
39
40
|
serviceId: config?.serviceId ?? "Signin",
|
|
41
|
+
sha256: config?.sha256 ?? Sha256,
|
|
40
42
|
urlParser: config?.urlParser ?? parseUrl,
|
|
41
43
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
42
44
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "./SigninClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _ep1: EndpointParameterInstructions;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateOAuth2TokenRequest, CreateOAuth2TokenResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "../SigninClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateOAuth2TokenCommandInput extends CreateOAuth2TokenRequest
|
|
|
22
19
|
export interface CreateOAuth2TokenCommandOutput extends CreateOAuth2TokenResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateOAuth2TokenCommand_base: {
|
|
25
|
-
new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* CreateOAuth2Token API
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteConsoleAuthorizationConfigurationInput, DeleteConsoleAuthorizationConfigurationOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "../SigninClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteConsoleAuthorizationConfigurationCommandInput extends Del
|
|
|
22
19
|
export interface DeleteConsoleAuthorizationConfigurationCommandOutput extends DeleteConsoleAuthorizationConfigurationOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteConsoleAuthorizationConfigurationCommand_base: {
|
|
25
|
-
new (input: DeleteConsoleAuthorizationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteConsoleAuthorizationConfigurationCommandInput, DeleteConsoleAuthorizationConfigurationCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [DeleteConsoleAuthorizationConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<DeleteConsoleAuthorizationConfigurationCommandInput, DeleteConsoleAuthorizationConfigurationCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteConsoleAuthorizationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteConsoleAuthorizationConfigurationCommandInput, DeleteConsoleAuthorizationConfigurationCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DeleteConsoleAuthorizationConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<DeleteConsoleAuthorizationConfigurationCommandInput, DeleteConsoleAuthorizationConfigurationCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Delete console authorization configuration with automatic scope detection
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteResourcePermissionStatementInput, DeleteResourcePermissionStatementOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "../SigninClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteResourcePermissionStatementCommandInput extends DeleteRes
|
|
|
22
19
|
export interface DeleteResourcePermissionStatementCommandOutput extends DeleteResourcePermissionStatementOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteResourcePermissionStatementCommand_base: {
|
|
25
|
-
new (input: DeleteResourcePermissionStatementCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePermissionStatementCommandInput, DeleteResourcePermissionStatementCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteResourcePermissionStatementCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePermissionStatementCommandInput, DeleteResourcePermissionStatementCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteResourcePermissionStatementCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePermissionStatementCommandInput, DeleteResourcePermissionStatementCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteResourcePermissionStatementCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePermissionStatementCommandInput, DeleteResourcePermissionStatementCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Remove a permission statement from the account's SignIn resource-based policy
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetConsoleAuthorizationConfigurationInput, GetConsoleAuthorizationConfigurationOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "../SigninClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetConsoleAuthorizationConfigurationCommandInput extends GetCon
|
|
|
22
19
|
export interface GetConsoleAuthorizationConfigurationCommandOutput extends GetConsoleAuthorizationConfigurationOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetConsoleAuthorizationConfigurationCommand_base: {
|
|
25
|
-
new (input: GetConsoleAuthorizationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetConsoleAuthorizationConfigurationCommandInput, GetConsoleAuthorizationConfigurationCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [GetConsoleAuthorizationConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<GetConsoleAuthorizationConfigurationCommandInput, GetConsoleAuthorizationConfigurationCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetConsoleAuthorizationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetConsoleAuthorizationConfigurationCommandInput, GetConsoleAuthorizationConfigurationCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetConsoleAuthorizationConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<GetConsoleAuthorizationConfigurationCommandInput, GetConsoleAuthorizationConfigurationCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Get console authorization configuration with automatic scope detection
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetResourcePolicyInput, GetResourcePolicyOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "../SigninClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput {
|
|
|
22
19
|
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetResourcePolicyCommand_base: {
|
|
25
|
-
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [GetResourcePolicyCommandInput]): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, SigninClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetResourcePolicyCommandInput]): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").SigninClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Retrieve the account's consolidated SignIn resource-based policy
|