@aws-sdk/client-ram 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/RAM.js +2 -28
- package/dist-cjs/RAMClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AcceptResourceShareInvitationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/AssociateResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/AssociateResourceSharePermissionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateResourceShareCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/DeleteResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DisassociateResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DisassociateResourceSharePermissionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/EnableSharingWithAwsOrganizationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetPermissionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourcePoliciesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourceShareAssociationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourceShareInvitationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourceSharesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPendingInvitationResourcesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPrincipalsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListResourceSharePermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListResourceTypesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListResourcesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -39
- package/{dist/cjs → dist-cjs}/commands/RejectResourceShareInvitationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -238
- package/{dist/cjs → dist-cjs}/pagination/GetResourcePoliciesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetResourceShareAssociationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetResourceShareInvitationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetResourceSharesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListPendingInvitationResourcesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPrincipalsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListResourceSharePermissionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListResourceTypesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListResourcesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +24 -30
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/RAM.js +2 -3
- package/{dist/es → dist-es}/RAMClient.js +1 -2
- package/{dist/es → dist-es}/commands/AcceptResourceShareInvitationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AssociateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AssociateResourceSharePermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisassociateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisassociateResourceSharePermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/EnableSharingWithAwsOrganizationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourcePoliciesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourceShareAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourceShareInvitationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourceSharesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPendingInvitationResourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPrincipalsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListResourceSharePermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListResourceTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListResourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RejectResourceShareInvitationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetResourcePoliciesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetResourceShareAssociationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetResourceShareInvitationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetResourceSharesPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListPendingInvitationResourcesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPrincipalsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListResourceSharePermissionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListResourceTypesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListResourcesPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/RAM.d.ts +3 -3
- package/{dist/types → dist-types}/RAMClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/AcceptResourceShareInvitationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssociateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssociateResourceSharePermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateResourceSharePermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/EnableSharingWithAwsOrganizationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetPermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourcePoliciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourceShareAssociationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourceShareInvitationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourceSharesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPendingInvitationResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPrincipalsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourceSharePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourceTypesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RejectResourceShareInvitationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetResourceSharesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPrincipalsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListResourceTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/RAM.d.ts +28 -123
- package/{dist/types → dist-types}/ts3.4/RAMClient.d.ts +33 -120
- package/{dist/types → dist-types}/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +5 -24
- package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetResourcePoliciesCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +5 -24
- package/{dist/types → dist-types}/ts3.4/commands/ListPermissionsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListResourceTypesCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +967 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourceSharesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPrincipalsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListResourceTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/RAM.ts +0 -932
- package/RAMClient.ts +0 -377
- package/commands/AcceptResourceShareInvitationCommand.ts +0 -99
- package/commands/AssociateResourceShareCommand.ts +0 -94
- package/commands/AssociateResourceSharePermissionCommand.ts +0 -102
- package/commands/CreateResourceShareCommand.ts +0 -101
- package/commands/DeleteResourceShareCommand.ts +0 -94
- package/commands/DisassociateResourceShareCommand.ts +0 -97
- package/commands/DisassociateResourceSharePermissionCommand.ts +0 -105
- package/commands/EnableSharingWithAwsOrganizationCommand.ts +0 -103
- package/commands/GetPermissionCommand.ts +0 -94
- package/commands/GetResourcePoliciesCommand.ts +0 -94
- package/commands/GetResourceShareAssociationsCommand.ts +0 -99
- package/commands/GetResourceShareInvitationsCommand.ts +0 -99
- package/commands/GetResourceSharesCommand.ts +0 -94
- package/commands/ListPendingInvitationResourcesCommand.ts +0 -103
- package/commands/ListPermissionsCommand.ts +0 -94
- package/commands/ListPrincipalsCommand.ts +0 -95
- package/commands/ListResourceSharePermissionsCommand.ts +0 -99
- package/commands/ListResourceTypesCommand.ts +0 -94
- package/commands/ListResourcesCommand.ts +0 -95
- package/commands/PromoteResourceShareCreatedFromPolicyCommand.ts +0 -118
- package/commands/RejectResourceShareInvitationCommand.ts +0 -99
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateResourceShareCommand.ts +0 -94
- package/dist/cjs/RAM.js.map +0 -1
- package/dist/cjs/RAMClient.js +0 -66
- package/dist/cjs/RAMClient.js.map +0 -1
- package/dist/cjs/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/GetPermissionCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourcePoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourceShareAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourceShareInvitationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourceSharesCommand.js.map +0 -1
- package/dist/cjs/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPrincipalsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceSharePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceTypesCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/RejectResourceShareInvitationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateResourceShareCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetResourcePoliciesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetResourceSharesPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPrincipalsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourceTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/RAM.js.map +0 -1
- package/dist/es/RAMClient.js.map +0 -1
- package/dist/es/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
- package/dist/es/commands/AssociateResourceShareCommand.js.map +0 -1
- package/dist/es/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/es/commands/CreateResourceShareCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourceShareCommand.js.map +0 -1
- package/dist/es/commands/DisassociateResourceShareCommand.js.map +0 -1
- package/dist/es/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/es/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
- package/dist/es/commands/GetPermissionCommand.js.map +0 -1
- package/dist/es/commands/GetResourcePoliciesCommand.js.map +0 -1
- package/dist/es/commands/GetResourceShareAssociationsCommand.js.map +0 -1
- package/dist/es/commands/GetResourceShareInvitationsCommand.js.map +0 -1
- package/dist/es/commands/GetResourceSharesCommand.js.map +0 -1
- package/dist/es/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListPrincipalsCommand.js.map +0 -1
- package/dist/es/commands/ListResourceSharePermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListResourceTypesCommand.js.map +0 -1
- package/dist/es/commands/ListResourcesCommand.js.map +0 -1
- package/dist/es/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
- package/dist/es/commands/RejectResourceShareInvitationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateResourceShareCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -39
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetResourcePoliciesPaginator.js.map +0 -1
- package/dist/es/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetResourceSharesPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPrincipalsPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourceTypesPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateResourceShareCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/GetPermissionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetResourceSharesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListPrincipalsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListResourcesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1701
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2165
- package/pagination/GetResourcePoliciesPaginator.ts +0 -58
- package/pagination/GetResourceShareAssociationsPaginator.ts +0 -58
- package/pagination/GetResourceShareInvitationsPaginator.ts +0 -58
- package/pagination/GetResourceSharesPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListPendingInvitationResourcesPaginator.ts +0 -58
- package/pagination/ListPermissionsPaginator.ts +0 -58
- package/pagination/ListPrincipalsPaginator.ts +0 -58
- package/pagination/ListResourceSharePermissionsPaginator.ts +0 -58
- package/pagination/ListResourceTypesPaginator.ts +0 -58
- package/pagination/ListResourcesPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -4305
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/models/models_0.ts
DELETED
|
@@ -1,2165 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
export interface AcceptResourceShareInvitationRequest {
|
|
4
|
-
/**
|
|
5
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
6
|
-
*/
|
|
7
|
-
resourceShareInvitationArn: string | undefined;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
11
|
-
*/
|
|
12
|
-
clientToken?: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export namespace AcceptResourceShareInvitationRequest {
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
|
-
export const filterSensitiveLog = (obj: AcceptResourceShareInvitationRequest): any => ({
|
|
20
|
-
...obj,
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type ResourceShareAssociationType = "PRINCIPAL" | "RESOURCE";
|
|
25
|
-
|
|
26
|
-
export type ResourceShareAssociationStatus =
|
|
27
|
-
| "ASSOCIATED"
|
|
28
|
-
| "ASSOCIATING"
|
|
29
|
-
| "DISASSOCIATED"
|
|
30
|
-
| "DISASSOCIATING"
|
|
31
|
-
| "FAILED";
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* <p>Describes an association with a resource share.</p>
|
|
35
|
-
*/
|
|
36
|
-
export interface ResourceShareAssociation {
|
|
37
|
-
/**
|
|
38
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
39
|
-
*/
|
|
40
|
-
resourceShareArn?: string;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* <p>The name of the resource share.</p>
|
|
44
|
-
*/
|
|
45
|
-
resourceShareName?: string;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* <p>The associated entity. For resource associations, this is the Amazon Resource Name
|
|
49
|
-
* (ARN) of the resource. For principal associations, this is one of the following:</p>
|
|
50
|
-
* <ul>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>An Amazon Web Services account ID</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>An ARN of an organization in Organizations</p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>An ARN of an organizational unit (OU) in Organizations</p>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>An ARN of an IAM role</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>An ARN of an IAM user</p>
|
|
65
|
-
* </li>
|
|
66
|
-
* </ul>
|
|
67
|
-
*/
|
|
68
|
-
associatedEntity?: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* <p>The association type.</p>
|
|
72
|
-
*/
|
|
73
|
-
associationType?: ResourceShareAssociationType | string;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* <p>The status of the association.</p>
|
|
77
|
-
*/
|
|
78
|
-
status?: ResourceShareAssociationStatus | string;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* <p>A message about the status of the association.</p>
|
|
82
|
-
*/
|
|
83
|
-
statusMessage?: string;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* <p>The time when the association was created.</p>
|
|
87
|
-
*/
|
|
88
|
-
creationTime?: Date;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* <p>The time when the association was last updated.</p>
|
|
92
|
-
*/
|
|
93
|
-
lastUpdatedTime?: Date;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* <p>Indicates whether the principal belongs to the same organization in Organizations as the
|
|
97
|
-
* Amazon Web Services account that owns the resource share.</p>
|
|
98
|
-
*/
|
|
99
|
-
external?: boolean;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export namespace ResourceShareAssociation {
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
export const filterSensitiveLog = (obj: ResourceShareAssociation): any => ({
|
|
107
|
-
...obj,
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export type ResourceShareInvitationStatus = "ACCEPTED" | "EXPIRED" | "PENDING" | "REJECTED";
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* <p>Describes an invitation to join a resource share.</p>
|
|
115
|
-
*/
|
|
116
|
-
export interface ResourceShareInvitation {
|
|
117
|
-
/**
|
|
118
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
119
|
-
*/
|
|
120
|
-
resourceShareInvitationArn?: string;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* <p>The name of the resource share.</p>
|
|
124
|
-
*/
|
|
125
|
-
resourceShareName?: string;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
129
|
-
*/
|
|
130
|
-
resourceShareArn?: string;
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* <p>The ID of the Amazon Web Services account that sent the invitation.</p>
|
|
134
|
-
*/
|
|
135
|
-
senderAccountId?: string;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* <p>The ID of the Amazon Web Services account that received the invitation.</p>
|
|
139
|
-
*/
|
|
140
|
-
receiverAccountId?: string;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* <p>The date and time when the invitation was sent.</p>
|
|
144
|
-
*/
|
|
145
|
-
invitationTimestamp?: Date;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* <p>The status of the invitation.</p>
|
|
149
|
-
*/
|
|
150
|
-
status?: ResourceShareInvitationStatus | string;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated
|
|
154
|
-
*
|
|
155
|
-
* <p>To view the resources associated with a pending resource share invitation, use <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html">
|
|
156
|
-
* ListPendingInvitationResources</a>.</p>
|
|
157
|
-
*/
|
|
158
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* <p>The Amazon Resource Name (ARN) of the IAM user or IAM role that received the
|
|
162
|
-
* invitation.</p>
|
|
163
|
-
*/
|
|
164
|
-
receiverArn?: string;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export namespace ResourceShareInvitation {
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
export const filterSensitiveLog = (obj: ResourceShareInvitation): any => ({
|
|
172
|
-
...obj,
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export interface AcceptResourceShareInvitationResponse {
|
|
177
|
-
/**
|
|
178
|
-
* <p>Information about the invitation.</p>
|
|
179
|
-
*/
|
|
180
|
-
resourceShareInvitation?: ResourceShareInvitation;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
184
|
-
*/
|
|
185
|
-
clientToken?: string;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
export namespace AcceptResourceShareInvitationResponse {
|
|
189
|
-
/**
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
export const filterSensitiveLog = (obj: AcceptResourceShareInvitationResponse): any => ({
|
|
193
|
-
...obj,
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* <p>A client token input parameter was reused with an operation, but at least one of the
|
|
199
|
-
* other input parameters is different from the previous call to the operation.</p>
|
|
200
|
-
*/
|
|
201
|
-
export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
|
|
202
|
-
name: "IdempotentParameterMismatchException";
|
|
203
|
-
$fault: "client";
|
|
204
|
-
message: string | undefined;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export namespace IdempotentParameterMismatchException {
|
|
208
|
-
/**
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
211
|
-
export const filterSensitiveLog = (obj: IdempotentParameterMismatchException): any => ({
|
|
212
|
-
...obj,
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* <p>A client token is not valid.</p>
|
|
218
|
-
*/
|
|
219
|
-
export interface InvalidClientTokenException extends __SmithyException, $MetadataBearer {
|
|
220
|
-
name: "InvalidClientTokenException";
|
|
221
|
-
$fault: "client";
|
|
222
|
-
message: string | undefined;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
export namespace InvalidClientTokenException {
|
|
226
|
-
/**
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
|
-
export const filterSensitiveLog = (obj: InvalidClientTokenException): any => ({
|
|
230
|
-
...obj,
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* <p>The format of an Amazon Resource Name (ARN) is not valid.</p>
|
|
236
|
-
*/
|
|
237
|
-
export interface MalformedArnException extends __SmithyException, $MetadataBearer {
|
|
238
|
-
name: "MalformedArnException";
|
|
239
|
-
$fault: "client";
|
|
240
|
-
message: string | undefined;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
export namespace MalformedArnException {
|
|
244
|
-
/**
|
|
245
|
-
* @internal
|
|
246
|
-
*/
|
|
247
|
-
export const filterSensitiveLog = (obj: MalformedArnException): any => ({
|
|
248
|
-
...obj,
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* <p>The requested operation is not permitted.</p>
|
|
254
|
-
*/
|
|
255
|
-
export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
|
|
256
|
-
name: "OperationNotPermittedException";
|
|
257
|
-
$fault: "client";
|
|
258
|
-
message: string | undefined;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export namespace OperationNotPermittedException {
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
export const filterSensitiveLog = (obj: OperationNotPermittedException): any => ({
|
|
266
|
-
...obj,
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* <p>The invitation was already accepted.</p>
|
|
272
|
-
*/
|
|
273
|
-
export interface ResourceShareInvitationAlreadyAcceptedException extends __SmithyException, $MetadataBearer {
|
|
274
|
-
name: "ResourceShareInvitationAlreadyAcceptedException";
|
|
275
|
-
$fault: "client";
|
|
276
|
-
message: string | undefined;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
export namespace ResourceShareInvitationAlreadyAcceptedException {
|
|
280
|
-
/**
|
|
281
|
-
* @internal
|
|
282
|
-
*/
|
|
283
|
-
export const filterSensitiveLog = (obj: ResourceShareInvitationAlreadyAcceptedException): any => ({
|
|
284
|
-
...obj,
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* <p>The invitation was already rejected.</p>
|
|
290
|
-
*/
|
|
291
|
-
export interface ResourceShareInvitationAlreadyRejectedException extends __SmithyException, $MetadataBearer {
|
|
292
|
-
name: "ResourceShareInvitationAlreadyRejectedException";
|
|
293
|
-
$fault: "client";
|
|
294
|
-
message: string | undefined;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export namespace ResourceShareInvitationAlreadyRejectedException {
|
|
298
|
-
/**
|
|
299
|
-
* @internal
|
|
300
|
-
*/
|
|
301
|
-
export const filterSensitiveLog = (obj: ResourceShareInvitationAlreadyRejectedException): any => ({
|
|
302
|
-
...obj,
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* <p>The Amazon Resource Name (ARN) for an invitation was not found.</p>
|
|
308
|
-
*/
|
|
309
|
-
export interface ResourceShareInvitationArnNotFoundException extends __SmithyException, $MetadataBearer {
|
|
310
|
-
name: "ResourceShareInvitationArnNotFoundException";
|
|
311
|
-
$fault: "client";
|
|
312
|
-
message: string | undefined;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
export namespace ResourceShareInvitationArnNotFoundException {
|
|
316
|
-
/**
|
|
317
|
-
* @internal
|
|
318
|
-
*/
|
|
319
|
-
export const filterSensitiveLog = (obj: ResourceShareInvitationArnNotFoundException): any => ({
|
|
320
|
-
...obj,
|
|
321
|
-
});
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* <p>The invitation is expired.</p>
|
|
326
|
-
*/
|
|
327
|
-
export interface ResourceShareInvitationExpiredException extends __SmithyException, $MetadataBearer {
|
|
328
|
-
name: "ResourceShareInvitationExpiredException";
|
|
329
|
-
$fault: "client";
|
|
330
|
-
message: string | undefined;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export namespace ResourceShareInvitationExpiredException {
|
|
334
|
-
/**
|
|
335
|
-
* @internal
|
|
336
|
-
*/
|
|
337
|
-
export const filterSensitiveLog = (obj: ResourceShareInvitationExpiredException): any => ({
|
|
338
|
-
...obj,
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* <p>The service could not respond to the request due to an internal problem.</p>
|
|
344
|
-
*/
|
|
345
|
-
export interface ServerInternalException extends __SmithyException, $MetadataBearer {
|
|
346
|
-
name: "ServerInternalException";
|
|
347
|
-
$fault: "server";
|
|
348
|
-
message: string | undefined;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export namespace ServerInternalException {
|
|
352
|
-
/**
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
355
|
-
export const filterSensitiveLog = (obj: ServerInternalException): any => ({
|
|
356
|
-
...obj,
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* <p>The service is not available.</p>
|
|
362
|
-
*/
|
|
363
|
-
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
364
|
-
name: "ServiceUnavailableException";
|
|
365
|
-
$fault: "server";
|
|
366
|
-
message: string | undefined;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export namespace ServiceUnavailableException {
|
|
370
|
-
/**
|
|
371
|
-
* @internal
|
|
372
|
-
*/
|
|
373
|
-
export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
|
|
374
|
-
...obj,
|
|
375
|
-
});
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
export interface AssociateResourceShareRequest {
|
|
379
|
-
/**
|
|
380
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
381
|
-
*/
|
|
382
|
-
resourceShareArn: string | undefined;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
386
|
-
*/
|
|
387
|
-
resourceArns?: string[];
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* <p>The principals to associate with the resource share. The possible values are:</p>
|
|
391
|
-
* <ul>
|
|
392
|
-
* <li>
|
|
393
|
-
* <p>An Amazon Web Services account ID</p>
|
|
394
|
-
* </li>
|
|
395
|
-
* <li>
|
|
396
|
-
* <p>An Amazon Resource Name (ARN) of an organization in Organizations</p>
|
|
397
|
-
* </li>
|
|
398
|
-
* <li>
|
|
399
|
-
* <p>An ARN of an organizational unit (OU) in Organizations</p>
|
|
400
|
-
* </li>
|
|
401
|
-
* <li>
|
|
402
|
-
* <p>An ARN of an IAM role</p>
|
|
403
|
-
* </li>
|
|
404
|
-
* <li>
|
|
405
|
-
* <p>An ARN of an IAM user</p>
|
|
406
|
-
* </li>
|
|
407
|
-
* </ul>
|
|
408
|
-
* <note>
|
|
409
|
-
* <p>Not all resource types can be shared with IAM roles and IAM users. For more
|
|
410
|
-
* information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and IAM users</a> in the <i>Resource Access Manager User
|
|
411
|
-
* Guide</i>.</p>
|
|
412
|
-
* </note>
|
|
413
|
-
*/
|
|
414
|
-
principals?: string[];
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
418
|
-
*/
|
|
419
|
-
clientToken?: string;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
export namespace AssociateResourceShareRequest {
|
|
423
|
-
/**
|
|
424
|
-
* @internal
|
|
425
|
-
*/
|
|
426
|
-
export const filterSensitiveLog = (obj: AssociateResourceShareRequest): any => ({
|
|
427
|
-
...obj,
|
|
428
|
-
});
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
export interface AssociateResourceShareResponse {
|
|
432
|
-
/**
|
|
433
|
-
* <p>Information about the associations.</p>
|
|
434
|
-
*/
|
|
435
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
439
|
-
*/
|
|
440
|
-
clientToken?: string;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export namespace AssociateResourceShareResponse {
|
|
444
|
-
/**
|
|
445
|
-
* @internal
|
|
446
|
-
*/
|
|
447
|
-
export const filterSensitiveLog = (obj: AssociateResourceShareResponse): any => ({
|
|
448
|
-
...obj,
|
|
449
|
-
});
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* <p>A parameter is not valid.</p>
|
|
454
|
-
*/
|
|
455
|
-
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
456
|
-
name: "InvalidParameterException";
|
|
457
|
-
$fault: "client";
|
|
458
|
-
message: string | undefined;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
export namespace InvalidParameterException {
|
|
462
|
-
/**
|
|
463
|
-
* @internal
|
|
464
|
-
*/
|
|
465
|
-
export const filterSensitiveLog = (obj: InvalidParameterException): any => ({
|
|
466
|
-
...obj,
|
|
467
|
-
});
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* <p>The requested state transition is not valid.</p>
|
|
472
|
-
*/
|
|
473
|
-
export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
|
|
474
|
-
name: "InvalidStateTransitionException";
|
|
475
|
-
$fault: "client";
|
|
476
|
-
message: string | undefined;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
export namespace InvalidStateTransitionException {
|
|
480
|
-
/**
|
|
481
|
-
* @internal
|
|
482
|
-
*/
|
|
483
|
-
export const filterSensitiveLog = (obj: InvalidStateTransitionException): any => ({
|
|
484
|
-
...obj,
|
|
485
|
-
});
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* <p>The requested resource share exceeds the limit for your account.</p>
|
|
490
|
-
*/
|
|
491
|
-
export interface ResourceShareLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
492
|
-
name: "ResourceShareLimitExceededException";
|
|
493
|
-
$fault: "client";
|
|
494
|
-
message: string | undefined;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
export namespace ResourceShareLimitExceededException {
|
|
498
|
-
/**
|
|
499
|
-
* @internal
|
|
500
|
-
*/
|
|
501
|
-
export const filterSensitiveLog = (obj: ResourceShareLimitExceededException): any => ({
|
|
502
|
-
...obj,
|
|
503
|
-
});
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* <p>A specified resource was not found.</p>
|
|
508
|
-
*/
|
|
509
|
-
export interface UnknownResourceException extends __SmithyException, $MetadataBearer {
|
|
510
|
-
name: "UnknownResourceException";
|
|
511
|
-
$fault: "client";
|
|
512
|
-
message: string | undefined;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
export namespace UnknownResourceException {
|
|
516
|
-
/**
|
|
517
|
-
* @internal
|
|
518
|
-
*/
|
|
519
|
-
export const filterSensitiveLog = (obj: UnknownResourceException): any => ({
|
|
520
|
-
...obj,
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
export interface AssociateResourceSharePermissionRequest {
|
|
525
|
-
/**
|
|
526
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
527
|
-
*/
|
|
528
|
-
resourceShareArn: string | undefined;
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* <p>The Amazon Resource Name (ARN) of the RAM permission to associate with the
|
|
532
|
-
* resource share.</p>
|
|
533
|
-
*/
|
|
534
|
-
permissionArn: string | undefined;
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* <p>Indicates whether the permission should replace the permissions that are currently
|
|
538
|
-
* associated with the resource share. Use <code>true</code> to replace the current permissions. Use
|
|
539
|
-
* <code>false</code> to add the permission to the current permission.</p>
|
|
540
|
-
*/
|
|
541
|
-
replace?: boolean;
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
545
|
-
*/
|
|
546
|
-
clientToken?: string;
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* <p>The version of the RAM permissions to associate with the resource share.</p>
|
|
550
|
-
*/
|
|
551
|
-
permissionVersion?: number;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
export namespace AssociateResourceSharePermissionRequest {
|
|
555
|
-
/**
|
|
556
|
-
* @internal
|
|
557
|
-
*/
|
|
558
|
-
export const filterSensitiveLog = (obj: AssociateResourceSharePermissionRequest): any => ({
|
|
559
|
-
...obj,
|
|
560
|
-
});
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
export interface AssociateResourceSharePermissionResponse {
|
|
564
|
-
/**
|
|
565
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
566
|
-
*/
|
|
567
|
-
returnValue?: boolean;
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
571
|
-
*/
|
|
572
|
-
clientToken?: string;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
export namespace AssociateResourceSharePermissionResponse {
|
|
576
|
-
/**
|
|
577
|
-
* @internal
|
|
578
|
-
*/
|
|
579
|
-
export const filterSensitiveLog = (obj: AssociateResourceSharePermissionResponse): any => ({
|
|
580
|
-
...obj,
|
|
581
|
-
});
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* <p>Information about a tag.</p>
|
|
586
|
-
*/
|
|
587
|
-
export interface Tag {
|
|
588
|
-
/**
|
|
589
|
-
* <p>The key of the tag.</p>
|
|
590
|
-
*/
|
|
591
|
-
key?: string;
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* <p>The value of the tag.</p>
|
|
595
|
-
*/
|
|
596
|
-
value?: string;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
export namespace Tag {
|
|
600
|
-
/**
|
|
601
|
-
* @internal
|
|
602
|
-
*/
|
|
603
|
-
export const filterSensitiveLog = (obj: Tag): any => ({
|
|
604
|
-
...obj,
|
|
605
|
-
});
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
export interface CreateResourceShareRequest {
|
|
609
|
-
/**
|
|
610
|
-
* <p>The name of the resource share.</p>
|
|
611
|
-
*/
|
|
612
|
-
name: string | undefined;
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* <p>The ARNs of the resources to associate with the resource share.</p>
|
|
616
|
-
*/
|
|
617
|
-
resourceArns?: string[];
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* <p>The principals to associate with the resource share. The possible values are:</p>
|
|
621
|
-
* <ul>
|
|
622
|
-
* <li>
|
|
623
|
-
* <p>An Amazon Web Services account ID</p>
|
|
624
|
-
* </li>
|
|
625
|
-
* <li>
|
|
626
|
-
* <p>An Amazon Resource Name (ARN) of an organization in Organizations</p>
|
|
627
|
-
* </li>
|
|
628
|
-
* <li>
|
|
629
|
-
* <p>An ARN of an organizational unit (OU) in Organizations</p>
|
|
630
|
-
* </li>
|
|
631
|
-
* <li>
|
|
632
|
-
* <p>An ARN of an IAM role</p>
|
|
633
|
-
* </li>
|
|
634
|
-
* <li>
|
|
635
|
-
* <p>An ARN of an IAM user</p>
|
|
636
|
-
* </li>
|
|
637
|
-
* </ul>
|
|
638
|
-
* <note>
|
|
639
|
-
* <p>Not all resource types can be shared with IAM roles and IAM users. For more
|
|
640
|
-
* information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and IAM users</a> in the <i>Resource Access Manager User
|
|
641
|
-
* Guide</i>.</p>
|
|
642
|
-
* </note>
|
|
643
|
-
*/
|
|
644
|
-
principals?: string[];
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* <p>One or more tags.</p>
|
|
648
|
-
*/
|
|
649
|
-
tags?: Tag[];
|
|
650
|
-
|
|
651
|
-
/**
|
|
652
|
-
* <p>Indicates whether principals outside your organization in Organizations can be associated
|
|
653
|
-
* with a resource share.</p>
|
|
654
|
-
*/
|
|
655
|
-
allowExternalPrincipals?: boolean;
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
659
|
-
*/
|
|
660
|
-
clientToken?: string;
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* <p>The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you
|
|
664
|
-
* do not specify an ARN for the permission, RAM automatically attaches the default
|
|
665
|
-
* version of the permission for each resource type. Only one permission can be associated
|
|
666
|
-
* with each resource type in a resource share.</p>
|
|
667
|
-
*/
|
|
668
|
-
permissionArns?: string[];
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
export namespace CreateResourceShareRequest {
|
|
672
|
-
/**
|
|
673
|
-
* @internal
|
|
674
|
-
*/
|
|
675
|
-
export const filterSensitiveLog = (obj: CreateResourceShareRequest): any => ({
|
|
676
|
-
...obj,
|
|
677
|
-
});
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
export type ResourceShareFeatureSet = "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD";
|
|
681
|
-
|
|
682
|
-
export type ResourceShareStatus = "ACTIVE" | "DELETED" | "DELETING" | "FAILED" | "PENDING";
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* <p>Describes a resource share.</p>
|
|
686
|
-
*/
|
|
687
|
-
export interface ResourceShare {
|
|
688
|
-
/**
|
|
689
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
690
|
-
*/
|
|
691
|
-
resourceShareArn?: string;
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* <p>The name of the resource share.</p>
|
|
695
|
-
*/
|
|
696
|
-
name?: string;
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* <p>The ID of the Amazon Web Services account that owns the resource share.</p>
|
|
700
|
-
*/
|
|
701
|
-
owningAccountId?: string;
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* <p>Indicates whether principals outside your organization in Organizations can be associated
|
|
705
|
-
* with a resource share.</p>
|
|
706
|
-
*/
|
|
707
|
-
allowExternalPrincipals?: boolean;
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* <p>The status of the resource share.</p>
|
|
711
|
-
*/
|
|
712
|
-
status?: ResourceShareStatus | string;
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* <p>A message about the status of the resource share.</p>
|
|
716
|
-
*/
|
|
717
|
-
statusMessage?: string;
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* <p>The tags for the resource share.</p>
|
|
721
|
-
*/
|
|
722
|
-
tags?: Tag[];
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* <p>The time when the resource share was created.</p>
|
|
726
|
-
*/
|
|
727
|
-
creationTime?: Date;
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* <p>The time when the resource share was last updated.</p>
|
|
731
|
-
*/
|
|
732
|
-
lastUpdatedTime?: Date;
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* <p>Indicates how the resource share was created. Possible values include:</p>
|
|
736
|
-
* <ul>
|
|
737
|
-
* <li>
|
|
738
|
-
* <p>
|
|
739
|
-
* <code>CREATED_FROM_POLICY</code> - Indicates that the resource share was created from an
|
|
740
|
-
* Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource.
|
|
741
|
-
* These resource shares are visible only to the Amazon Web Services account that created it. They cannot
|
|
742
|
-
* be modified in RAM.</p>
|
|
743
|
-
* </li>
|
|
744
|
-
* <li>
|
|
745
|
-
* <p>
|
|
746
|
-
* <code>PROMOTING_TO_STANDARD</code> - The resource share is in the process of being
|
|
747
|
-
* promoted. For more information, see <a>PromoteResourceShareCreatedFromPolicy</a>.</p>
|
|
748
|
-
* </li>
|
|
749
|
-
* <li>
|
|
750
|
-
* <p>
|
|
751
|
-
* <code>STANDARD</code> - Indicates that the resource share was created in RAM using the
|
|
752
|
-
* console or APIs. These resource shares are visible to all principals. They can
|
|
753
|
-
* be modified in RAM.</p>
|
|
754
|
-
* </li>
|
|
755
|
-
* </ul>
|
|
756
|
-
*/
|
|
757
|
-
featureSet?: ResourceShareFeatureSet | string;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
export namespace ResourceShare {
|
|
761
|
-
/**
|
|
762
|
-
* @internal
|
|
763
|
-
*/
|
|
764
|
-
export const filterSensitiveLog = (obj: ResourceShare): any => ({
|
|
765
|
-
...obj,
|
|
766
|
-
});
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
export interface CreateResourceShareResponse {
|
|
770
|
-
/**
|
|
771
|
-
* <p>Information about the resource share.</p>
|
|
772
|
-
*/
|
|
773
|
-
resourceShare?: ResourceShare;
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
777
|
-
*/
|
|
778
|
-
clientToken?: string;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
export namespace CreateResourceShareResponse {
|
|
782
|
-
/**
|
|
783
|
-
* @internal
|
|
784
|
-
*/
|
|
785
|
-
export const filterSensitiveLog = (obj: CreateResourceShareResponse): any => ({
|
|
786
|
-
...obj,
|
|
787
|
-
});
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
/**
|
|
791
|
-
* <p>The specified tag is a reserved word and cannot be used.</p>
|
|
792
|
-
*/
|
|
793
|
-
export interface TagPolicyViolationException extends __SmithyException, $MetadataBearer {
|
|
794
|
-
name: "TagPolicyViolationException";
|
|
795
|
-
$fault: "client";
|
|
796
|
-
message: string | undefined;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
export namespace TagPolicyViolationException {
|
|
800
|
-
/**
|
|
801
|
-
* @internal
|
|
802
|
-
*/
|
|
803
|
-
export const filterSensitiveLog = (obj: TagPolicyViolationException): any => ({
|
|
804
|
-
...obj,
|
|
805
|
-
});
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
export interface DeleteResourceShareRequest {
|
|
809
|
-
/**
|
|
810
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
811
|
-
*/
|
|
812
|
-
resourceShareArn: string | undefined;
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
816
|
-
*/
|
|
817
|
-
clientToken?: string;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
export namespace DeleteResourceShareRequest {
|
|
821
|
-
/**
|
|
822
|
-
* @internal
|
|
823
|
-
*/
|
|
824
|
-
export const filterSensitiveLog = (obj: DeleteResourceShareRequest): any => ({
|
|
825
|
-
...obj,
|
|
826
|
-
});
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
export interface DeleteResourceShareResponse {
|
|
830
|
-
/**
|
|
831
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
832
|
-
*/
|
|
833
|
-
returnValue?: boolean;
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
837
|
-
*/
|
|
838
|
-
clientToken?: string;
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
export namespace DeleteResourceShareResponse {
|
|
842
|
-
/**
|
|
843
|
-
* @internal
|
|
844
|
-
*/
|
|
845
|
-
export const filterSensitiveLog = (obj: DeleteResourceShareResponse): any => ({
|
|
846
|
-
...obj,
|
|
847
|
-
});
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
export interface DisassociateResourceShareRequest {
|
|
851
|
-
/**
|
|
852
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
853
|
-
*/
|
|
854
|
-
resourceShareArn: string | undefined;
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
858
|
-
*/
|
|
859
|
-
resourceArns?: string[];
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
* <p>The principals.</p>
|
|
863
|
-
*/
|
|
864
|
-
principals?: string[];
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
868
|
-
*/
|
|
869
|
-
clientToken?: string;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
export namespace DisassociateResourceShareRequest {
|
|
873
|
-
/**
|
|
874
|
-
* @internal
|
|
875
|
-
*/
|
|
876
|
-
export const filterSensitiveLog = (obj: DisassociateResourceShareRequest): any => ({
|
|
877
|
-
...obj,
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
export interface DisassociateResourceShareResponse {
|
|
882
|
-
/**
|
|
883
|
-
* <p>Information about the associations.</p>
|
|
884
|
-
*/
|
|
885
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
889
|
-
*/
|
|
890
|
-
clientToken?: string;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
export namespace DisassociateResourceShareResponse {
|
|
894
|
-
/**
|
|
895
|
-
* @internal
|
|
896
|
-
*/
|
|
897
|
-
export const filterSensitiveLog = (obj: DisassociateResourceShareResponse): any => ({
|
|
898
|
-
...obj,
|
|
899
|
-
});
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
export interface DisassociateResourceSharePermissionRequest {
|
|
903
|
-
/**
|
|
904
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
905
|
-
*/
|
|
906
|
-
resourceShareArn: string | undefined;
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* <p>The Amazon Resource Name (ARN) of the permission to disassociate from the resource share.</p>
|
|
910
|
-
*/
|
|
911
|
-
permissionArn: string | undefined;
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
915
|
-
*/
|
|
916
|
-
clientToken?: string;
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
export namespace DisassociateResourceSharePermissionRequest {
|
|
920
|
-
/**
|
|
921
|
-
* @internal
|
|
922
|
-
*/
|
|
923
|
-
export const filterSensitiveLog = (obj: DisassociateResourceSharePermissionRequest): any => ({
|
|
924
|
-
...obj,
|
|
925
|
-
});
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
export interface DisassociateResourceSharePermissionResponse {
|
|
929
|
-
/**
|
|
930
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
931
|
-
*/
|
|
932
|
-
returnValue?: boolean;
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
936
|
-
*/
|
|
937
|
-
clientToken?: string;
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
export namespace DisassociateResourceSharePermissionResponse {
|
|
941
|
-
/**
|
|
942
|
-
* @internal
|
|
943
|
-
*/
|
|
944
|
-
export const filterSensitiveLog = (obj: DisassociateResourceSharePermissionResponse): any => ({
|
|
945
|
-
...obj,
|
|
946
|
-
});
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
export interface EnableSharingWithAwsOrganizationRequest {}
|
|
950
|
-
|
|
951
|
-
export namespace EnableSharingWithAwsOrganizationRequest {
|
|
952
|
-
/**
|
|
953
|
-
* @internal
|
|
954
|
-
*/
|
|
955
|
-
export const filterSensitiveLog = (obj: EnableSharingWithAwsOrganizationRequest): any => ({
|
|
956
|
-
...obj,
|
|
957
|
-
});
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
export interface EnableSharingWithAwsOrganizationResponse {
|
|
961
|
-
/**
|
|
962
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
963
|
-
*/
|
|
964
|
-
returnValue?: boolean;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
export namespace EnableSharingWithAwsOrganizationResponse {
|
|
968
|
-
/**
|
|
969
|
-
* @internal
|
|
970
|
-
*/
|
|
971
|
-
export const filterSensitiveLog = (obj: EnableSharingWithAwsOrganizationResponse): any => ({
|
|
972
|
-
...obj,
|
|
973
|
-
});
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
export interface GetPermissionRequest {
|
|
977
|
-
/**
|
|
978
|
-
* <p>The Amazon Resource Name (ARN) of the permission.</p>
|
|
979
|
-
*/
|
|
980
|
-
permissionArn: string | undefined;
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* <p>The identifier for the version of the permission.</p>
|
|
984
|
-
*/
|
|
985
|
-
permissionVersion?: number;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
export namespace GetPermissionRequest {
|
|
989
|
-
/**
|
|
990
|
-
* @internal
|
|
991
|
-
*/
|
|
992
|
-
export const filterSensitiveLog = (obj: GetPermissionRequest): any => ({
|
|
993
|
-
...obj,
|
|
994
|
-
});
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
/**
|
|
998
|
-
* <p>Information about an RAM permission.</p>
|
|
999
|
-
*/
|
|
1000
|
-
export interface ResourceSharePermissionDetail {
|
|
1001
|
-
/**
|
|
1002
|
-
* <p>The Amazon Resource Name (ARN) of the permission.</p>
|
|
1003
|
-
*/
|
|
1004
|
-
arn?: string;
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* <p>The identifier for the version of the permission.</p>
|
|
1008
|
-
*/
|
|
1009
|
-
version?: string;
|
|
1010
|
-
|
|
1011
|
-
/**
|
|
1012
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
1013
|
-
* permission.</p>
|
|
1014
|
-
*/
|
|
1015
|
-
defaultVersion?: boolean;
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* <p>The name of the permission.</p>
|
|
1019
|
-
*/
|
|
1020
|
-
name?: string;
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* <p>The resource type to which the permission applies.</p>
|
|
1024
|
-
*/
|
|
1025
|
-
resourceType?: string;
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* <p>The permission's effect and actions in JSON format. The <code>effect</code> indicates
|
|
1029
|
-
* whether the actions are allowed or denied. The <code>actions</code> list the API actions
|
|
1030
|
-
* to which the principal is granted or denied access.</p>
|
|
1031
|
-
*/
|
|
1032
|
-
permission?: string;
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* <p>The date and time when the permission was created.</p>
|
|
1036
|
-
*/
|
|
1037
|
-
creationTime?: Date;
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* <p>The date and time when the permission was last updated.</p>
|
|
1041
|
-
*/
|
|
1042
|
-
lastUpdatedTime?: Date;
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
1046
|
-
* resource type.</p>
|
|
1047
|
-
*/
|
|
1048
|
-
isResourceTypeDefault?: boolean;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
export namespace ResourceSharePermissionDetail {
|
|
1052
|
-
/**
|
|
1053
|
-
* @internal
|
|
1054
|
-
*/
|
|
1055
|
-
export const filterSensitiveLog = (obj: ResourceSharePermissionDetail): any => ({
|
|
1056
|
-
...obj,
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
export interface GetPermissionResponse {
|
|
1061
|
-
/**
|
|
1062
|
-
* <p>Information about the permission.</p>
|
|
1063
|
-
*/
|
|
1064
|
-
permission?: ResourceSharePermissionDetail;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
export namespace GetPermissionResponse {
|
|
1068
|
-
/**
|
|
1069
|
-
* @internal
|
|
1070
|
-
*/
|
|
1071
|
-
export const filterSensitiveLog = (obj: GetPermissionResponse): any => ({
|
|
1072
|
-
...obj,
|
|
1073
|
-
});
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
export interface GetResourcePoliciesRequest {
|
|
1077
|
-
/**
|
|
1078
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
1079
|
-
*/
|
|
1080
|
-
resourceArns: string[] | undefined;
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* <p>The principal.</p>
|
|
1084
|
-
*/
|
|
1085
|
-
principal?: string;
|
|
1086
|
-
|
|
1087
|
-
/**
|
|
1088
|
-
* <p>The token for the next page of results.</p>
|
|
1089
|
-
*/
|
|
1090
|
-
nextToken?: string;
|
|
1091
|
-
|
|
1092
|
-
/**
|
|
1093
|
-
* <p>The maximum number of results to return with a single call.
|
|
1094
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1095
|
-
*/
|
|
1096
|
-
maxResults?: number;
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
export namespace GetResourcePoliciesRequest {
|
|
1100
|
-
/**
|
|
1101
|
-
* @internal
|
|
1102
|
-
*/
|
|
1103
|
-
export const filterSensitiveLog = (obj: GetResourcePoliciesRequest): any => ({
|
|
1104
|
-
...obj,
|
|
1105
|
-
});
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
export interface GetResourcePoliciesResponse {
|
|
1109
|
-
/**
|
|
1110
|
-
* <p>A key policy document, in JSON format.</p>
|
|
1111
|
-
*/
|
|
1112
|
-
policies?: string[];
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1116
|
-
*/
|
|
1117
|
-
nextToken?: string;
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
export namespace GetResourcePoliciesResponse {
|
|
1121
|
-
/**
|
|
1122
|
-
* @internal
|
|
1123
|
-
*/
|
|
1124
|
-
export const filterSensitiveLog = (obj: GetResourcePoliciesResponse): any => ({
|
|
1125
|
-
...obj,
|
|
1126
|
-
});
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
/**
|
|
1130
|
-
* <p>The specified value for NextToken is not valid.</p>
|
|
1131
|
-
*/
|
|
1132
|
-
export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
|
|
1133
|
-
name: "InvalidNextTokenException";
|
|
1134
|
-
$fault: "client";
|
|
1135
|
-
message: string | undefined;
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
export namespace InvalidNextTokenException {
|
|
1139
|
-
/**
|
|
1140
|
-
* @internal
|
|
1141
|
-
*/
|
|
1142
|
-
export const filterSensitiveLog = (obj: InvalidNextTokenException): any => ({
|
|
1143
|
-
...obj,
|
|
1144
|
-
});
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
/**
|
|
1148
|
-
* <p>An Amazon Resource Name (ARN) was not found.</p>
|
|
1149
|
-
*/
|
|
1150
|
-
export interface ResourceArnNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1151
|
-
name: "ResourceArnNotFoundException";
|
|
1152
|
-
$fault: "client";
|
|
1153
|
-
message: string | undefined;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
export namespace ResourceArnNotFoundException {
|
|
1157
|
-
/**
|
|
1158
|
-
* @internal
|
|
1159
|
-
*/
|
|
1160
|
-
export const filterSensitiveLog = (obj: ResourceArnNotFoundException): any => ({
|
|
1161
|
-
...obj,
|
|
1162
|
-
});
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
export interface GetResourceShareAssociationsRequest {
|
|
1166
|
-
/**
|
|
1167
|
-
* <p>The association type. Specify <code>PRINCIPAL</code> to list the principals that are
|
|
1168
|
-
* associated with the specified resource share. Specify <code>RESOURCE</code> to list the resources
|
|
1169
|
-
* that are associated with the specified resource share.</p>
|
|
1170
|
-
*/
|
|
1171
|
-
associationType: ResourceShareAssociationType | string | undefined;
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
1175
|
-
*/
|
|
1176
|
-
resourceShareArns?: string[];
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* <p>The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if
|
|
1180
|
-
* the association type is <code>PRINCIPAL</code>.</p>
|
|
1181
|
-
*/
|
|
1182
|
-
resourceArn?: string;
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* <p>The principal. You cannot specify this parameter if the association type is
|
|
1186
|
-
* <code>RESOURCE</code>.</p>
|
|
1187
|
-
*/
|
|
1188
|
-
principal?: string;
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* <p>The association status.</p>
|
|
1192
|
-
*/
|
|
1193
|
-
associationStatus?: ResourceShareAssociationStatus | string;
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* <p>The token for the next page of results.</p>
|
|
1197
|
-
*/
|
|
1198
|
-
nextToken?: string;
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
* <p>The maximum number of results to return with a single call.
|
|
1202
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1203
|
-
*/
|
|
1204
|
-
maxResults?: number;
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
export namespace GetResourceShareAssociationsRequest {
|
|
1208
|
-
/**
|
|
1209
|
-
* @internal
|
|
1210
|
-
*/
|
|
1211
|
-
export const filterSensitiveLog = (obj: GetResourceShareAssociationsRequest): any => ({
|
|
1212
|
-
...obj,
|
|
1213
|
-
});
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
export interface GetResourceShareAssociationsResponse {
|
|
1217
|
-
/**
|
|
1218
|
-
* <p>Information about the associations.</p>
|
|
1219
|
-
*/
|
|
1220
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1224
|
-
*/
|
|
1225
|
-
nextToken?: string;
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
export namespace GetResourceShareAssociationsResponse {
|
|
1229
|
-
/**
|
|
1230
|
-
* @internal
|
|
1231
|
-
*/
|
|
1232
|
-
export const filterSensitiveLog = (obj: GetResourceShareAssociationsResponse): any => ({
|
|
1233
|
-
...obj,
|
|
1234
|
-
});
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
export interface GetResourceShareInvitationsRequest {
|
|
1238
|
-
/**
|
|
1239
|
-
* <p>The Amazon Resource Names (ARN) of the invitations.</p>
|
|
1240
|
-
*/
|
|
1241
|
-
resourceShareInvitationArns?: string[];
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
1245
|
-
*/
|
|
1246
|
-
resourceShareArns?: string[];
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* <p>The token for the next page of results.</p>
|
|
1250
|
-
*/
|
|
1251
|
-
nextToken?: string;
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* <p>The maximum number of results to return with a single call.
|
|
1255
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1256
|
-
*/
|
|
1257
|
-
maxResults?: number;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
export namespace GetResourceShareInvitationsRequest {
|
|
1261
|
-
/**
|
|
1262
|
-
* @internal
|
|
1263
|
-
*/
|
|
1264
|
-
export const filterSensitiveLog = (obj: GetResourceShareInvitationsRequest): any => ({
|
|
1265
|
-
...obj,
|
|
1266
|
-
});
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
export interface GetResourceShareInvitationsResponse {
|
|
1270
|
-
/**
|
|
1271
|
-
* <p>Information about the invitations.</p>
|
|
1272
|
-
*/
|
|
1273
|
-
resourceShareInvitations?: ResourceShareInvitation[];
|
|
1274
|
-
|
|
1275
|
-
/**
|
|
1276
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1277
|
-
*/
|
|
1278
|
-
nextToken?: string;
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
export namespace GetResourceShareInvitationsResponse {
|
|
1282
|
-
/**
|
|
1283
|
-
* @internal
|
|
1284
|
-
*/
|
|
1285
|
-
export const filterSensitiveLog = (obj: GetResourceShareInvitationsResponse): any => ({
|
|
1286
|
-
...obj,
|
|
1287
|
-
});
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
/**
|
|
1291
|
-
* <p>The specified value for MaxResults is not valid.</p>
|
|
1292
|
-
*/
|
|
1293
|
-
export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
|
|
1294
|
-
name: "InvalidMaxResultsException";
|
|
1295
|
-
$fault: "client";
|
|
1296
|
-
message: string | undefined;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
export namespace InvalidMaxResultsException {
|
|
1300
|
-
/**
|
|
1301
|
-
* @internal
|
|
1302
|
-
*/
|
|
1303
|
-
export const filterSensitiveLog = (obj: InvalidMaxResultsException): any => ({
|
|
1304
|
-
...obj,
|
|
1305
|
-
});
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
export enum ResourceOwner {
|
|
1309
|
-
OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
|
|
1310
|
-
SELF = "SELF",
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
/**
|
|
1314
|
-
* <p>Used to filter information based on tags.</p>
|
|
1315
|
-
*/
|
|
1316
|
-
export interface TagFilter {
|
|
1317
|
-
/**
|
|
1318
|
-
* <p>The tag key.</p>
|
|
1319
|
-
*/
|
|
1320
|
-
tagKey?: string;
|
|
1321
|
-
|
|
1322
|
-
/**
|
|
1323
|
-
* <p>The tag values.</p>
|
|
1324
|
-
*/
|
|
1325
|
-
tagValues?: string[];
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
export namespace TagFilter {
|
|
1329
|
-
/**
|
|
1330
|
-
* @internal
|
|
1331
|
-
*/
|
|
1332
|
-
export const filterSensitiveLog = (obj: TagFilter): any => ({
|
|
1333
|
-
...obj,
|
|
1334
|
-
});
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
export interface GetResourceSharesRequest {
|
|
1338
|
-
/**
|
|
1339
|
-
* <p>The Amazon Resource Names (ARNs) of the resource shares.</p>
|
|
1340
|
-
*/
|
|
1341
|
-
resourceShareArns?: string[];
|
|
1342
|
-
|
|
1343
|
-
/**
|
|
1344
|
-
* <p>The status of the resource share.</p>
|
|
1345
|
-
*/
|
|
1346
|
-
resourceShareStatus?: ResourceShareStatus | string;
|
|
1347
|
-
|
|
1348
|
-
/**
|
|
1349
|
-
* <p>The type of owner.</p>
|
|
1350
|
-
*/
|
|
1351
|
-
resourceOwner: ResourceOwner | string | undefined;
|
|
1352
|
-
|
|
1353
|
-
/**
|
|
1354
|
-
* <p>The name of the resource share.</p>
|
|
1355
|
-
*/
|
|
1356
|
-
name?: string;
|
|
1357
|
-
|
|
1358
|
-
/**
|
|
1359
|
-
* <p>One or more tag filters.</p>
|
|
1360
|
-
*/
|
|
1361
|
-
tagFilters?: TagFilter[];
|
|
1362
|
-
|
|
1363
|
-
/**
|
|
1364
|
-
* <p>The token for the next page of results.</p>
|
|
1365
|
-
*/
|
|
1366
|
-
nextToken?: string;
|
|
1367
|
-
|
|
1368
|
-
/**
|
|
1369
|
-
* <p>The maximum number of results to return with a single call.
|
|
1370
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1371
|
-
*/
|
|
1372
|
-
maxResults?: number;
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* <p>The Amazon Resource Name (ARN) of the RAM permission that is associated with the
|
|
1376
|
-
* resource share.</p>
|
|
1377
|
-
*/
|
|
1378
|
-
permissionArn?: string;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
export namespace GetResourceSharesRequest {
|
|
1382
|
-
/**
|
|
1383
|
-
* @internal
|
|
1384
|
-
*/
|
|
1385
|
-
export const filterSensitiveLog = (obj: GetResourceSharesRequest): any => ({
|
|
1386
|
-
...obj,
|
|
1387
|
-
});
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
export interface GetResourceSharesResponse {
|
|
1391
|
-
/**
|
|
1392
|
-
* <p>Information about the resource shares.</p>
|
|
1393
|
-
*/
|
|
1394
|
-
resourceShares?: ResourceShare[];
|
|
1395
|
-
|
|
1396
|
-
/**
|
|
1397
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1398
|
-
*/
|
|
1399
|
-
nextToken?: string;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
export namespace GetResourceSharesResponse {
|
|
1403
|
-
/**
|
|
1404
|
-
* @internal
|
|
1405
|
-
*/
|
|
1406
|
-
export const filterSensitiveLog = (obj: GetResourceSharesResponse): any => ({
|
|
1407
|
-
...obj,
|
|
1408
|
-
});
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
export interface ListPendingInvitationResourcesRequest {
|
|
1412
|
-
/**
|
|
1413
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
1414
|
-
*/
|
|
1415
|
-
resourceShareInvitationArn: string | undefined;
|
|
1416
|
-
|
|
1417
|
-
/**
|
|
1418
|
-
* <p>The token for the next page of results.</p>
|
|
1419
|
-
*/
|
|
1420
|
-
nextToken?: string;
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
* <p>The maximum number of results to return with a single call.
|
|
1424
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1425
|
-
*/
|
|
1426
|
-
maxResults?: number;
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
export namespace ListPendingInvitationResourcesRequest {
|
|
1430
|
-
/**
|
|
1431
|
-
* @internal
|
|
1432
|
-
*/
|
|
1433
|
-
export const filterSensitiveLog = (obj: ListPendingInvitationResourcesRequest): any => ({
|
|
1434
|
-
...obj,
|
|
1435
|
-
});
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
export type ResourceStatus = "AVAILABLE" | "LIMIT_EXCEEDED" | "PENDING" | "UNAVAILABLE" | "ZONAL_RESOURCE_INACCESSIBLE";
|
|
1439
|
-
|
|
1440
|
-
/**
|
|
1441
|
-
* <p>Describes a resource associated with a resource share.</p>
|
|
1442
|
-
*/
|
|
1443
|
-
export interface Resource {
|
|
1444
|
-
/**
|
|
1445
|
-
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1446
|
-
*/
|
|
1447
|
-
arn?: string;
|
|
1448
|
-
|
|
1449
|
-
/**
|
|
1450
|
-
* <p>The resource type.</p>
|
|
1451
|
-
*/
|
|
1452
|
-
type?: string;
|
|
1453
|
-
|
|
1454
|
-
/**
|
|
1455
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1456
|
-
*/
|
|
1457
|
-
resourceShareArn?: string;
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
* <p>The Amazon Resource Name (ARN) of the resource group. This value is returned only if
|
|
1461
|
-
* the resource is a resource group.</p>
|
|
1462
|
-
*/
|
|
1463
|
-
resourceGroupArn?: string;
|
|
1464
|
-
|
|
1465
|
-
/**
|
|
1466
|
-
* <p>The status of the resource.</p>
|
|
1467
|
-
*/
|
|
1468
|
-
status?: ResourceStatus | string;
|
|
1469
|
-
|
|
1470
|
-
/**
|
|
1471
|
-
* <p>A message about the status of the resource.</p>
|
|
1472
|
-
*/
|
|
1473
|
-
statusMessage?: string;
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* <p>The time when the resource was associated with the resource share.</p>
|
|
1477
|
-
*/
|
|
1478
|
-
creationTime?: Date;
|
|
1479
|
-
|
|
1480
|
-
/**
|
|
1481
|
-
* <p>The time when the association was last updated.</p>
|
|
1482
|
-
*/
|
|
1483
|
-
lastUpdatedTime?: Date;
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
export namespace Resource {
|
|
1487
|
-
/**
|
|
1488
|
-
* @internal
|
|
1489
|
-
*/
|
|
1490
|
-
export const filterSensitiveLog = (obj: Resource): any => ({
|
|
1491
|
-
...obj,
|
|
1492
|
-
});
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
export interface ListPendingInvitationResourcesResponse {
|
|
1496
|
-
/**
|
|
1497
|
-
* <p>Information about the resources included the resource share.</p>
|
|
1498
|
-
*/
|
|
1499
|
-
resources?: Resource[];
|
|
1500
|
-
|
|
1501
|
-
/**
|
|
1502
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1503
|
-
*/
|
|
1504
|
-
nextToken?: string;
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
export namespace ListPendingInvitationResourcesResponse {
|
|
1508
|
-
/**
|
|
1509
|
-
* @internal
|
|
1510
|
-
*/
|
|
1511
|
-
export const filterSensitiveLog = (obj: ListPendingInvitationResourcesResponse): any => ({
|
|
1512
|
-
...obj,
|
|
1513
|
-
});
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
/**
|
|
1517
|
-
* <p>A required input parameter is missing.</p>
|
|
1518
|
-
*/
|
|
1519
|
-
export interface MissingRequiredParameterException extends __SmithyException, $MetadataBearer {
|
|
1520
|
-
name: "MissingRequiredParameterException";
|
|
1521
|
-
$fault: "client";
|
|
1522
|
-
message: string | undefined;
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
export namespace MissingRequiredParameterException {
|
|
1526
|
-
/**
|
|
1527
|
-
* @internal
|
|
1528
|
-
*/
|
|
1529
|
-
export const filterSensitiveLog = (obj: MissingRequiredParameterException): any => ({
|
|
1530
|
-
...obj,
|
|
1531
|
-
});
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
export interface ListPermissionsRequest {
|
|
1535
|
-
/**
|
|
1536
|
-
* <p>Specifies the resource type for which to list permissions. For example, to list only
|
|
1537
|
-
* permissions that apply to EC2 subnets, specify <code>ec2:Subnet</code>.</p>
|
|
1538
|
-
*/
|
|
1539
|
-
resourceType?: string;
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
* <p>The token for the next page of results.</p>
|
|
1543
|
-
*/
|
|
1544
|
-
nextToken?: string;
|
|
1545
|
-
|
|
1546
|
-
/**
|
|
1547
|
-
* <p>The maximum number of results to return with a single call.
|
|
1548
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1549
|
-
*/
|
|
1550
|
-
maxResults?: number;
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
export namespace ListPermissionsRequest {
|
|
1554
|
-
/**
|
|
1555
|
-
* @internal
|
|
1556
|
-
*/
|
|
1557
|
-
export const filterSensitiveLog = (obj: ListPermissionsRequest): any => ({
|
|
1558
|
-
...obj,
|
|
1559
|
-
});
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
/**
|
|
1563
|
-
* <p>Information about a permission that is associated with a resource share.</p>
|
|
1564
|
-
*/
|
|
1565
|
-
export interface ResourceSharePermissionSummary {
|
|
1566
|
-
/**
|
|
1567
|
-
* <p>The Amazon Resource Name (ARN) of the permission.</p>
|
|
1568
|
-
*/
|
|
1569
|
-
arn?: string;
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* <p>The identifier for the version of the permission.</p>
|
|
1573
|
-
*/
|
|
1574
|
-
version?: string;
|
|
1575
|
-
|
|
1576
|
-
/**
|
|
1577
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
1578
|
-
* permission.</p>
|
|
1579
|
-
*/
|
|
1580
|
-
defaultVersion?: boolean;
|
|
1581
|
-
|
|
1582
|
-
/**
|
|
1583
|
-
* <p>The name of the permission.</p>
|
|
1584
|
-
*/
|
|
1585
|
-
name?: string;
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
* <p>The type of resource to which the permission applies.</p>
|
|
1589
|
-
*/
|
|
1590
|
-
resourceType?: string;
|
|
1591
|
-
|
|
1592
|
-
/**
|
|
1593
|
-
* <p>The current status of the permission.</p>
|
|
1594
|
-
*/
|
|
1595
|
-
status?: string;
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* <p>The date and time when the permission was created.</p>
|
|
1599
|
-
*/
|
|
1600
|
-
creationTime?: Date;
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* <p>The date and time when the permission was last updated.</p>
|
|
1604
|
-
*/
|
|
1605
|
-
lastUpdatedTime?: Date;
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
1609
|
-
* resource type.</p>
|
|
1610
|
-
*/
|
|
1611
|
-
isResourceTypeDefault?: boolean;
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
export namespace ResourceSharePermissionSummary {
|
|
1615
|
-
/**
|
|
1616
|
-
* @internal
|
|
1617
|
-
*/
|
|
1618
|
-
export const filterSensitiveLog = (obj: ResourceSharePermissionSummary): any => ({
|
|
1619
|
-
...obj,
|
|
1620
|
-
});
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
export interface ListPermissionsResponse {
|
|
1624
|
-
/**
|
|
1625
|
-
* <p>Information about the permissions.</p>
|
|
1626
|
-
*/
|
|
1627
|
-
permissions?: ResourceSharePermissionSummary[];
|
|
1628
|
-
|
|
1629
|
-
/**
|
|
1630
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1631
|
-
*/
|
|
1632
|
-
nextToken?: string;
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
export namespace ListPermissionsResponse {
|
|
1636
|
-
/**
|
|
1637
|
-
* @internal
|
|
1638
|
-
*/
|
|
1639
|
-
export const filterSensitiveLog = (obj: ListPermissionsResponse): any => ({
|
|
1640
|
-
...obj,
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
export interface ListPrincipalsRequest {
|
|
1645
|
-
/**
|
|
1646
|
-
* <p>The type of owner.</p>
|
|
1647
|
-
*/
|
|
1648
|
-
resourceOwner: ResourceOwner | string | undefined;
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1652
|
-
*/
|
|
1653
|
-
resourceArn?: string;
|
|
1654
|
-
|
|
1655
|
-
/**
|
|
1656
|
-
* <p>The principals.</p>
|
|
1657
|
-
*/
|
|
1658
|
-
principals?: string[];
|
|
1659
|
-
|
|
1660
|
-
/**
|
|
1661
|
-
* <p>The resource type.</p>
|
|
1662
|
-
* <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:FirewallRuleGroup</code> |<code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code> | <code>s3-outposts:Outpost</code> | <code>ssm-contacts:Contact</code> | <code>ssm-incidents:ResponsePlan</code>
|
|
1663
|
-
* </p>
|
|
1664
|
-
*/
|
|
1665
|
-
resourceType?: string;
|
|
1666
|
-
|
|
1667
|
-
/**
|
|
1668
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
1669
|
-
*/
|
|
1670
|
-
resourceShareArns?: string[];
|
|
1671
|
-
|
|
1672
|
-
/**
|
|
1673
|
-
* <p>The token for the next page of results.</p>
|
|
1674
|
-
*/
|
|
1675
|
-
nextToken?: string;
|
|
1676
|
-
|
|
1677
|
-
/**
|
|
1678
|
-
* <p>The maximum number of results to return with a single call.
|
|
1679
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1680
|
-
*/
|
|
1681
|
-
maxResults?: number;
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1684
|
-
export namespace ListPrincipalsRequest {
|
|
1685
|
-
/**
|
|
1686
|
-
* @internal
|
|
1687
|
-
*/
|
|
1688
|
-
export const filterSensitiveLog = (obj: ListPrincipalsRequest): any => ({
|
|
1689
|
-
...obj,
|
|
1690
|
-
});
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
/**
|
|
1694
|
-
* <p>Describes a principal for use with Resource Access Manager.</p>
|
|
1695
|
-
*/
|
|
1696
|
-
export interface Principal {
|
|
1697
|
-
/**
|
|
1698
|
-
* <p>The ID of the principal.</p>
|
|
1699
|
-
*/
|
|
1700
|
-
id?: string;
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1704
|
-
*/
|
|
1705
|
-
resourceShareArn?: string;
|
|
1706
|
-
|
|
1707
|
-
/**
|
|
1708
|
-
* <p>The time when the principal was associated with the resource share.</p>
|
|
1709
|
-
*/
|
|
1710
|
-
creationTime?: Date;
|
|
1711
|
-
|
|
1712
|
-
/**
|
|
1713
|
-
* <p>The time when the association was last updated.</p>
|
|
1714
|
-
*/
|
|
1715
|
-
lastUpdatedTime?: Date;
|
|
1716
|
-
|
|
1717
|
-
/**
|
|
1718
|
-
* <p>Indicates whether the principal belongs to the same organization in Organizations as the
|
|
1719
|
-
* Amazon Web Services account that owns the resource share.</p>
|
|
1720
|
-
*/
|
|
1721
|
-
external?: boolean;
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
export namespace Principal {
|
|
1725
|
-
/**
|
|
1726
|
-
* @internal
|
|
1727
|
-
*/
|
|
1728
|
-
export const filterSensitiveLog = (obj: Principal): any => ({
|
|
1729
|
-
...obj,
|
|
1730
|
-
});
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
export interface ListPrincipalsResponse {
|
|
1734
|
-
/**
|
|
1735
|
-
* <p>The principals.</p>
|
|
1736
|
-
*/
|
|
1737
|
-
principals?: Principal[];
|
|
1738
|
-
|
|
1739
|
-
/**
|
|
1740
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1741
|
-
*/
|
|
1742
|
-
nextToken?: string;
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
export namespace ListPrincipalsResponse {
|
|
1746
|
-
/**
|
|
1747
|
-
* @internal
|
|
1748
|
-
*/
|
|
1749
|
-
export const filterSensitiveLog = (obj: ListPrincipalsResponse): any => ({
|
|
1750
|
-
...obj,
|
|
1751
|
-
});
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
/**
|
|
1755
|
-
* <p>The specified resource type is not valid.</p>
|
|
1756
|
-
*/
|
|
1757
|
-
export interface InvalidResourceTypeException extends __SmithyException, $MetadataBearer {
|
|
1758
|
-
name: "InvalidResourceTypeException";
|
|
1759
|
-
$fault: "client";
|
|
1760
|
-
message: string | undefined;
|
|
1761
|
-
}
|
|
1762
|
-
|
|
1763
|
-
export namespace InvalidResourceTypeException {
|
|
1764
|
-
/**
|
|
1765
|
-
* @internal
|
|
1766
|
-
*/
|
|
1767
|
-
export const filterSensitiveLog = (obj: InvalidResourceTypeException): any => ({
|
|
1768
|
-
...obj,
|
|
1769
|
-
});
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
export interface ListResourcesRequest {
|
|
1773
|
-
/**
|
|
1774
|
-
* <p>The type of owner.</p>
|
|
1775
|
-
*/
|
|
1776
|
-
resourceOwner: ResourceOwner | string | undefined;
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* <p>The principal.</p>
|
|
1780
|
-
*/
|
|
1781
|
-
principal?: string;
|
|
1782
|
-
|
|
1783
|
-
/**
|
|
1784
|
-
* <p>The resource type.</p>
|
|
1785
|
-
* <p>Valid values: <code>acm-pca:CertificateAuthority</code> | <code>appmesh:Mesh</code> | <code>codebuild:Project</code> | <code>codebuild:ReportGroup</code> | <code>ec2:CapacityReservation</code> | <code>ec2:DedicatedHost</code> | <code>ec2:LocalGatewayRouteTable</code> | <code>ec2:PrefixList</code> | <code>ec2:Subnet</code> | <code>ec2:TrafficMirrorTarget</code> | <code>ec2:TransitGateway</code> | <code>imagebuilder:Component</code> | <code>imagebuilder:Image</code> | <code>imagebuilder:ImageRecipe</code> | <code>imagebuilder:ContainerRecipe</code> | <code>glue:Catalog</code> | <code>glue:Database</code> | <code>glue:Table</code> | <code>license-manager:LicenseConfiguration</code> I <code>network-firewall:FirewallPolicy</code> | <code>network-firewall:StatefulRuleGroup</code> | <code>network-firewall:StatelessRuleGroup</code> | <code>outposts:Outpost</code> | <code>resource-groups:Group</code> | <code>rds:Cluster</code> | <code>route53resolver:FirewallRuleGroup</code> |<code>route53resolver:ResolverQueryLogConfig</code> | <code>route53resolver:ResolverRule</code> | <code>s3-outposts:Outpost</code> | <code>ssm-contacts:Contact</code> | <code>ssm-incidents:ResponsePlan</code>
|
|
1786
|
-
* </p>
|
|
1787
|
-
*/
|
|
1788
|
-
resourceType?: string;
|
|
1789
|
-
|
|
1790
|
-
/**
|
|
1791
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
1792
|
-
*/
|
|
1793
|
-
resourceArns?: string[];
|
|
1794
|
-
|
|
1795
|
-
/**
|
|
1796
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
1797
|
-
*/
|
|
1798
|
-
resourceShareArns?: string[];
|
|
1799
|
-
|
|
1800
|
-
/**
|
|
1801
|
-
* <p>The token for the next page of results.</p>
|
|
1802
|
-
*/
|
|
1803
|
-
nextToken?: string;
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* <p>The maximum number of results to return with a single call.
|
|
1807
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1808
|
-
*/
|
|
1809
|
-
maxResults?: number;
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
export namespace ListResourcesRequest {
|
|
1813
|
-
/**
|
|
1814
|
-
* @internal
|
|
1815
|
-
*/
|
|
1816
|
-
export const filterSensitiveLog = (obj: ListResourcesRequest): any => ({
|
|
1817
|
-
...obj,
|
|
1818
|
-
});
|
|
1819
|
-
}
|
|
1820
|
-
|
|
1821
|
-
export interface ListResourcesResponse {
|
|
1822
|
-
/**
|
|
1823
|
-
* <p>Information about the resources.</p>
|
|
1824
|
-
*/
|
|
1825
|
-
resources?: Resource[];
|
|
1826
|
-
|
|
1827
|
-
/**
|
|
1828
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1829
|
-
*/
|
|
1830
|
-
nextToken?: string;
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
export namespace ListResourcesResponse {
|
|
1834
|
-
/**
|
|
1835
|
-
* @internal
|
|
1836
|
-
*/
|
|
1837
|
-
export const filterSensitiveLog = (obj: ListResourcesResponse): any => ({
|
|
1838
|
-
...obj,
|
|
1839
|
-
});
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
export interface ListResourceSharePermissionsRequest {
|
|
1843
|
-
/**
|
|
1844
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1845
|
-
*/
|
|
1846
|
-
resourceShareArn: string | undefined;
|
|
1847
|
-
|
|
1848
|
-
/**
|
|
1849
|
-
* <p>The token for the next page of results.</p>
|
|
1850
|
-
*/
|
|
1851
|
-
nextToken?: string;
|
|
1852
|
-
|
|
1853
|
-
/**
|
|
1854
|
-
* <p>The maximum number of results to return with a single call.
|
|
1855
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1856
|
-
*/
|
|
1857
|
-
maxResults?: number;
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
export namespace ListResourceSharePermissionsRequest {
|
|
1861
|
-
/**
|
|
1862
|
-
* @internal
|
|
1863
|
-
*/
|
|
1864
|
-
export const filterSensitiveLog = (obj: ListResourceSharePermissionsRequest): any => ({
|
|
1865
|
-
...obj,
|
|
1866
|
-
});
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
|
-
export interface ListResourceSharePermissionsResponse {
|
|
1870
|
-
/**
|
|
1871
|
-
* <p>The permissions associated with the resource share.</p>
|
|
1872
|
-
*/
|
|
1873
|
-
permissions?: ResourceSharePermissionSummary[];
|
|
1874
|
-
|
|
1875
|
-
/**
|
|
1876
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1877
|
-
*/
|
|
1878
|
-
nextToken?: string;
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
export namespace ListResourceSharePermissionsResponse {
|
|
1882
|
-
/**
|
|
1883
|
-
* @internal
|
|
1884
|
-
*/
|
|
1885
|
-
export const filterSensitiveLog = (obj: ListResourceSharePermissionsResponse): any => ({
|
|
1886
|
-
...obj,
|
|
1887
|
-
});
|
|
1888
|
-
}
|
|
1889
|
-
|
|
1890
|
-
export interface ListResourceTypesRequest {
|
|
1891
|
-
/**
|
|
1892
|
-
* <p>The token for the next page of results.</p>
|
|
1893
|
-
*/
|
|
1894
|
-
nextToken?: string;
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* <p>The maximum number of results to return with a single call.
|
|
1898
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1899
|
-
*/
|
|
1900
|
-
maxResults?: number;
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
export namespace ListResourceTypesRequest {
|
|
1904
|
-
/**
|
|
1905
|
-
* @internal
|
|
1906
|
-
*/
|
|
1907
|
-
export const filterSensitiveLog = (obj: ListResourceTypesRequest): any => ({
|
|
1908
|
-
...obj,
|
|
1909
|
-
});
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
/**
|
|
1913
|
-
* <p>Information about the shareable resource types and the Amazon Web Services services to which they
|
|
1914
|
-
* belong.</p>
|
|
1915
|
-
*/
|
|
1916
|
-
export interface ServiceNameAndResourceType {
|
|
1917
|
-
/**
|
|
1918
|
-
* <p>The shareable resource types.</p>
|
|
1919
|
-
*/
|
|
1920
|
-
resourceType?: string;
|
|
1921
|
-
|
|
1922
|
-
/**
|
|
1923
|
-
* <p>The name of the Amazon Web Services services to which the resources belong.</p>
|
|
1924
|
-
*/
|
|
1925
|
-
serviceName?: string;
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
export namespace ServiceNameAndResourceType {
|
|
1929
|
-
/**
|
|
1930
|
-
* @internal
|
|
1931
|
-
*/
|
|
1932
|
-
export const filterSensitiveLog = (obj: ServiceNameAndResourceType): any => ({
|
|
1933
|
-
...obj,
|
|
1934
|
-
});
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
export interface ListResourceTypesResponse {
|
|
1938
|
-
/**
|
|
1939
|
-
* <p>The shareable resource types supported by RAM.</p>
|
|
1940
|
-
*/
|
|
1941
|
-
resourceTypes?: ServiceNameAndResourceType[];
|
|
1942
|
-
|
|
1943
|
-
/**
|
|
1944
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
1945
|
-
*/
|
|
1946
|
-
nextToken?: string;
|
|
1947
|
-
}
|
|
1948
|
-
|
|
1949
|
-
export namespace ListResourceTypesResponse {
|
|
1950
|
-
/**
|
|
1951
|
-
* @internal
|
|
1952
|
-
*/
|
|
1953
|
-
export const filterSensitiveLog = (obj: ListResourceTypesResponse): any => ({
|
|
1954
|
-
...obj,
|
|
1955
|
-
});
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
export interface PromoteResourceShareCreatedFromPolicyRequest {
|
|
1959
|
-
/**
|
|
1960
|
-
* <p>The Amazon Resource Name (ARN) of the resource share to promote.</p>
|
|
1961
|
-
*/
|
|
1962
|
-
resourceShareArn: string | undefined;
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
export namespace PromoteResourceShareCreatedFromPolicyRequest {
|
|
1966
|
-
/**
|
|
1967
|
-
* @internal
|
|
1968
|
-
*/
|
|
1969
|
-
export const filterSensitiveLog = (obj: PromoteResourceShareCreatedFromPolicyRequest): any => ({
|
|
1970
|
-
...obj,
|
|
1971
|
-
});
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
export interface PromoteResourceShareCreatedFromPolicyResponse {
|
|
1975
|
-
/**
|
|
1976
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
1977
|
-
*/
|
|
1978
|
-
returnValue?: boolean;
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
export namespace PromoteResourceShareCreatedFromPolicyResponse {
|
|
1982
|
-
/**
|
|
1983
|
-
* @internal
|
|
1984
|
-
*/
|
|
1985
|
-
export const filterSensitiveLog = (obj: PromoteResourceShareCreatedFromPolicyResponse): any => ({
|
|
1986
|
-
...obj,
|
|
1987
|
-
});
|
|
1988
|
-
}
|
|
1989
|
-
|
|
1990
|
-
export interface RejectResourceShareInvitationRequest {
|
|
1991
|
-
/**
|
|
1992
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
1993
|
-
*/
|
|
1994
|
-
resourceShareInvitationArn: string | undefined;
|
|
1995
|
-
|
|
1996
|
-
/**
|
|
1997
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
1998
|
-
*/
|
|
1999
|
-
clientToken?: string;
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
export namespace RejectResourceShareInvitationRequest {
|
|
2003
|
-
/**
|
|
2004
|
-
* @internal
|
|
2005
|
-
*/
|
|
2006
|
-
export const filterSensitiveLog = (obj: RejectResourceShareInvitationRequest): any => ({
|
|
2007
|
-
...obj,
|
|
2008
|
-
});
|
|
2009
|
-
}
|
|
2010
|
-
|
|
2011
|
-
export interface RejectResourceShareInvitationResponse {
|
|
2012
|
-
/**
|
|
2013
|
-
* <p>Information about the invitation.</p>
|
|
2014
|
-
*/
|
|
2015
|
-
resourceShareInvitation?: ResourceShareInvitation;
|
|
2016
|
-
|
|
2017
|
-
/**
|
|
2018
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
2019
|
-
*/
|
|
2020
|
-
clientToken?: string;
|
|
2021
|
-
}
|
|
2022
|
-
|
|
2023
|
-
export namespace RejectResourceShareInvitationResponse {
|
|
2024
|
-
/**
|
|
2025
|
-
* @internal
|
|
2026
|
-
*/
|
|
2027
|
-
export const filterSensitiveLog = (obj: RejectResourceShareInvitationResponse): any => ({
|
|
2028
|
-
...obj,
|
|
2029
|
-
});
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
/**
|
|
2033
|
-
* <p>The requested tags exceed the limit for your account.</p>
|
|
2034
|
-
*/
|
|
2035
|
-
export interface TagLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
2036
|
-
name: "TagLimitExceededException";
|
|
2037
|
-
$fault: "client";
|
|
2038
|
-
message: string | undefined;
|
|
2039
|
-
}
|
|
2040
|
-
|
|
2041
|
-
export namespace TagLimitExceededException {
|
|
2042
|
-
/**
|
|
2043
|
-
* @internal
|
|
2044
|
-
*/
|
|
2045
|
-
export const filterSensitiveLog = (obj: TagLimitExceededException): any => ({
|
|
2046
|
-
...obj,
|
|
2047
|
-
});
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
export interface TagResourceRequest {
|
|
2051
|
-
/**
|
|
2052
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
2053
|
-
*/
|
|
2054
|
-
resourceShareArn: string | undefined;
|
|
2055
|
-
|
|
2056
|
-
/**
|
|
2057
|
-
* <p>One or more tags.</p>
|
|
2058
|
-
*/
|
|
2059
|
-
tags: Tag[] | undefined;
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
export namespace TagResourceRequest {
|
|
2063
|
-
/**
|
|
2064
|
-
* @internal
|
|
2065
|
-
*/
|
|
2066
|
-
export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
|
|
2067
|
-
...obj,
|
|
2068
|
-
});
|
|
2069
|
-
}
|
|
2070
|
-
|
|
2071
|
-
export interface TagResourceResponse {}
|
|
2072
|
-
|
|
2073
|
-
export namespace TagResourceResponse {
|
|
2074
|
-
/**
|
|
2075
|
-
* @internal
|
|
2076
|
-
*/
|
|
2077
|
-
export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
|
|
2078
|
-
...obj,
|
|
2079
|
-
});
|
|
2080
|
-
}
|
|
2081
|
-
|
|
2082
|
-
export interface UntagResourceRequest {
|
|
2083
|
-
/**
|
|
2084
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
2085
|
-
*/
|
|
2086
|
-
resourceShareArn: string | undefined;
|
|
2087
|
-
|
|
2088
|
-
/**
|
|
2089
|
-
* <p>The tag keys of the tags to remove.</p>
|
|
2090
|
-
*/
|
|
2091
|
-
tagKeys: string[] | undefined;
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
export namespace UntagResourceRequest {
|
|
2095
|
-
/**
|
|
2096
|
-
* @internal
|
|
2097
|
-
*/
|
|
2098
|
-
export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
|
|
2099
|
-
...obj,
|
|
2100
|
-
});
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
|
-
export interface UntagResourceResponse {}
|
|
2104
|
-
|
|
2105
|
-
export namespace UntagResourceResponse {
|
|
2106
|
-
/**
|
|
2107
|
-
* @internal
|
|
2108
|
-
*/
|
|
2109
|
-
export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
|
|
2110
|
-
...obj,
|
|
2111
|
-
});
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
export interface UpdateResourceShareRequest {
|
|
2115
|
-
/**
|
|
2116
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
2117
|
-
*/
|
|
2118
|
-
resourceShareArn: string | undefined;
|
|
2119
|
-
|
|
2120
|
-
/**
|
|
2121
|
-
* <p>The name of the resource share.</p>
|
|
2122
|
-
*/
|
|
2123
|
-
name?: string;
|
|
2124
|
-
|
|
2125
|
-
/**
|
|
2126
|
-
* <p>Indicates whether principals outside your organization in Organizations can be associated
|
|
2127
|
-
* with a resource share.</p>
|
|
2128
|
-
*/
|
|
2129
|
-
allowExternalPrincipals?: boolean;
|
|
2130
|
-
|
|
2131
|
-
/**
|
|
2132
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
2133
|
-
*/
|
|
2134
|
-
clientToken?: string;
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
|
-
export namespace UpdateResourceShareRequest {
|
|
2138
|
-
/**
|
|
2139
|
-
* @internal
|
|
2140
|
-
*/
|
|
2141
|
-
export const filterSensitiveLog = (obj: UpdateResourceShareRequest): any => ({
|
|
2142
|
-
...obj,
|
|
2143
|
-
});
|
|
2144
|
-
}
|
|
2145
|
-
|
|
2146
|
-
export interface UpdateResourceShareResponse {
|
|
2147
|
-
/**
|
|
2148
|
-
* <p>Information about the resource share.</p>
|
|
2149
|
-
*/
|
|
2150
|
-
resourceShare?: ResourceShare;
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
2154
|
-
*/
|
|
2155
|
-
clientToken?: string;
|
|
2156
|
-
}
|
|
2157
|
-
|
|
2158
|
-
export namespace UpdateResourceShareResponse {
|
|
2159
|
-
/**
|
|
2160
|
-
* @internal
|
|
2161
|
-
*/
|
|
2162
|
-
export const filterSensitiveLog = (obj: UpdateResourceShareResponse): any => ({
|
|
2163
|
-
...obj,
|
|
2164
|
-
});
|
|
2165
|
-
}
|