@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
|
@@ -1,1701 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
export interface AcceptResourceShareInvitationRequest {
|
|
3
|
-
/**
|
|
4
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
5
|
-
*/
|
|
6
|
-
resourceShareInvitationArn: string | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
9
|
-
*/
|
|
10
|
-
clientToken?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare namespace AcceptResourceShareInvitationRequest {
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
const filterSensitiveLog: (obj: AcceptResourceShareInvitationRequest) => any;
|
|
17
|
-
}
|
|
18
|
-
export declare type ResourceShareAssociationType = "PRINCIPAL" | "RESOURCE";
|
|
19
|
-
export declare type ResourceShareAssociationStatus = "ASSOCIATED" | "ASSOCIATING" | "DISASSOCIATED" | "DISASSOCIATING" | "FAILED";
|
|
20
|
-
/**
|
|
21
|
-
* <p>Describes an association with a resource share.</p>
|
|
22
|
-
*/
|
|
23
|
-
export interface ResourceShareAssociation {
|
|
24
|
-
/**
|
|
25
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
26
|
-
*/
|
|
27
|
-
resourceShareArn?: string;
|
|
28
|
-
/**
|
|
29
|
-
* <p>The name of the resource share.</p>
|
|
30
|
-
*/
|
|
31
|
-
resourceShareName?: string;
|
|
32
|
-
/**
|
|
33
|
-
* <p>The associated entity. For resource associations, this is the Amazon Resource Name
|
|
34
|
-
* (ARN) of the resource. For principal associations, this is one of the following:</p>
|
|
35
|
-
* <ul>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>An Amazon Web Services account ID</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>An ARN of an organization in Organizations</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>An ARN of an organizational unit (OU) in Organizations</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>An ARN of an IAM role</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>An ARN of an IAM user</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
*/
|
|
53
|
-
associatedEntity?: string;
|
|
54
|
-
/**
|
|
55
|
-
* <p>The association type.</p>
|
|
56
|
-
*/
|
|
57
|
-
associationType?: ResourceShareAssociationType | string;
|
|
58
|
-
/**
|
|
59
|
-
* <p>The status of the association.</p>
|
|
60
|
-
*/
|
|
61
|
-
status?: ResourceShareAssociationStatus | string;
|
|
62
|
-
/**
|
|
63
|
-
* <p>A message about the status of the association.</p>
|
|
64
|
-
*/
|
|
65
|
-
statusMessage?: string;
|
|
66
|
-
/**
|
|
67
|
-
* <p>The time when the association was created.</p>
|
|
68
|
-
*/
|
|
69
|
-
creationTime?: Date;
|
|
70
|
-
/**
|
|
71
|
-
* <p>The time when the association was last updated.</p>
|
|
72
|
-
*/
|
|
73
|
-
lastUpdatedTime?: Date;
|
|
74
|
-
/**
|
|
75
|
-
* <p>Indicates whether the principal belongs to the same organization in Organizations as the
|
|
76
|
-
* Amazon Web Services account that owns the resource share.</p>
|
|
77
|
-
*/
|
|
78
|
-
external?: boolean;
|
|
79
|
-
}
|
|
80
|
-
export declare namespace ResourceShareAssociation {
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
const filterSensitiveLog: (obj: ResourceShareAssociation) => any;
|
|
85
|
-
}
|
|
86
|
-
export declare type ResourceShareInvitationStatus = "ACCEPTED" | "EXPIRED" | "PENDING" | "REJECTED";
|
|
87
|
-
/**
|
|
88
|
-
* <p>Describes an invitation to join a resource share.</p>
|
|
89
|
-
*/
|
|
90
|
-
export interface ResourceShareInvitation {
|
|
91
|
-
/**
|
|
92
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
93
|
-
*/
|
|
94
|
-
resourceShareInvitationArn?: string;
|
|
95
|
-
/**
|
|
96
|
-
* <p>The name of the resource share.</p>
|
|
97
|
-
*/
|
|
98
|
-
resourceShareName?: string;
|
|
99
|
-
/**
|
|
100
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
101
|
-
*/
|
|
102
|
-
resourceShareArn?: string;
|
|
103
|
-
/**
|
|
104
|
-
* <p>The ID of the Amazon Web Services account that sent the invitation.</p>
|
|
105
|
-
*/
|
|
106
|
-
senderAccountId?: string;
|
|
107
|
-
/**
|
|
108
|
-
* <p>The ID of the Amazon Web Services account that received the invitation.</p>
|
|
109
|
-
*/
|
|
110
|
-
receiverAccountId?: string;
|
|
111
|
-
/**
|
|
112
|
-
* <p>The date and time when the invitation was sent.</p>
|
|
113
|
-
*/
|
|
114
|
-
invitationTimestamp?: Date;
|
|
115
|
-
/**
|
|
116
|
-
* <p>The status of the invitation.</p>
|
|
117
|
-
*/
|
|
118
|
-
status?: ResourceShareInvitationStatus | string;
|
|
119
|
-
/**
|
|
120
|
-
* @deprecated
|
|
121
|
-
*
|
|
122
|
-
* <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">
|
|
123
|
-
* ListPendingInvitationResources</a>.</p>
|
|
124
|
-
*/
|
|
125
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
126
|
-
/**
|
|
127
|
-
* <p>The Amazon Resource Name (ARN) of the IAM user or IAM role that received the
|
|
128
|
-
* invitation.</p>
|
|
129
|
-
*/
|
|
130
|
-
receiverArn?: string;
|
|
131
|
-
}
|
|
132
|
-
export declare namespace ResourceShareInvitation {
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
const filterSensitiveLog: (obj: ResourceShareInvitation) => any;
|
|
137
|
-
}
|
|
138
|
-
export interface AcceptResourceShareInvitationResponse {
|
|
139
|
-
/**
|
|
140
|
-
* <p>Information about the invitation.</p>
|
|
141
|
-
*/
|
|
142
|
-
resourceShareInvitation?: ResourceShareInvitation;
|
|
143
|
-
/**
|
|
144
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
145
|
-
*/
|
|
146
|
-
clientToken?: string;
|
|
147
|
-
}
|
|
148
|
-
export declare namespace AcceptResourceShareInvitationResponse {
|
|
149
|
-
/**
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
152
|
-
const filterSensitiveLog: (obj: AcceptResourceShareInvitationResponse) => any;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* <p>A client token input parameter was reused with an operation, but at least one of the
|
|
156
|
-
* other input parameters is different from the previous call to the operation.</p>
|
|
157
|
-
*/
|
|
158
|
-
export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
|
|
159
|
-
name: "IdempotentParameterMismatchException";
|
|
160
|
-
$fault: "client";
|
|
161
|
-
message: string | undefined;
|
|
162
|
-
}
|
|
163
|
-
export declare namespace IdempotentParameterMismatchException {
|
|
164
|
-
/**
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
|
-
const filterSensitiveLog: (obj: IdempotentParameterMismatchException) => any;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* <p>A client token is not valid.</p>
|
|
171
|
-
*/
|
|
172
|
-
export interface InvalidClientTokenException extends __SmithyException, $MetadataBearer {
|
|
173
|
-
name: "InvalidClientTokenException";
|
|
174
|
-
$fault: "client";
|
|
175
|
-
message: string | undefined;
|
|
176
|
-
}
|
|
177
|
-
export declare namespace InvalidClientTokenException {
|
|
178
|
-
/**
|
|
179
|
-
* @internal
|
|
180
|
-
*/
|
|
181
|
-
const filterSensitiveLog: (obj: InvalidClientTokenException) => any;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* <p>The format of an Amazon Resource Name (ARN) is not valid.</p>
|
|
185
|
-
*/
|
|
186
|
-
export interface MalformedArnException extends __SmithyException, $MetadataBearer {
|
|
187
|
-
name: "MalformedArnException";
|
|
188
|
-
$fault: "client";
|
|
189
|
-
message: string | undefined;
|
|
190
|
-
}
|
|
191
|
-
export declare namespace MalformedArnException {
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
const filterSensitiveLog: (obj: MalformedArnException) => any;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* <p>The requested operation is not permitted.</p>
|
|
199
|
-
*/
|
|
200
|
-
export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
|
|
201
|
-
name: "OperationNotPermittedException";
|
|
202
|
-
$fault: "client";
|
|
203
|
-
message: string | undefined;
|
|
204
|
-
}
|
|
205
|
-
export declare namespace OperationNotPermittedException {
|
|
206
|
-
/**
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
209
|
-
const filterSensitiveLog: (obj: OperationNotPermittedException) => any;
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* <p>The invitation was already accepted.</p>
|
|
213
|
-
*/
|
|
214
|
-
export interface ResourceShareInvitationAlreadyAcceptedException extends __SmithyException, $MetadataBearer {
|
|
215
|
-
name: "ResourceShareInvitationAlreadyAcceptedException";
|
|
216
|
-
$fault: "client";
|
|
217
|
-
message: string | undefined;
|
|
218
|
-
}
|
|
219
|
-
export declare namespace ResourceShareInvitationAlreadyAcceptedException {
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationAlreadyAcceptedException) => any;
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* <p>The invitation was already rejected.</p>
|
|
227
|
-
*/
|
|
228
|
-
export interface ResourceShareInvitationAlreadyRejectedException extends __SmithyException, $MetadataBearer {
|
|
229
|
-
name: "ResourceShareInvitationAlreadyRejectedException";
|
|
230
|
-
$fault: "client";
|
|
231
|
-
message: string | undefined;
|
|
232
|
-
}
|
|
233
|
-
export declare namespace ResourceShareInvitationAlreadyRejectedException {
|
|
234
|
-
/**
|
|
235
|
-
* @internal
|
|
236
|
-
*/
|
|
237
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationAlreadyRejectedException) => any;
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* <p>The Amazon Resource Name (ARN) for an invitation was not found.</p>
|
|
241
|
-
*/
|
|
242
|
-
export interface ResourceShareInvitationArnNotFoundException extends __SmithyException, $MetadataBearer {
|
|
243
|
-
name: "ResourceShareInvitationArnNotFoundException";
|
|
244
|
-
$fault: "client";
|
|
245
|
-
message: string | undefined;
|
|
246
|
-
}
|
|
247
|
-
export declare namespace ResourceShareInvitationArnNotFoundException {
|
|
248
|
-
/**
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationArnNotFoundException) => any;
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* <p>The invitation is expired.</p>
|
|
255
|
-
*/
|
|
256
|
-
export interface ResourceShareInvitationExpiredException extends __SmithyException, $MetadataBearer {
|
|
257
|
-
name: "ResourceShareInvitationExpiredException";
|
|
258
|
-
$fault: "client";
|
|
259
|
-
message: string | undefined;
|
|
260
|
-
}
|
|
261
|
-
export declare namespace ResourceShareInvitationExpiredException {
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationExpiredException) => any;
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* <p>The service could not respond to the request due to an internal problem.</p>
|
|
269
|
-
*/
|
|
270
|
-
export interface ServerInternalException extends __SmithyException, $MetadataBearer {
|
|
271
|
-
name: "ServerInternalException";
|
|
272
|
-
$fault: "server";
|
|
273
|
-
message: string | undefined;
|
|
274
|
-
}
|
|
275
|
-
export declare namespace ServerInternalException {
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
*/
|
|
279
|
-
const filterSensitiveLog: (obj: ServerInternalException) => any;
|
|
280
|
-
}
|
|
281
|
-
/**
|
|
282
|
-
* <p>The service is not available.</p>
|
|
283
|
-
*/
|
|
284
|
-
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
285
|
-
name: "ServiceUnavailableException";
|
|
286
|
-
$fault: "server";
|
|
287
|
-
message: string | undefined;
|
|
288
|
-
}
|
|
289
|
-
export declare namespace ServiceUnavailableException {
|
|
290
|
-
/**
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
294
|
-
}
|
|
295
|
-
export interface AssociateResourceShareRequest {
|
|
296
|
-
/**
|
|
297
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
298
|
-
*/
|
|
299
|
-
resourceShareArn: string | undefined;
|
|
300
|
-
/**
|
|
301
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
302
|
-
*/
|
|
303
|
-
resourceArns?: string[];
|
|
304
|
-
/**
|
|
305
|
-
* <p>The principals to associate with the resource share. The possible values are:</p>
|
|
306
|
-
* <ul>
|
|
307
|
-
* <li>
|
|
308
|
-
* <p>An Amazon Web Services account ID</p>
|
|
309
|
-
* </li>
|
|
310
|
-
* <li>
|
|
311
|
-
* <p>An Amazon Resource Name (ARN) of an organization in Organizations</p>
|
|
312
|
-
* </li>
|
|
313
|
-
* <li>
|
|
314
|
-
* <p>An ARN of an organizational unit (OU) in Organizations</p>
|
|
315
|
-
* </li>
|
|
316
|
-
* <li>
|
|
317
|
-
* <p>An ARN of an IAM role</p>
|
|
318
|
-
* </li>
|
|
319
|
-
* <li>
|
|
320
|
-
* <p>An ARN of an IAM user</p>
|
|
321
|
-
* </li>
|
|
322
|
-
* </ul>
|
|
323
|
-
* <note>
|
|
324
|
-
* <p>Not all resource types can be shared with IAM roles and IAM users. For more
|
|
325
|
-
* 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
|
|
326
|
-
* Guide</i>.</p>
|
|
327
|
-
* </note>
|
|
328
|
-
*/
|
|
329
|
-
principals?: string[];
|
|
330
|
-
/**
|
|
331
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
332
|
-
*/
|
|
333
|
-
clientToken?: string;
|
|
334
|
-
}
|
|
335
|
-
export declare namespace AssociateResourceShareRequest {
|
|
336
|
-
/**
|
|
337
|
-
* @internal
|
|
338
|
-
*/
|
|
339
|
-
const filterSensitiveLog: (obj: AssociateResourceShareRequest) => any;
|
|
340
|
-
}
|
|
341
|
-
export interface AssociateResourceShareResponse {
|
|
342
|
-
/**
|
|
343
|
-
* <p>Information about the associations.</p>
|
|
344
|
-
*/
|
|
345
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
346
|
-
/**
|
|
347
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
348
|
-
*/
|
|
349
|
-
clientToken?: string;
|
|
350
|
-
}
|
|
351
|
-
export declare namespace AssociateResourceShareResponse {
|
|
352
|
-
/**
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
355
|
-
const filterSensitiveLog: (obj: AssociateResourceShareResponse) => any;
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* <p>A parameter is not valid.</p>
|
|
359
|
-
*/
|
|
360
|
-
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
361
|
-
name: "InvalidParameterException";
|
|
362
|
-
$fault: "client";
|
|
363
|
-
message: string | undefined;
|
|
364
|
-
}
|
|
365
|
-
export declare namespace InvalidParameterException {
|
|
366
|
-
/**
|
|
367
|
-
* @internal
|
|
368
|
-
*/
|
|
369
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* <p>The requested state transition is not valid.</p>
|
|
373
|
-
*/
|
|
374
|
-
export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
|
|
375
|
-
name: "InvalidStateTransitionException";
|
|
376
|
-
$fault: "client";
|
|
377
|
-
message: string | undefined;
|
|
378
|
-
}
|
|
379
|
-
export declare namespace InvalidStateTransitionException {
|
|
380
|
-
/**
|
|
381
|
-
* @internal
|
|
382
|
-
*/
|
|
383
|
-
const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* <p>The requested resource share exceeds the limit for your account.</p>
|
|
387
|
-
*/
|
|
388
|
-
export interface ResourceShareLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
389
|
-
name: "ResourceShareLimitExceededException";
|
|
390
|
-
$fault: "client";
|
|
391
|
-
message: string | undefined;
|
|
392
|
-
}
|
|
393
|
-
export declare namespace ResourceShareLimitExceededException {
|
|
394
|
-
/**
|
|
395
|
-
* @internal
|
|
396
|
-
*/
|
|
397
|
-
const filterSensitiveLog: (obj: ResourceShareLimitExceededException) => any;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* <p>A specified resource was not found.</p>
|
|
401
|
-
*/
|
|
402
|
-
export interface UnknownResourceException extends __SmithyException, $MetadataBearer {
|
|
403
|
-
name: "UnknownResourceException";
|
|
404
|
-
$fault: "client";
|
|
405
|
-
message: string | undefined;
|
|
406
|
-
}
|
|
407
|
-
export declare namespace UnknownResourceException {
|
|
408
|
-
/**
|
|
409
|
-
* @internal
|
|
410
|
-
*/
|
|
411
|
-
const filterSensitiveLog: (obj: UnknownResourceException) => any;
|
|
412
|
-
}
|
|
413
|
-
export interface AssociateResourceSharePermissionRequest {
|
|
414
|
-
/**
|
|
415
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
416
|
-
*/
|
|
417
|
-
resourceShareArn: string | undefined;
|
|
418
|
-
/**
|
|
419
|
-
* <p>The Amazon Resource Name (ARN) of the RAM permission to associate with the
|
|
420
|
-
* resource share.</p>
|
|
421
|
-
*/
|
|
422
|
-
permissionArn: string | undefined;
|
|
423
|
-
/**
|
|
424
|
-
* <p>Indicates whether the permission should replace the permissions that are currently
|
|
425
|
-
* associated with the resource share. Use <code>true</code> to replace the current permissions. Use
|
|
426
|
-
* <code>false</code> to add the permission to the current permission.</p>
|
|
427
|
-
*/
|
|
428
|
-
replace?: boolean;
|
|
429
|
-
/**
|
|
430
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
431
|
-
*/
|
|
432
|
-
clientToken?: string;
|
|
433
|
-
/**
|
|
434
|
-
* <p>The version of the RAM permissions to associate with the resource share.</p>
|
|
435
|
-
*/
|
|
436
|
-
permissionVersion?: number;
|
|
437
|
-
}
|
|
438
|
-
export declare namespace AssociateResourceSharePermissionRequest {
|
|
439
|
-
/**
|
|
440
|
-
* @internal
|
|
441
|
-
*/
|
|
442
|
-
const filterSensitiveLog: (obj: AssociateResourceSharePermissionRequest) => any;
|
|
443
|
-
}
|
|
444
|
-
export interface AssociateResourceSharePermissionResponse {
|
|
445
|
-
/**
|
|
446
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
447
|
-
*/
|
|
448
|
-
returnValue?: boolean;
|
|
449
|
-
/**
|
|
450
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
451
|
-
*/
|
|
452
|
-
clientToken?: string;
|
|
453
|
-
}
|
|
454
|
-
export declare namespace AssociateResourceSharePermissionResponse {
|
|
455
|
-
/**
|
|
456
|
-
* @internal
|
|
457
|
-
*/
|
|
458
|
-
const filterSensitiveLog: (obj: AssociateResourceSharePermissionResponse) => any;
|
|
459
|
-
}
|
|
460
|
-
/**
|
|
461
|
-
* <p>Information about a tag.</p>
|
|
462
|
-
*/
|
|
463
|
-
export interface Tag {
|
|
464
|
-
/**
|
|
465
|
-
* <p>The key of the tag.</p>
|
|
466
|
-
*/
|
|
467
|
-
key?: string;
|
|
468
|
-
/**
|
|
469
|
-
* <p>The value of the tag.</p>
|
|
470
|
-
*/
|
|
471
|
-
value?: string;
|
|
472
|
-
}
|
|
473
|
-
export declare namespace Tag {
|
|
474
|
-
/**
|
|
475
|
-
* @internal
|
|
476
|
-
*/
|
|
477
|
-
const filterSensitiveLog: (obj: Tag) => any;
|
|
478
|
-
}
|
|
479
|
-
export interface CreateResourceShareRequest {
|
|
480
|
-
/**
|
|
481
|
-
* <p>The name of the resource share.</p>
|
|
482
|
-
*/
|
|
483
|
-
name: string | undefined;
|
|
484
|
-
/**
|
|
485
|
-
* <p>The ARNs of the resources to associate with the resource share.</p>
|
|
486
|
-
*/
|
|
487
|
-
resourceArns?: string[];
|
|
488
|
-
/**
|
|
489
|
-
* <p>The principals to associate with the resource share. The possible values are:</p>
|
|
490
|
-
* <ul>
|
|
491
|
-
* <li>
|
|
492
|
-
* <p>An Amazon Web Services account ID</p>
|
|
493
|
-
* </li>
|
|
494
|
-
* <li>
|
|
495
|
-
* <p>An Amazon Resource Name (ARN) of an organization in Organizations</p>
|
|
496
|
-
* </li>
|
|
497
|
-
* <li>
|
|
498
|
-
* <p>An ARN of an organizational unit (OU) in Organizations</p>
|
|
499
|
-
* </li>
|
|
500
|
-
* <li>
|
|
501
|
-
* <p>An ARN of an IAM role</p>
|
|
502
|
-
* </li>
|
|
503
|
-
* <li>
|
|
504
|
-
* <p>An ARN of an IAM user</p>
|
|
505
|
-
* </li>
|
|
506
|
-
* </ul>
|
|
507
|
-
* <note>
|
|
508
|
-
* <p>Not all resource types can be shared with IAM roles and IAM users. For more
|
|
509
|
-
* 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
|
|
510
|
-
* Guide</i>.</p>
|
|
511
|
-
* </note>
|
|
512
|
-
*/
|
|
513
|
-
principals?: string[];
|
|
514
|
-
/**
|
|
515
|
-
* <p>One or more tags.</p>
|
|
516
|
-
*/
|
|
517
|
-
tags?: Tag[];
|
|
518
|
-
/**
|
|
519
|
-
* <p>Indicates whether principals outside your organization in Organizations can be associated
|
|
520
|
-
* with a resource share.</p>
|
|
521
|
-
*/
|
|
522
|
-
allowExternalPrincipals?: boolean;
|
|
523
|
-
/**
|
|
524
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
525
|
-
*/
|
|
526
|
-
clientToken?: string;
|
|
527
|
-
/**
|
|
528
|
-
* <p>The Amazon Resource Names (ARNs) of the permissions to associate with the resource share. If you
|
|
529
|
-
* do not specify an ARN for the permission, RAM automatically attaches the default
|
|
530
|
-
* version of the permission for each resource type. Only one permission can be associated
|
|
531
|
-
* with each resource type in a resource share.</p>
|
|
532
|
-
*/
|
|
533
|
-
permissionArns?: string[];
|
|
534
|
-
}
|
|
535
|
-
export declare namespace CreateResourceShareRequest {
|
|
536
|
-
/**
|
|
537
|
-
* @internal
|
|
538
|
-
*/
|
|
539
|
-
const filterSensitiveLog: (obj: CreateResourceShareRequest) => any;
|
|
540
|
-
}
|
|
541
|
-
export declare type ResourceShareFeatureSet = "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD";
|
|
542
|
-
export declare type ResourceShareStatus = "ACTIVE" | "DELETED" | "DELETING" | "FAILED" | "PENDING";
|
|
543
|
-
/**
|
|
544
|
-
* <p>Describes a resource share.</p>
|
|
545
|
-
*/
|
|
546
|
-
export interface ResourceShare {
|
|
547
|
-
/**
|
|
548
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
549
|
-
*/
|
|
550
|
-
resourceShareArn?: string;
|
|
551
|
-
/**
|
|
552
|
-
* <p>The name of the resource share.</p>
|
|
553
|
-
*/
|
|
554
|
-
name?: string;
|
|
555
|
-
/**
|
|
556
|
-
* <p>The ID of the Amazon Web Services account that owns the resource share.</p>
|
|
557
|
-
*/
|
|
558
|
-
owningAccountId?: string;
|
|
559
|
-
/**
|
|
560
|
-
* <p>Indicates whether principals outside your organization in Organizations can be associated
|
|
561
|
-
* with a resource share.</p>
|
|
562
|
-
*/
|
|
563
|
-
allowExternalPrincipals?: boolean;
|
|
564
|
-
/**
|
|
565
|
-
* <p>The status of the resource share.</p>
|
|
566
|
-
*/
|
|
567
|
-
status?: ResourceShareStatus | string;
|
|
568
|
-
/**
|
|
569
|
-
* <p>A message about the status of the resource share.</p>
|
|
570
|
-
*/
|
|
571
|
-
statusMessage?: string;
|
|
572
|
-
/**
|
|
573
|
-
* <p>The tags for the resource share.</p>
|
|
574
|
-
*/
|
|
575
|
-
tags?: Tag[];
|
|
576
|
-
/**
|
|
577
|
-
* <p>The time when the resource share was created.</p>
|
|
578
|
-
*/
|
|
579
|
-
creationTime?: Date;
|
|
580
|
-
/**
|
|
581
|
-
* <p>The time when the resource share was last updated.</p>
|
|
582
|
-
*/
|
|
583
|
-
lastUpdatedTime?: Date;
|
|
584
|
-
/**
|
|
585
|
-
* <p>Indicates how the resource share was created. Possible values include:</p>
|
|
586
|
-
* <ul>
|
|
587
|
-
* <li>
|
|
588
|
-
* <p>
|
|
589
|
-
* <code>CREATED_FROM_POLICY</code> - Indicates that the resource share was created from an
|
|
590
|
-
* Amazon Web Services Identity and Access Management (Amazon Web Services IAM) policy attached to a resource.
|
|
591
|
-
* These resource shares are visible only to the Amazon Web Services account that created it. They cannot
|
|
592
|
-
* be modified in RAM.</p>
|
|
593
|
-
* </li>
|
|
594
|
-
* <li>
|
|
595
|
-
* <p>
|
|
596
|
-
* <code>PROMOTING_TO_STANDARD</code> - The resource share is in the process of being
|
|
597
|
-
* promoted. For more information, see <a>PromoteResourceShareCreatedFromPolicy</a>.</p>
|
|
598
|
-
* </li>
|
|
599
|
-
* <li>
|
|
600
|
-
* <p>
|
|
601
|
-
* <code>STANDARD</code> - Indicates that the resource share was created in RAM using the
|
|
602
|
-
* console or APIs. These resource shares are visible to all principals. They can
|
|
603
|
-
* be modified in RAM.</p>
|
|
604
|
-
* </li>
|
|
605
|
-
* </ul>
|
|
606
|
-
*/
|
|
607
|
-
featureSet?: ResourceShareFeatureSet | string;
|
|
608
|
-
}
|
|
609
|
-
export declare namespace ResourceShare {
|
|
610
|
-
/**
|
|
611
|
-
* @internal
|
|
612
|
-
*/
|
|
613
|
-
const filterSensitiveLog: (obj: ResourceShare) => any;
|
|
614
|
-
}
|
|
615
|
-
export interface CreateResourceShareResponse {
|
|
616
|
-
/**
|
|
617
|
-
* <p>Information about the resource share.</p>
|
|
618
|
-
*/
|
|
619
|
-
resourceShare?: ResourceShare;
|
|
620
|
-
/**
|
|
621
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
622
|
-
*/
|
|
623
|
-
clientToken?: string;
|
|
624
|
-
}
|
|
625
|
-
export declare namespace CreateResourceShareResponse {
|
|
626
|
-
/**
|
|
627
|
-
* @internal
|
|
628
|
-
*/
|
|
629
|
-
const filterSensitiveLog: (obj: CreateResourceShareResponse) => any;
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* <p>The specified tag is a reserved word and cannot be used.</p>
|
|
633
|
-
*/
|
|
634
|
-
export interface TagPolicyViolationException extends __SmithyException, $MetadataBearer {
|
|
635
|
-
name: "TagPolicyViolationException";
|
|
636
|
-
$fault: "client";
|
|
637
|
-
message: string | undefined;
|
|
638
|
-
}
|
|
639
|
-
export declare namespace TagPolicyViolationException {
|
|
640
|
-
/**
|
|
641
|
-
* @internal
|
|
642
|
-
*/
|
|
643
|
-
const filterSensitiveLog: (obj: TagPolicyViolationException) => any;
|
|
644
|
-
}
|
|
645
|
-
export interface DeleteResourceShareRequest {
|
|
646
|
-
/**
|
|
647
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
648
|
-
*/
|
|
649
|
-
resourceShareArn: string | undefined;
|
|
650
|
-
/**
|
|
651
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
652
|
-
*/
|
|
653
|
-
clientToken?: string;
|
|
654
|
-
}
|
|
655
|
-
export declare namespace DeleteResourceShareRequest {
|
|
656
|
-
/**
|
|
657
|
-
* @internal
|
|
658
|
-
*/
|
|
659
|
-
const filterSensitiveLog: (obj: DeleteResourceShareRequest) => any;
|
|
660
|
-
}
|
|
661
|
-
export interface DeleteResourceShareResponse {
|
|
662
|
-
/**
|
|
663
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
664
|
-
*/
|
|
665
|
-
returnValue?: boolean;
|
|
666
|
-
/**
|
|
667
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
668
|
-
*/
|
|
669
|
-
clientToken?: string;
|
|
670
|
-
}
|
|
671
|
-
export declare namespace DeleteResourceShareResponse {
|
|
672
|
-
/**
|
|
673
|
-
* @internal
|
|
674
|
-
*/
|
|
675
|
-
const filterSensitiveLog: (obj: DeleteResourceShareResponse) => any;
|
|
676
|
-
}
|
|
677
|
-
export interface DisassociateResourceShareRequest {
|
|
678
|
-
/**
|
|
679
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
680
|
-
*/
|
|
681
|
-
resourceShareArn: string | undefined;
|
|
682
|
-
/**
|
|
683
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
684
|
-
*/
|
|
685
|
-
resourceArns?: string[];
|
|
686
|
-
/**
|
|
687
|
-
* <p>The principals.</p>
|
|
688
|
-
*/
|
|
689
|
-
principals?: string[];
|
|
690
|
-
/**
|
|
691
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
692
|
-
*/
|
|
693
|
-
clientToken?: string;
|
|
694
|
-
}
|
|
695
|
-
export declare namespace DisassociateResourceShareRequest {
|
|
696
|
-
/**
|
|
697
|
-
* @internal
|
|
698
|
-
*/
|
|
699
|
-
const filterSensitiveLog: (obj: DisassociateResourceShareRequest) => any;
|
|
700
|
-
}
|
|
701
|
-
export interface DisassociateResourceShareResponse {
|
|
702
|
-
/**
|
|
703
|
-
* <p>Information about the associations.</p>
|
|
704
|
-
*/
|
|
705
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
706
|
-
/**
|
|
707
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
708
|
-
*/
|
|
709
|
-
clientToken?: string;
|
|
710
|
-
}
|
|
711
|
-
export declare namespace DisassociateResourceShareResponse {
|
|
712
|
-
/**
|
|
713
|
-
* @internal
|
|
714
|
-
*/
|
|
715
|
-
const filterSensitiveLog: (obj: DisassociateResourceShareResponse) => any;
|
|
716
|
-
}
|
|
717
|
-
export interface DisassociateResourceSharePermissionRequest {
|
|
718
|
-
/**
|
|
719
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
720
|
-
*/
|
|
721
|
-
resourceShareArn: string | undefined;
|
|
722
|
-
/**
|
|
723
|
-
* <p>The Amazon Resource Name (ARN) of the permission to disassociate from the resource share.</p>
|
|
724
|
-
*/
|
|
725
|
-
permissionArn: string | undefined;
|
|
726
|
-
/**
|
|
727
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
728
|
-
*/
|
|
729
|
-
clientToken?: string;
|
|
730
|
-
}
|
|
731
|
-
export declare namespace DisassociateResourceSharePermissionRequest {
|
|
732
|
-
/**
|
|
733
|
-
* @internal
|
|
734
|
-
*/
|
|
735
|
-
const filterSensitiveLog: (obj: DisassociateResourceSharePermissionRequest) => any;
|
|
736
|
-
}
|
|
737
|
-
export interface DisassociateResourceSharePermissionResponse {
|
|
738
|
-
/**
|
|
739
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
740
|
-
*/
|
|
741
|
-
returnValue?: boolean;
|
|
742
|
-
/**
|
|
743
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
744
|
-
*/
|
|
745
|
-
clientToken?: string;
|
|
746
|
-
}
|
|
747
|
-
export declare namespace DisassociateResourceSharePermissionResponse {
|
|
748
|
-
/**
|
|
749
|
-
* @internal
|
|
750
|
-
*/
|
|
751
|
-
const filterSensitiveLog: (obj: DisassociateResourceSharePermissionResponse) => any;
|
|
752
|
-
}
|
|
753
|
-
export interface EnableSharingWithAwsOrganizationRequest {
|
|
754
|
-
}
|
|
755
|
-
export declare namespace EnableSharingWithAwsOrganizationRequest {
|
|
756
|
-
/**
|
|
757
|
-
* @internal
|
|
758
|
-
*/
|
|
759
|
-
const filterSensitiveLog: (obj: EnableSharingWithAwsOrganizationRequest) => any;
|
|
760
|
-
}
|
|
761
|
-
export interface EnableSharingWithAwsOrganizationResponse {
|
|
762
|
-
/**
|
|
763
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
764
|
-
*/
|
|
765
|
-
returnValue?: boolean;
|
|
766
|
-
}
|
|
767
|
-
export declare namespace EnableSharingWithAwsOrganizationResponse {
|
|
768
|
-
/**
|
|
769
|
-
* @internal
|
|
770
|
-
*/
|
|
771
|
-
const filterSensitiveLog: (obj: EnableSharingWithAwsOrganizationResponse) => any;
|
|
772
|
-
}
|
|
773
|
-
export interface GetPermissionRequest {
|
|
774
|
-
/**
|
|
775
|
-
* <p>The Amazon Resource Name (ARN) of the permission.</p>
|
|
776
|
-
*/
|
|
777
|
-
permissionArn: string | undefined;
|
|
778
|
-
/**
|
|
779
|
-
* <p>The identifier for the version of the permission.</p>
|
|
780
|
-
*/
|
|
781
|
-
permissionVersion?: number;
|
|
782
|
-
}
|
|
783
|
-
export declare namespace GetPermissionRequest {
|
|
784
|
-
/**
|
|
785
|
-
* @internal
|
|
786
|
-
*/
|
|
787
|
-
const filterSensitiveLog: (obj: GetPermissionRequest) => any;
|
|
788
|
-
}
|
|
789
|
-
/**
|
|
790
|
-
* <p>Information about an RAM permission.</p>
|
|
791
|
-
*/
|
|
792
|
-
export interface ResourceSharePermissionDetail {
|
|
793
|
-
/**
|
|
794
|
-
* <p>The Amazon Resource Name (ARN) of the permission.</p>
|
|
795
|
-
*/
|
|
796
|
-
arn?: string;
|
|
797
|
-
/**
|
|
798
|
-
* <p>The identifier for the version of the permission.</p>
|
|
799
|
-
*/
|
|
800
|
-
version?: string;
|
|
801
|
-
/**
|
|
802
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
803
|
-
* permission.</p>
|
|
804
|
-
*/
|
|
805
|
-
defaultVersion?: boolean;
|
|
806
|
-
/**
|
|
807
|
-
* <p>The name of the permission.</p>
|
|
808
|
-
*/
|
|
809
|
-
name?: string;
|
|
810
|
-
/**
|
|
811
|
-
* <p>The resource type to which the permission applies.</p>
|
|
812
|
-
*/
|
|
813
|
-
resourceType?: string;
|
|
814
|
-
/**
|
|
815
|
-
* <p>The permission's effect and actions in JSON format. The <code>effect</code> indicates
|
|
816
|
-
* whether the actions are allowed or denied. The <code>actions</code> list the API actions
|
|
817
|
-
* to which the principal is granted or denied access.</p>
|
|
818
|
-
*/
|
|
819
|
-
permission?: string;
|
|
820
|
-
/**
|
|
821
|
-
* <p>The date and time when the permission was created.</p>
|
|
822
|
-
*/
|
|
823
|
-
creationTime?: Date;
|
|
824
|
-
/**
|
|
825
|
-
* <p>The date and time when the permission was last updated.</p>
|
|
826
|
-
*/
|
|
827
|
-
lastUpdatedTime?: Date;
|
|
828
|
-
/**
|
|
829
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
830
|
-
* resource type.</p>
|
|
831
|
-
*/
|
|
832
|
-
isResourceTypeDefault?: boolean;
|
|
833
|
-
}
|
|
834
|
-
export declare namespace ResourceSharePermissionDetail {
|
|
835
|
-
/**
|
|
836
|
-
* @internal
|
|
837
|
-
*/
|
|
838
|
-
const filterSensitiveLog: (obj: ResourceSharePermissionDetail) => any;
|
|
839
|
-
}
|
|
840
|
-
export interface GetPermissionResponse {
|
|
841
|
-
/**
|
|
842
|
-
* <p>Information about the permission.</p>
|
|
843
|
-
*/
|
|
844
|
-
permission?: ResourceSharePermissionDetail;
|
|
845
|
-
}
|
|
846
|
-
export declare namespace GetPermissionResponse {
|
|
847
|
-
/**
|
|
848
|
-
* @internal
|
|
849
|
-
*/
|
|
850
|
-
const filterSensitiveLog: (obj: GetPermissionResponse) => any;
|
|
851
|
-
}
|
|
852
|
-
export interface GetResourcePoliciesRequest {
|
|
853
|
-
/**
|
|
854
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
855
|
-
*/
|
|
856
|
-
resourceArns: string[] | undefined;
|
|
857
|
-
/**
|
|
858
|
-
* <p>The principal.</p>
|
|
859
|
-
*/
|
|
860
|
-
principal?: string;
|
|
861
|
-
/**
|
|
862
|
-
* <p>The token for the next page of results.</p>
|
|
863
|
-
*/
|
|
864
|
-
nextToken?: string;
|
|
865
|
-
/**
|
|
866
|
-
* <p>The maximum number of results to return with a single call.
|
|
867
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
868
|
-
*/
|
|
869
|
-
maxResults?: number;
|
|
870
|
-
}
|
|
871
|
-
export declare namespace GetResourcePoliciesRequest {
|
|
872
|
-
/**
|
|
873
|
-
* @internal
|
|
874
|
-
*/
|
|
875
|
-
const filterSensitiveLog: (obj: GetResourcePoliciesRequest) => any;
|
|
876
|
-
}
|
|
877
|
-
export interface GetResourcePoliciesResponse {
|
|
878
|
-
/**
|
|
879
|
-
* <p>A key policy document, in JSON format.</p>
|
|
880
|
-
*/
|
|
881
|
-
policies?: string[];
|
|
882
|
-
/**
|
|
883
|
-
* <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>
|
|
884
|
-
*/
|
|
885
|
-
nextToken?: string;
|
|
886
|
-
}
|
|
887
|
-
export declare namespace GetResourcePoliciesResponse {
|
|
888
|
-
/**
|
|
889
|
-
* @internal
|
|
890
|
-
*/
|
|
891
|
-
const filterSensitiveLog: (obj: GetResourcePoliciesResponse) => any;
|
|
892
|
-
}
|
|
893
|
-
/**
|
|
894
|
-
* <p>The specified value for NextToken is not valid.</p>
|
|
895
|
-
*/
|
|
896
|
-
export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
|
|
897
|
-
name: "InvalidNextTokenException";
|
|
898
|
-
$fault: "client";
|
|
899
|
-
message: string | undefined;
|
|
900
|
-
}
|
|
901
|
-
export declare namespace InvalidNextTokenException {
|
|
902
|
-
/**
|
|
903
|
-
* @internal
|
|
904
|
-
*/
|
|
905
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
906
|
-
}
|
|
907
|
-
/**
|
|
908
|
-
* <p>An Amazon Resource Name (ARN) was not found.</p>
|
|
909
|
-
*/
|
|
910
|
-
export interface ResourceArnNotFoundException extends __SmithyException, $MetadataBearer {
|
|
911
|
-
name: "ResourceArnNotFoundException";
|
|
912
|
-
$fault: "client";
|
|
913
|
-
message: string | undefined;
|
|
914
|
-
}
|
|
915
|
-
export declare namespace ResourceArnNotFoundException {
|
|
916
|
-
/**
|
|
917
|
-
* @internal
|
|
918
|
-
*/
|
|
919
|
-
const filterSensitiveLog: (obj: ResourceArnNotFoundException) => any;
|
|
920
|
-
}
|
|
921
|
-
export interface GetResourceShareAssociationsRequest {
|
|
922
|
-
/**
|
|
923
|
-
* <p>The association type. Specify <code>PRINCIPAL</code> to list the principals that are
|
|
924
|
-
* associated with the specified resource share. Specify <code>RESOURCE</code> to list the resources
|
|
925
|
-
* that are associated with the specified resource share.</p>
|
|
926
|
-
*/
|
|
927
|
-
associationType: ResourceShareAssociationType | string | undefined;
|
|
928
|
-
/**
|
|
929
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
930
|
-
*/
|
|
931
|
-
resourceShareArns?: string[];
|
|
932
|
-
/**
|
|
933
|
-
* <p>The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if
|
|
934
|
-
* the association type is <code>PRINCIPAL</code>.</p>
|
|
935
|
-
*/
|
|
936
|
-
resourceArn?: string;
|
|
937
|
-
/**
|
|
938
|
-
* <p>The principal. You cannot specify this parameter if the association type is
|
|
939
|
-
* <code>RESOURCE</code>.</p>
|
|
940
|
-
*/
|
|
941
|
-
principal?: string;
|
|
942
|
-
/**
|
|
943
|
-
* <p>The association status.</p>
|
|
944
|
-
*/
|
|
945
|
-
associationStatus?: ResourceShareAssociationStatus | string;
|
|
946
|
-
/**
|
|
947
|
-
* <p>The token for the next page of results.</p>
|
|
948
|
-
*/
|
|
949
|
-
nextToken?: string;
|
|
950
|
-
/**
|
|
951
|
-
* <p>The maximum number of results to return with a single call.
|
|
952
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
953
|
-
*/
|
|
954
|
-
maxResults?: number;
|
|
955
|
-
}
|
|
956
|
-
export declare namespace GetResourceShareAssociationsRequest {
|
|
957
|
-
/**
|
|
958
|
-
* @internal
|
|
959
|
-
*/
|
|
960
|
-
const filterSensitiveLog: (obj: GetResourceShareAssociationsRequest) => any;
|
|
961
|
-
}
|
|
962
|
-
export interface GetResourceShareAssociationsResponse {
|
|
963
|
-
/**
|
|
964
|
-
* <p>Information about the associations.</p>
|
|
965
|
-
*/
|
|
966
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
967
|
-
/**
|
|
968
|
-
* <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>
|
|
969
|
-
*/
|
|
970
|
-
nextToken?: string;
|
|
971
|
-
}
|
|
972
|
-
export declare namespace GetResourceShareAssociationsResponse {
|
|
973
|
-
/**
|
|
974
|
-
* @internal
|
|
975
|
-
*/
|
|
976
|
-
const filterSensitiveLog: (obj: GetResourceShareAssociationsResponse) => any;
|
|
977
|
-
}
|
|
978
|
-
export interface GetResourceShareInvitationsRequest {
|
|
979
|
-
/**
|
|
980
|
-
* <p>The Amazon Resource Names (ARN) of the invitations.</p>
|
|
981
|
-
*/
|
|
982
|
-
resourceShareInvitationArns?: string[];
|
|
983
|
-
/**
|
|
984
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
985
|
-
*/
|
|
986
|
-
resourceShareArns?: string[];
|
|
987
|
-
/**
|
|
988
|
-
* <p>The token for the next page of results.</p>
|
|
989
|
-
*/
|
|
990
|
-
nextToken?: string;
|
|
991
|
-
/**
|
|
992
|
-
* <p>The maximum number of results to return with a single call.
|
|
993
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
994
|
-
*/
|
|
995
|
-
maxResults?: number;
|
|
996
|
-
}
|
|
997
|
-
export declare namespace GetResourceShareInvitationsRequest {
|
|
998
|
-
/**
|
|
999
|
-
* @internal
|
|
1000
|
-
*/
|
|
1001
|
-
const filterSensitiveLog: (obj: GetResourceShareInvitationsRequest) => any;
|
|
1002
|
-
}
|
|
1003
|
-
export interface GetResourceShareInvitationsResponse {
|
|
1004
|
-
/**
|
|
1005
|
-
* <p>Information about the invitations.</p>
|
|
1006
|
-
*/
|
|
1007
|
-
resourceShareInvitations?: ResourceShareInvitation[];
|
|
1008
|
-
/**
|
|
1009
|
-
* <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>
|
|
1010
|
-
*/
|
|
1011
|
-
nextToken?: string;
|
|
1012
|
-
}
|
|
1013
|
-
export declare namespace GetResourceShareInvitationsResponse {
|
|
1014
|
-
/**
|
|
1015
|
-
* @internal
|
|
1016
|
-
*/
|
|
1017
|
-
const filterSensitiveLog: (obj: GetResourceShareInvitationsResponse) => any;
|
|
1018
|
-
}
|
|
1019
|
-
/**
|
|
1020
|
-
* <p>The specified value for MaxResults is not valid.</p>
|
|
1021
|
-
*/
|
|
1022
|
-
export interface InvalidMaxResultsException extends __SmithyException, $MetadataBearer {
|
|
1023
|
-
name: "InvalidMaxResultsException";
|
|
1024
|
-
$fault: "client";
|
|
1025
|
-
message: string | undefined;
|
|
1026
|
-
}
|
|
1027
|
-
export declare namespace InvalidMaxResultsException {
|
|
1028
|
-
/**
|
|
1029
|
-
* @internal
|
|
1030
|
-
*/
|
|
1031
|
-
const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
|
|
1032
|
-
}
|
|
1033
|
-
export declare enum ResourceOwner {
|
|
1034
|
-
OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
|
|
1035
|
-
SELF = "SELF"
|
|
1036
|
-
}
|
|
1037
|
-
/**
|
|
1038
|
-
* <p>Used to filter information based on tags.</p>
|
|
1039
|
-
*/
|
|
1040
|
-
export interface TagFilter {
|
|
1041
|
-
/**
|
|
1042
|
-
* <p>The tag key.</p>
|
|
1043
|
-
*/
|
|
1044
|
-
tagKey?: string;
|
|
1045
|
-
/**
|
|
1046
|
-
* <p>The tag values.</p>
|
|
1047
|
-
*/
|
|
1048
|
-
tagValues?: string[];
|
|
1049
|
-
}
|
|
1050
|
-
export declare namespace TagFilter {
|
|
1051
|
-
/**
|
|
1052
|
-
* @internal
|
|
1053
|
-
*/
|
|
1054
|
-
const filterSensitiveLog: (obj: TagFilter) => any;
|
|
1055
|
-
}
|
|
1056
|
-
export interface GetResourceSharesRequest {
|
|
1057
|
-
/**
|
|
1058
|
-
* <p>The Amazon Resource Names (ARNs) of the resource shares.</p>
|
|
1059
|
-
*/
|
|
1060
|
-
resourceShareArns?: string[];
|
|
1061
|
-
/**
|
|
1062
|
-
* <p>The status of the resource share.</p>
|
|
1063
|
-
*/
|
|
1064
|
-
resourceShareStatus?: ResourceShareStatus | string;
|
|
1065
|
-
/**
|
|
1066
|
-
* <p>The type of owner.</p>
|
|
1067
|
-
*/
|
|
1068
|
-
resourceOwner: ResourceOwner | string | undefined;
|
|
1069
|
-
/**
|
|
1070
|
-
* <p>The name of the resource share.</p>
|
|
1071
|
-
*/
|
|
1072
|
-
name?: string;
|
|
1073
|
-
/**
|
|
1074
|
-
* <p>One or more tag filters.</p>
|
|
1075
|
-
*/
|
|
1076
|
-
tagFilters?: TagFilter[];
|
|
1077
|
-
/**
|
|
1078
|
-
* <p>The token for the next page of results.</p>
|
|
1079
|
-
*/
|
|
1080
|
-
nextToken?: string;
|
|
1081
|
-
/**
|
|
1082
|
-
* <p>The maximum number of results to return with a single call.
|
|
1083
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1084
|
-
*/
|
|
1085
|
-
maxResults?: number;
|
|
1086
|
-
/**
|
|
1087
|
-
* <p>The Amazon Resource Name (ARN) of the RAM permission that is associated with the
|
|
1088
|
-
* resource share.</p>
|
|
1089
|
-
*/
|
|
1090
|
-
permissionArn?: string;
|
|
1091
|
-
}
|
|
1092
|
-
export declare namespace GetResourceSharesRequest {
|
|
1093
|
-
/**
|
|
1094
|
-
* @internal
|
|
1095
|
-
*/
|
|
1096
|
-
const filterSensitiveLog: (obj: GetResourceSharesRequest) => any;
|
|
1097
|
-
}
|
|
1098
|
-
export interface GetResourceSharesResponse {
|
|
1099
|
-
/**
|
|
1100
|
-
* <p>Information about the resource shares.</p>
|
|
1101
|
-
*/
|
|
1102
|
-
resourceShares?: ResourceShare[];
|
|
1103
|
-
/**
|
|
1104
|
-
* <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>
|
|
1105
|
-
*/
|
|
1106
|
-
nextToken?: string;
|
|
1107
|
-
}
|
|
1108
|
-
export declare namespace GetResourceSharesResponse {
|
|
1109
|
-
/**
|
|
1110
|
-
* @internal
|
|
1111
|
-
*/
|
|
1112
|
-
const filterSensitiveLog: (obj: GetResourceSharesResponse) => any;
|
|
1113
|
-
}
|
|
1114
|
-
export interface ListPendingInvitationResourcesRequest {
|
|
1115
|
-
/**
|
|
1116
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
1117
|
-
*/
|
|
1118
|
-
resourceShareInvitationArn: string | undefined;
|
|
1119
|
-
/**
|
|
1120
|
-
* <p>The token for the next page of results.</p>
|
|
1121
|
-
*/
|
|
1122
|
-
nextToken?: string;
|
|
1123
|
-
/**
|
|
1124
|
-
* <p>The maximum number of results to return with a single call.
|
|
1125
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1126
|
-
*/
|
|
1127
|
-
maxResults?: number;
|
|
1128
|
-
}
|
|
1129
|
-
export declare namespace ListPendingInvitationResourcesRequest {
|
|
1130
|
-
/**
|
|
1131
|
-
* @internal
|
|
1132
|
-
*/
|
|
1133
|
-
const filterSensitiveLog: (obj: ListPendingInvitationResourcesRequest) => any;
|
|
1134
|
-
}
|
|
1135
|
-
export declare type ResourceStatus = "AVAILABLE" | "LIMIT_EXCEEDED" | "PENDING" | "UNAVAILABLE" | "ZONAL_RESOURCE_INACCESSIBLE";
|
|
1136
|
-
/**
|
|
1137
|
-
* <p>Describes a resource associated with a resource share.</p>
|
|
1138
|
-
*/
|
|
1139
|
-
export interface Resource {
|
|
1140
|
-
/**
|
|
1141
|
-
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1142
|
-
*/
|
|
1143
|
-
arn?: string;
|
|
1144
|
-
/**
|
|
1145
|
-
* <p>The resource type.</p>
|
|
1146
|
-
*/
|
|
1147
|
-
type?: string;
|
|
1148
|
-
/**
|
|
1149
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1150
|
-
*/
|
|
1151
|
-
resourceShareArn?: string;
|
|
1152
|
-
/**
|
|
1153
|
-
* <p>The Amazon Resource Name (ARN) of the resource group. This value is returned only if
|
|
1154
|
-
* the resource is a resource group.</p>
|
|
1155
|
-
*/
|
|
1156
|
-
resourceGroupArn?: string;
|
|
1157
|
-
/**
|
|
1158
|
-
* <p>The status of the resource.</p>
|
|
1159
|
-
*/
|
|
1160
|
-
status?: ResourceStatus | string;
|
|
1161
|
-
/**
|
|
1162
|
-
* <p>A message about the status of the resource.</p>
|
|
1163
|
-
*/
|
|
1164
|
-
statusMessage?: string;
|
|
1165
|
-
/**
|
|
1166
|
-
* <p>The time when the resource was associated with the resource share.</p>
|
|
1167
|
-
*/
|
|
1168
|
-
creationTime?: Date;
|
|
1169
|
-
/**
|
|
1170
|
-
* <p>The time when the association was last updated.</p>
|
|
1171
|
-
*/
|
|
1172
|
-
lastUpdatedTime?: Date;
|
|
1173
|
-
}
|
|
1174
|
-
export declare namespace Resource {
|
|
1175
|
-
/**
|
|
1176
|
-
* @internal
|
|
1177
|
-
*/
|
|
1178
|
-
const filterSensitiveLog: (obj: Resource) => any;
|
|
1179
|
-
}
|
|
1180
|
-
export interface ListPendingInvitationResourcesResponse {
|
|
1181
|
-
/**
|
|
1182
|
-
* <p>Information about the resources included the resource share.</p>
|
|
1183
|
-
*/
|
|
1184
|
-
resources?: Resource[];
|
|
1185
|
-
/**
|
|
1186
|
-
* <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>
|
|
1187
|
-
*/
|
|
1188
|
-
nextToken?: string;
|
|
1189
|
-
}
|
|
1190
|
-
export declare namespace ListPendingInvitationResourcesResponse {
|
|
1191
|
-
/**
|
|
1192
|
-
* @internal
|
|
1193
|
-
*/
|
|
1194
|
-
const filterSensitiveLog: (obj: ListPendingInvitationResourcesResponse) => any;
|
|
1195
|
-
}
|
|
1196
|
-
/**
|
|
1197
|
-
* <p>A required input parameter is missing.</p>
|
|
1198
|
-
*/
|
|
1199
|
-
export interface MissingRequiredParameterException extends __SmithyException, $MetadataBearer {
|
|
1200
|
-
name: "MissingRequiredParameterException";
|
|
1201
|
-
$fault: "client";
|
|
1202
|
-
message: string | undefined;
|
|
1203
|
-
}
|
|
1204
|
-
export declare namespace MissingRequiredParameterException {
|
|
1205
|
-
/**
|
|
1206
|
-
* @internal
|
|
1207
|
-
*/
|
|
1208
|
-
const filterSensitiveLog: (obj: MissingRequiredParameterException) => any;
|
|
1209
|
-
}
|
|
1210
|
-
export interface ListPermissionsRequest {
|
|
1211
|
-
/**
|
|
1212
|
-
* <p>Specifies the resource type for which to list permissions. For example, to list only
|
|
1213
|
-
* permissions that apply to EC2 subnets, specify <code>ec2:Subnet</code>.</p>
|
|
1214
|
-
*/
|
|
1215
|
-
resourceType?: string;
|
|
1216
|
-
/**
|
|
1217
|
-
* <p>The token for the next page of results.</p>
|
|
1218
|
-
*/
|
|
1219
|
-
nextToken?: string;
|
|
1220
|
-
/**
|
|
1221
|
-
* <p>The maximum number of results to return with a single call.
|
|
1222
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1223
|
-
*/
|
|
1224
|
-
maxResults?: number;
|
|
1225
|
-
}
|
|
1226
|
-
export declare namespace ListPermissionsRequest {
|
|
1227
|
-
/**
|
|
1228
|
-
* @internal
|
|
1229
|
-
*/
|
|
1230
|
-
const filterSensitiveLog: (obj: ListPermissionsRequest) => any;
|
|
1231
|
-
}
|
|
1232
|
-
/**
|
|
1233
|
-
* <p>Information about a permission that is associated with a resource share.</p>
|
|
1234
|
-
*/
|
|
1235
|
-
export interface ResourceSharePermissionSummary {
|
|
1236
|
-
/**
|
|
1237
|
-
* <p>The Amazon Resource Name (ARN) of the permission.</p>
|
|
1238
|
-
*/
|
|
1239
|
-
arn?: string;
|
|
1240
|
-
/**
|
|
1241
|
-
* <p>The identifier for the version of the permission.</p>
|
|
1242
|
-
*/
|
|
1243
|
-
version?: string;
|
|
1244
|
-
/**
|
|
1245
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
1246
|
-
* permission.</p>
|
|
1247
|
-
*/
|
|
1248
|
-
defaultVersion?: boolean;
|
|
1249
|
-
/**
|
|
1250
|
-
* <p>The name of the permission.</p>
|
|
1251
|
-
*/
|
|
1252
|
-
name?: string;
|
|
1253
|
-
/**
|
|
1254
|
-
* <p>The type of resource to which the permission applies.</p>
|
|
1255
|
-
*/
|
|
1256
|
-
resourceType?: string;
|
|
1257
|
-
/**
|
|
1258
|
-
* <p>The current status of the permission.</p>
|
|
1259
|
-
*/
|
|
1260
|
-
status?: string;
|
|
1261
|
-
/**
|
|
1262
|
-
* <p>The date and time when the permission was created.</p>
|
|
1263
|
-
*/
|
|
1264
|
-
creationTime?: Date;
|
|
1265
|
-
/**
|
|
1266
|
-
* <p>The date and time when the permission was last updated.</p>
|
|
1267
|
-
*/
|
|
1268
|
-
lastUpdatedTime?: Date;
|
|
1269
|
-
/**
|
|
1270
|
-
* <p>Specifies whether the version of the permission is set to the default version for this
|
|
1271
|
-
* resource type.</p>
|
|
1272
|
-
*/
|
|
1273
|
-
isResourceTypeDefault?: boolean;
|
|
1274
|
-
}
|
|
1275
|
-
export declare namespace ResourceSharePermissionSummary {
|
|
1276
|
-
/**
|
|
1277
|
-
* @internal
|
|
1278
|
-
*/
|
|
1279
|
-
const filterSensitiveLog: (obj: ResourceSharePermissionSummary) => any;
|
|
1280
|
-
}
|
|
1281
|
-
export interface ListPermissionsResponse {
|
|
1282
|
-
/**
|
|
1283
|
-
* <p>Information about the permissions.</p>
|
|
1284
|
-
*/
|
|
1285
|
-
permissions?: ResourceSharePermissionSummary[];
|
|
1286
|
-
/**
|
|
1287
|
-
* <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>
|
|
1288
|
-
*/
|
|
1289
|
-
nextToken?: string;
|
|
1290
|
-
}
|
|
1291
|
-
export declare namespace ListPermissionsResponse {
|
|
1292
|
-
/**
|
|
1293
|
-
* @internal
|
|
1294
|
-
*/
|
|
1295
|
-
const filterSensitiveLog: (obj: ListPermissionsResponse) => any;
|
|
1296
|
-
}
|
|
1297
|
-
export interface ListPrincipalsRequest {
|
|
1298
|
-
/**
|
|
1299
|
-
* <p>The type of owner.</p>
|
|
1300
|
-
*/
|
|
1301
|
-
resourceOwner: ResourceOwner | string | undefined;
|
|
1302
|
-
/**
|
|
1303
|
-
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1304
|
-
*/
|
|
1305
|
-
resourceArn?: string;
|
|
1306
|
-
/**
|
|
1307
|
-
* <p>The principals.</p>
|
|
1308
|
-
*/
|
|
1309
|
-
principals?: string[];
|
|
1310
|
-
/**
|
|
1311
|
-
* <p>The resource type.</p>
|
|
1312
|
-
* <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>
|
|
1313
|
-
* </p>
|
|
1314
|
-
*/
|
|
1315
|
-
resourceType?: string;
|
|
1316
|
-
/**
|
|
1317
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
1318
|
-
*/
|
|
1319
|
-
resourceShareArns?: string[];
|
|
1320
|
-
/**
|
|
1321
|
-
* <p>The token for the next page of results.</p>
|
|
1322
|
-
*/
|
|
1323
|
-
nextToken?: string;
|
|
1324
|
-
/**
|
|
1325
|
-
* <p>The maximum number of results to return with a single call.
|
|
1326
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1327
|
-
*/
|
|
1328
|
-
maxResults?: number;
|
|
1329
|
-
}
|
|
1330
|
-
export declare namespace ListPrincipalsRequest {
|
|
1331
|
-
/**
|
|
1332
|
-
* @internal
|
|
1333
|
-
*/
|
|
1334
|
-
const filterSensitiveLog: (obj: ListPrincipalsRequest) => any;
|
|
1335
|
-
}
|
|
1336
|
-
/**
|
|
1337
|
-
* <p>Describes a principal for use with Resource Access Manager.</p>
|
|
1338
|
-
*/
|
|
1339
|
-
export interface Principal {
|
|
1340
|
-
/**
|
|
1341
|
-
* <p>The ID of the principal.</p>
|
|
1342
|
-
*/
|
|
1343
|
-
id?: string;
|
|
1344
|
-
/**
|
|
1345
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1346
|
-
*/
|
|
1347
|
-
resourceShareArn?: string;
|
|
1348
|
-
/**
|
|
1349
|
-
* <p>The time when the principal was associated with the resource share.</p>
|
|
1350
|
-
*/
|
|
1351
|
-
creationTime?: Date;
|
|
1352
|
-
/**
|
|
1353
|
-
* <p>The time when the association was last updated.</p>
|
|
1354
|
-
*/
|
|
1355
|
-
lastUpdatedTime?: Date;
|
|
1356
|
-
/**
|
|
1357
|
-
* <p>Indicates whether the principal belongs to the same organization in Organizations as the
|
|
1358
|
-
* Amazon Web Services account that owns the resource share.</p>
|
|
1359
|
-
*/
|
|
1360
|
-
external?: boolean;
|
|
1361
|
-
}
|
|
1362
|
-
export declare namespace Principal {
|
|
1363
|
-
/**
|
|
1364
|
-
* @internal
|
|
1365
|
-
*/
|
|
1366
|
-
const filterSensitiveLog: (obj: Principal) => any;
|
|
1367
|
-
}
|
|
1368
|
-
export interface ListPrincipalsResponse {
|
|
1369
|
-
/**
|
|
1370
|
-
* <p>The principals.</p>
|
|
1371
|
-
*/
|
|
1372
|
-
principals?: Principal[];
|
|
1373
|
-
/**
|
|
1374
|
-
* <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>
|
|
1375
|
-
*/
|
|
1376
|
-
nextToken?: string;
|
|
1377
|
-
}
|
|
1378
|
-
export declare namespace ListPrincipalsResponse {
|
|
1379
|
-
/**
|
|
1380
|
-
* @internal
|
|
1381
|
-
*/
|
|
1382
|
-
const filterSensitiveLog: (obj: ListPrincipalsResponse) => any;
|
|
1383
|
-
}
|
|
1384
|
-
/**
|
|
1385
|
-
* <p>The specified resource type is not valid.</p>
|
|
1386
|
-
*/
|
|
1387
|
-
export interface InvalidResourceTypeException extends __SmithyException, $MetadataBearer {
|
|
1388
|
-
name: "InvalidResourceTypeException";
|
|
1389
|
-
$fault: "client";
|
|
1390
|
-
message: string | undefined;
|
|
1391
|
-
}
|
|
1392
|
-
export declare namespace InvalidResourceTypeException {
|
|
1393
|
-
/**
|
|
1394
|
-
* @internal
|
|
1395
|
-
*/
|
|
1396
|
-
const filterSensitiveLog: (obj: InvalidResourceTypeException) => any;
|
|
1397
|
-
}
|
|
1398
|
-
export interface ListResourcesRequest {
|
|
1399
|
-
/**
|
|
1400
|
-
* <p>The type of owner.</p>
|
|
1401
|
-
*/
|
|
1402
|
-
resourceOwner: ResourceOwner | string | undefined;
|
|
1403
|
-
/**
|
|
1404
|
-
* <p>The principal.</p>
|
|
1405
|
-
*/
|
|
1406
|
-
principal?: string;
|
|
1407
|
-
/**
|
|
1408
|
-
* <p>The resource type.</p>
|
|
1409
|
-
* <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>
|
|
1410
|
-
* </p>
|
|
1411
|
-
*/
|
|
1412
|
-
resourceType?: string;
|
|
1413
|
-
/**
|
|
1414
|
-
* <p>The Amazon Resource Names (ARNs) of the resources.</p>
|
|
1415
|
-
*/
|
|
1416
|
-
resourceArns?: string[];
|
|
1417
|
-
/**
|
|
1418
|
-
* <p>The Amazon Resource Names (ARN) of the resource shares.</p>
|
|
1419
|
-
*/
|
|
1420
|
-
resourceShareArns?: string[];
|
|
1421
|
-
/**
|
|
1422
|
-
* <p>The token for the next page of results.</p>
|
|
1423
|
-
*/
|
|
1424
|
-
nextToken?: string;
|
|
1425
|
-
/**
|
|
1426
|
-
* <p>The maximum number of results to return with a single call.
|
|
1427
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1428
|
-
*/
|
|
1429
|
-
maxResults?: number;
|
|
1430
|
-
}
|
|
1431
|
-
export declare namespace ListResourcesRequest {
|
|
1432
|
-
/**
|
|
1433
|
-
* @internal
|
|
1434
|
-
*/
|
|
1435
|
-
const filterSensitiveLog: (obj: ListResourcesRequest) => any;
|
|
1436
|
-
}
|
|
1437
|
-
export interface ListResourcesResponse {
|
|
1438
|
-
/**
|
|
1439
|
-
* <p>Information about the resources.</p>
|
|
1440
|
-
*/
|
|
1441
|
-
resources?: Resource[];
|
|
1442
|
-
/**
|
|
1443
|
-
* <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>
|
|
1444
|
-
*/
|
|
1445
|
-
nextToken?: string;
|
|
1446
|
-
}
|
|
1447
|
-
export declare namespace ListResourcesResponse {
|
|
1448
|
-
/**
|
|
1449
|
-
* @internal
|
|
1450
|
-
*/
|
|
1451
|
-
const filterSensitiveLog: (obj: ListResourcesResponse) => any;
|
|
1452
|
-
}
|
|
1453
|
-
export interface ListResourceSharePermissionsRequest {
|
|
1454
|
-
/**
|
|
1455
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1456
|
-
*/
|
|
1457
|
-
resourceShareArn: string | undefined;
|
|
1458
|
-
/**
|
|
1459
|
-
* <p>The token for the next page of results.</p>
|
|
1460
|
-
*/
|
|
1461
|
-
nextToken?: string;
|
|
1462
|
-
/**
|
|
1463
|
-
* <p>The maximum number of results to return with a single call.
|
|
1464
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1465
|
-
*/
|
|
1466
|
-
maxResults?: number;
|
|
1467
|
-
}
|
|
1468
|
-
export declare namespace ListResourceSharePermissionsRequest {
|
|
1469
|
-
/**
|
|
1470
|
-
* @internal
|
|
1471
|
-
*/
|
|
1472
|
-
const filterSensitiveLog: (obj: ListResourceSharePermissionsRequest) => any;
|
|
1473
|
-
}
|
|
1474
|
-
export interface ListResourceSharePermissionsResponse {
|
|
1475
|
-
/**
|
|
1476
|
-
* <p>The permissions associated with the resource share.</p>
|
|
1477
|
-
*/
|
|
1478
|
-
permissions?: ResourceSharePermissionSummary[];
|
|
1479
|
-
/**
|
|
1480
|
-
* <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>
|
|
1481
|
-
*/
|
|
1482
|
-
nextToken?: string;
|
|
1483
|
-
}
|
|
1484
|
-
export declare namespace ListResourceSharePermissionsResponse {
|
|
1485
|
-
/**
|
|
1486
|
-
* @internal
|
|
1487
|
-
*/
|
|
1488
|
-
const filterSensitiveLog: (obj: ListResourceSharePermissionsResponse) => any;
|
|
1489
|
-
}
|
|
1490
|
-
export interface ListResourceTypesRequest {
|
|
1491
|
-
/**
|
|
1492
|
-
* <p>The token for the next page of results.</p>
|
|
1493
|
-
*/
|
|
1494
|
-
nextToken?: string;
|
|
1495
|
-
/**
|
|
1496
|
-
* <p>The maximum number of results to return with a single call.
|
|
1497
|
-
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
1498
|
-
*/
|
|
1499
|
-
maxResults?: number;
|
|
1500
|
-
}
|
|
1501
|
-
export declare namespace ListResourceTypesRequest {
|
|
1502
|
-
/**
|
|
1503
|
-
* @internal
|
|
1504
|
-
*/
|
|
1505
|
-
const filterSensitiveLog: (obj: ListResourceTypesRequest) => any;
|
|
1506
|
-
}
|
|
1507
|
-
/**
|
|
1508
|
-
* <p>Information about the shareable resource types and the Amazon Web Services services to which they
|
|
1509
|
-
* belong.</p>
|
|
1510
|
-
*/
|
|
1511
|
-
export interface ServiceNameAndResourceType {
|
|
1512
|
-
/**
|
|
1513
|
-
* <p>The shareable resource types.</p>
|
|
1514
|
-
*/
|
|
1515
|
-
resourceType?: string;
|
|
1516
|
-
/**
|
|
1517
|
-
* <p>The name of the Amazon Web Services services to which the resources belong.</p>
|
|
1518
|
-
*/
|
|
1519
|
-
serviceName?: string;
|
|
1520
|
-
}
|
|
1521
|
-
export declare namespace ServiceNameAndResourceType {
|
|
1522
|
-
/**
|
|
1523
|
-
* @internal
|
|
1524
|
-
*/
|
|
1525
|
-
const filterSensitiveLog: (obj: ServiceNameAndResourceType) => any;
|
|
1526
|
-
}
|
|
1527
|
-
export interface ListResourceTypesResponse {
|
|
1528
|
-
/**
|
|
1529
|
-
* <p>The shareable resource types supported by RAM.</p>
|
|
1530
|
-
*/
|
|
1531
|
-
resourceTypes?: ServiceNameAndResourceType[];
|
|
1532
|
-
/**
|
|
1533
|
-
* <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>
|
|
1534
|
-
*/
|
|
1535
|
-
nextToken?: string;
|
|
1536
|
-
}
|
|
1537
|
-
export declare namespace ListResourceTypesResponse {
|
|
1538
|
-
/**
|
|
1539
|
-
* @internal
|
|
1540
|
-
*/
|
|
1541
|
-
const filterSensitiveLog: (obj: ListResourceTypesResponse) => any;
|
|
1542
|
-
}
|
|
1543
|
-
export interface PromoteResourceShareCreatedFromPolicyRequest {
|
|
1544
|
-
/**
|
|
1545
|
-
* <p>The Amazon Resource Name (ARN) of the resource share to promote.</p>
|
|
1546
|
-
*/
|
|
1547
|
-
resourceShareArn: string | undefined;
|
|
1548
|
-
}
|
|
1549
|
-
export declare namespace PromoteResourceShareCreatedFromPolicyRequest {
|
|
1550
|
-
/**
|
|
1551
|
-
* @internal
|
|
1552
|
-
*/
|
|
1553
|
-
const filterSensitiveLog: (obj: PromoteResourceShareCreatedFromPolicyRequest) => any;
|
|
1554
|
-
}
|
|
1555
|
-
export interface PromoteResourceShareCreatedFromPolicyResponse {
|
|
1556
|
-
/**
|
|
1557
|
-
* <p>Indicates whether the request succeeded.</p>
|
|
1558
|
-
*/
|
|
1559
|
-
returnValue?: boolean;
|
|
1560
|
-
}
|
|
1561
|
-
export declare namespace PromoteResourceShareCreatedFromPolicyResponse {
|
|
1562
|
-
/**
|
|
1563
|
-
* @internal
|
|
1564
|
-
*/
|
|
1565
|
-
const filterSensitiveLog: (obj: PromoteResourceShareCreatedFromPolicyResponse) => any;
|
|
1566
|
-
}
|
|
1567
|
-
export interface RejectResourceShareInvitationRequest {
|
|
1568
|
-
/**
|
|
1569
|
-
* <p>The Amazon Resource Name (ARN) of the invitation.</p>
|
|
1570
|
-
*/
|
|
1571
|
-
resourceShareInvitationArn: string | undefined;
|
|
1572
|
-
/**
|
|
1573
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
1574
|
-
*/
|
|
1575
|
-
clientToken?: string;
|
|
1576
|
-
}
|
|
1577
|
-
export declare namespace RejectResourceShareInvitationRequest {
|
|
1578
|
-
/**
|
|
1579
|
-
* @internal
|
|
1580
|
-
*/
|
|
1581
|
-
const filterSensitiveLog: (obj: RejectResourceShareInvitationRequest) => any;
|
|
1582
|
-
}
|
|
1583
|
-
export interface RejectResourceShareInvitationResponse {
|
|
1584
|
-
/**
|
|
1585
|
-
* <p>Information about the invitation.</p>
|
|
1586
|
-
*/
|
|
1587
|
-
resourceShareInvitation?: ResourceShareInvitation;
|
|
1588
|
-
/**
|
|
1589
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
1590
|
-
*/
|
|
1591
|
-
clientToken?: string;
|
|
1592
|
-
}
|
|
1593
|
-
export declare namespace RejectResourceShareInvitationResponse {
|
|
1594
|
-
/**
|
|
1595
|
-
* @internal
|
|
1596
|
-
*/
|
|
1597
|
-
const filterSensitiveLog: (obj: RejectResourceShareInvitationResponse) => any;
|
|
1598
|
-
}
|
|
1599
|
-
/**
|
|
1600
|
-
* <p>The requested tags exceed the limit for your account.</p>
|
|
1601
|
-
*/
|
|
1602
|
-
export interface TagLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
1603
|
-
name: "TagLimitExceededException";
|
|
1604
|
-
$fault: "client";
|
|
1605
|
-
message: string | undefined;
|
|
1606
|
-
}
|
|
1607
|
-
export declare namespace TagLimitExceededException {
|
|
1608
|
-
/**
|
|
1609
|
-
* @internal
|
|
1610
|
-
*/
|
|
1611
|
-
const filterSensitiveLog: (obj: TagLimitExceededException) => any;
|
|
1612
|
-
}
|
|
1613
|
-
export interface TagResourceRequest {
|
|
1614
|
-
/**
|
|
1615
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1616
|
-
*/
|
|
1617
|
-
resourceShareArn: string | undefined;
|
|
1618
|
-
/**
|
|
1619
|
-
* <p>One or more tags.</p>
|
|
1620
|
-
*/
|
|
1621
|
-
tags: Tag[] | undefined;
|
|
1622
|
-
}
|
|
1623
|
-
export declare namespace TagResourceRequest {
|
|
1624
|
-
/**
|
|
1625
|
-
* @internal
|
|
1626
|
-
*/
|
|
1627
|
-
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1628
|
-
}
|
|
1629
|
-
export interface TagResourceResponse {
|
|
1630
|
-
}
|
|
1631
|
-
export declare namespace TagResourceResponse {
|
|
1632
|
-
/**
|
|
1633
|
-
* @internal
|
|
1634
|
-
*/
|
|
1635
|
-
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1636
|
-
}
|
|
1637
|
-
export interface UntagResourceRequest {
|
|
1638
|
-
/**
|
|
1639
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1640
|
-
*/
|
|
1641
|
-
resourceShareArn: string | undefined;
|
|
1642
|
-
/**
|
|
1643
|
-
* <p>The tag keys of the tags to remove.</p>
|
|
1644
|
-
*/
|
|
1645
|
-
tagKeys: string[] | undefined;
|
|
1646
|
-
}
|
|
1647
|
-
export declare namespace UntagResourceRequest {
|
|
1648
|
-
/**
|
|
1649
|
-
* @internal
|
|
1650
|
-
*/
|
|
1651
|
-
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1652
|
-
}
|
|
1653
|
-
export interface UntagResourceResponse {
|
|
1654
|
-
}
|
|
1655
|
-
export declare namespace UntagResourceResponse {
|
|
1656
|
-
/**
|
|
1657
|
-
* @internal
|
|
1658
|
-
*/
|
|
1659
|
-
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
1660
|
-
}
|
|
1661
|
-
export interface UpdateResourceShareRequest {
|
|
1662
|
-
/**
|
|
1663
|
-
* <p>The Amazon Resource Name (ARN) of the resource share.</p>
|
|
1664
|
-
*/
|
|
1665
|
-
resourceShareArn: string | undefined;
|
|
1666
|
-
/**
|
|
1667
|
-
* <p>The name of the resource share.</p>
|
|
1668
|
-
*/
|
|
1669
|
-
name?: string;
|
|
1670
|
-
/**
|
|
1671
|
-
* <p>Indicates whether principals outside your organization in Organizations can be associated
|
|
1672
|
-
* with a resource share.</p>
|
|
1673
|
-
*/
|
|
1674
|
-
allowExternalPrincipals?: boolean;
|
|
1675
|
-
/**
|
|
1676
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
1677
|
-
*/
|
|
1678
|
-
clientToken?: string;
|
|
1679
|
-
}
|
|
1680
|
-
export declare namespace UpdateResourceShareRequest {
|
|
1681
|
-
/**
|
|
1682
|
-
* @internal
|
|
1683
|
-
*/
|
|
1684
|
-
const filterSensitiveLog: (obj: UpdateResourceShareRequest) => any;
|
|
1685
|
-
}
|
|
1686
|
-
export interface UpdateResourceShareResponse {
|
|
1687
|
-
/**
|
|
1688
|
-
* <p>Information about the resource share.</p>
|
|
1689
|
-
*/
|
|
1690
|
-
resourceShare?: ResourceShare;
|
|
1691
|
-
/**
|
|
1692
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
1693
|
-
*/
|
|
1694
|
-
clientToken?: string;
|
|
1695
|
-
}
|
|
1696
|
-
export declare namespace UpdateResourceShareResponse {
|
|
1697
|
-
/**
|
|
1698
|
-
* @internal
|
|
1699
|
-
*/
|
|
1700
|
-
const filterSensitiveLog: (obj: UpdateResourceShareResponse) => any;
|
|
1701
|
-
}
|