@aws-sdk/client-sso 3.31.0 → 3.35.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.
Files changed (167) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/SSO.js +1 -1
  3. package/dist-cjs/SSO.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/SSOClient.js +12 -12
  5. package/dist-cjs/SSOClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/GetRoleCredentialsCommand.js +5 -5
  7. package/dist-cjs/commands/GetRoleCredentialsCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/ListAccountRolesCommand.js +5 -5
  9. package/dist-cjs/commands/ListAccountRolesCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/ListAccountsCommand.js +5 -5
  11. package/dist-cjs/commands/ListAccountsCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/LogoutCommand.js +5 -5
  13. package/dist-cjs/commands/LogoutCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  15. package/dist-cjs/endpoints.js.map +1 -0
  16. package/dist-cjs/index.js +14 -0
  17. package/dist-cjs/index.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  19. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  20. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  21. package/dist-cjs/models/models_0.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  23. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  24. package/{dist/cjs → dist-cjs}/pagination/ListAccountRolesPaginator.js +1 -1
  25. package/dist-cjs/pagination/ListAccountRolesPaginator.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/pagination/ListAccountsPaginator.js +1 -1
  27. package/dist-cjs/pagination/ListAccountsPaginator.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +22 -22
  29. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  31. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.js +9 -8
  33. package/dist-cjs/runtimeConfig.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  35. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  37. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  38. package/{dist/es → dist-es}/SSO.js +2 -20
  39. package/dist-es/SSO.js.map +1 -0
  40. package/{dist/es → dist-es}/SSOClient.js +2 -25
  41. package/dist-es/SSOClient.js.map +1 -0
  42. package/{dist/es → dist-es}/commands/GetRoleCredentialsCommand.js +4 -30
  43. package/dist-es/commands/GetRoleCredentialsCommand.js.map +1 -0
  44. package/{dist/es → dist-es}/commands/ListAccountRolesCommand.js +4 -29
  45. package/dist-es/commands/ListAccountRolesCommand.js.map +1 -0
  46. package/{dist/es → dist-es}/commands/ListAccountsCommand.js +4 -31
  47. package/dist-es/commands/ListAccountsCommand.js.map +1 -0
  48. package/{dist/es → dist-es}/commands/LogoutCommand.js +4 -29
  49. package/dist-es/commands/LogoutCommand.js.map +1 -0
  50. package/{dist/es → dist-es}/endpoints.js +1 -1
  51. package/dist-es/endpoints.js.map +1 -0
  52. package/{dist/es → dist-es}/index.js +0 -0
  53. package/dist-es/index.js.map +1 -0
  54. package/{dist/es → dist-es}/models/index.js +0 -0
  55. package/dist-es/models/index.js.map +1 -0
  56. package/{dist/es → dist-es}/models/models_0.js +0 -42
  57. package/dist-es/models/models_0.js.map +1 -0
  58. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  59. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  60. package/{dist/es → dist-es}/pagination/ListAccountRolesPaginator.js +17 -29
  61. package/dist-es/pagination/ListAccountRolesPaginator.js.map +1 -0
  62. package/{dist/es → dist-es}/pagination/ListAccountsPaginator.js +17 -29
  63. package/dist-es/pagination/ListAccountsPaginator.js.map +1 -0
  64. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +96 -101
  65. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  66. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  67. package/dist-es/runtimeConfig.browser.js.map +1 -0
  68. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  69. package/dist-es/runtimeConfig.js.map +1 -0
  70. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  71. package/dist-es/runtimeConfig.native.js.map +1 -0
  72. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  73. package/dist-es/runtimeConfig.shared.js.map +1 -0
  74. package/{dist/types → dist-types}/SSO.d.ts +2 -2
  75. package/{dist/types → dist-types}/SSOClient.d.ts +5 -5
  76. package/{dist/types → dist-types}/commands/GetRoleCredentialsCommand.d.ts +3 -3
  77. package/{dist/types → dist-types}/commands/ListAccountRolesCommand.d.ts +3 -3
  78. package/{dist/types → dist-types}/commands/ListAccountsCommand.d.ts +3 -3
  79. package/{dist/types → dist-types}/commands/LogoutCommand.d.ts +3 -3
  80. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  81. package/{dist/types → dist-types}/index.d.ts +0 -0
  82. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  83. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  84. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  85. package/{dist/types → dist-types}/pagination/ListAccountRolesPaginator.d.ts +1 -1
  86. package/{dist/types → dist-types}/pagination/ListAccountsPaginator.d.ts +1 -1
  87. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  88. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  89. package/{dist/types → dist-types}/runtimeConfig.d.ts +0 -0
  90. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  91. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  92. package/{dist/types → dist-types}/ts3.4/SSO.d.ts +2 -2
  93. package/{dist/types → dist-types}/ts3.4/SSOClient.d.ts +5 -5
  94. package/{dist/types → dist-types}/ts3.4/commands/GetRoleCredentialsCommand.d.ts +3 -3
  95. package/{dist/types → dist-types}/ts3.4/commands/ListAccountRolesCommand.d.ts +3 -3
  96. package/{dist/types → dist-types}/ts3.4/commands/ListAccountsCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/ts3.4/commands/LogoutCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  99. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  100. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  101. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  102. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  103. package/{dist/types → dist-types}/ts3.4/pagination/ListAccountRolesPaginator.d.ts +1 -1
  104. package/{dist/types → dist-types}/ts3.4/pagination/ListAccountsPaginator.d.ts +1 -1
  105. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  106. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  107. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +0 -0
  108. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  109. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  110. package/package.json +47 -47
  111. package/{SSO.ts → src/SSO.ts} +3 -2
  112. package/{SSOClient.ts → src/SSOClient.ts} +18 -17
  113. package/{commands → src/commands}/GetRoleCredentialsCommand.ts +8 -7
  114. package/{commands → src/commands}/ListAccountRolesCommand.ts +8 -7
  115. package/{commands → src/commands}/ListAccountsCommand.ts +8 -7
  116. package/{commands → src/commands}/LogoutCommand.ts +5 -4
  117. package/{endpoints.ts → src/endpoints.ts} +1 -1
  118. package/{index.ts → src/index.ts} +0 -0
  119. package/{models → src/models}/index.ts +0 -0
  120. package/{models → src/models}/models_0.ts +0 -0
  121. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  122. package/{pagination → src/pagination}/ListAccountRolesPaginator.ts +4 -3
  123. package/{pagination → src/pagination}/ListAccountsPaginator.ts +4 -3
  124. package/{protocols → src/protocols}/Aws_restJson1.ts +23 -21
  125. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +4 -3
  126. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +2 -1
  127. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  128. package/{runtimeConfig.ts → src/runtimeConfig.ts} +5 -4
  129. package/tsconfig.es.json +1 -3
  130. package/tsconfig.json +7 -7
  131. package/tsconfig.types.json +9 -0
  132. package/dist/cjs/SSO.js.map +0 -1
  133. package/dist/cjs/SSOClient.js.map +0 -1
  134. package/dist/cjs/commands/GetRoleCredentialsCommand.js.map +0 -1
  135. package/dist/cjs/commands/ListAccountRolesCommand.js.map +0 -1
  136. package/dist/cjs/commands/ListAccountsCommand.js.map +0 -1
  137. package/dist/cjs/commands/LogoutCommand.js.map +0 -1
  138. package/dist/cjs/endpoints.js.map +0 -1
  139. package/dist/cjs/index.js +0 -14
  140. package/dist/cjs/index.js.map +0 -1
  141. package/dist/cjs/models/models_0.js.map +0 -1
  142. package/dist/cjs/package.json +0 -88
  143. package/dist/cjs/pagination/ListAccountRolesPaginator.js.map +0 -1
  144. package/dist/cjs/pagination/ListAccountsPaginator.js.map +0 -1
  145. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  146. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  147. package/dist/cjs/runtimeConfig.js.map +0 -1
  148. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  149. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  150. package/dist/es/SSO.js.map +0 -1
  151. package/dist/es/SSOClient.js.map +0 -1
  152. package/dist/es/commands/GetRoleCredentialsCommand.js.map +0 -1
  153. package/dist/es/commands/ListAccountRolesCommand.js.map +0 -1
  154. package/dist/es/commands/ListAccountsCommand.js.map +0 -1
  155. package/dist/es/commands/LogoutCommand.js.map +0 -1
  156. package/dist/es/endpoints.js.map +0 -1
  157. package/dist/es/index.js.map +0 -1
  158. package/dist/es/models/index.js.map +0 -1
  159. package/dist/es/models/models_0.js.map +0 -1
  160. package/dist/es/package.json +0 -88
  161. package/dist/es/pagination/ListAccountRolesPaginator.js.map +0 -1
  162. package/dist/es/pagination/ListAccountsPaginator.js.map +0 -1
  163. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  164. package/dist/es/runtimeConfig.browser.js.map +0 -1
  165. package/dist/es/runtimeConfig.js.map +0 -1
  166. package/dist/es/runtimeConfig.native.js.map +0 -1
  167. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtimeConfig.shared.js","sourceRoot":"","sources":["../src/runtimeConfig.shared.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAMxD,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,MAAuB;;IAAK,OAAA,CAAC;QAC5D,UAAU,EAAE,YAAY;QACxB,iBAAiB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,iBAAiB,mCAAI,KAAK;QACrD,MAAM,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,mCAAK,EAAe;QAC1C,kBAAkB,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,kBAAkB,mCAAI,yBAAyB;QAC3E,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,KAAK;QACrC,SAAS,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,mCAAI,QAAQ;KACzC,CAAC,CAAA;CAAA,CAAC"}
@@ -1,9 +1,9 @@
1
- import { SSOClient } from "./SSOClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
3
3
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
4
4
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
5
5
  import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
6
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
6
+ import { SSOClient } from "./SSOClient";
7
7
  /**
8
8
  * <p>AWS Single Sign-On Portal is a web service that makes it easy for you to assign user
9
9
  * access to AWS SSO resources such as the user portal. Users can get AWS account applications
@@ -1,14 +1,14 @@
1
- import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
2
- import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
3
- import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
4
- import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
5
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
6
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
7
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
8
4
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
5
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
6
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
- import { Provider, RegionInfoProvider, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
7
+ import { Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
9
+ import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
10
+ import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
11
+ import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
12
12
  export declare type ServiceInputTypes = GetRoleCredentialsCommandInput | ListAccountRolesCommandInput | ListAccountsCommandInput | LogoutCommandInput;
13
13
  export declare type ServiceOutputTypes = GetRoleCredentialsCommandOutput | ListAccountRolesCommandOutput | ListAccountsCommandOutput | LogoutCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest {
6
6
  }
7
7
  export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {
6
6
  }
7
7
  export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface ListAccountsCommandInput extends ListAccountsRequest {
6
6
  }
7
7
  export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { LogoutRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LogoutRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface LogoutCommandInput extends LogoutRequest {
6
6
  }
7
7
  export interface LogoutCommandOutput extends __MetadataBearer {
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { SSO } from "../SSO";
2
3
  import { SSOClient } from "../SSOClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface SSOPaginationConfiguration extends PaginationConfiguration {
5
5
  client: SSO | SSOClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
2
3
  import { SSOPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListAccountRoles(config: SSOPaginationConfiguration, input: ListAccountRolesCommandInput, ...additionalArguments: any): Paginator<ListAccountRolesCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
2
3
  import { SSOPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListAccounts(config: SSOPaginationConfiguration, input: ListAccountsCommandInput, ...additionalArguments: any): Paginator<ListAccountsCommandOutput>;
@@ -1,9 +1,9 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "../commands/GetRoleCredentialsCommand";
2
4
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
3
5
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
4
6
  import { LogoutCommandInput, LogoutCommandOutput } from "../commands/LogoutCommand";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
7
7
  export declare const serializeAws_restJson1GetRoleCredentialsCommand: (input: GetRoleCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_restJson1ListAccountRolesCommand: (input: ListAccountRolesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
9
  export declare const serializeAws_restJson1ListAccountsCommand: (input: ListAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
File without changes
@@ -1,9 +1,9 @@
1
- import { SSOClient } from "./SSOClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
3
3
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
4
4
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
5
5
  import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
6
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
6
+ import { SSOClient } from "./SSOClient";
7
7
  /**
8
8
  * <p>AWS Single Sign-On Portal is a web service that makes it easy for you to assign user
9
9
  * access to AWS SSO resources such as the user portal. Users can get AWS account applications
@@ -1,14 +1,14 @@
1
- import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
2
- import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
3
- import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
4
- import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
5
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
6
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
7
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
8
4
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
5
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
6
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
- import { Provider, RegionInfoProvider, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
7
+ import { Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
9
+ import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
10
+ import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
11
+ import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
12
12
  export declare type ServiceInputTypes = GetRoleCredentialsCommandInput | ListAccountRolesCommandInput | ListAccountsCommandInput | LogoutCommandInput;
13
13
  export declare type ServiceOutputTypes = GetRoleCredentialsCommandOutput | ListAccountRolesCommandOutput | ListAccountsCommandOutput | LogoutCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest {
6
6
  }
7
7
  export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {
6
6
  }
7
7
  export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface ListAccountsCommandInput extends ListAccountsRequest {
6
6
  }
7
7
  export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { LogoutRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LogoutRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
5
  export interface LogoutCommandInput extends LogoutRequest {
6
6
  }
7
7
  export interface LogoutCommandOutput extends __MetadataBearer {
File without changes
File without changes
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { SSO } from "../SSO";
2
3
  import { SSOClient } from "../SSOClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface SSOPaginationConfiguration extends PaginationConfiguration {
5
5
  client: SSO | SSOClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
2
3
  import { SSOPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListAccountRoles(config: SSOPaginationConfiguration, input: ListAccountRolesCommandInput, ...additionalArguments: any): Paginator<ListAccountRolesCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
2
3
  import { SSOPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListAccounts(config: SSOPaginationConfiguration, input: ListAccountsCommandInput, ...additionalArguments: any): Paginator<ListAccountsCommandOutput>;
@@ -1,9 +1,9 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "../commands/GetRoleCredentialsCommand";
2
4
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
3
5
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
4
6
  import { LogoutCommandInput, LogoutCommandOutput } from "../commands/LogoutCommand";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
7
7
  export declare const serializeAws_restJson1GetRoleCredentialsCommand: (input: GetRoleCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_restJson1ListAccountRolesCommand: (input: ListAccountRolesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
9
  export declare const serializeAws_restJson1ListAccountsCommand: (input: ListAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
package/package.json CHANGED
@@ -1,76 +1,70 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.31.0",
4
+ "version": "3.35.0",
5
5
  "scripts": {
6
- "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
- "build-documentation": "yarn remove-documentation && typedoc ./",
8
- "remove-definitions": "rimraf ./types",
9
- "remove-dist": "rimraf ./dist",
10
- "remove-documentation": "rimraf ./docs",
11
- "test": "exit 0",
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
12
7
  "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
13
9
  "build:es": "tsc -p tsconfig.es.json",
14
- "build": "yarn build:cjs && yarn build:es",
15
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
16
- },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
+ "test": "exit 0"
25
16
  },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.0.0",
29
23
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/config-resolver": "3.30.0",
31
- "@aws-sdk/fetch-http-handler": "3.29.0",
32
- "@aws-sdk/hash-node": "3.29.0",
33
- "@aws-sdk/invalid-dependency": "3.29.0",
34
- "@aws-sdk/middleware-content-length": "3.29.0",
35
- "@aws-sdk/middleware-host-header": "3.29.0",
36
- "@aws-sdk/middleware-logger": "3.29.0",
37
- "@aws-sdk/middleware-retry": "3.29.0",
38
- "@aws-sdk/middleware-serde": "3.29.0",
39
- "@aws-sdk/middleware-stack": "3.29.0",
40
- "@aws-sdk/middleware-user-agent": "3.29.0",
41
- "@aws-sdk/node-config-provider": "3.29.0",
42
- "@aws-sdk/node-http-handler": "3.29.0",
43
- "@aws-sdk/protocol-http": "3.29.0",
44
- "@aws-sdk/smithy-client": "3.31.0",
45
- "@aws-sdk/types": "3.29.0",
46
- "@aws-sdk/url-parser": "3.29.0",
47
- "@aws-sdk/util-base64-browser": "3.29.0",
48
- "@aws-sdk/util-base64-node": "3.29.0",
49
- "@aws-sdk/util-body-length-browser": "3.29.0",
50
- "@aws-sdk/util-body-length-node": "3.29.0",
51
- "@aws-sdk/util-user-agent-browser": "3.29.0",
52
- "@aws-sdk/util-user-agent-node": "3.29.0",
53
- "@aws-sdk/util-utf8-browser": "3.29.0",
54
- "@aws-sdk/util-utf8-node": "3.29.0",
24
+ "@aws-sdk/config-resolver": "3.35.0",
25
+ "@aws-sdk/fetch-http-handler": "3.35.0",
26
+ "@aws-sdk/hash-node": "3.35.0",
27
+ "@aws-sdk/invalid-dependency": "3.35.0",
28
+ "@aws-sdk/middleware-content-length": "3.35.0",
29
+ "@aws-sdk/middleware-host-header": "3.35.0",
30
+ "@aws-sdk/middleware-logger": "3.35.0",
31
+ "@aws-sdk/middleware-retry": "3.35.0",
32
+ "@aws-sdk/middleware-serde": "3.35.0",
33
+ "@aws-sdk/middleware-stack": "3.35.0",
34
+ "@aws-sdk/middleware-user-agent": "3.35.0",
35
+ "@aws-sdk/node-config-provider": "3.35.0",
36
+ "@aws-sdk/node-http-handler": "3.35.0",
37
+ "@aws-sdk/protocol-http": "3.35.0",
38
+ "@aws-sdk/smithy-client": "3.35.0",
39
+ "@aws-sdk/types": "3.35.0",
40
+ "@aws-sdk/url-parser": "3.35.0",
41
+ "@aws-sdk/util-base64-browser": "3.35.0",
42
+ "@aws-sdk/util-base64-node": "3.35.0",
43
+ "@aws-sdk/util-body-length-browser": "3.35.0",
44
+ "@aws-sdk/util-body-length-node": "3.35.0",
45
+ "@aws-sdk/util-user-agent-browser": "3.35.0",
46
+ "@aws-sdk/util-user-agent-node": "3.35.0",
47
+ "@aws-sdk/util-utf8-browser": "3.35.0",
48
+ "@aws-sdk/util-utf8-node": "3.35.0",
55
49
  "tslib": "^2.3.0"
56
50
  },
57
51
  "devDependencies": {
58
- "@aws-sdk/client-documentation-generator": "3.29.0",
52
+ "@aws-sdk/client-documentation-generator": "3.35.0",
59
53
  "@types/node": "^12.7.5",
60
54
  "downlevel-dts": "0.7.0",
61
55
  "jest": "^26.1.0",
62
56
  "rimraf": "^3.0.0",
63
57
  "ts-jest": "^26.4.1",
64
58
  "typedoc": "^0.19.2",
65
- "typescript": "~4.4.2"
59
+ "typescript": "~4.3.5"
66
60
  },
67
61
  "engines": {
68
62
  "node": ">=10.0.0"
69
63
  },
70
64
  "typesVersions": {
71
65
  "<4.0": {
72
- "dist/types/*": [
73
- "dist/types/ts3.4/*"
66
+ "dist-types/*": [
67
+ "dist-types/ts3.4/*"
74
68
  ]
75
69
  }
76
70
  },
@@ -79,6 +73,12 @@
79
73
  "url": "https://aws.amazon.com/javascript/"
80
74
  },
81
75
  "license": "Apache-2.0",
76
+ "browser": {
77
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
78
+ },
79
+ "react-native": {
80
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
81
+ },
82
82
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",
83
83
  "repository": {
84
84
  "type": "git",
@@ -1,4 +1,5 @@
1
- import { SSOClient } from "./SSOClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
2
3
  import {
3
4
  GetRoleCredentialsCommand,
4
5
  GetRoleCredentialsCommandInput,
@@ -15,7 +16,7 @@ import {
15
16
  ListAccountsCommandOutput,
16
17
  } from "./commands/ListAccountsCommand";
17
18
  import { LogoutCommand, LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
18
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
19
+ import { SSOClient } from "./SSOClient";
19
20
 
20
21
  /**
21
22
  * <p>AWS Single Sign-On Portal is a web service that makes it easy for you to assign user
@@ -1,8 +1,3 @@
1
- import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
2
- import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
3
- import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
4
- import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
5
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
6
1
  import {
7
2
  EndpointsInputConfig,
8
3
  EndpointsResolvedConfig,
@@ -13,18 +8,18 @@ import {
13
8
  } from "@aws-sdk/config-resolver";
14
9
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
15
10
  import {
11
+ getHostHeaderPlugin,
16
12
  HostHeaderInputConfig,
17
13
  HostHeaderResolvedConfig,
18
- getHostHeaderPlugin,
19
14
  resolveHostHeaderConfig,
20
15
  } from "@aws-sdk/middleware-host-header";
21
16
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
22
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
17
+ import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
23
18
  import {
24
- UserAgentInputConfig,
25
- UserAgentResolvedConfig,
26
19
  getUserAgentPlugin,
27
20
  resolveUserAgentConfig,
21
+ UserAgentInputConfig,
22
+ UserAgentResolvedConfig,
28
23
  } from "@aws-sdk/middleware-user-agent";
29
24
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
30
25
  import {
@@ -33,8 +28,6 @@ import {
33
28
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
34
29
  } from "@aws-sdk/smithy-client";
35
30
  import {
36
- Provider,
37
- RegionInfoProvider,
38
31
  Decoder as __Decoder,
39
32
  Encoder as __Encoder,
40
33
  Hash as __Hash,
@@ -42,11 +35,19 @@ import {
42
35
  HttpHandlerOptions as __HttpHandlerOptions,
43
36
  Logger as __Logger,
44
37
  Provider as __Provider,
38
+ Provider,
39
+ RegionInfoProvider,
45
40
  StreamCollector as __StreamCollector,
46
41
  UrlParser as __UrlParser,
47
42
  UserAgent as __UserAgent,
48
43
  } from "@aws-sdk/types";
49
44
 
45
+ import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
46
+ import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
47
+ import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
48
+ import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
49
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
50
+
50
51
  export type ServiceInputTypes =
51
52
  | GetRoleCredentialsCommandInput
52
53
  | ListAccountRolesCommandInput
@@ -219,12 +220,12 @@ export class SSOClient extends __Client<
219
220
  readonly config: SSOClientResolvedConfig;
220
221
 
221
222
  constructor(configuration: SSOClientConfig) {
222
- let _config_0 = __getRuntimeConfig(configuration);
223
- let _config_1 = resolveRegionConfig(_config_0);
224
- let _config_2 = resolveEndpointsConfig(_config_1);
225
- let _config_3 = resolveRetryConfig(_config_2);
226
- let _config_4 = resolveHostHeaderConfig(_config_3);
227
- let _config_5 = resolveUserAgentConfig(_config_4);
223
+ const _config_0 = __getRuntimeConfig(configuration);
224
+ const _config_1 = resolveRegionConfig(_config_0);
225
+ const _config_2 = resolveEndpointsConfig(_config_1);
226
+ const _config_3 = resolveRetryConfig(_config_2);
227
+ const _config_4 = resolveHostHeaderConfig(_config_3);
228
+ const _config_5 = resolveUserAgentConfig(_config_4);
228
229
  super(_config_5);
229
230
  this.config = _config_5;
230
231
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -1,9 +1,3 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetRoleCredentialsCommand,
5
- serializeAws_restJson1GetRoleCredentialsCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
15
+ import {
16
+ deserializeAws_restJson1GetRoleCredentialsCommand,
17
+ serializeAws_restJson1GetRoleCredentialsCommand,
18
+ } from "../protocols/Aws_restJson1";
19
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
20
+
20
21
  export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest {}
21
22
  export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListAccountRolesCommand,
5
- serializeAws_restJson1ListAccountRolesCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
15
+ import {
16
+ deserializeAws_restJson1ListAccountRolesCommand,
17
+ serializeAws_restJson1ListAccountRolesCommand,
18
+ } from "../protocols/Aws_restJson1";
19
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
20
+
20
21
  export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {}
21
22
  export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOClient";
2
- import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListAccountsCommand,
5
- serializeAws_restJson1ListAccountsCommand,
6
- } from "../protocols/Aws_restJson1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
15
+ import {
16
+ deserializeAws_restJson1ListAccountsCommand,
17
+ serializeAws_restJson1ListAccountsCommand,
18
+ } from "../protocols/Aws_restJson1";
19
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
20
+
20
21
  export interface ListAccountsCommandInput extends ListAccountsRequest {}
21
22
  export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {}
22
23