@aws-sdk/client-ram 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/RAM.js +2 -28
- package/dist-cjs/RAMClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AcceptResourceShareInvitationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/AssociateResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/AssociateResourceSharePermissionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateResourceShareCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/DeleteResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DisassociateResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DisassociateResourceSharePermissionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/EnableSharingWithAwsOrganizationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetPermissionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourcePoliciesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourceShareAssociationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourceShareInvitationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetResourceSharesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPendingInvitationResourcesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListPermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPrincipalsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListResourceSharePermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListResourceTypesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListResourcesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -39
- package/{dist/cjs → dist-cjs}/commands/RejectResourceShareInvitationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateResourceShareCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -238
- package/{dist/cjs → dist-cjs}/pagination/GetResourcePoliciesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetResourceShareAssociationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetResourceShareInvitationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetResourceSharesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListPendingInvitationResourcesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPermissionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPrincipalsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListResourceSharePermissionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListResourceTypesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListResourcesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +24 -30
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/RAM.js +2 -3
- package/{dist/es → dist-es}/RAMClient.js +1 -2
- package/{dist/es → dist-es}/commands/AcceptResourceShareInvitationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AssociateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AssociateResourceSharePermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisassociateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisassociateResourceSharePermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/EnableSharingWithAwsOrganizationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourcePoliciesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourceShareAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourceShareInvitationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourceSharesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPendingInvitationResourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPrincipalsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListResourceSharePermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListResourceTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListResourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RejectResourceShareInvitationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateResourceShareCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetResourcePoliciesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetResourceShareAssociationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetResourceShareInvitationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetResourceSharesPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListPendingInvitationResourcesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPermissionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPrincipalsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListResourceSharePermissionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListResourceTypesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListResourcesPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/RAM.d.ts +3 -3
- package/{dist/types → dist-types}/RAMClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/AcceptResourceShareInvitationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssociateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AssociateResourceSharePermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DisassociateResourceSharePermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/EnableSharingWithAwsOrganizationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetPermissionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourcePoliciesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourceShareAssociationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourceShareInvitationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourceSharesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPendingInvitationResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPrincipalsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourceSharePermissionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourceTypesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RejectResourceShareInvitationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateResourceShareCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetResourceSharesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPrincipalsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListResourceTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/RAM.d.ts +28 -123
- package/{dist/types → dist-types}/ts3.4/RAMClient.d.ts +33 -120
- package/{dist/types → dist-types}/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +5 -24
- package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetResourcePoliciesCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +5 -24
- package/{dist/types → dist-types}/ts3.4/commands/ListPermissionsCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListResourceTypesCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateResourceShareCommand.d.ts +5 -23
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +967 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourceSharesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPrincipalsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListResourceTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/RAM.ts +0 -932
- package/RAMClient.ts +0 -377
- package/commands/AcceptResourceShareInvitationCommand.ts +0 -99
- package/commands/AssociateResourceShareCommand.ts +0 -94
- package/commands/AssociateResourceSharePermissionCommand.ts +0 -102
- package/commands/CreateResourceShareCommand.ts +0 -101
- package/commands/DeleteResourceShareCommand.ts +0 -94
- package/commands/DisassociateResourceShareCommand.ts +0 -97
- package/commands/DisassociateResourceSharePermissionCommand.ts +0 -105
- package/commands/EnableSharingWithAwsOrganizationCommand.ts +0 -103
- package/commands/GetPermissionCommand.ts +0 -94
- package/commands/GetResourcePoliciesCommand.ts +0 -94
- package/commands/GetResourceShareAssociationsCommand.ts +0 -99
- package/commands/GetResourceShareInvitationsCommand.ts +0 -99
- package/commands/GetResourceSharesCommand.ts +0 -94
- package/commands/ListPendingInvitationResourcesCommand.ts +0 -103
- package/commands/ListPermissionsCommand.ts +0 -94
- package/commands/ListPrincipalsCommand.ts +0 -95
- package/commands/ListResourceSharePermissionsCommand.ts +0 -99
- package/commands/ListResourceTypesCommand.ts +0 -94
- package/commands/ListResourcesCommand.ts +0 -95
- package/commands/PromoteResourceShareCreatedFromPolicyCommand.ts +0 -118
- package/commands/RejectResourceShareInvitationCommand.ts +0 -99
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateResourceShareCommand.ts +0 -94
- package/dist/cjs/RAM.js.map +0 -1
- package/dist/cjs/RAMClient.js +0 -66
- package/dist/cjs/RAMClient.js.map +0 -1
- package/dist/cjs/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateResourceShareCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/GetPermissionCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourcePoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourceShareAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourceShareInvitationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourceSharesCommand.js.map +0 -1
- package/dist/cjs/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPrincipalsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceSharePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceTypesCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/RejectResourceShareInvitationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateResourceShareCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetResourcePoliciesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetResourceSharesPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPrincipalsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourceTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/RAM.js.map +0 -1
- package/dist/es/RAMClient.js.map +0 -1
- package/dist/es/commands/AcceptResourceShareInvitationCommand.js.map +0 -1
- package/dist/es/commands/AssociateResourceShareCommand.js.map +0 -1
- package/dist/es/commands/AssociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/es/commands/CreateResourceShareCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourceShareCommand.js.map +0 -1
- package/dist/es/commands/DisassociateResourceShareCommand.js.map +0 -1
- package/dist/es/commands/DisassociateResourceSharePermissionCommand.js.map +0 -1
- package/dist/es/commands/EnableSharingWithAwsOrganizationCommand.js.map +0 -1
- package/dist/es/commands/GetPermissionCommand.js.map +0 -1
- package/dist/es/commands/GetResourcePoliciesCommand.js.map +0 -1
- package/dist/es/commands/GetResourceShareAssociationsCommand.js.map +0 -1
- package/dist/es/commands/GetResourceShareInvitationsCommand.js.map +0 -1
- package/dist/es/commands/GetResourceSharesCommand.js.map +0 -1
- package/dist/es/commands/ListPendingInvitationResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListPermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListPrincipalsCommand.js.map +0 -1
- package/dist/es/commands/ListResourceSharePermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListResourceTypesCommand.js.map +0 -1
- package/dist/es/commands/ListResourcesCommand.js.map +0 -1
- package/dist/es/commands/PromoteResourceShareCreatedFromPolicyCommand.js.map +0 -1
- package/dist/es/commands/RejectResourceShareInvitationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateResourceShareCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -39
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetResourcePoliciesPaginator.js.map +0 -1
- package/dist/es/pagination/GetResourceShareAssociationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetResourceShareInvitationsPaginator.js.map +0 -1
- package/dist/es/pagination/GetResourceSharesPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListPendingInvitationResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListPermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPrincipalsPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourceSharePermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourceTypesPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateResourceShareCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/GetPermissionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetResourceSharesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListPrincipalsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListResourcesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1701
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2165
- package/pagination/GetResourcePoliciesPaginator.ts +0 -58
- package/pagination/GetResourceShareAssociationsPaginator.ts +0 -58
- package/pagination/GetResourceShareInvitationsPaginator.ts +0 -58
- package/pagination/GetResourceSharesPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListPendingInvitationResourcesPaginator.ts +0 -58
- package/pagination/ListPermissionsPaginator.ts +0 -58
- package/pagination/ListPrincipalsPaginator.ts +0 -58
- package/pagination/ListResourceSharePermissionsPaginator.ts +0 -58
- package/pagination/ListResourceTypesPaginator.ts +0 -58
- package/pagination/ListResourcesPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -4305
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/RAM.ts
DELETED
|
@@ -1,932 +0,0 @@
|
|
|
1
|
-
import { RAMClient } from "./RAMClient";
|
|
2
|
-
import {
|
|
3
|
-
AcceptResourceShareInvitationCommand,
|
|
4
|
-
AcceptResourceShareInvitationCommandInput,
|
|
5
|
-
AcceptResourceShareInvitationCommandOutput,
|
|
6
|
-
} from "./commands/AcceptResourceShareInvitationCommand";
|
|
7
|
-
import {
|
|
8
|
-
AssociateResourceShareCommand,
|
|
9
|
-
AssociateResourceShareCommandInput,
|
|
10
|
-
AssociateResourceShareCommandOutput,
|
|
11
|
-
} from "./commands/AssociateResourceShareCommand";
|
|
12
|
-
import {
|
|
13
|
-
AssociateResourceSharePermissionCommand,
|
|
14
|
-
AssociateResourceSharePermissionCommandInput,
|
|
15
|
-
AssociateResourceSharePermissionCommandOutput,
|
|
16
|
-
} from "./commands/AssociateResourceSharePermissionCommand";
|
|
17
|
-
import {
|
|
18
|
-
CreateResourceShareCommand,
|
|
19
|
-
CreateResourceShareCommandInput,
|
|
20
|
-
CreateResourceShareCommandOutput,
|
|
21
|
-
} from "./commands/CreateResourceShareCommand";
|
|
22
|
-
import {
|
|
23
|
-
DeleteResourceShareCommand,
|
|
24
|
-
DeleteResourceShareCommandInput,
|
|
25
|
-
DeleteResourceShareCommandOutput,
|
|
26
|
-
} from "./commands/DeleteResourceShareCommand";
|
|
27
|
-
import {
|
|
28
|
-
DisassociateResourceShareCommand,
|
|
29
|
-
DisassociateResourceShareCommandInput,
|
|
30
|
-
DisassociateResourceShareCommandOutput,
|
|
31
|
-
} from "./commands/DisassociateResourceShareCommand";
|
|
32
|
-
import {
|
|
33
|
-
DisassociateResourceSharePermissionCommand,
|
|
34
|
-
DisassociateResourceSharePermissionCommandInput,
|
|
35
|
-
DisassociateResourceSharePermissionCommandOutput,
|
|
36
|
-
} from "./commands/DisassociateResourceSharePermissionCommand";
|
|
37
|
-
import {
|
|
38
|
-
EnableSharingWithAwsOrganizationCommand,
|
|
39
|
-
EnableSharingWithAwsOrganizationCommandInput,
|
|
40
|
-
EnableSharingWithAwsOrganizationCommandOutput,
|
|
41
|
-
} from "./commands/EnableSharingWithAwsOrganizationCommand";
|
|
42
|
-
import {
|
|
43
|
-
GetPermissionCommand,
|
|
44
|
-
GetPermissionCommandInput,
|
|
45
|
-
GetPermissionCommandOutput,
|
|
46
|
-
} from "./commands/GetPermissionCommand";
|
|
47
|
-
import {
|
|
48
|
-
GetResourcePoliciesCommand,
|
|
49
|
-
GetResourcePoliciesCommandInput,
|
|
50
|
-
GetResourcePoliciesCommandOutput,
|
|
51
|
-
} from "./commands/GetResourcePoliciesCommand";
|
|
52
|
-
import {
|
|
53
|
-
GetResourceShareAssociationsCommand,
|
|
54
|
-
GetResourceShareAssociationsCommandInput,
|
|
55
|
-
GetResourceShareAssociationsCommandOutput,
|
|
56
|
-
} from "./commands/GetResourceShareAssociationsCommand";
|
|
57
|
-
import {
|
|
58
|
-
GetResourceShareInvitationsCommand,
|
|
59
|
-
GetResourceShareInvitationsCommandInput,
|
|
60
|
-
GetResourceShareInvitationsCommandOutput,
|
|
61
|
-
} from "./commands/GetResourceShareInvitationsCommand";
|
|
62
|
-
import {
|
|
63
|
-
GetResourceSharesCommand,
|
|
64
|
-
GetResourceSharesCommandInput,
|
|
65
|
-
GetResourceSharesCommandOutput,
|
|
66
|
-
} from "./commands/GetResourceSharesCommand";
|
|
67
|
-
import {
|
|
68
|
-
ListPendingInvitationResourcesCommand,
|
|
69
|
-
ListPendingInvitationResourcesCommandInput,
|
|
70
|
-
ListPendingInvitationResourcesCommandOutput,
|
|
71
|
-
} from "./commands/ListPendingInvitationResourcesCommand";
|
|
72
|
-
import {
|
|
73
|
-
ListPermissionsCommand,
|
|
74
|
-
ListPermissionsCommandInput,
|
|
75
|
-
ListPermissionsCommandOutput,
|
|
76
|
-
} from "./commands/ListPermissionsCommand";
|
|
77
|
-
import {
|
|
78
|
-
ListPrincipalsCommand,
|
|
79
|
-
ListPrincipalsCommandInput,
|
|
80
|
-
ListPrincipalsCommandOutput,
|
|
81
|
-
} from "./commands/ListPrincipalsCommand";
|
|
82
|
-
import {
|
|
83
|
-
ListResourceSharePermissionsCommand,
|
|
84
|
-
ListResourceSharePermissionsCommandInput,
|
|
85
|
-
ListResourceSharePermissionsCommandOutput,
|
|
86
|
-
} from "./commands/ListResourceSharePermissionsCommand";
|
|
87
|
-
import {
|
|
88
|
-
ListResourceTypesCommand,
|
|
89
|
-
ListResourceTypesCommandInput,
|
|
90
|
-
ListResourceTypesCommandOutput,
|
|
91
|
-
} from "./commands/ListResourceTypesCommand";
|
|
92
|
-
import {
|
|
93
|
-
ListResourcesCommand,
|
|
94
|
-
ListResourcesCommandInput,
|
|
95
|
-
ListResourcesCommandOutput,
|
|
96
|
-
} from "./commands/ListResourcesCommand";
|
|
97
|
-
import {
|
|
98
|
-
PromoteResourceShareCreatedFromPolicyCommand,
|
|
99
|
-
PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
100
|
-
PromoteResourceShareCreatedFromPolicyCommandOutput,
|
|
101
|
-
} from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
102
|
-
import {
|
|
103
|
-
RejectResourceShareInvitationCommand,
|
|
104
|
-
RejectResourceShareInvitationCommandInput,
|
|
105
|
-
RejectResourceShareInvitationCommandOutput,
|
|
106
|
-
} from "./commands/RejectResourceShareInvitationCommand";
|
|
107
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
108
|
-
import {
|
|
109
|
-
UntagResourceCommand,
|
|
110
|
-
UntagResourceCommandInput,
|
|
111
|
-
UntagResourceCommandOutput,
|
|
112
|
-
} from "./commands/UntagResourceCommand";
|
|
113
|
-
import {
|
|
114
|
-
UpdateResourceShareCommand,
|
|
115
|
-
UpdateResourceShareCommandInput,
|
|
116
|
-
UpdateResourceShareCommandOutput,
|
|
117
|
-
} from "./commands/UpdateResourceShareCommand";
|
|
118
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
122
|
-
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
123
|
-
* service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts and
|
|
124
|
-
* within your organization or organizational units (OUs) in Organizations. For supported
|
|
125
|
-
* resource types, you can also share resources with IAM roles and IAM users. If you have
|
|
126
|
-
* multiple Amazon Web Services accounts, you can use RAM to share those resources with other
|
|
127
|
-
* accounts.</p>
|
|
128
|
-
*
|
|
129
|
-
* <p>To learn more about RAM, see the following resources:</p>
|
|
130
|
-
*
|
|
131
|
-
* <ul>
|
|
132
|
-
* <li>
|
|
133
|
-
* <p>
|
|
134
|
-
* <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
|
|
135
|
-
* </p>
|
|
136
|
-
* </li>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>
|
|
139
|
-
* <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
|
|
140
|
-
* Guide</a>
|
|
141
|
-
* </p>
|
|
142
|
-
* </li>
|
|
143
|
-
* </ul>
|
|
144
|
-
*/
|
|
145
|
-
export class RAM extends RAMClient {
|
|
146
|
-
/**
|
|
147
|
-
* <p>Accepts an invitation to a resource share from another Amazon Web Services account.</p>
|
|
148
|
-
*/
|
|
149
|
-
public acceptResourceShareInvitation(
|
|
150
|
-
args: AcceptResourceShareInvitationCommandInput,
|
|
151
|
-
options?: __HttpHandlerOptions
|
|
152
|
-
): Promise<AcceptResourceShareInvitationCommandOutput>;
|
|
153
|
-
public acceptResourceShareInvitation(
|
|
154
|
-
args: AcceptResourceShareInvitationCommandInput,
|
|
155
|
-
cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void
|
|
156
|
-
): void;
|
|
157
|
-
public acceptResourceShareInvitation(
|
|
158
|
-
args: AcceptResourceShareInvitationCommandInput,
|
|
159
|
-
options: __HttpHandlerOptions,
|
|
160
|
-
cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void
|
|
161
|
-
): void;
|
|
162
|
-
public acceptResourceShareInvitation(
|
|
163
|
-
args: AcceptResourceShareInvitationCommandInput,
|
|
164
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AcceptResourceShareInvitationCommandOutput) => void),
|
|
165
|
-
cb?: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void
|
|
166
|
-
): Promise<AcceptResourceShareInvitationCommandOutput> | void {
|
|
167
|
-
const command = new AcceptResourceShareInvitationCommand(args);
|
|
168
|
-
if (typeof optionsOrCb === "function") {
|
|
169
|
-
this.send(command, optionsOrCb);
|
|
170
|
-
} else if (typeof cb === "function") {
|
|
171
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
172
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
173
|
-
} else {
|
|
174
|
-
return this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* <p>Associates the specified resource share with the specified principals and resources.</p>
|
|
180
|
-
*/
|
|
181
|
-
public associateResourceShare(
|
|
182
|
-
args: AssociateResourceShareCommandInput,
|
|
183
|
-
options?: __HttpHandlerOptions
|
|
184
|
-
): Promise<AssociateResourceShareCommandOutput>;
|
|
185
|
-
public associateResourceShare(
|
|
186
|
-
args: AssociateResourceShareCommandInput,
|
|
187
|
-
cb: (err: any, data?: AssociateResourceShareCommandOutput) => void
|
|
188
|
-
): void;
|
|
189
|
-
public associateResourceShare(
|
|
190
|
-
args: AssociateResourceShareCommandInput,
|
|
191
|
-
options: __HttpHandlerOptions,
|
|
192
|
-
cb: (err: any, data?: AssociateResourceShareCommandOutput) => void
|
|
193
|
-
): void;
|
|
194
|
-
public associateResourceShare(
|
|
195
|
-
args: AssociateResourceShareCommandInput,
|
|
196
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateResourceShareCommandOutput) => void),
|
|
197
|
-
cb?: (err: any, data?: AssociateResourceShareCommandOutput) => void
|
|
198
|
-
): Promise<AssociateResourceShareCommandOutput> | void {
|
|
199
|
-
const command = new AssociateResourceShareCommand(args);
|
|
200
|
-
if (typeof optionsOrCb === "function") {
|
|
201
|
-
this.send(command, optionsOrCb);
|
|
202
|
-
} else if (typeof cb === "function") {
|
|
203
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
204
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
205
|
-
} else {
|
|
206
|
-
return this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* <p>Associates a permission with a resource share.</p>
|
|
212
|
-
*/
|
|
213
|
-
public associateResourceSharePermission(
|
|
214
|
-
args: AssociateResourceSharePermissionCommandInput,
|
|
215
|
-
options?: __HttpHandlerOptions
|
|
216
|
-
): Promise<AssociateResourceSharePermissionCommandOutput>;
|
|
217
|
-
public associateResourceSharePermission(
|
|
218
|
-
args: AssociateResourceSharePermissionCommandInput,
|
|
219
|
-
cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void
|
|
220
|
-
): void;
|
|
221
|
-
public associateResourceSharePermission(
|
|
222
|
-
args: AssociateResourceSharePermissionCommandInput,
|
|
223
|
-
options: __HttpHandlerOptions,
|
|
224
|
-
cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void
|
|
225
|
-
): void;
|
|
226
|
-
public associateResourceSharePermission(
|
|
227
|
-
args: AssociateResourceSharePermissionCommandInput,
|
|
228
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateResourceSharePermissionCommandOutput) => void),
|
|
229
|
-
cb?: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void
|
|
230
|
-
): Promise<AssociateResourceSharePermissionCommandOutput> | void {
|
|
231
|
-
const command = new AssociateResourceSharePermissionCommand(args);
|
|
232
|
-
if (typeof optionsOrCb === "function") {
|
|
233
|
-
this.send(command, optionsOrCb);
|
|
234
|
-
} else if (typeof cb === "function") {
|
|
235
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
236
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
237
|
-
} else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* <p>Creates a resource share. You must provide a list of the Amazon Resource Names (ARNs) for the
|
|
244
|
-
* resources you want to share. You must also specify who you want to share the resources
|
|
245
|
-
* with, and the permissions that you grant them.</p>
|
|
246
|
-
* <note>
|
|
247
|
-
* <p>Sharing a resource makes it available for use by principals outside of the
|
|
248
|
-
* Amazon Web Services account that created the resource. Sharing doesn't change any permissions or
|
|
249
|
-
* quotas that apply to the resource in the account that created it.</p>
|
|
250
|
-
* </note>
|
|
251
|
-
*/
|
|
252
|
-
public createResourceShare(
|
|
253
|
-
args: CreateResourceShareCommandInput,
|
|
254
|
-
options?: __HttpHandlerOptions
|
|
255
|
-
): Promise<CreateResourceShareCommandOutput>;
|
|
256
|
-
public createResourceShare(
|
|
257
|
-
args: CreateResourceShareCommandInput,
|
|
258
|
-
cb: (err: any, data?: CreateResourceShareCommandOutput) => void
|
|
259
|
-
): void;
|
|
260
|
-
public createResourceShare(
|
|
261
|
-
args: CreateResourceShareCommandInput,
|
|
262
|
-
options: __HttpHandlerOptions,
|
|
263
|
-
cb: (err: any, data?: CreateResourceShareCommandOutput) => void
|
|
264
|
-
): void;
|
|
265
|
-
public createResourceShare(
|
|
266
|
-
args: CreateResourceShareCommandInput,
|
|
267
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateResourceShareCommandOutput) => void),
|
|
268
|
-
cb?: (err: any, data?: CreateResourceShareCommandOutput) => void
|
|
269
|
-
): Promise<CreateResourceShareCommandOutput> | void {
|
|
270
|
-
const command = new CreateResourceShareCommand(args);
|
|
271
|
-
if (typeof optionsOrCb === "function") {
|
|
272
|
-
this.send(command, optionsOrCb);
|
|
273
|
-
} else if (typeof cb === "function") {
|
|
274
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
276
|
-
} else {
|
|
277
|
-
return this.send(command, optionsOrCb);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* <p>Deletes the specified resource share.</p>
|
|
283
|
-
*/
|
|
284
|
-
public deleteResourceShare(
|
|
285
|
-
args: DeleteResourceShareCommandInput,
|
|
286
|
-
options?: __HttpHandlerOptions
|
|
287
|
-
): Promise<DeleteResourceShareCommandOutput>;
|
|
288
|
-
public deleteResourceShare(
|
|
289
|
-
args: DeleteResourceShareCommandInput,
|
|
290
|
-
cb: (err: any, data?: DeleteResourceShareCommandOutput) => void
|
|
291
|
-
): void;
|
|
292
|
-
public deleteResourceShare(
|
|
293
|
-
args: DeleteResourceShareCommandInput,
|
|
294
|
-
options: __HttpHandlerOptions,
|
|
295
|
-
cb: (err: any, data?: DeleteResourceShareCommandOutput) => void
|
|
296
|
-
): void;
|
|
297
|
-
public deleteResourceShare(
|
|
298
|
-
args: DeleteResourceShareCommandInput,
|
|
299
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourceShareCommandOutput) => void),
|
|
300
|
-
cb?: (err: any, data?: DeleteResourceShareCommandOutput) => void
|
|
301
|
-
): Promise<DeleteResourceShareCommandOutput> | void {
|
|
302
|
-
const command = new DeleteResourceShareCommand(args);
|
|
303
|
-
if (typeof optionsOrCb === "function") {
|
|
304
|
-
this.send(command, optionsOrCb);
|
|
305
|
-
} else if (typeof cb === "function") {
|
|
306
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
307
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
308
|
-
} else {
|
|
309
|
-
return this.send(command, optionsOrCb);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* <p>Disassociates the specified principals or resources from the specified resource share.</p>
|
|
315
|
-
*/
|
|
316
|
-
public disassociateResourceShare(
|
|
317
|
-
args: DisassociateResourceShareCommandInput,
|
|
318
|
-
options?: __HttpHandlerOptions
|
|
319
|
-
): Promise<DisassociateResourceShareCommandOutput>;
|
|
320
|
-
public disassociateResourceShare(
|
|
321
|
-
args: DisassociateResourceShareCommandInput,
|
|
322
|
-
cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void
|
|
323
|
-
): void;
|
|
324
|
-
public disassociateResourceShare(
|
|
325
|
-
args: DisassociateResourceShareCommandInput,
|
|
326
|
-
options: __HttpHandlerOptions,
|
|
327
|
-
cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void
|
|
328
|
-
): void;
|
|
329
|
-
public disassociateResourceShare(
|
|
330
|
-
args: DisassociateResourceShareCommandInput,
|
|
331
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateResourceShareCommandOutput) => void),
|
|
332
|
-
cb?: (err: any, data?: DisassociateResourceShareCommandOutput) => void
|
|
333
|
-
): Promise<DisassociateResourceShareCommandOutput> | void {
|
|
334
|
-
const command = new DisassociateResourceShareCommand(args);
|
|
335
|
-
if (typeof optionsOrCb === "function") {
|
|
336
|
-
this.send(command, optionsOrCb);
|
|
337
|
-
} else if (typeof cb === "function") {
|
|
338
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
339
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
340
|
-
} else {
|
|
341
|
-
return this.send(command, optionsOrCb);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* <p>Disassociates an RAM permission from a resource share.</p>
|
|
347
|
-
*/
|
|
348
|
-
public disassociateResourceSharePermission(
|
|
349
|
-
args: DisassociateResourceSharePermissionCommandInput,
|
|
350
|
-
options?: __HttpHandlerOptions
|
|
351
|
-
): Promise<DisassociateResourceSharePermissionCommandOutput>;
|
|
352
|
-
public disassociateResourceSharePermission(
|
|
353
|
-
args: DisassociateResourceSharePermissionCommandInput,
|
|
354
|
-
cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void
|
|
355
|
-
): void;
|
|
356
|
-
public disassociateResourceSharePermission(
|
|
357
|
-
args: DisassociateResourceSharePermissionCommandInput,
|
|
358
|
-
options: __HttpHandlerOptions,
|
|
359
|
-
cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void
|
|
360
|
-
): void;
|
|
361
|
-
public disassociateResourceSharePermission(
|
|
362
|
-
args: DisassociateResourceSharePermissionCommandInput,
|
|
363
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void),
|
|
364
|
-
cb?: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void
|
|
365
|
-
): Promise<DisassociateResourceSharePermissionCommandOutput> | void {
|
|
366
|
-
const command = new DisassociateResourceSharePermissionCommand(args);
|
|
367
|
-
if (typeof optionsOrCb === "function") {
|
|
368
|
-
this.send(command, optionsOrCb);
|
|
369
|
-
} else if (typeof cb === "function") {
|
|
370
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
371
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
372
|
-
} else {
|
|
373
|
-
return this.send(command, optionsOrCb);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* <p>Enables resource sharing within your organization in Organizations.</p>
|
|
379
|
-
* <p>The caller must be the master account for the organization.</p>
|
|
380
|
-
*/
|
|
381
|
-
public enableSharingWithAwsOrganization(
|
|
382
|
-
args: EnableSharingWithAwsOrganizationCommandInput,
|
|
383
|
-
options?: __HttpHandlerOptions
|
|
384
|
-
): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
|
|
385
|
-
public enableSharingWithAwsOrganization(
|
|
386
|
-
args: EnableSharingWithAwsOrganizationCommandInput,
|
|
387
|
-
cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void
|
|
388
|
-
): void;
|
|
389
|
-
public enableSharingWithAwsOrganization(
|
|
390
|
-
args: EnableSharingWithAwsOrganizationCommandInput,
|
|
391
|
-
options: __HttpHandlerOptions,
|
|
392
|
-
cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void
|
|
393
|
-
): void;
|
|
394
|
-
public enableSharingWithAwsOrganization(
|
|
395
|
-
args: EnableSharingWithAwsOrganizationCommandInput,
|
|
396
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void),
|
|
397
|
-
cb?: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void
|
|
398
|
-
): Promise<EnableSharingWithAwsOrganizationCommandOutput> | void {
|
|
399
|
-
const command = new EnableSharingWithAwsOrganizationCommand(args);
|
|
400
|
-
if (typeof optionsOrCb === "function") {
|
|
401
|
-
this.send(command, optionsOrCb);
|
|
402
|
-
} else if (typeof cb === "function") {
|
|
403
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
404
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
405
|
-
} else {
|
|
406
|
-
return this.send(command, optionsOrCb);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* <p>Gets the contents of an RAM permission in JSON format.</p>
|
|
412
|
-
*/
|
|
413
|
-
public getPermission(
|
|
414
|
-
args: GetPermissionCommandInput,
|
|
415
|
-
options?: __HttpHandlerOptions
|
|
416
|
-
): Promise<GetPermissionCommandOutput>;
|
|
417
|
-
public getPermission(
|
|
418
|
-
args: GetPermissionCommandInput,
|
|
419
|
-
cb: (err: any, data?: GetPermissionCommandOutput) => void
|
|
420
|
-
): void;
|
|
421
|
-
public getPermission(
|
|
422
|
-
args: GetPermissionCommandInput,
|
|
423
|
-
options: __HttpHandlerOptions,
|
|
424
|
-
cb: (err: any, data?: GetPermissionCommandOutput) => void
|
|
425
|
-
): void;
|
|
426
|
-
public getPermission(
|
|
427
|
-
args: GetPermissionCommandInput,
|
|
428
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPermissionCommandOutput) => void),
|
|
429
|
-
cb?: (err: any, data?: GetPermissionCommandOutput) => void
|
|
430
|
-
): Promise<GetPermissionCommandOutput> | void {
|
|
431
|
-
const command = new GetPermissionCommand(args);
|
|
432
|
-
if (typeof optionsOrCb === "function") {
|
|
433
|
-
this.send(command, optionsOrCb);
|
|
434
|
-
} else if (typeof cb === "function") {
|
|
435
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
436
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
437
|
-
} else {
|
|
438
|
-
return this.send(command, optionsOrCb);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* <p>Gets the policies for the specified resources that you own and have shared.</p>
|
|
444
|
-
*/
|
|
445
|
-
public getResourcePolicies(
|
|
446
|
-
args: GetResourcePoliciesCommandInput,
|
|
447
|
-
options?: __HttpHandlerOptions
|
|
448
|
-
): Promise<GetResourcePoliciesCommandOutput>;
|
|
449
|
-
public getResourcePolicies(
|
|
450
|
-
args: GetResourcePoliciesCommandInput,
|
|
451
|
-
cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void
|
|
452
|
-
): void;
|
|
453
|
-
public getResourcePolicies(
|
|
454
|
-
args: GetResourcePoliciesCommandInput,
|
|
455
|
-
options: __HttpHandlerOptions,
|
|
456
|
-
cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void
|
|
457
|
-
): void;
|
|
458
|
-
public getResourcePolicies(
|
|
459
|
-
args: GetResourcePoliciesCommandInput,
|
|
460
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourcePoliciesCommandOutput) => void),
|
|
461
|
-
cb?: (err: any, data?: GetResourcePoliciesCommandOutput) => void
|
|
462
|
-
): Promise<GetResourcePoliciesCommandOutput> | void {
|
|
463
|
-
const command = new GetResourcePoliciesCommand(args);
|
|
464
|
-
if (typeof optionsOrCb === "function") {
|
|
465
|
-
this.send(command, optionsOrCb);
|
|
466
|
-
} else if (typeof cb === "function") {
|
|
467
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
468
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
469
|
-
} else {
|
|
470
|
-
return this.send(command, optionsOrCb);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* <p>Gets the resources or principals for the resource shares that you own.</p>
|
|
476
|
-
*/
|
|
477
|
-
public getResourceShareAssociations(
|
|
478
|
-
args: GetResourceShareAssociationsCommandInput,
|
|
479
|
-
options?: __HttpHandlerOptions
|
|
480
|
-
): Promise<GetResourceShareAssociationsCommandOutput>;
|
|
481
|
-
public getResourceShareAssociations(
|
|
482
|
-
args: GetResourceShareAssociationsCommandInput,
|
|
483
|
-
cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void
|
|
484
|
-
): void;
|
|
485
|
-
public getResourceShareAssociations(
|
|
486
|
-
args: GetResourceShareAssociationsCommandInput,
|
|
487
|
-
options: __HttpHandlerOptions,
|
|
488
|
-
cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void
|
|
489
|
-
): void;
|
|
490
|
-
public getResourceShareAssociations(
|
|
491
|
-
args: GetResourceShareAssociationsCommandInput,
|
|
492
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourceShareAssociationsCommandOutput) => void),
|
|
493
|
-
cb?: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void
|
|
494
|
-
): Promise<GetResourceShareAssociationsCommandOutput> | void {
|
|
495
|
-
const command = new GetResourceShareAssociationsCommand(args);
|
|
496
|
-
if (typeof optionsOrCb === "function") {
|
|
497
|
-
this.send(command, optionsOrCb);
|
|
498
|
-
} else if (typeof cb === "function") {
|
|
499
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
-
} else {
|
|
502
|
-
return this.send(command, optionsOrCb);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* <p>Gets the invitations that you have received for resource shares.</p>
|
|
508
|
-
*/
|
|
509
|
-
public getResourceShareInvitations(
|
|
510
|
-
args: GetResourceShareInvitationsCommandInput,
|
|
511
|
-
options?: __HttpHandlerOptions
|
|
512
|
-
): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
513
|
-
public getResourceShareInvitations(
|
|
514
|
-
args: GetResourceShareInvitationsCommandInput,
|
|
515
|
-
cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void
|
|
516
|
-
): void;
|
|
517
|
-
public getResourceShareInvitations(
|
|
518
|
-
args: GetResourceShareInvitationsCommandInput,
|
|
519
|
-
options: __HttpHandlerOptions,
|
|
520
|
-
cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void
|
|
521
|
-
): void;
|
|
522
|
-
public getResourceShareInvitations(
|
|
523
|
-
args: GetResourceShareInvitationsCommandInput,
|
|
524
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourceShareInvitationsCommandOutput) => void),
|
|
525
|
-
cb?: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void
|
|
526
|
-
): Promise<GetResourceShareInvitationsCommandOutput> | void {
|
|
527
|
-
const command = new GetResourceShareInvitationsCommand(args);
|
|
528
|
-
if (typeof optionsOrCb === "function") {
|
|
529
|
-
this.send(command, optionsOrCb);
|
|
530
|
-
} else if (typeof cb === "function") {
|
|
531
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
532
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
533
|
-
} else {
|
|
534
|
-
return this.send(command, optionsOrCb);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* <p>Gets the resource shares that you own or the resource shares that are shared with you.</p>
|
|
540
|
-
*/
|
|
541
|
-
public getResourceShares(
|
|
542
|
-
args: GetResourceSharesCommandInput,
|
|
543
|
-
options?: __HttpHandlerOptions
|
|
544
|
-
): Promise<GetResourceSharesCommandOutput>;
|
|
545
|
-
public getResourceShares(
|
|
546
|
-
args: GetResourceSharesCommandInput,
|
|
547
|
-
cb: (err: any, data?: GetResourceSharesCommandOutput) => void
|
|
548
|
-
): void;
|
|
549
|
-
public getResourceShares(
|
|
550
|
-
args: GetResourceSharesCommandInput,
|
|
551
|
-
options: __HttpHandlerOptions,
|
|
552
|
-
cb: (err: any, data?: GetResourceSharesCommandOutput) => void
|
|
553
|
-
): void;
|
|
554
|
-
public getResourceShares(
|
|
555
|
-
args: GetResourceSharesCommandInput,
|
|
556
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourceSharesCommandOutput) => void),
|
|
557
|
-
cb?: (err: any, data?: GetResourceSharesCommandOutput) => void
|
|
558
|
-
): Promise<GetResourceSharesCommandOutput> | void {
|
|
559
|
-
const command = new GetResourceSharesCommand(args);
|
|
560
|
-
if (typeof optionsOrCb === "function") {
|
|
561
|
-
this.send(command, optionsOrCb);
|
|
562
|
-
} else if (typeof cb === "function") {
|
|
563
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
564
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
565
|
-
} else {
|
|
566
|
-
return this.send(command, optionsOrCb);
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* <p>Lists the resources in a resource share that is shared with you but that the invitation is still
|
|
572
|
-
* pending for.</p>
|
|
573
|
-
*/
|
|
574
|
-
public listPendingInvitationResources(
|
|
575
|
-
args: ListPendingInvitationResourcesCommandInput,
|
|
576
|
-
options?: __HttpHandlerOptions
|
|
577
|
-
): Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
578
|
-
public listPendingInvitationResources(
|
|
579
|
-
args: ListPendingInvitationResourcesCommandInput,
|
|
580
|
-
cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void
|
|
581
|
-
): void;
|
|
582
|
-
public listPendingInvitationResources(
|
|
583
|
-
args: ListPendingInvitationResourcesCommandInput,
|
|
584
|
-
options: __HttpHandlerOptions,
|
|
585
|
-
cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void
|
|
586
|
-
): void;
|
|
587
|
-
public listPendingInvitationResources(
|
|
588
|
-
args: ListPendingInvitationResourcesCommandInput,
|
|
589
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPendingInvitationResourcesCommandOutput) => void),
|
|
590
|
-
cb?: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void
|
|
591
|
-
): Promise<ListPendingInvitationResourcesCommandOutput> | void {
|
|
592
|
-
const command = new ListPendingInvitationResourcesCommand(args);
|
|
593
|
-
if (typeof optionsOrCb === "function") {
|
|
594
|
-
this.send(command, optionsOrCb);
|
|
595
|
-
} else if (typeof cb === "function") {
|
|
596
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
597
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
598
|
-
} else {
|
|
599
|
-
return this.send(command, optionsOrCb);
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* <p>Lists the RAM permissions.</p>
|
|
605
|
-
*/
|
|
606
|
-
public listPermissions(
|
|
607
|
-
args: ListPermissionsCommandInput,
|
|
608
|
-
options?: __HttpHandlerOptions
|
|
609
|
-
): Promise<ListPermissionsCommandOutput>;
|
|
610
|
-
public listPermissions(
|
|
611
|
-
args: ListPermissionsCommandInput,
|
|
612
|
-
cb: (err: any, data?: ListPermissionsCommandOutput) => void
|
|
613
|
-
): void;
|
|
614
|
-
public listPermissions(
|
|
615
|
-
args: ListPermissionsCommandInput,
|
|
616
|
-
options: __HttpHandlerOptions,
|
|
617
|
-
cb: (err: any, data?: ListPermissionsCommandOutput) => void
|
|
618
|
-
): void;
|
|
619
|
-
public listPermissions(
|
|
620
|
-
args: ListPermissionsCommandInput,
|
|
621
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPermissionsCommandOutput) => void),
|
|
622
|
-
cb?: (err: any, data?: ListPermissionsCommandOutput) => void
|
|
623
|
-
): Promise<ListPermissionsCommandOutput> | void {
|
|
624
|
-
const command = new ListPermissionsCommand(args);
|
|
625
|
-
if (typeof optionsOrCb === "function") {
|
|
626
|
-
this.send(command, optionsOrCb);
|
|
627
|
-
} else if (typeof cb === "function") {
|
|
628
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
629
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
630
|
-
} else {
|
|
631
|
-
return this.send(command, optionsOrCb);
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* <p>Lists the principals that you have shared resources with or that have shared resources
|
|
637
|
-
* with you.</p>
|
|
638
|
-
*/
|
|
639
|
-
public listPrincipals(
|
|
640
|
-
args: ListPrincipalsCommandInput,
|
|
641
|
-
options?: __HttpHandlerOptions
|
|
642
|
-
): Promise<ListPrincipalsCommandOutput>;
|
|
643
|
-
public listPrincipals(
|
|
644
|
-
args: ListPrincipalsCommandInput,
|
|
645
|
-
cb: (err: any, data?: ListPrincipalsCommandOutput) => void
|
|
646
|
-
): void;
|
|
647
|
-
public listPrincipals(
|
|
648
|
-
args: ListPrincipalsCommandInput,
|
|
649
|
-
options: __HttpHandlerOptions,
|
|
650
|
-
cb: (err: any, data?: ListPrincipalsCommandOutput) => void
|
|
651
|
-
): void;
|
|
652
|
-
public listPrincipals(
|
|
653
|
-
args: ListPrincipalsCommandInput,
|
|
654
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPrincipalsCommandOutput) => void),
|
|
655
|
-
cb?: (err: any, data?: ListPrincipalsCommandOutput) => void
|
|
656
|
-
): Promise<ListPrincipalsCommandOutput> | void {
|
|
657
|
-
const command = new ListPrincipalsCommand(args);
|
|
658
|
-
if (typeof optionsOrCb === "function") {
|
|
659
|
-
this.send(command, optionsOrCb);
|
|
660
|
-
} else if (typeof cb === "function") {
|
|
661
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
662
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
663
|
-
} else {
|
|
664
|
-
return this.send(command, optionsOrCb);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* <p>Lists the resources that you added to a resource shares or the resources that are shared with
|
|
670
|
-
* you.</p>
|
|
671
|
-
*/
|
|
672
|
-
public listResources(
|
|
673
|
-
args: ListResourcesCommandInput,
|
|
674
|
-
options?: __HttpHandlerOptions
|
|
675
|
-
): Promise<ListResourcesCommandOutput>;
|
|
676
|
-
public listResources(
|
|
677
|
-
args: ListResourcesCommandInput,
|
|
678
|
-
cb: (err: any, data?: ListResourcesCommandOutput) => void
|
|
679
|
-
): void;
|
|
680
|
-
public listResources(
|
|
681
|
-
args: ListResourcesCommandInput,
|
|
682
|
-
options: __HttpHandlerOptions,
|
|
683
|
-
cb: (err: any, data?: ListResourcesCommandOutput) => void
|
|
684
|
-
): void;
|
|
685
|
-
public listResources(
|
|
686
|
-
args: ListResourcesCommandInput,
|
|
687
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourcesCommandOutput) => void),
|
|
688
|
-
cb?: (err: any, data?: ListResourcesCommandOutput) => void
|
|
689
|
-
): Promise<ListResourcesCommandOutput> | void {
|
|
690
|
-
const command = new ListResourcesCommand(args);
|
|
691
|
-
if (typeof optionsOrCb === "function") {
|
|
692
|
-
this.send(command, optionsOrCb);
|
|
693
|
-
} else if (typeof cb === "function") {
|
|
694
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
695
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
696
|
-
} else {
|
|
697
|
-
return this.send(command, optionsOrCb);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* <p>Lists the RAM permissions that are associated with a resource share.</p>
|
|
703
|
-
*/
|
|
704
|
-
public listResourceSharePermissions(
|
|
705
|
-
args: ListResourceSharePermissionsCommandInput,
|
|
706
|
-
options?: __HttpHandlerOptions
|
|
707
|
-
): Promise<ListResourceSharePermissionsCommandOutput>;
|
|
708
|
-
public listResourceSharePermissions(
|
|
709
|
-
args: ListResourceSharePermissionsCommandInput,
|
|
710
|
-
cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void
|
|
711
|
-
): void;
|
|
712
|
-
public listResourceSharePermissions(
|
|
713
|
-
args: ListResourceSharePermissionsCommandInput,
|
|
714
|
-
options: __HttpHandlerOptions,
|
|
715
|
-
cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void
|
|
716
|
-
): void;
|
|
717
|
-
public listResourceSharePermissions(
|
|
718
|
-
args: ListResourceSharePermissionsCommandInput,
|
|
719
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourceSharePermissionsCommandOutput) => void),
|
|
720
|
-
cb?: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void
|
|
721
|
-
): Promise<ListResourceSharePermissionsCommandOutput> | void {
|
|
722
|
-
const command = new ListResourceSharePermissionsCommand(args);
|
|
723
|
-
if (typeof optionsOrCb === "function") {
|
|
724
|
-
this.send(command, optionsOrCb);
|
|
725
|
-
} else if (typeof cb === "function") {
|
|
726
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
727
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
728
|
-
} else {
|
|
729
|
-
return this.send(command, optionsOrCb);
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* <p>Lists the shareable resource types supported by RAM.</p>
|
|
735
|
-
*/
|
|
736
|
-
public listResourceTypes(
|
|
737
|
-
args: ListResourceTypesCommandInput,
|
|
738
|
-
options?: __HttpHandlerOptions
|
|
739
|
-
): Promise<ListResourceTypesCommandOutput>;
|
|
740
|
-
public listResourceTypes(
|
|
741
|
-
args: ListResourceTypesCommandInput,
|
|
742
|
-
cb: (err: any, data?: ListResourceTypesCommandOutput) => void
|
|
743
|
-
): void;
|
|
744
|
-
public listResourceTypes(
|
|
745
|
-
args: ListResourceTypesCommandInput,
|
|
746
|
-
options: __HttpHandlerOptions,
|
|
747
|
-
cb: (err: any, data?: ListResourceTypesCommandOutput) => void
|
|
748
|
-
): void;
|
|
749
|
-
public listResourceTypes(
|
|
750
|
-
args: ListResourceTypesCommandInput,
|
|
751
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourceTypesCommandOutput) => void),
|
|
752
|
-
cb?: (err: any, data?: ListResourceTypesCommandOutput) => void
|
|
753
|
-
): Promise<ListResourceTypesCommandOutput> | void {
|
|
754
|
-
const command = new ListResourceTypesCommand(args);
|
|
755
|
-
if (typeof optionsOrCb === "function") {
|
|
756
|
-
this.send(command, optionsOrCb);
|
|
757
|
-
} else if (typeof cb === "function") {
|
|
758
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
759
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
760
|
-
} else {
|
|
761
|
-
return this.send(command, optionsOrCb);
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* <p>Resource shares that were created by attaching a policy to a resource are visible only
|
|
767
|
-
* to the resource share owner, and the resource share cannot be modified in RAM.</p>
|
|
768
|
-
*
|
|
769
|
-
* <p>Use this API action to promote the resource share. When you promote the resource
|
|
770
|
-
* share, it becomes:</p>
|
|
771
|
-
* <ul>
|
|
772
|
-
* <li>
|
|
773
|
-
* <p>Visible to all principals that it is shared with.</p>
|
|
774
|
-
* </li>
|
|
775
|
-
* <li>
|
|
776
|
-
* <p>Modifiable in RAM.</p>
|
|
777
|
-
* </li>
|
|
778
|
-
* </ul>
|
|
779
|
-
*/
|
|
780
|
-
public promoteResourceShareCreatedFromPolicy(
|
|
781
|
-
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
782
|
-
options?: __HttpHandlerOptions
|
|
783
|
-
): Promise<PromoteResourceShareCreatedFromPolicyCommandOutput>;
|
|
784
|
-
public promoteResourceShareCreatedFromPolicy(
|
|
785
|
-
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
786
|
-
cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void
|
|
787
|
-
): void;
|
|
788
|
-
public promoteResourceShareCreatedFromPolicy(
|
|
789
|
-
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
790
|
-
options: __HttpHandlerOptions,
|
|
791
|
-
cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void
|
|
792
|
-
): void;
|
|
793
|
-
public promoteResourceShareCreatedFromPolicy(
|
|
794
|
-
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
795
|
-
optionsOrCb?:
|
|
796
|
-
| __HttpHandlerOptions
|
|
797
|
-
| ((err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void),
|
|
798
|
-
cb?: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void
|
|
799
|
-
): Promise<PromoteResourceShareCreatedFromPolicyCommandOutput> | void {
|
|
800
|
-
const command = new PromoteResourceShareCreatedFromPolicyCommand(args);
|
|
801
|
-
if (typeof optionsOrCb === "function") {
|
|
802
|
-
this.send(command, optionsOrCb);
|
|
803
|
-
} else if (typeof cb === "function") {
|
|
804
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
805
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
806
|
-
} else {
|
|
807
|
-
return this.send(command, optionsOrCb);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* <p>Rejects an invitation to a resource share from another Amazon Web Services account.</p>
|
|
813
|
-
*/
|
|
814
|
-
public rejectResourceShareInvitation(
|
|
815
|
-
args: RejectResourceShareInvitationCommandInput,
|
|
816
|
-
options?: __HttpHandlerOptions
|
|
817
|
-
): Promise<RejectResourceShareInvitationCommandOutput>;
|
|
818
|
-
public rejectResourceShareInvitation(
|
|
819
|
-
args: RejectResourceShareInvitationCommandInput,
|
|
820
|
-
cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void
|
|
821
|
-
): void;
|
|
822
|
-
public rejectResourceShareInvitation(
|
|
823
|
-
args: RejectResourceShareInvitationCommandInput,
|
|
824
|
-
options: __HttpHandlerOptions,
|
|
825
|
-
cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void
|
|
826
|
-
): void;
|
|
827
|
-
public rejectResourceShareInvitation(
|
|
828
|
-
args: RejectResourceShareInvitationCommandInput,
|
|
829
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RejectResourceShareInvitationCommandOutput) => void),
|
|
830
|
-
cb?: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void
|
|
831
|
-
): Promise<RejectResourceShareInvitationCommandOutput> | void {
|
|
832
|
-
const command = new RejectResourceShareInvitationCommand(args);
|
|
833
|
-
if (typeof optionsOrCb === "function") {
|
|
834
|
-
this.send(command, optionsOrCb);
|
|
835
|
-
} else if (typeof cb === "function") {
|
|
836
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
837
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
838
|
-
} else {
|
|
839
|
-
return this.send(command, optionsOrCb);
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* <p>Adds the specified tags to the specified resource share that you own.</p>
|
|
845
|
-
*/
|
|
846
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
847
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
848
|
-
public tagResource(
|
|
849
|
-
args: TagResourceCommandInput,
|
|
850
|
-
options: __HttpHandlerOptions,
|
|
851
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
852
|
-
): void;
|
|
853
|
-
public tagResource(
|
|
854
|
-
args: TagResourceCommandInput,
|
|
855
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
856
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
857
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
858
|
-
const command = new TagResourceCommand(args);
|
|
859
|
-
if (typeof optionsOrCb === "function") {
|
|
860
|
-
this.send(command, optionsOrCb);
|
|
861
|
-
} else if (typeof cb === "function") {
|
|
862
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
863
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
864
|
-
} else {
|
|
865
|
-
return this.send(command, optionsOrCb);
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* <p>Removes the specified tags from the specified resource share that you own.</p>
|
|
871
|
-
*/
|
|
872
|
-
public untagResource(
|
|
873
|
-
args: UntagResourceCommandInput,
|
|
874
|
-
options?: __HttpHandlerOptions
|
|
875
|
-
): Promise<UntagResourceCommandOutput>;
|
|
876
|
-
public untagResource(
|
|
877
|
-
args: UntagResourceCommandInput,
|
|
878
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
879
|
-
): void;
|
|
880
|
-
public untagResource(
|
|
881
|
-
args: UntagResourceCommandInput,
|
|
882
|
-
options: __HttpHandlerOptions,
|
|
883
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
884
|
-
): void;
|
|
885
|
-
public untagResource(
|
|
886
|
-
args: UntagResourceCommandInput,
|
|
887
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
888
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
889
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
890
|
-
const command = new UntagResourceCommand(args);
|
|
891
|
-
if (typeof optionsOrCb === "function") {
|
|
892
|
-
this.send(command, optionsOrCb);
|
|
893
|
-
} else if (typeof cb === "function") {
|
|
894
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
895
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
896
|
-
} else {
|
|
897
|
-
return this.send(command, optionsOrCb);
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* <p>Updates the specified resource share that you own.</p>
|
|
903
|
-
*/
|
|
904
|
-
public updateResourceShare(
|
|
905
|
-
args: UpdateResourceShareCommandInput,
|
|
906
|
-
options?: __HttpHandlerOptions
|
|
907
|
-
): Promise<UpdateResourceShareCommandOutput>;
|
|
908
|
-
public updateResourceShare(
|
|
909
|
-
args: UpdateResourceShareCommandInput,
|
|
910
|
-
cb: (err: any, data?: UpdateResourceShareCommandOutput) => void
|
|
911
|
-
): void;
|
|
912
|
-
public updateResourceShare(
|
|
913
|
-
args: UpdateResourceShareCommandInput,
|
|
914
|
-
options: __HttpHandlerOptions,
|
|
915
|
-
cb: (err: any, data?: UpdateResourceShareCommandOutput) => void
|
|
916
|
-
): void;
|
|
917
|
-
public updateResourceShare(
|
|
918
|
-
args: UpdateResourceShareCommandInput,
|
|
919
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateResourceShareCommandOutput) => void),
|
|
920
|
-
cb?: (err: any, data?: UpdateResourceShareCommandOutput) => void
|
|
921
|
-
): Promise<UpdateResourceShareCommandOutput> | void {
|
|
922
|
-
const command = new UpdateResourceShareCommand(args);
|
|
923
|
-
if (typeof optionsOrCb === "function") {
|
|
924
|
-
this.send(command, optionsOrCb);
|
|
925
|
-
} else if (typeof cb === "function") {
|
|
926
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
927
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
928
|
-
} else {
|
|
929
|
-
return this.send(command, optionsOrCb);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|