Remove config types from export
Signed-off-by: Clare Liguori <liguori@amazon.com>
This commit is contained in:
@@ -26,41 +26,6 @@ export interface AwsCredentialsManager {
|
||||
): Promise<AwsCredentialProvider>;
|
||||
}
|
||||
|
||||
// @public
|
||||
export type AwsIntegrationAccountConfig = {
|
||||
accountId: string;
|
||||
accessKeyId?: string;
|
||||
secretAccessKey?: string;
|
||||
profile?: string;
|
||||
roleName?: string;
|
||||
partition?: string;
|
||||
region?: string;
|
||||
externalId?: string;
|
||||
};
|
||||
|
||||
// @public
|
||||
export type AwsIntegrationConfig = {
|
||||
accounts: AwsIntegrationAccountConfig[];
|
||||
accountDefaults: AwsIntegrationDefaultAccountConfig;
|
||||
mainAccount: AwsIntegrationMainAccountConfig;
|
||||
};
|
||||
|
||||
// @public
|
||||
export type AwsIntegrationDefaultAccountConfig = {
|
||||
roleName?: string;
|
||||
partition?: string;
|
||||
region?: string;
|
||||
externalId?: string;
|
||||
};
|
||||
|
||||
// @public
|
||||
export type AwsIntegrationMainAccountConfig = {
|
||||
accessKeyId?: string;
|
||||
secretAccessKey?: string;
|
||||
profile?: string;
|
||||
region?: string;
|
||||
};
|
||||
|
||||
// @public
|
||||
export class DefaultAwsCredentialsManager implements AwsCredentialsManager {
|
||||
// (undocumented)
|
||||
@@ -70,8 +35,5 @@ export class DefaultAwsCredentialsManager implements AwsCredentialsManager {
|
||||
): Promise<AwsCredentialProvider>;
|
||||
}
|
||||
|
||||
// @public
|
||||
export function readAwsIntegrationConfig(config: Config): AwsIntegrationConfig;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -14,13 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { readAwsIntegrationConfig } from './config';
|
||||
export type {
|
||||
AwsIntegrationConfig,
|
||||
AwsIntegrationAccountConfig,
|
||||
AwsIntegrationDefaultAccountConfig,
|
||||
AwsIntegrationMainAccountConfig,
|
||||
} from './config';
|
||||
export { DefaultAwsCredentialsManager } from './DefaultAwsCredentialsManager';
|
||||
export type {
|
||||
AwsCredentialsManager,
|
||||
|
||||
Reference in New Issue
Block a user