@cdklabs/cdk-ecs-codedeploy 0.0.103 → 0.0.104

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.
Files changed (105) hide show
  1. package/.jsii +70 -5
  2. package/.projenrc.ts +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +48 -0
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +24 -4
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +16 -0
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +16 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +16 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +16 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +16 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +16 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +16 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +16 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +16 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +16 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +16 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +16 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +16 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +16 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +16 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +16 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +16 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +16 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +16 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +16 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +16 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +16 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +16 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +16 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +16 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +16 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +16 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +16 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +16 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +16 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +16 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +16 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +16 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +16 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +16 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +16 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +16 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +16 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +16 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +16 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +16 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +16 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +16 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +16 -0
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +16 -0
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/CodeDeployServiceException.d.ts +2 -0
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +382 -0
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/Interfaces.d.ts +3 -0
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationRevisionsPaginator.d.ts +3 -0
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationsPaginator.d.ts +3 -0
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentConfigsPaginator.d.ts +3 -0
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentGroupsPaginator.d.ts +3 -0
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentInstancesPaginator.d.ts +3 -0
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentsPaginator.d.ts +3 -0
  65. package/node_modules/@aws-sdk/client-codedeploy/package.json +3 -3
  66. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +5 -0
  67. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +24 -4
  68. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +16 -0
  69. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +16 -0
  70. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +16 -0
  71. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +16 -0
  72. package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +28 -0
  74. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +3 -0
  75. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +3 -0
  76. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +3 -0
  77. package/node_modules/@aws-sdk/client-sso/package.json +1 -1
  78. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +4 -0
  79. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +24 -4
  80. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +16 -0
  81. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +16 -0
  82. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +16 -0
  83. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +2 -0
  84. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +30 -0
  85. package/node_modules/@aws-sdk/client-sso-oidc/package.json +1 -1
  86. package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +19 -83
  87. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +19 -83
  88. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +10 -1
  89. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +24 -4
  90. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +17 -1
  91. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +16 -0
  92. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +16 -0
  93. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +16 -0
  94. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +16 -0
  95. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +16 -0
  96. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +16 -0
  97. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +16 -0
  98. package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +2 -0
  99. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +47 -0
  100. package/node_modules/@aws-sdk/client-sts/package.json +2 -2
  101. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  102. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  103. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  104. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  105. package/package.json +9 -9
@@ -10,15 +10,24 @@ import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/Cr
10
10
  import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./commands/RegisterClientCommand";
11
11
  import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "./commands/StartDeviceAuthorizationCommand";
12
12
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
13
+ /**
14
+ * @public
15
+ */
13
16
  export type ServiceInputTypes = CreateTokenCommandInput | RegisterClientCommandInput | StartDeviceAuthorizationCommandInput;
17
+ /**
18
+ * @public
19
+ */
14
20
  export type ServiceOutputTypes = CreateTokenCommandOutput | RegisterClientCommandOutput | StartDeviceAuthorizationCommandOutput;
21
+ /**
22
+ * @public
23
+ */
15
24
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
16
25
  /**
17
26
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
18
27
  */
19
28
  requestHandler?: __HttpHandler;
20
29
  /**
21
- * A constructor for a class implementing the {@link __Checksum} interface
30
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
22
31
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
23
32
  * @internal
24
33
  */
@@ -103,23 +112,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
103
112
  */
104
113
  logger?: __Logger;
105
114
  /**
106
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
115
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
107
116
  */
108
117
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
109
118
  }
119
+ /**
120
+ * @public
121
+ */
110
122
  type SSOOIDCClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
111
123
  /**
112
- * The configuration interface of SSOOIDCClient class constructor that set the region, credentials and other options.
124
+ * @public
125
+ *
126
+ * The configuration interface of SSOOIDCClient class constructor that set the region, credentials and other options.
113
127
  */
114
128
  export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {
115
129
  }
130
+ /**
131
+ * @public
132
+ */
116
133
  type SSOOIDCClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
117
134
  /**
118
- * The resolved configuration interface of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.
135
+ * @public
136
+ *
137
+ * The resolved configuration interface of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.
119
138
  */
120
139
  export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfigType {
121
140
  }
122
141
  /**
142
+ * @public
123
143
  * <p>AWS IAM Identity Center (successor to AWS Single Sign-On) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI
124
144
  * or a native application) to register with IAM Identity Center. The service also enables the client to
125
145
  * fetch the user’s access token upon successful authentication and authorization with
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CreateTokenRequest, CreateTokenResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateTokenCommand}.
8
10
  */
9
11
  export interface CreateTokenCommandInput extends CreateTokenRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateTokenCommand}.
13
17
  */
14
18
  export interface CreateTokenCommandOutput extends CreateTokenResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates and returns an access token for the authorized client. The access token issued
18
23
  * will be used to fetch short-term credentials for the assigned roles in the AWS
19
24
  * account.</p>
@@ -27,6 +32,8 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param CreateTokenCommandInput - {@link CreateTokenCommandInput}
36
+ * @returns {@link CreateTokenCommandOutput}
30
37
  * @see {@link CreateTokenCommandInput} for command's `input` shape.
31
38
  * @see {@link CreateTokenCommandOutput} for command's `response` shape.
32
39
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
@@ -77,11 +84,20 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
77
84
  export declare class CreateTokenCommand extends $Command<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig> {
78
85
  readonly input: CreateTokenCommandInput;
79
86
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
80
90
  constructor(input: CreateTokenCommandInput);
81
91
  /**
82
92
  * @internal
83
93
  */
84
94
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTokenCommandInput, CreateTokenCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
85
98
  private serialize;
99
+ /**
100
+ * @internal
101
+ */
86
102
  private deserialize;
87
103
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { RegisterClientRequest, RegisterClientResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link RegisterClientCommand}.
8
10
  */
9
11
  export interface RegisterClientCommandInput extends RegisterClientRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link RegisterClientCommand}.
13
17
  */
14
18
  export interface RegisterClientCommandOutput extends RegisterClientResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Registers a client with IAM Identity Center. This allows clients to initiate device authorization.
18
23
  * The output should be persisted for reuse through many authentication requests.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param RegisterClientCommandInput - {@link RegisterClientCommandInput}
35
+ * @returns {@link RegisterClientCommandOutput}
29
36
  * @see {@link RegisterClientCommandInput} for command's `input` shape.
30
37
  * @see {@link RegisterClientCommandOutput} for command's `response` shape.
31
38
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
@@ -50,11 +57,20 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
50
57
  export declare class RegisterClientCommand extends $Command<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig> {
51
58
  readonly input: RegisterClientCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: RegisterClientCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterClientCommandInput, RegisterClientCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { StartDeviceAuthorizationRequest, StartDeviceAuthorizationResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link StartDeviceAuthorizationCommand}.
8
10
  */
9
11
  export interface StartDeviceAuthorizationCommandInput extends StartDeviceAuthorizationRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link StartDeviceAuthorizationCommand}.
13
17
  */
14
18
  export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthorizationResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Initiates device authorization by requesting a pair of verification codes from the
18
23
  * authorization service.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param StartDeviceAuthorizationCommandInput - {@link StartDeviceAuthorizationCommandInput}
35
+ * @returns {@link StartDeviceAuthorizationCommandOutput}
29
36
  * @see {@link StartDeviceAuthorizationCommandInput} for command's `input` shape.
30
37
  * @see {@link StartDeviceAuthorizationCommandOutput} for command's `response` shape.
31
38
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
@@ -56,11 +63,20 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
56
63
  export declare class StartDeviceAuthorizationCommand extends $Command<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig> {
57
64
  readonly input: StartDeviceAuthorizationCommandInput;
58
65
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
+ /**
67
+ * @public
68
+ */
59
69
  constructor(input: StartDeviceAuthorizationCommandInput);
60
70
  /**
61
71
  * @internal
62
72
  */
63
73
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
64
77
  private serialize;
78
+ /**
79
+ * @internal
80
+ */
65
81
  private deserialize;
66
82
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from SSOOIDC service.
4
6
  */
5
7
  export declare class SSOOIDCServiceException extends __ServiceException {
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
3
3
  /**
4
+ * @public
4
5
  * <p>You do not have sufficient access to perform this action.</p>
5
6
  */
6
7
  export declare class AccessDeniedException extends __BaseException {
@@ -14,6 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
14
15
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
16
  }
16
17
  /**
18
+ * @public
17
19
  * <p>Indicates that a request to authorize a client with an access user session token is
18
20
  * pending.</p>
19
21
  */
@@ -27,6 +29,9 @@ export declare class AuthorizationPendingException extends __BaseException {
27
29
  */
28
30
  constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>);
29
31
  }
32
+ /**
33
+ * @public
34
+ */
30
35
  export interface CreateTokenRequest {
31
36
  /**
32
37
  * <p>The unique identifier string for each client. This value should come from the persisted
@@ -81,6 +86,9 @@ export interface CreateTokenRequest {
81
86
  */
82
87
  redirectUri?: string;
83
88
  }
89
+ /**
90
+ * @public
91
+ */
84
92
  export interface CreateTokenResponse {
85
93
  /**
86
94
  * <p>An opaque token to access IAM Identity Center resources assigned to a user.</p>
@@ -114,6 +122,7 @@ export interface CreateTokenResponse {
114
122
  idToken?: string;
115
123
  }
116
124
  /**
125
+ * @public
117
126
  * <p>Indicates that the token issued by the service is expired and is no longer valid.</p>
118
127
  */
119
128
  export declare class ExpiredTokenException extends __BaseException {
@@ -127,6 +136,7 @@ export declare class ExpiredTokenException extends __BaseException {
127
136
  constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
128
137
  }
129
138
  /**
139
+ * @public
130
140
  * <p>Indicates that an error from the service occurred while trying to process a
131
141
  * request.</p>
132
142
  */
@@ -141,6 +151,7 @@ export declare class InternalServerException extends __BaseException {
141
151
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
142
152
  }
143
153
  /**
154
+ * @public
144
155
  * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
145
156
  * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
146
157
  * an expired <code>clientSecret</code>.</p>
@@ -156,6 +167,7 @@ export declare class InvalidClientException extends __BaseException {
156
167
  constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
157
168
  }
158
169
  /**
170
+ * @public
159
171
  * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
160
172
  * <a>CreateToken</a> request with an invalid grant type.</p>
161
173
  */
@@ -170,6 +182,7 @@ export declare class InvalidGrantException extends __BaseException {
170
182
  constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>);
171
183
  }
172
184
  /**
185
+ * @public
173
186
  * <p>Indicates that something is wrong with the input to the request. For example, a required
174
187
  * parameter might be missing or out of range.</p>
175
188
  */
@@ -184,6 +197,7 @@ export declare class InvalidRequestException extends __BaseException {
184
197
  constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
185
198
  }
186
199
  /**
200
+ * @public
187
201
  * <p>Indicates that the scope provided in the request is invalid.</p>
188
202
  */
189
203
  export declare class InvalidScopeException extends __BaseException {
@@ -197,6 +211,7 @@ export declare class InvalidScopeException extends __BaseException {
197
211
  constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>);
198
212
  }
199
213
  /**
214
+ * @public
200
215
  * <p>Indicates that the client is making the request too frequently and is more than the
201
216
  * service can handle. </p>
202
217
  */
@@ -211,6 +226,7 @@ export declare class SlowDownException extends __BaseException {
211
226
  constructor(opts: __ExceptionOptionType<SlowDownException, __BaseException>);
212
227
  }
213
228
  /**
229
+ * @public
214
230
  * <p>Indicates that the client is not currently authorized to make the request. This can happen
215
231
  * when a <code>clientId</code> is not issued for a public client.</p>
216
232
  */
@@ -225,6 +241,7 @@ export declare class UnauthorizedClientException extends __BaseException {
225
241
  constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
226
242
  }
227
243
  /**
244
+ * @public
228
245
  * <p>Indicates that the grant type in the request is not supported by the service.</p>
229
246
  */
230
247
  export declare class UnsupportedGrantTypeException extends __BaseException {
@@ -238,6 +255,7 @@ export declare class UnsupportedGrantTypeException extends __BaseException {
238
255
  constructor(opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>);
239
256
  }
240
257
  /**
258
+ * @public
241
259
  * <p>Indicates that the client information sent in the request during registration is
242
260
  * invalid.</p>
243
261
  */
@@ -251,6 +269,9 @@ export declare class InvalidClientMetadataException extends __BaseException {
251
269
  */
252
270
  constructor(opts: __ExceptionOptionType<InvalidClientMetadataException, __BaseException>);
253
271
  }
272
+ /**
273
+ * @public
274
+ */
254
275
  export interface RegisterClientRequest {
255
276
  /**
256
277
  * <p>The friendly name of the client.</p>
@@ -267,6 +288,9 @@ export interface RegisterClientRequest {
267
288
  */
268
289
  scopes?: string[];
269
290
  }
291
+ /**
292
+ * @public
293
+ */
270
294
  export interface RegisterClientResponse {
271
295
  /**
272
296
  * <p>The unique identifier string for each client. This client uses this identifier to get
@@ -297,6 +321,9 @@ export interface RegisterClientResponse {
297
321
  */
298
322
  tokenEndpoint?: string;
299
323
  }
324
+ /**
325
+ * @public
326
+ */
300
327
  export interface StartDeviceAuthorizationRequest {
301
328
  /**
302
329
  * <p>The unique identifier string for the client that is registered with IAM Identity Center. This value
@@ -315,6 +342,9 @@ export interface StartDeviceAuthorizationRequest {
315
342
  */
316
343
  startUrl: string | undefined;
317
344
  }
345
+ /**
346
+ * @public
347
+ */
318
348
  export interface StartDeviceAuthorizationResponse {
319
349
  /**
320
350
  * <p>The short-lived code that is used by the device when polling for a session token.</p>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.296.0",
4
+ "version": "3.297.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",
@@ -733,10 +733,7 @@ const serializeAws_querytagListType = (input, context) => {
733
733
  return entries;
734
734
  };
735
735
  const deserializeAws_queryAssumedRoleUser = (output, context) => {
736
- const contents = {
737
- AssumedRoleId: undefined,
738
- Arn: undefined,
739
- };
736
+ const contents = {};
740
737
  if (output["AssumedRoleId"] !== undefined) {
741
738
  contents.AssumedRoleId = (0, smithy_client_1.expectString)(output["AssumedRoleId"]);
742
739
  }
@@ -746,12 +743,7 @@ const deserializeAws_queryAssumedRoleUser = (output, context) => {
746
743
  return contents;
747
744
  };
748
745
  const deserializeAws_queryAssumeRoleResponse = (output, context) => {
749
- const contents = {
750
- Credentials: undefined,
751
- AssumedRoleUser: undefined,
752
- PackedPolicySize: undefined,
753
- SourceIdentity: undefined,
754
- };
746
+ const contents = {};
755
747
  if (output["Credentials"] !== undefined) {
756
748
  contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
757
749
  }
@@ -767,17 +759,7 @@ const deserializeAws_queryAssumeRoleResponse = (output, context) => {
767
759
  return contents;
768
760
  };
769
761
  const deserializeAws_queryAssumeRoleWithSAMLResponse = (output, context) => {
770
- const contents = {
771
- Credentials: undefined,
772
- AssumedRoleUser: undefined,
773
- PackedPolicySize: undefined,
774
- Subject: undefined,
775
- SubjectType: undefined,
776
- Issuer: undefined,
777
- Audience: undefined,
778
- NameQualifier: undefined,
779
- SourceIdentity: undefined,
780
- };
762
+ const contents = {};
781
763
  if (output["Credentials"] !== undefined) {
782
764
  contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
783
765
  }
@@ -808,15 +790,7 @@ const deserializeAws_queryAssumeRoleWithSAMLResponse = (output, context) => {
808
790
  return contents;
809
791
  };
810
792
  const deserializeAws_queryAssumeRoleWithWebIdentityResponse = (output, context) => {
811
- const contents = {
812
- Credentials: undefined,
813
- SubjectFromWebIdentityToken: undefined,
814
- AssumedRoleUser: undefined,
815
- PackedPolicySize: undefined,
816
- Provider: undefined,
817
- Audience: undefined,
818
- SourceIdentity: undefined,
819
- };
793
+ const contents = {};
820
794
  if (output["Credentials"] !== undefined) {
821
795
  contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
822
796
  }
@@ -841,12 +815,7 @@ const deserializeAws_queryAssumeRoleWithWebIdentityResponse = (output, context)
841
815
  return contents;
842
816
  };
843
817
  const deserializeAws_queryCredentials = (output, context) => {
844
- const contents = {
845
- AccessKeyId: undefined,
846
- SecretAccessKey: undefined,
847
- SessionToken: undefined,
848
- Expiration: undefined,
849
- };
818
+ const contents = {};
850
819
  if (output["AccessKeyId"] !== undefined) {
851
820
  contents.AccessKeyId = (0, smithy_client_1.expectString)(output["AccessKeyId"]);
852
821
  }
@@ -862,28 +831,21 @@ const deserializeAws_queryCredentials = (output, context) => {
862
831
  return contents;
863
832
  };
864
833
  const deserializeAws_queryDecodeAuthorizationMessageResponse = (output, context) => {
865
- const contents = {
866
- DecodedMessage: undefined,
867
- };
834
+ const contents = {};
868
835
  if (output["DecodedMessage"] !== undefined) {
869
836
  contents.DecodedMessage = (0, smithy_client_1.expectString)(output["DecodedMessage"]);
870
837
  }
871
838
  return contents;
872
839
  };
873
840
  const deserializeAws_queryExpiredTokenException = (output, context) => {
874
- const contents = {
875
- message: undefined,
876
- };
841
+ const contents = {};
877
842
  if (output["message"] !== undefined) {
878
843
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
879
844
  }
880
845
  return contents;
881
846
  };
882
847
  const deserializeAws_queryFederatedUser = (output, context) => {
883
- const contents = {
884
- FederatedUserId: undefined,
885
- Arn: undefined,
886
- };
848
+ const contents = {};
887
849
  if (output["FederatedUserId"] !== undefined) {
888
850
  contents.FederatedUserId = (0, smithy_client_1.expectString)(output["FederatedUserId"]);
889
851
  }
@@ -893,20 +855,14 @@ const deserializeAws_queryFederatedUser = (output, context) => {
893
855
  return contents;
894
856
  };
895
857
  const deserializeAws_queryGetAccessKeyInfoResponse = (output, context) => {
896
- const contents = {
897
- Account: undefined,
898
- };
858
+ const contents = {};
899
859
  if (output["Account"] !== undefined) {
900
860
  contents.Account = (0, smithy_client_1.expectString)(output["Account"]);
901
861
  }
902
862
  return contents;
903
863
  };
904
864
  const deserializeAws_queryGetCallerIdentityResponse = (output, context) => {
905
- const contents = {
906
- UserId: undefined,
907
- Account: undefined,
908
- Arn: undefined,
909
- };
865
+ const contents = {};
910
866
  if (output["UserId"] !== undefined) {
911
867
  contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
912
868
  }
@@ -919,11 +875,7 @@ const deserializeAws_queryGetCallerIdentityResponse = (output, context) => {
919
875
  return contents;
920
876
  };
921
877
  const deserializeAws_queryGetFederationTokenResponse = (output, context) => {
922
- const contents = {
923
- Credentials: undefined,
924
- FederatedUser: undefined,
925
- PackedPolicySize: undefined,
926
- };
878
+ const contents = {};
927
879
  if (output["Credentials"] !== undefined) {
928
880
  contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
929
881
  }
@@ -936,72 +888,56 @@ const deserializeAws_queryGetFederationTokenResponse = (output, context) => {
936
888
  return contents;
937
889
  };
938
890
  const deserializeAws_queryGetSessionTokenResponse = (output, context) => {
939
- const contents = {
940
- Credentials: undefined,
941
- };
891
+ const contents = {};
942
892
  if (output["Credentials"] !== undefined) {
943
893
  contents.Credentials = deserializeAws_queryCredentials(output["Credentials"], context);
944
894
  }
945
895
  return contents;
946
896
  };
947
897
  const deserializeAws_queryIDPCommunicationErrorException = (output, context) => {
948
- const contents = {
949
- message: undefined,
950
- };
898
+ const contents = {};
951
899
  if (output["message"] !== undefined) {
952
900
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
953
901
  }
954
902
  return contents;
955
903
  };
956
904
  const deserializeAws_queryIDPRejectedClaimException = (output, context) => {
957
- const contents = {
958
- message: undefined,
959
- };
905
+ const contents = {};
960
906
  if (output["message"] !== undefined) {
961
907
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
962
908
  }
963
909
  return contents;
964
910
  };
965
911
  const deserializeAws_queryInvalidAuthorizationMessageException = (output, context) => {
966
- const contents = {
967
- message: undefined,
968
- };
912
+ const contents = {};
969
913
  if (output["message"] !== undefined) {
970
914
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
971
915
  }
972
916
  return contents;
973
917
  };
974
918
  const deserializeAws_queryInvalidIdentityTokenException = (output, context) => {
975
- const contents = {
976
- message: undefined,
977
- };
919
+ const contents = {};
978
920
  if (output["message"] !== undefined) {
979
921
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
980
922
  }
981
923
  return contents;
982
924
  };
983
925
  const deserializeAws_queryMalformedPolicyDocumentException = (output, context) => {
984
- const contents = {
985
- message: undefined,
986
- };
926
+ const contents = {};
987
927
  if (output["message"] !== undefined) {
988
928
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
989
929
  }
990
930
  return contents;
991
931
  };
992
932
  const deserializeAws_queryPackedPolicyTooLargeException = (output, context) => {
993
- const contents = {
994
- message: undefined,
995
- };
933
+ const contents = {};
996
934
  if (output["message"] !== undefined) {
997
935
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
998
936
  }
999
937
  return contents;
1000
938
  };
1001
939
  const deserializeAws_queryRegionDisabledException = (output, context) => {
1002
- const contents = {
1003
- message: undefined,
1004
- };
940
+ const contents = {};
1005
941
  if (output["message"] !== undefined) {
1006
942
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
1007
943
  }