@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,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
2
3
|
import { RAMPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListResources(config: RAMPaginationConfiguration, input: ListResourcesCommandInput, ...additionalArguments: any): Paginator<ListResourcesCommandOutput>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "../commands/AcceptResourceShareInvitationCommand";
|
|
2
4
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "../commands/AssociateResourceShareCommand";
|
|
3
5
|
import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "../commands/AssociateResourceSharePermissionCommand";
|
|
@@ -14,16 +16,14 @@ import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from ".
|
|
|
14
16
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "../commands/ListPendingInvitationResourcesCommand";
|
|
15
17
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
|
|
16
18
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "../commands/ListPrincipalsCommand";
|
|
19
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
17
20
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "../commands/ListResourceSharePermissionsCommand";
|
|
18
21
|
import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "../commands/ListResourceTypesCommand";
|
|
19
|
-
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
20
22
|
import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "../commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
21
23
|
import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "../commands/RejectResourceShareInvitationCommand";
|
|
22
24
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
23
25
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
24
26
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "../commands/UpdateResourceShareCommand";
|
|
25
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
26
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
27
27
|
export declare const serializeAws_restJson1AcceptResourceShareInvitationCommand: (input: AcceptResourceShareInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
28
|
export declare const serializeAws_restJson1AssociateResourceShareCommand: (input: AssociateResourceShareCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
29
|
export declare const serializeAws_restJson1AssociateResourceSharePermissionCommand: (input: AssociateResourceSharePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
|
|
|
8
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
14
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
|
|
3
3
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
|
|
4
4
|
import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
|
|
@@ -15,205 +15,110 @@ import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from ".
|
|
|
15
15
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
16
16
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
17
17
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
18
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
18
19
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
19
20
|
import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
|
|
20
|
-
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
21
21
|
import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
22
22
|
import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
|
|
23
23
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
24
24
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
25
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
26
|
-
import {
|
|
27
|
-
|
|
28
|
-
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
29
|
-
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
30
|
-
* service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts and
|
|
31
|
-
* within your organization or organizational units (OUs) in Organizations. For supported
|
|
32
|
-
* resource types, you can also share resources with IAM roles and IAM users. If you have
|
|
33
|
-
* multiple Amazon Web Services accounts, you can use RAM to share those resources with other
|
|
34
|
-
* accounts.</p>
|
|
35
|
-
*
|
|
36
|
-
* <p>To learn more about RAM, see the following resources:</p>
|
|
37
|
-
*
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
|
|
42
|
-
* </p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
|
|
47
|
-
* Guide</a>
|
|
48
|
-
* </p>
|
|
49
|
-
* </li>
|
|
50
|
-
* </ul>
|
|
51
|
-
*/
|
|
26
|
+
import { RAMClient } from "./RAMClient";
|
|
27
|
+
|
|
52
28
|
export declare class RAM extends RAMClient {
|
|
53
|
-
|
|
54
|
-
* <p>Accepts an invitation to a resource share from another Amazon Web Services account.</p>
|
|
55
|
-
*/
|
|
29
|
+
|
|
56
30
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptResourceShareInvitationCommandOutput>;
|
|
57
31
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
58
32
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
59
|
-
|
|
60
|
-
* <p>Associates the specified resource share with the specified principals and resources.</p>
|
|
61
|
-
*/
|
|
33
|
+
|
|
62
34
|
associateResourceShare(args: AssociateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceShareCommandOutput>;
|
|
63
35
|
associateResourceShare(args: AssociateResourceShareCommandInput, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
64
36
|
associateResourceShare(args: AssociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
65
|
-
|
|
66
|
-
* <p>Associates a permission with a resource share.</p>
|
|
67
|
-
*/
|
|
37
|
+
|
|
68
38
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceSharePermissionCommandOutput>;
|
|
69
39
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
70
40
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
71
|
-
|
|
72
|
-
* <p>Creates a resource share. You must provide a list of the Amazon Resource Names (ARNs) for the
|
|
73
|
-
* resources you want to share. You must also specify who you want to share the resources
|
|
74
|
-
* with, and the permissions that you grant them.</p>
|
|
75
|
-
* <note>
|
|
76
|
-
* <p>Sharing a resource makes it available for use by principals outside of the
|
|
77
|
-
* Amazon Web Services account that created the resource. Sharing doesn't change any permissions or
|
|
78
|
-
* quotas that apply to the resource in the account that created it.</p>
|
|
79
|
-
* </note>
|
|
80
|
-
*/
|
|
41
|
+
|
|
81
42
|
createResourceShare(args: CreateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceShareCommandOutput>;
|
|
82
43
|
createResourceShare(args: CreateResourceShareCommandInput, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
83
44
|
createResourceShare(args: CreateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
84
|
-
|
|
85
|
-
* <p>Deletes the specified resource share.</p>
|
|
86
|
-
*/
|
|
45
|
+
|
|
87
46
|
deleteResourceShare(args: DeleteResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceShareCommandOutput>;
|
|
88
47
|
deleteResourceShare(args: DeleteResourceShareCommandInput, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
89
48
|
deleteResourceShare(args: DeleteResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
90
|
-
|
|
91
|
-
* <p>Disassociates the specified principals or resources from the specified resource share.</p>
|
|
92
|
-
*/
|
|
49
|
+
|
|
93
50
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceShareCommandOutput>;
|
|
94
51
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
95
52
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
96
|
-
|
|
97
|
-
* <p>Disassociates an RAM permission from a resource share.</p>
|
|
98
|
-
*/
|
|
53
|
+
|
|
99
54
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceSharePermissionCommandOutput>;
|
|
100
55
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
101
56
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
102
|
-
|
|
103
|
-
* <p>Enables resource sharing within your organization in Organizations.</p>
|
|
104
|
-
* <p>The caller must be the master account for the organization.</p>
|
|
105
|
-
*/
|
|
57
|
+
|
|
106
58
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
|
|
107
59
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
108
60
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
109
|
-
|
|
110
|
-
* <p>Gets the contents of an RAM permission in JSON format.</p>
|
|
111
|
-
*/
|
|
61
|
+
|
|
112
62
|
getPermission(args: GetPermissionCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionCommandOutput>;
|
|
113
63
|
getPermission(args: GetPermissionCommandInput, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
114
64
|
getPermission(args: GetPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
115
|
-
|
|
116
|
-
* <p>Gets the policies for the specified resources that you own and have shared.</p>
|
|
117
|
-
*/
|
|
65
|
+
|
|
118
66
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePoliciesCommandOutput>;
|
|
119
67
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
120
68
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
121
|
-
|
|
122
|
-
* <p>Gets the resources or principals for the resource shares that you own.</p>
|
|
123
|
-
*/
|
|
69
|
+
|
|
124
70
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareAssociationsCommandOutput>;
|
|
125
71
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
126
72
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
127
|
-
|
|
128
|
-
* <p>Gets the invitations that you have received for resource shares.</p>
|
|
129
|
-
*/
|
|
73
|
+
|
|
130
74
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
131
75
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
132
76
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
133
|
-
|
|
134
|
-
* <p>Gets the resource shares that you own or the resource shares that are shared with you.</p>
|
|
135
|
-
*/
|
|
77
|
+
|
|
136
78
|
getResourceShares(args: GetResourceSharesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceSharesCommandOutput>;
|
|
137
79
|
getResourceShares(args: GetResourceSharesCommandInput, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
138
80
|
getResourceShares(args: GetResourceSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
139
|
-
|
|
140
|
-
* <p>Lists the resources in a resource share that is shared with you but that the invitation is still
|
|
141
|
-
* pending for.</p>
|
|
142
|
-
*/
|
|
81
|
+
|
|
143
82
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
144
83
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
145
84
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
146
|
-
|
|
147
|
-
* <p>Lists the RAM permissions.</p>
|
|
148
|
-
*/
|
|
85
|
+
|
|
149
86
|
listPermissions(args: ListPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionsCommandOutput>;
|
|
150
87
|
listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
151
88
|
listPermissions(args: ListPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
152
|
-
|
|
153
|
-
* <p>Lists the principals that you have shared resources with or that have shared resources
|
|
154
|
-
* with you.</p>
|
|
155
|
-
*/
|
|
89
|
+
|
|
156
90
|
listPrincipals(args: ListPrincipalsCommandInput, options?: __HttpHandlerOptions): Promise<ListPrincipalsCommandOutput>;
|
|
157
91
|
listPrincipals(args: ListPrincipalsCommandInput, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
158
92
|
listPrincipals(args: ListPrincipalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
159
|
-
|
|
160
|
-
* <p>Lists the resources that you added to a resource shares or the resources that are shared with
|
|
161
|
-
* you.</p>
|
|
162
|
-
*/
|
|
93
|
+
|
|
163
94
|
listResources(args: ListResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesCommandOutput>;
|
|
164
95
|
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
165
96
|
listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
166
|
-
|
|
167
|
-
* <p>Lists the RAM permissions that are associated with a resource share.</p>
|
|
168
|
-
*/
|
|
97
|
+
|
|
169
98
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceSharePermissionsCommandOutput>;
|
|
170
99
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
171
100
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
172
|
-
|
|
173
|
-
* <p>Lists the shareable resource types supported by RAM.</p>
|
|
174
|
-
*/
|
|
101
|
+
|
|
175
102
|
listResourceTypes(args: ListResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTypesCommandOutput>;
|
|
176
103
|
listResourceTypes(args: ListResourceTypesCommandInput, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
177
104
|
listResourceTypes(args: ListResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
178
|
-
|
|
179
|
-
* <p>Resource shares that were created by attaching a policy to a resource are visible only
|
|
180
|
-
* to the resource share owner, and the resource share cannot be modified in RAM.</p>
|
|
181
|
-
*
|
|
182
|
-
* <p>Use this API action to promote the resource share. When you promote the resource
|
|
183
|
-
* share, it becomes:</p>
|
|
184
|
-
* <ul>
|
|
185
|
-
* <li>
|
|
186
|
-
* <p>Visible to all principals that it is shared with.</p>
|
|
187
|
-
* </li>
|
|
188
|
-
* <li>
|
|
189
|
-
* <p>Modifiable in RAM.</p>
|
|
190
|
-
* </li>
|
|
191
|
-
* </ul>
|
|
192
|
-
*/
|
|
105
|
+
|
|
193
106
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PromoteResourceShareCreatedFromPolicyCommandOutput>;
|
|
194
107
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
195
108
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
196
|
-
|
|
197
|
-
* <p>Rejects an invitation to a resource share from another Amazon Web Services account.</p>
|
|
198
|
-
*/
|
|
109
|
+
|
|
199
110
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectResourceShareInvitationCommandOutput>;
|
|
200
111
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
201
112
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
202
|
-
|
|
203
|
-
* <p>Adds the specified tags to the specified resource share that you own.</p>
|
|
204
|
-
*/
|
|
113
|
+
|
|
205
114
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
206
115
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
207
116
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
208
|
-
|
|
209
|
-
* <p>Removes the specified tags from the specified resource share that you own.</p>
|
|
210
|
-
*/
|
|
117
|
+
|
|
211
118
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
212
119
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
213
120
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
214
|
-
|
|
215
|
-
* <p>Updates the specified resource share that you own.</p>
|
|
216
|
-
*/
|
|
121
|
+
|
|
217
122
|
updateResourceShare(args: UpdateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceShareCommandOutput>;
|
|
218
123
|
updateResourceShare(args: UpdateResourceShareCommandInput, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
|
|
219
124
|
updateResourceShare(args: UpdateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
1
9
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
|
|
2
10
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
|
|
3
11
|
import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
|
|
@@ -14,165 +22,70 @@ import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from ".
|
|
|
14
22
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
15
23
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
16
24
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
25
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
17
26
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
18
27
|
import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
|
|
19
|
-
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
20
28
|
import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
21
29
|
import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
|
|
22
30
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
23
31
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
32
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
25
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
26
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
27
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
28
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
29
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
32
|
-
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
33
33
|
export declare type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreateResourceShareCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
34
34
|
export declare type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreateResourceShareCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
35
35
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
36
|
-
|
|
37
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
38
|
-
*/
|
|
36
|
+
|
|
39
37
|
requestHandler?: __HttpHandler;
|
|
40
|
-
|
|
41
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
42
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
38
|
+
|
|
45
39
|
sha256?: __HashConstructor;
|
|
46
|
-
|
|
47
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
40
|
+
|
|
50
41
|
urlParser?: __UrlParser;
|
|
51
|
-
|
|
52
|
-
* A function that can calculate the length of a request body.
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
42
|
+
|
|
55
43
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
56
|
-
|
|
57
|
-
* A function that converts a stream into an array of bytes.
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
44
|
+
|
|
60
45
|
streamCollector?: __StreamCollector;
|
|
61
|
-
|
|
62
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
46
|
+
|
|
65
47
|
base64Decoder?: __Decoder;
|
|
66
|
-
|
|
67
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
48
|
+
|
|
70
49
|
base64Encoder?: __Encoder;
|
|
71
|
-
|
|
72
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
50
|
+
|
|
75
51
|
utf8Decoder?: __Decoder;
|
|
76
|
-
|
|
77
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
52
|
+
|
|
80
53
|
utf8Encoder?: __Encoder;
|
|
81
|
-
|
|
82
|
-
* The runtime environment.
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
54
|
+
|
|
85
55
|
runtime?: string;
|
|
86
|
-
|
|
87
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
88
|
-
* trait of an operation.
|
|
89
|
-
*/
|
|
56
|
+
|
|
90
57
|
disableHostPrefix?: boolean;
|
|
91
|
-
|
|
92
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
93
|
-
*/
|
|
58
|
+
|
|
94
59
|
maxAttempts?: number | __Provider<number>;
|
|
95
|
-
|
|
96
|
-
* Specifies which retry algorithm to use.
|
|
97
|
-
*/
|
|
60
|
+
|
|
98
61
|
retryMode?: string | __Provider<string>;
|
|
99
|
-
|
|
100
|
-
* Optional logger for logging debug/info/warn/error.
|
|
101
|
-
*/
|
|
62
|
+
|
|
102
63
|
logger?: __Logger;
|
|
103
|
-
|
|
104
|
-
* Unique service identifier.
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
64
|
+
|
|
107
65
|
serviceId?: string;
|
|
108
|
-
|
|
109
|
-
* The AWS region to which this client will send requests
|
|
110
|
-
*/
|
|
66
|
+
|
|
111
67
|
region?: string | __Provider<string>;
|
|
112
|
-
|
|
113
|
-
* Default credentials provider; Not available in browser runtime.
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
68
|
+
|
|
116
69
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
117
|
-
|
|
118
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
70
|
+
|
|
121
71
|
regionInfoProvider?: RegionInfoProvider;
|
|
122
|
-
|
|
123
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
72
|
+
|
|
126
73
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
127
74
|
}
|
|
128
75
|
declare type RAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
129
|
-
|
|
130
|
-
* The configuration interface of RAMClient class constructor that set the region, credentials and other options.
|
|
131
|
-
*/
|
|
76
|
+
|
|
132
77
|
export interface RAMClientConfig extends RAMClientConfigType {
|
|
133
78
|
}
|
|
134
79
|
declare type RAMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
135
|
-
|
|
136
|
-
* The resolved configuration interface of RAMClient class. This is resolved and normalized from the {@link RAMClientConfig | constructor configuration interface}.
|
|
137
|
-
*/
|
|
80
|
+
|
|
138
81
|
export interface RAMClientResolvedConfig extends RAMClientResolvedConfigType {
|
|
139
82
|
}
|
|
140
|
-
|
|
141
|
-
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
142
|
-
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
143
|
-
* service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts and
|
|
144
|
-
* within your organization or organizational units (OUs) in Organizations. For supported
|
|
145
|
-
* resource types, you can also share resources with IAM roles and IAM users. If you have
|
|
146
|
-
* multiple Amazon Web Services accounts, you can use RAM to share those resources with other
|
|
147
|
-
* accounts.</p>
|
|
148
|
-
*
|
|
149
|
-
* <p>To learn more about RAM, see the following resources:</p>
|
|
150
|
-
*
|
|
151
|
-
* <ul>
|
|
152
|
-
* <li>
|
|
153
|
-
* <p>
|
|
154
|
-
* <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
|
|
155
|
-
* </p>
|
|
156
|
-
* </li>
|
|
157
|
-
* <li>
|
|
158
|
-
* <p>
|
|
159
|
-
* <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
|
|
160
|
-
* Guide</a>
|
|
161
|
-
* </p>
|
|
162
|
-
* </li>
|
|
163
|
-
* </ul>
|
|
164
|
-
*/
|
|
83
|
+
|
|
165
84
|
export declare class RAMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RAMClientResolvedConfig> {
|
|
166
|
-
|
|
167
|
-
* The resolved configuration of RAMClient class. This is resolved and normalized from the {@link RAMClientConfig | constructor configuration interface}.
|
|
168
|
-
*/
|
|
85
|
+
|
|
169
86
|
readonly config: RAMClientResolvedConfig;
|
|
170
87
|
constructor(configuration: RAMClientConfig);
|
|
171
|
-
|
|
172
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
173
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
174
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
175
|
-
*/
|
|
88
|
+
|
|
176
89
|
destroy(): void;
|
|
177
90
|
}
|
|
178
91
|
export {};
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
2
|
-
import { AcceptResourceShareInvitationRequest, AcceptResourceShareInvitationResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AcceptResourceShareInvitationRequest, AcceptResourceShareInvitationResponse } from "../models/models_0";
|
|
4
|
+
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
5
5
|
export interface AcceptResourceShareInvitationCommandInput extends AcceptResourceShareInvitationRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface AcceptResourceShareInvitationCommandOutput extends AcceptResourceShareInvitationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Accepts an invitation to a resource share from another Amazon Web Services account.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { RAMClient, AcceptResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
15
|
-
* // const { RAMClient, AcceptResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
16
|
-
* const client = new RAMClient(config);
|
|
17
|
-
* const command = new AcceptResourceShareInvitationCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link AcceptResourceShareInvitationCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link AcceptResourceShareInvitationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class AcceptResourceShareInvitationCommand extends $Command<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput, RAMClientResolvedConfig> {
|
|
27
11
|
readonly input: AcceptResourceShareInvitationCommandInput;
|
|
28
12
|
constructor(input: AcceptResourceShareInvitationCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
2
|
-
import { AssociateResourceShareRequest, AssociateResourceShareResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AssociateResourceShareRequest, AssociateResourceShareResponse } from "../models/models_0";
|
|
4
|
+
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
5
5
|
export interface AssociateResourceShareCommandInput extends AssociateResourceShareRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface AssociateResourceShareCommandOutput extends AssociateResourceShareResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Associates the specified resource share with the specified principals and resources.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { RAMClient, AssociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
15
|
-
* // const { RAMClient, AssociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
16
|
-
* const client = new RAMClient(config);
|
|
17
|
-
* const command = new AssociateResourceShareCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link AssociateResourceShareCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link AssociateResourceShareCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class AssociateResourceShareCommand extends $Command<AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput, RAMClientResolvedConfig> {
|
|
27
11
|
readonly input: AssociateResourceShareCommandInput;
|
|
28
12
|
constructor(input: AssociateResourceShareCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
package/{dist/types → dist-types}/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts
RENAMED
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
2
|
-
import { AssociateResourceSharePermissionRequest, AssociateResourceSharePermissionResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AssociateResourceSharePermissionRequest, AssociateResourceSharePermissionResponse } from "../models/models_0";
|
|
4
|
+
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
5
5
|
export interface AssociateResourceSharePermissionCommandInput extends AssociateResourceSharePermissionRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface AssociateResourceSharePermissionCommandOutput extends AssociateResourceSharePermissionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Associates a permission with a resource share.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { RAMClient, AssociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
15
|
-
* // const { RAMClient, AssociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
16
|
-
* const client = new RAMClient(config);
|
|
17
|
-
* const command = new AssociateResourceSharePermissionCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link AssociateResourceSharePermissionCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link AssociateResourceSharePermissionCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class AssociateResourceSharePermissionCommand extends $Command<AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput, RAMClientResolvedConfig> {
|
|
27
11
|
readonly input: AssociateResourceSharePermissionCommandInput;
|
|
28
12
|
constructor(input: AssociateResourceSharePermissionCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|