@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/RAMClient.ts
DELETED
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AcceptResourceShareInvitationCommandInput,
|
|
3
|
-
AcceptResourceShareInvitationCommandOutput,
|
|
4
|
-
} from "./commands/AcceptResourceShareInvitationCommand";
|
|
5
|
-
import {
|
|
6
|
-
AssociateResourceShareCommandInput,
|
|
7
|
-
AssociateResourceShareCommandOutput,
|
|
8
|
-
} from "./commands/AssociateResourceShareCommand";
|
|
9
|
-
import {
|
|
10
|
-
AssociateResourceSharePermissionCommandInput,
|
|
11
|
-
AssociateResourceSharePermissionCommandOutput,
|
|
12
|
-
} from "./commands/AssociateResourceSharePermissionCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateResourceShareCommandInput,
|
|
15
|
-
CreateResourceShareCommandOutput,
|
|
16
|
-
} from "./commands/CreateResourceShareCommand";
|
|
17
|
-
import {
|
|
18
|
-
DeleteResourceShareCommandInput,
|
|
19
|
-
DeleteResourceShareCommandOutput,
|
|
20
|
-
} from "./commands/DeleteResourceShareCommand";
|
|
21
|
-
import {
|
|
22
|
-
DisassociateResourceShareCommandInput,
|
|
23
|
-
DisassociateResourceShareCommandOutput,
|
|
24
|
-
} from "./commands/DisassociateResourceShareCommand";
|
|
25
|
-
import {
|
|
26
|
-
DisassociateResourceSharePermissionCommandInput,
|
|
27
|
-
DisassociateResourceSharePermissionCommandOutput,
|
|
28
|
-
} from "./commands/DisassociateResourceSharePermissionCommand";
|
|
29
|
-
import {
|
|
30
|
-
EnableSharingWithAwsOrganizationCommandInput,
|
|
31
|
-
EnableSharingWithAwsOrganizationCommandOutput,
|
|
32
|
-
} from "./commands/EnableSharingWithAwsOrganizationCommand";
|
|
33
|
-
import { GetPermissionCommandInput, GetPermissionCommandOutput } from "./commands/GetPermissionCommand";
|
|
34
|
-
import {
|
|
35
|
-
GetResourcePoliciesCommandInput,
|
|
36
|
-
GetResourcePoliciesCommandOutput,
|
|
37
|
-
} from "./commands/GetResourcePoliciesCommand";
|
|
38
|
-
import {
|
|
39
|
-
GetResourceShareAssociationsCommandInput,
|
|
40
|
-
GetResourceShareAssociationsCommandOutput,
|
|
41
|
-
} from "./commands/GetResourceShareAssociationsCommand";
|
|
42
|
-
import {
|
|
43
|
-
GetResourceShareInvitationsCommandInput,
|
|
44
|
-
GetResourceShareInvitationsCommandOutput,
|
|
45
|
-
} from "./commands/GetResourceShareInvitationsCommand";
|
|
46
|
-
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
|
|
47
|
-
import {
|
|
48
|
-
ListPendingInvitationResourcesCommandInput,
|
|
49
|
-
ListPendingInvitationResourcesCommandOutput,
|
|
50
|
-
} from "./commands/ListPendingInvitationResourcesCommand";
|
|
51
|
-
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
52
|
-
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
53
|
-
import {
|
|
54
|
-
ListResourceSharePermissionsCommandInput,
|
|
55
|
-
ListResourceSharePermissionsCommandOutput,
|
|
56
|
-
} from "./commands/ListResourceSharePermissionsCommand";
|
|
57
|
-
import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
|
|
58
|
-
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
59
|
-
import {
|
|
60
|
-
PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
61
|
-
PromoteResourceShareCreatedFromPolicyCommandOutput,
|
|
62
|
-
} from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
63
|
-
import {
|
|
64
|
-
RejectResourceShareInvitationCommandInput,
|
|
65
|
-
RejectResourceShareInvitationCommandOutput,
|
|
66
|
-
} from "./commands/RejectResourceShareInvitationCommand";
|
|
67
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
68
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
69
|
-
import {
|
|
70
|
-
UpdateResourceShareCommandInput,
|
|
71
|
-
UpdateResourceShareCommandOutput,
|
|
72
|
-
} from "./commands/UpdateResourceShareCommand";
|
|
73
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
74
|
-
import {
|
|
75
|
-
EndpointsInputConfig,
|
|
76
|
-
EndpointsResolvedConfig,
|
|
77
|
-
RegionInputConfig,
|
|
78
|
-
RegionResolvedConfig,
|
|
79
|
-
resolveEndpointsConfig,
|
|
80
|
-
resolveRegionConfig,
|
|
81
|
-
} from "@aws-sdk/config-resolver";
|
|
82
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
83
|
-
import {
|
|
84
|
-
HostHeaderInputConfig,
|
|
85
|
-
HostHeaderResolvedConfig,
|
|
86
|
-
getHostHeaderPlugin,
|
|
87
|
-
resolveHostHeaderConfig,
|
|
88
|
-
} from "@aws-sdk/middleware-host-header";
|
|
89
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
90
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
91
|
-
import {
|
|
92
|
-
AwsAuthInputConfig,
|
|
93
|
-
AwsAuthResolvedConfig,
|
|
94
|
-
getAwsAuthPlugin,
|
|
95
|
-
resolveAwsAuthConfig,
|
|
96
|
-
} from "@aws-sdk/middleware-signing";
|
|
97
|
-
import {
|
|
98
|
-
UserAgentInputConfig,
|
|
99
|
-
UserAgentResolvedConfig,
|
|
100
|
-
getUserAgentPlugin,
|
|
101
|
-
resolveUserAgentConfig,
|
|
102
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
103
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
104
|
-
import {
|
|
105
|
-
Client as __Client,
|
|
106
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
107
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
108
|
-
} from "@aws-sdk/smithy-client";
|
|
109
|
-
import {
|
|
110
|
-
Provider,
|
|
111
|
-
RegionInfoProvider,
|
|
112
|
-
Credentials as __Credentials,
|
|
113
|
-
Decoder as __Decoder,
|
|
114
|
-
Encoder as __Encoder,
|
|
115
|
-
Hash as __Hash,
|
|
116
|
-
HashConstructor as __HashConstructor,
|
|
117
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
118
|
-
Logger as __Logger,
|
|
119
|
-
Provider as __Provider,
|
|
120
|
-
StreamCollector as __StreamCollector,
|
|
121
|
-
UrlParser as __UrlParser,
|
|
122
|
-
UserAgent as __UserAgent,
|
|
123
|
-
} from "@aws-sdk/types";
|
|
124
|
-
|
|
125
|
-
export type ServiceInputTypes =
|
|
126
|
-
| AcceptResourceShareInvitationCommandInput
|
|
127
|
-
| AssociateResourceShareCommandInput
|
|
128
|
-
| AssociateResourceSharePermissionCommandInput
|
|
129
|
-
| CreateResourceShareCommandInput
|
|
130
|
-
| DeleteResourceShareCommandInput
|
|
131
|
-
| DisassociateResourceShareCommandInput
|
|
132
|
-
| DisassociateResourceSharePermissionCommandInput
|
|
133
|
-
| EnableSharingWithAwsOrganizationCommandInput
|
|
134
|
-
| GetPermissionCommandInput
|
|
135
|
-
| GetResourcePoliciesCommandInput
|
|
136
|
-
| GetResourceShareAssociationsCommandInput
|
|
137
|
-
| GetResourceShareInvitationsCommandInput
|
|
138
|
-
| GetResourceSharesCommandInput
|
|
139
|
-
| ListPendingInvitationResourcesCommandInput
|
|
140
|
-
| ListPermissionsCommandInput
|
|
141
|
-
| ListPrincipalsCommandInput
|
|
142
|
-
| ListResourceSharePermissionsCommandInput
|
|
143
|
-
| ListResourceTypesCommandInput
|
|
144
|
-
| ListResourcesCommandInput
|
|
145
|
-
| PromoteResourceShareCreatedFromPolicyCommandInput
|
|
146
|
-
| RejectResourceShareInvitationCommandInput
|
|
147
|
-
| TagResourceCommandInput
|
|
148
|
-
| UntagResourceCommandInput
|
|
149
|
-
| UpdateResourceShareCommandInput;
|
|
150
|
-
|
|
151
|
-
export type ServiceOutputTypes =
|
|
152
|
-
| AcceptResourceShareInvitationCommandOutput
|
|
153
|
-
| AssociateResourceShareCommandOutput
|
|
154
|
-
| AssociateResourceSharePermissionCommandOutput
|
|
155
|
-
| CreateResourceShareCommandOutput
|
|
156
|
-
| DeleteResourceShareCommandOutput
|
|
157
|
-
| DisassociateResourceShareCommandOutput
|
|
158
|
-
| DisassociateResourceSharePermissionCommandOutput
|
|
159
|
-
| EnableSharingWithAwsOrganizationCommandOutput
|
|
160
|
-
| GetPermissionCommandOutput
|
|
161
|
-
| GetResourcePoliciesCommandOutput
|
|
162
|
-
| GetResourceShareAssociationsCommandOutput
|
|
163
|
-
| GetResourceShareInvitationsCommandOutput
|
|
164
|
-
| GetResourceSharesCommandOutput
|
|
165
|
-
| ListPendingInvitationResourcesCommandOutput
|
|
166
|
-
| ListPermissionsCommandOutput
|
|
167
|
-
| ListPrincipalsCommandOutput
|
|
168
|
-
| ListResourceSharePermissionsCommandOutput
|
|
169
|
-
| ListResourceTypesCommandOutput
|
|
170
|
-
| ListResourcesCommandOutput
|
|
171
|
-
| PromoteResourceShareCreatedFromPolicyCommandOutput
|
|
172
|
-
| RejectResourceShareInvitationCommandOutput
|
|
173
|
-
| TagResourceCommandOutput
|
|
174
|
-
| UntagResourceCommandOutput
|
|
175
|
-
| UpdateResourceShareCommandOutput;
|
|
176
|
-
|
|
177
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
178
|
-
/**
|
|
179
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
180
|
-
*/
|
|
181
|
-
requestHandler?: __HttpHandler;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
185
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
sha256?: __HashConstructor;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
urlParser?: __UrlParser;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* A function that can calculate the length of a request body.
|
|
198
|
-
* @internal
|
|
199
|
-
*/
|
|
200
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* A function that converts a stream into an array of bytes.
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
streamCollector?: __StreamCollector;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
|
-
base64Decoder?: __Decoder;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
216
|
-
* @internal
|
|
217
|
-
*/
|
|
218
|
-
base64Encoder?: __Encoder;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
utf8Decoder?: __Decoder;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
230
|
-
utf8Encoder?: __Encoder;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* The runtime environment.
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
runtime?: string;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
240
|
-
* trait of an operation.
|
|
241
|
-
*/
|
|
242
|
-
disableHostPrefix?: boolean;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
246
|
-
*/
|
|
247
|
-
maxAttempts?: number | __Provider<number>;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Specifies which retry algorithm to use.
|
|
251
|
-
*/
|
|
252
|
-
retryMode?: string | __Provider<string>;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Optional logger for logging debug/info/warn/error.
|
|
256
|
-
*/
|
|
257
|
-
logger?: __Logger;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Unique service identifier.
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
|
-
serviceId?: string;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* The AWS region to which this client will send requests
|
|
267
|
-
*/
|
|
268
|
-
region?: string | __Provider<string>;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Default credentials provider; Not available in browser runtime.
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
278
|
-
* @internal
|
|
279
|
-
*/
|
|
280
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
284
|
-
* @internal
|
|
285
|
-
*/
|
|
286
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
type RAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
290
|
-
ClientDefaults &
|
|
291
|
-
RegionInputConfig &
|
|
292
|
-
EndpointsInputConfig &
|
|
293
|
-
RetryInputConfig &
|
|
294
|
-
HostHeaderInputConfig &
|
|
295
|
-
AwsAuthInputConfig &
|
|
296
|
-
UserAgentInputConfig;
|
|
297
|
-
/**
|
|
298
|
-
* The configuration interface of RAMClient class constructor that set the region, credentials and other options.
|
|
299
|
-
*/
|
|
300
|
-
export interface RAMClientConfig extends RAMClientConfigType {}
|
|
301
|
-
|
|
302
|
-
type RAMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
303
|
-
Required<ClientDefaults> &
|
|
304
|
-
RegionResolvedConfig &
|
|
305
|
-
EndpointsResolvedConfig &
|
|
306
|
-
RetryResolvedConfig &
|
|
307
|
-
HostHeaderResolvedConfig &
|
|
308
|
-
AwsAuthResolvedConfig &
|
|
309
|
-
UserAgentResolvedConfig;
|
|
310
|
-
/**
|
|
311
|
-
* The resolved configuration interface of RAMClient class. This is resolved and normalized from the {@link RAMClientConfig | constructor configuration interface}.
|
|
312
|
-
*/
|
|
313
|
-
export interface RAMClientResolvedConfig extends RAMClientResolvedConfigType {}
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
317
|
-
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
318
|
-
* service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts and
|
|
319
|
-
* within your organization or organizational units (OUs) in Organizations. For supported
|
|
320
|
-
* resource types, you can also share resources with IAM roles and IAM users. If you have
|
|
321
|
-
* multiple Amazon Web Services accounts, you can use RAM to share those resources with other
|
|
322
|
-
* accounts.</p>
|
|
323
|
-
*
|
|
324
|
-
* <p>To learn more about RAM, see the following resources:</p>
|
|
325
|
-
*
|
|
326
|
-
* <ul>
|
|
327
|
-
* <li>
|
|
328
|
-
* <p>
|
|
329
|
-
* <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
|
|
330
|
-
* </p>
|
|
331
|
-
* </li>
|
|
332
|
-
* <li>
|
|
333
|
-
* <p>
|
|
334
|
-
* <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
|
|
335
|
-
* Guide</a>
|
|
336
|
-
* </p>
|
|
337
|
-
* </li>
|
|
338
|
-
* </ul>
|
|
339
|
-
*/
|
|
340
|
-
export class RAMClient extends __Client<
|
|
341
|
-
__HttpHandlerOptions,
|
|
342
|
-
ServiceInputTypes,
|
|
343
|
-
ServiceOutputTypes,
|
|
344
|
-
RAMClientResolvedConfig
|
|
345
|
-
> {
|
|
346
|
-
/**
|
|
347
|
-
* The resolved configuration of RAMClient class. This is resolved and normalized from the {@link RAMClientConfig | constructor configuration interface}.
|
|
348
|
-
*/
|
|
349
|
-
readonly config: RAMClientResolvedConfig;
|
|
350
|
-
|
|
351
|
-
constructor(configuration: RAMClientConfig) {
|
|
352
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
353
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
354
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
355
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
356
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
357
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
358
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
359
|
-
super(_config_6);
|
|
360
|
-
this.config = _config_6;
|
|
361
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
362
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
363
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
364
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
365
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
366
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
371
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
372
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
373
|
-
*/
|
|
374
|
-
destroy(): void {
|
|
375
|
-
super.destroy();
|
|
376
|
-
}
|
|
377
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
2
|
-
import { AcceptResourceShareInvitationRequest, AcceptResourceShareInvitationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1AcceptResourceShareInvitationCommand,
|
|
5
|
-
serializeAws_restJson1AcceptResourceShareInvitationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface AcceptResourceShareInvitationCommandInput extends AcceptResourceShareInvitationRequest {}
|
|
21
|
-
export interface AcceptResourceShareInvitationCommandOutput
|
|
22
|
-
extends AcceptResourceShareInvitationResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Accepts an invitation to a resource share from another Amazon Web Services account.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { RAMClient, AcceptResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
31
|
-
* // const { RAMClient, AcceptResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
32
|
-
* const client = new RAMClient(config);
|
|
33
|
-
* const command = new AcceptResourceShareInvitationCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link AcceptResourceShareInvitationCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link AcceptResourceShareInvitationCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class AcceptResourceShareInvitationCommand extends $Command<
|
|
43
|
-
AcceptResourceShareInvitationCommandInput,
|
|
44
|
-
AcceptResourceShareInvitationCommandOutput,
|
|
45
|
-
RAMClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: AcceptResourceShareInvitationCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: RAMClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "RAMClient";
|
|
70
|
-
const commandName = "AcceptResourceShareInvitationCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: AcceptResourceShareInvitationRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: AcceptResourceShareInvitationResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: AcceptResourceShareInvitationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1AcceptResourceShareInvitationCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<AcceptResourceShareInvitationCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1AcceptResourceShareInvitationCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
2
|
-
import { AssociateResourceShareRequest, AssociateResourceShareResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1AssociateResourceShareCommand,
|
|
5
|
-
serializeAws_restJson1AssociateResourceShareCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface AssociateResourceShareCommandInput extends AssociateResourceShareRequest {}
|
|
21
|
-
export interface AssociateResourceShareCommandOutput extends AssociateResourceShareResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Associates the specified resource share with the specified principals and resources.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { RAMClient, AssociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
|
-
* // const { RAMClient, AssociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
|
-
* const client = new RAMClient(config);
|
|
31
|
-
* const command = new AssociateResourceShareCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link AssociateResourceShareCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link AssociateResourceShareCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class AssociateResourceShareCommand extends $Command<
|
|
41
|
-
AssociateResourceShareCommandInput,
|
|
42
|
-
AssociateResourceShareCommandOutput,
|
|
43
|
-
RAMClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: AssociateResourceShareCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: RAMClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "RAMClient";
|
|
68
|
-
const commandName = "AssociateResourceShareCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: AssociateResourceShareRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: AssociateResourceShareResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: AssociateResourceShareCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1AssociateResourceShareCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AssociateResourceShareCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1AssociateResourceShareCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
2
|
-
import { AssociateResourceSharePermissionRequest, AssociateResourceSharePermissionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1AssociateResourceSharePermissionCommand,
|
|
5
|
-
serializeAws_restJson1AssociateResourceSharePermissionCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface AssociateResourceSharePermissionCommandInput extends AssociateResourceSharePermissionRequest {}
|
|
21
|
-
export interface AssociateResourceSharePermissionCommandOutput
|
|
22
|
-
extends AssociateResourceSharePermissionResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Associates a permission with a resource share.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { RAMClient, AssociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
31
|
-
* // const { RAMClient, AssociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
32
|
-
* const client = new RAMClient(config);
|
|
33
|
-
* const command = new AssociateResourceSharePermissionCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link AssociateResourceSharePermissionCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link AssociateResourceSharePermissionCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link RAMClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class AssociateResourceSharePermissionCommand extends $Command<
|
|
43
|
-
AssociateResourceSharePermissionCommandInput,
|
|
44
|
-
AssociateResourceSharePermissionCommandOutput,
|
|
45
|
-
RAMClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: AssociateResourceSharePermissionCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: RAMClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "RAMClient";
|
|
70
|
-
const commandName = "AssociateResourceSharePermissionCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: AssociateResourceSharePermissionRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: AssociateResourceSharePermissionResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(
|
|
87
|
-
input: AssociateResourceSharePermissionCommandInput,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1AssociateResourceSharePermissionCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<AssociateResourceSharePermissionCommandOutput> {
|
|
97
|
-
return deserializeAws_restJson1AssociateResourceSharePermissionCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|