@volcengine/resourceshare 1.0.1
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/.turbo/turbo-build.log +19 -0
- package/LICENSE.txt +202 -0
- package/dist/cjs/index.js +265 -0
- package/dist/esm/api.d.ts +254 -0
- package/dist/esm/api.d.ts.map +1 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.mjs +168 -0
- package/dist/esm/types/accept-resource-share-invitation-request.d.ts +25 -0
- package/dist/esm/types/accept-resource-share-invitation-request.d.ts.map +1 -0
- package/dist/esm/types/accept-resource-share-invitation-response.d.ts +20 -0
- package/dist/esm/types/accept-resource-share-invitation-response.d.ts.map +1 -0
- package/dist/esm/types/associate-resource-share-request.d.ts +35 -0
- package/dist/esm/types/associate-resource-share-request.d.ts.map +1 -0
- package/dist/esm/types/associate-resource-share-response.d.ts +20 -0
- package/dist/esm/types/associate-resource-share-response.d.ts.map +1 -0
- package/dist/esm/types/association-for-list-resource-share-associations-output.d.ts +60 -0
- package/dist/esm/types/association-for-list-resource-share-associations-output.d.ts.map +1 -0
- package/dist/esm/types/create-resource-share-request.d.ts +46 -0
- package/dist/esm/types/create-resource-share-request.d.ts.map +1 -0
- package/dist/esm/types/create-resource-share-response.d.ts +25 -0
- package/dist/esm/types/create-resource-share-response.d.ts.map +1 -0
- package/dist/esm/types/delete-resource-share-request.d.ts +25 -0
- package/dist/esm/types/delete-resource-share-request.d.ts.map +1 -0
- package/dist/esm/types/delete-resource-share-response.d.ts +20 -0
- package/dist/esm/types/delete-resource-share-response.d.ts.map +1 -0
- package/dist/esm/types/describe-resource-share-invitations-request.d.ts +45 -0
- package/dist/esm/types/describe-resource-share-invitations-request.d.ts.map +1 -0
- package/dist/esm/types/describe-resource-share-invitations-response.d.ts +31 -0
- package/dist/esm/types/describe-resource-share-invitations-response.d.ts.map +1 -0
- package/dist/esm/types/describe-resource-shares-request.d.ts +61 -0
- package/dist/esm/types/describe-resource-shares-request.d.ts.map +1 -0
- package/dist/esm/types/describe-resource-shares-response.d.ts +31 -0
- package/dist/esm/types/describe-resource-shares-response.d.ts.map +1 -0
- package/dist/esm/types/disable-sharing-with-organization-request.d.ts +20 -0
- package/dist/esm/types/disable-sharing-with-organization-request.d.ts.map +1 -0
- package/dist/esm/types/disable-sharing-with-organization-response.d.ts +20 -0
- package/dist/esm/types/disable-sharing-with-organization-response.d.ts.map +1 -0
- package/dist/esm/types/disassociate-resource-share-request.d.ts +35 -0
- package/dist/esm/types/disassociate-resource-share-request.d.ts.map +1 -0
- package/dist/esm/types/disassociate-resource-share-response.d.ts +20 -0
- package/dist/esm/types/disassociate-resource-share-response.d.ts.map +1 -0
- package/dist/esm/types/enable-sharing-with-organization-request.d.ts +20 -0
- package/dist/esm/types/enable-sharing-with-organization-request.d.ts.map +1 -0
- package/dist/esm/types/enable-sharing-with-organization-response.d.ts +20 -0
- package/dist/esm/types/enable-sharing-with-organization-response.d.ts.map +1 -0
- package/dist/esm/types/get-permission-request.d.ts +25 -0
- package/dist/esm/types/get-permission-request.d.ts.map +1 -0
- package/dist/esm/types/get-permission-response.d.ts +50 -0
- package/dist/esm/types/get-permission-response.d.ts.map +1 -0
- package/dist/esm/types/index.d.ts +59 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/list-permissions-request.d.ts +35 -0
- package/dist/esm/types/list-permissions-request.d.ts.map +1 -0
- package/dist/esm/types/list-permissions-response.d.ts +31 -0
- package/dist/esm/types/list-permissions-response.d.ts.map +1 -0
- package/dist/esm/types/list-principals-request.d.ts +50 -0
- package/dist/esm/types/list-principals-request.d.ts.map +1 -0
- package/dist/esm/types/list-principals-response.d.ts +31 -0
- package/dist/esm/types/list-principals-response.d.ts.map +1 -0
- package/dist/esm/types/list-resource-share-associations-request.d.ts +50 -0
- package/dist/esm/types/list-resource-share-associations-request.d.ts.map +1 -0
- package/dist/esm/types/list-resource-share-associations-response.d.ts +36 -0
- package/dist/esm/types/list-resource-share-associations-response.d.ts.map +1 -0
- package/dist/esm/types/list-resource-share-permissions-request.d.ts +35 -0
- package/dist/esm/types/list-resource-share-permissions-request.d.ts.map +1 -0
- package/dist/esm/types/list-resource-share-permissions-response.d.ts +36 -0
- package/dist/esm/types/list-resource-share-permissions-response.d.ts.map +1 -0
- package/dist/esm/types/list-resource-types-request.d.ts +20 -0
- package/dist/esm/types/list-resource-types-request.d.ts.map +1 -0
- package/dist/esm/types/list-resource-types-response.d.ts +26 -0
- package/dist/esm/types/list-resource-types-response.d.ts.map +1 -0
- package/dist/esm/types/list-resources-request.d.ts +50 -0
- package/dist/esm/types/list-resources-request.d.ts.map +1 -0
- package/dist/esm/types/list-resources-response.d.ts +31 -0
- package/dist/esm/types/list-resources-response.d.ts.map +1 -0
- package/dist/esm/types/list-tags-for-resources-request.d.ts +46 -0
- package/dist/esm/types/list-tags-for-resources-request.d.ts.map +1 -0
- package/dist/esm/types/list-tags-for-resources-response.d.ts +36 -0
- package/dist/esm/types/list-tags-for-resources-response.d.ts.map +1 -0
- package/dist/esm/types/permission-for-list-permissions-output.d.ts +55 -0
- package/dist/esm/types/permission-for-list-permissions-output.d.ts.map +1 -0
- package/dist/esm/types/permission-for-list-resource-share-permissions-output.d.ts +55 -0
- package/dist/esm/types/permission-for-list-resource-share-permissions-output.d.ts.map +1 -0
- package/dist/esm/types/principal-for-list-principals-output.d.ts +36 -0
- package/dist/esm/types/principal-for-list-principals-output.d.ts.map +1 -0
- package/dist/esm/types/reject-resource-share-invitation-request.d.ts +25 -0
- package/dist/esm/types/reject-resource-share-invitation-request.d.ts.map +1 -0
- package/dist/esm/types/reject-resource-share-invitation-response.d.ts +20 -0
- package/dist/esm/types/reject-resource-share-invitation-response.d.ts.map +1 -0
- package/dist/esm/types/resource-for-list-resources-output.d.ts +46 -0
- package/dist/esm/types/resource-for-list-resources-output.d.ts.map +1 -0
- package/dist/esm/types/resource-share-for-describe-resource-shares-output.d.ts +66 -0
- package/dist/esm/types/resource-share-for-describe-resource-shares-output.d.ts.map +1 -0
- package/dist/esm/types/resource-share-for-list-principals-output.d.ts +35 -0
- package/dist/esm/types/resource-share-for-list-principals-output.d.ts.map +1 -0
- package/dist/esm/types/resource-share-for-list-resources-output.d.ts +35 -0
- package/dist/esm/types/resource-share-for-list-resources-output.d.ts.map +1 -0
- package/dist/esm/types/resource-share-invitation-for-describe-resource-share-invitations-output.d.ts +60 -0
- package/dist/esm/types/resource-share-invitation-for-describe-resource-share-invitations-output.d.ts.map +1 -0
- package/dist/esm/types/resource-tag-for-list-tags-for-resources-output.d.ts +40 -0
- package/dist/esm/types/resource-tag-for-list-tags-for-resources-output.d.ts.map +1 -0
- package/dist/esm/types/resource-type-for-list-resource-types-output.d.ts +45 -0
- package/dist/esm/types/resource-type-for-list-resource-types-output.d.ts.map +1 -0
- package/dist/esm/types/tag-filter-for-describe-resource-shares-input.d.ts +30 -0
- package/dist/esm/types/tag-filter-for-describe-resource-shares-input.d.ts.map +1 -0
- package/dist/esm/types/tag-filter-for-list-tags-for-resources-input.d.ts +30 -0
- package/dist/esm/types/tag-filter-for-list-tags-for-resources-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-create-resource-share-input.d.ts +30 -0
- package/dist/esm/types/tag-for-create-resource-share-input.d.ts.map +1 -0
- package/dist/esm/types/tag-for-describe-resource-shares-output.d.ts +30 -0
- package/dist/esm/types/tag-for-describe-resource-shares-output.d.ts.map +1 -0
- package/dist/esm/types/tag-for-tag-resources-input.d.ts +30 -0
- package/dist/esm/types/tag-for-tag-resources-input.d.ts.map +1 -0
- package/dist/esm/types/tag-resources-request.d.ts +36 -0
- package/dist/esm/types/tag-resources-request.d.ts.map +1 -0
- package/dist/esm/types/tag-resources-response.d.ts +20 -0
- package/dist/esm/types/tag-resources-response.d.ts.map +1 -0
- package/dist/esm/types/untag-resources-request.d.ts +35 -0
- package/dist/esm/types/untag-resources-request.d.ts.map +1 -0
- package/dist/esm/types/untag-resources-response.d.ts +20 -0
- package/dist/esm/types/untag-resources-response.d.ts.map +1 -0
- package/dist/esm/types/update-resource-share-request.d.ts +35 -0
- package/dist/esm/types/update-resource-share-request.d.ts.map +1 -0
- package/dist/esm/types/update-resource-share-response.d.ts +20 -0
- package/dist/esm/types/update-resource-share-response.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +37 -0
- package/rslib.config.ts +26 -0
- package/src/api.ts +438 -0
- package/src/index.ts +14 -0
- package/src/types/accept-resource-share-invitation-request.ts +28 -0
- package/src/types/accept-resource-share-invitation-response.ts +22 -0
- package/src/types/associate-resource-share-request.ts +40 -0
- package/src/types/associate-resource-share-response.ts +22 -0
- package/src/types/association-for-list-resource-share-associations-output.ts +70 -0
- package/src/types/create-resource-share-request.ts +53 -0
- package/src/types/create-resource-share-response.ts +28 -0
- package/src/types/delete-resource-share-request.ts +28 -0
- package/src/types/delete-resource-share-response.ts +22 -0
- package/src/types/describe-resource-share-invitations-request.ts +52 -0
- package/src/types/describe-resource-share-invitations-response.ts +35 -0
- package/src/types/describe-resource-shares-request.ts +71 -0
- package/src/types/describe-resource-shares-response.ts +35 -0
- package/src/types/disable-sharing-with-organization-request.ts +22 -0
- package/src/types/disable-sharing-with-organization-response.ts +22 -0
- package/src/types/disassociate-resource-share-request.ts +40 -0
- package/src/types/disassociate-resource-share-response.ts +22 -0
- package/src/types/enable-sharing-with-organization-request.ts +22 -0
- package/src/types/enable-sharing-with-organization-response.ts +22 -0
- package/src/types/get-permission-request.ts +28 -0
- package/src/types/get-permission-response.ts +58 -0
- package/src/types/index.ts +58 -0
- package/src/types/list-permissions-request.ts +40 -0
- package/src/types/list-permissions-response.ts +35 -0
- package/src/types/list-principals-request.ts +58 -0
- package/src/types/list-principals-response.ts +35 -0
- package/src/types/list-resource-share-associations-request.ts +58 -0
- package/src/types/list-resource-share-associations-response.ts +41 -0
- package/src/types/list-resource-share-permissions-request.ts +40 -0
- package/src/types/list-resource-share-permissions-response.ts +41 -0
- package/src/types/list-resource-types-request.ts +22 -0
- package/src/types/list-resource-types-response.ts +29 -0
- package/src/types/list-resources-request.ts +58 -0
- package/src/types/list-resources-response.ts +35 -0
- package/src/types/list-tags-for-resources-request.ts +53 -0
- package/src/types/list-tags-for-resources-response.ts +41 -0
- package/src/types/permission-for-list-permissions-output.ts +64 -0
- package/src/types/permission-for-list-resource-share-permissions-output.ts +64 -0
- package/src/types/principal-for-list-principals-output.ts +41 -0
- package/src/types/reject-resource-share-invitation-request.ts +28 -0
- package/src/types/reject-resource-share-invitation-response.ts +22 -0
- package/src/types/resource-for-list-resources-output.ts +53 -0
- package/src/types/resource-share-for-describe-resource-shares-output.ts +77 -0
- package/src/types/resource-share-for-list-principals-output.ts +40 -0
- package/src/types/resource-share-for-list-resources-output.ts +40 -0
- package/src/types/resource-share-invitation-for-describe-resource-share-invitations-output.ts +70 -0
- package/src/types/resource-tag-for-list-tags-for-resources-output.ts +46 -0
- package/src/types/resource-type-for-list-resource-types-output.ts +52 -0
- package/src/types/tag-filter-for-describe-resource-shares-input.ts +34 -0
- package/src/types/tag-filter-for-list-tags-for-resources-input.ts +34 -0
- package/src/types/tag-for-create-resource-share-input.ts +34 -0
- package/src/types/tag-for-describe-resource-shares-output.ts +34 -0
- package/src/types/tag-for-tag-resources-input.ts +34 -0
- package/src/types/tag-resources-request.ts +41 -0
- package/src/types/tag-resources-response.ts +22 -0
- package/src/types/untag-resources-request.ts +40 -0
- package/src/types/untag-resources-response.ts +22 -0
- package/src/types/update-resource-share-request.ts +40 -0
- package/src/types/update-resource-share-response.ts +22 -0
- package/tsconfig.json +12 -0
package/src/api.ts
ADDED
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* resource_share
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
|
|
16
|
+
|
|
17
|
+
import { AcceptResourceShareInvitationRequest } from './types/index';
|
|
18
|
+
import { AcceptResourceShareInvitationResponse } from './types/index';
|
|
19
|
+
import { AssociateResourceShareRequest } from './types/index';
|
|
20
|
+
import { AssociateResourceShareResponse } from './types/index';
|
|
21
|
+
import { CreateResourceShareRequest } from './types/index';
|
|
22
|
+
import { CreateResourceShareResponse } from './types/index';
|
|
23
|
+
import { DeleteResourceShareRequest } from './types/index';
|
|
24
|
+
import { DeleteResourceShareResponse } from './types/index';
|
|
25
|
+
import { DescribeResourceShareInvitationsRequest } from './types/index';
|
|
26
|
+
import { DescribeResourceShareInvitationsResponse } from './types/index';
|
|
27
|
+
import { DescribeResourceSharesRequest } from './types/index';
|
|
28
|
+
import { DescribeResourceSharesResponse } from './types/index';
|
|
29
|
+
import { DisableSharingWithOrganizationRequest } from './types/index';
|
|
30
|
+
import { DisableSharingWithOrganizationResponse } from './types/index';
|
|
31
|
+
import { DisassociateResourceShareRequest } from './types/index';
|
|
32
|
+
import { DisassociateResourceShareResponse } from './types/index';
|
|
33
|
+
import { EnableSharingWithOrganizationRequest } from './types/index';
|
|
34
|
+
import { EnableSharingWithOrganizationResponse } from './types/index';
|
|
35
|
+
import { GetPermissionRequest } from './types/index';
|
|
36
|
+
import { GetPermissionResponse } from './types/index';
|
|
37
|
+
import { ListPermissionsRequest } from './types/index';
|
|
38
|
+
import { ListPermissionsResponse } from './types/index';
|
|
39
|
+
import { ListPrincipalsRequest } from './types/index';
|
|
40
|
+
import { ListPrincipalsResponse } from './types/index';
|
|
41
|
+
import { ListResourceShareAssociationsRequest } from './types/index';
|
|
42
|
+
import { ListResourceShareAssociationsResponse } from './types/index';
|
|
43
|
+
import { ListResourceSharePermissionsRequest } from './types/index';
|
|
44
|
+
import { ListResourceSharePermissionsResponse } from './types/index';
|
|
45
|
+
import { ListResourceTypesRequest } from './types/index';
|
|
46
|
+
import { ListResourceTypesResponse } from './types/index';
|
|
47
|
+
import { ListResourcesRequest } from './types/index';
|
|
48
|
+
import { ListResourcesResponse } from './types/index';
|
|
49
|
+
import { ListTagsForResourcesRequest } from './types/index';
|
|
50
|
+
import { ListTagsForResourcesResponse } from './types/index';
|
|
51
|
+
import { RejectResourceShareInvitationRequest } from './types/index';
|
|
52
|
+
import { RejectResourceShareInvitationResponse } from './types/index';
|
|
53
|
+
import { TagResourcesRequest } from './types/index';
|
|
54
|
+
import { TagResourcesResponse } from './types/index';
|
|
55
|
+
import { UntagResourcesRequest } from './types/index';
|
|
56
|
+
import { UntagResourcesResponse } from './types/index';
|
|
57
|
+
import { UpdateResourceShareRequest } from './types/index';
|
|
58
|
+
import { UpdateResourceShareResponse } from './types/index';
|
|
59
|
+
|
|
60
|
+
// ============================================================================
|
|
61
|
+
// Output Type Definitions
|
|
62
|
+
// ============================================================================
|
|
63
|
+
export type AcceptResourceShareInvitationCommandOutput = CommandOutput<AcceptResourceShareInvitationResponse>;
|
|
64
|
+
export type AssociateResourceShareCommandOutput = CommandOutput<AssociateResourceShareResponse>;
|
|
65
|
+
export type CreateResourceShareCommandOutput = CommandOutput<CreateResourceShareResponse>;
|
|
66
|
+
export type DeleteResourceShareCommandOutput = CommandOutput<DeleteResourceShareResponse>;
|
|
67
|
+
export type DescribeResourceShareInvitationsCommandOutput = CommandOutput<DescribeResourceShareInvitationsResponse>;
|
|
68
|
+
export type DescribeResourceSharesCommandOutput = CommandOutput<DescribeResourceSharesResponse>;
|
|
69
|
+
export type DisableSharingWithOrganizationCommandOutput = CommandOutput<DisableSharingWithOrganizationResponse>;
|
|
70
|
+
export type DisassociateResourceShareCommandOutput = CommandOutput<DisassociateResourceShareResponse>;
|
|
71
|
+
export type EnableSharingWithOrganizationCommandOutput = CommandOutput<EnableSharingWithOrganizationResponse>;
|
|
72
|
+
export type GetPermissionCommandOutput = CommandOutput<GetPermissionResponse>;
|
|
73
|
+
export type ListPermissionsCommandOutput = CommandOutput<ListPermissionsResponse>;
|
|
74
|
+
export type ListPrincipalsCommandOutput = CommandOutput<ListPrincipalsResponse>;
|
|
75
|
+
export type ListResourceShareAssociationsCommandOutput = CommandOutput<ListResourceShareAssociationsResponse>;
|
|
76
|
+
export type ListResourceSharePermissionsCommandOutput = CommandOutput<ListResourceSharePermissionsResponse>;
|
|
77
|
+
export type ListResourceTypesCommandOutput = CommandOutput<ListResourceTypesResponse>;
|
|
78
|
+
export type ListResourcesCommandOutput = CommandOutput<ListResourcesResponse>;
|
|
79
|
+
export type ListTagsForResourcesCommandOutput = CommandOutput<ListTagsForResourcesResponse>;
|
|
80
|
+
export type RejectResourceShareInvitationCommandOutput = CommandOutput<RejectResourceShareInvitationResponse>;
|
|
81
|
+
export type TagResourcesCommandOutput = CommandOutput<TagResourcesResponse>;
|
|
82
|
+
export type UntagResourcesCommandOutput = CommandOutput<UntagResourcesResponse>;
|
|
83
|
+
export type UpdateResourceShareCommandOutput = CommandOutput<UpdateResourceShareResponse>;
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* RESOURCESHAREClient Service Client
|
|
88
|
+
*/
|
|
89
|
+
export class RESOURCESHAREClient extends Client {
|
|
90
|
+
constructor(config: ClientConfig = {}) {
|
|
91
|
+
super({
|
|
92
|
+
protocol: 'https',
|
|
93
|
+
region: 'cn-beijing',
|
|
94
|
+
...config,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Command to AcceptResourceShareInvitation
|
|
101
|
+
*/
|
|
102
|
+
export class AcceptResourceShareInvitationCommand extends Command<
|
|
103
|
+
AcceptResourceShareInvitationRequest,
|
|
104
|
+
AcceptResourceShareInvitationCommandOutput,
|
|
105
|
+
'AcceptResourceShareInvitationCommand'
|
|
106
|
+
> {
|
|
107
|
+
static readonly metaPath = '/AcceptResourceShareInvitation/2024-01-01/resource_share/get/text_plain/';
|
|
108
|
+
|
|
109
|
+
constructor(input: AcceptResourceShareInvitationRequest) {
|
|
110
|
+
super(input);
|
|
111
|
+
this.requestConfig = buildRequestConfigFromMetaPath(AcceptResourceShareInvitationCommand.metaPath);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Command to AssociateResourceShare
|
|
116
|
+
*/
|
|
117
|
+
export class AssociateResourceShareCommand extends Command<
|
|
118
|
+
AssociateResourceShareRequest,
|
|
119
|
+
AssociateResourceShareCommandOutput,
|
|
120
|
+
'AssociateResourceShareCommand'
|
|
121
|
+
> {
|
|
122
|
+
static readonly metaPath = '/AssociateResourceShare/2024-01-01/resource_share/get/text_plain/';
|
|
123
|
+
|
|
124
|
+
constructor(input: AssociateResourceShareRequest) {
|
|
125
|
+
super(input);
|
|
126
|
+
this.requestConfig = buildRequestConfigFromMetaPath(AssociateResourceShareCommand.metaPath);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Command to CreateResourceShare
|
|
131
|
+
*/
|
|
132
|
+
export class CreateResourceShareCommand extends Command<
|
|
133
|
+
CreateResourceShareRequest,
|
|
134
|
+
CreateResourceShareCommandOutput,
|
|
135
|
+
'CreateResourceShareCommand'
|
|
136
|
+
> {
|
|
137
|
+
static readonly metaPath = '/CreateResourceShare/2024-01-01/resource_share/get/text_plain/';
|
|
138
|
+
|
|
139
|
+
constructor(input: CreateResourceShareRequest) {
|
|
140
|
+
super(input);
|
|
141
|
+
this.requestConfig = buildRequestConfigFromMetaPath(CreateResourceShareCommand.metaPath);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Command to DeleteResourceShare
|
|
146
|
+
*/
|
|
147
|
+
export class DeleteResourceShareCommand extends Command<
|
|
148
|
+
DeleteResourceShareRequest,
|
|
149
|
+
DeleteResourceShareCommandOutput,
|
|
150
|
+
'DeleteResourceShareCommand'
|
|
151
|
+
> {
|
|
152
|
+
static readonly metaPath = '/DeleteResourceShare/2024-01-01/resource_share/get/text_plain/';
|
|
153
|
+
|
|
154
|
+
constructor(input: DeleteResourceShareRequest) {
|
|
155
|
+
super(input);
|
|
156
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DeleteResourceShareCommand.metaPath);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Command to DescribeResourceShareInvitations
|
|
161
|
+
*/
|
|
162
|
+
export class DescribeResourceShareInvitationsCommand extends Command<
|
|
163
|
+
DescribeResourceShareInvitationsRequest,
|
|
164
|
+
DescribeResourceShareInvitationsCommandOutput,
|
|
165
|
+
'DescribeResourceShareInvitationsCommand'
|
|
166
|
+
> {
|
|
167
|
+
static readonly metaPath = '/DescribeResourceShareInvitations/2024-01-01/resource_share/get/text_plain/';
|
|
168
|
+
|
|
169
|
+
constructor(input: DescribeResourceShareInvitationsRequest) {
|
|
170
|
+
super(input);
|
|
171
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DescribeResourceShareInvitationsCommand.metaPath);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Command to DescribeResourceShares
|
|
176
|
+
*/
|
|
177
|
+
export class DescribeResourceSharesCommand extends Command<
|
|
178
|
+
DescribeResourceSharesRequest,
|
|
179
|
+
DescribeResourceSharesCommandOutput,
|
|
180
|
+
'DescribeResourceSharesCommand'
|
|
181
|
+
> {
|
|
182
|
+
static readonly metaPath = '/DescribeResourceShares/2024-01-01/resource_share/get/text_plain/';
|
|
183
|
+
|
|
184
|
+
constructor(input: DescribeResourceSharesRequest) {
|
|
185
|
+
super(input);
|
|
186
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DescribeResourceSharesCommand.metaPath);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Command to DisableSharingWithOrganization
|
|
191
|
+
*/
|
|
192
|
+
export class DisableSharingWithOrganizationCommand extends Command<
|
|
193
|
+
DisableSharingWithOrganizationRequest,
|
|
194
|
+
DisableSharingWithOrganizationCommandOutput,
|
|
195
|
+
'DisableSharingWithOrganizationCommand'
|
|
196
|
+
> {
|
|
197
|
+
static readonly metaPath = '/DisableSharingWithOrganization/2024-01-01/resource_share/get/text_plain/';
|
|
198
|
+
|
|
199
|
+
constructor(input: DisableSharingWithOrganizationRequest) {
|
|
200
|
+
super(input);
|
|
201
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DisableSharingWithOrganizationCommand.metaPath);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Command to DisassociateResourceShare
|
|
206
|
+
*/
|
|
207
|
+
export class DisassociateResourceShareCommand extends Command<
|
|
208
|
+
DisassociateResourceShareRequest,
|
|
209
|
+
DisassociateResourceShareCommandOutput,
|
|
210
|
+
'DisassociateResourceShareCommand'
|
|
211
|
+
> {
|
|
212
|
+
static readonly metaPath = '/DisassociateResourceShare/2024-01-01/resource_share/get/text_plain/';
|
|
213
|
+
|
|
214
|
+
constructor(input: DisassociateResourceShareRequest) {
|
|
215
|
+
super(input);
|
|
216
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DisassociateResourceShareCommand.metaPath);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Command to EnableSharingWithOrganization
|
|
221
|
+
*/
|
|
222
|
+
export class EnableSharingWithOrganizationCommand extends Command<
|
|
223
|
+
EnableSharingWithOrganizationRequest,
|
|
224
|
+
EnableSharingWithOrganizationCommandOutput,
|
|
225
|
+
'EnableSharingWithOrganizationCommand'
|
|
226
|
+
> {
|
|
227
|
+
static readonly metaPath = '/EnableSharingWithOrganization/2024-01-01/resource_share/get/text_plain/';
|
|
228
|
+
|
|
229
|
+
constructor(input: EnableSharingWithOrganizationRequest) {
|
|
230
|
+
super(input);
|
|
231
|
+
this.requestConfig = buildRequestConfigFromMetaPath(EnableSharingWithOrganizationCommand.metaPath);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Command to GetPermission
|
|
236
|
+
*/
|
|
237
|
+
export class GetPermissionCommand extends Command<
|
|
238
|
+
GetPermissionRequest,
|
|
239
|
+
GetPermissionCommandOutput,
|
|
240
|
+
'GetPermissionCommand'
|
|
241
|
+
> {
|
|
242
|
+
static readonly metaPath = '/GetPermission/2024-01-01/resource_share/get/text_plain/';
|
|
243
|
+
|
|
244
|
+
constructor(input: GetPermissionRequest) {
|
|
245
|
+
super(input);
|
|
246
|
+
this.requestConfig = buildRequestConfigFromMetaPath(GetPermissionCommand.metaPath);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Command to ListPermissions
|
|
251
|
+
*/
|
|
252
|
+
export class ListPermissionsCommand extends Command<
|
|
253
|
+
ListPermissionsRequest,
|
|
254
|
+
ListPermissionsCommandOutput,
|
|
255
|
+
'ListPermissionsCommand'
|
|
256
|
+
> {
|
|
257
|
+
static readonly metaPath = '/ListPermissions/2024-01-01/resource_share/get/text_plain/';
|
|
258
|
+
|
|
259
|
+
constructor(input: ListPermissionsRequest) {
|
|
260
|
+
super(input);
|
|
261
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListPermissionsCommand.metaPath);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Command to ListPrincipals
|
|
266
|
+
*/
|
|
267
|
+
export class ListPrincipalsCommand extends Command<
|
|
268
|
+
ListPrincipalsRequest,
|
|
269
|
+
ListPrincipalsCommandOutput,
|
|
270
|
+
'ListPrincipalsCommand'
|
|
271
|
+
> {
|
|
272
|
+
static readonly metaPath = '/ListPrincipals/2024-01-01/resource_share/get/text_plain/';
|
|
273
|
+
|
|
274
|
+
constructor(input: ListPrincipalsRequest) {
|
|
275
|
+
super(input);
|
|
276
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListPrincipalsCommand.metaPath);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Command to ListResourceShareAssociations
|
|
281
|
+
*/
|
|
282
|
+
export class ListResourceShareAssociationsCommand extends Command<
|
|
283
|
+
ListResourceShareAssociationsRequest,
|
|
284
|
+
ListResourceShareAssociationsCommandOutput,
|
|
285
|
+
'ListResourceShareAssociationsCommand'
|
|
286
|
+
> {
|
|
287
|
+
static readonly metaPath = '/ListResourceShareAssociations/2024-01-01/resource_share/get/text_plain/';
|
|
288
|
+
|
|
289
|
+
constructor(input: ListResourceShareAssociationsRequest) {
|
|
290
|
+
super(input);
|
|
291
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListResourceShareAssociationsCommand.metaPath);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Command to ListResourceSharePermissions
|
|
296
|
+
*/
|
|
297
|
+
export class ListResourceSharePermissionsCommand extends Command<
|
|
298
|
+
ListResourceSharePermissionsRequest,
|
|
299
|
+
ListResourceSharePermissionsCommandOutput,
|
|
300
|
+
'ListResourceSharePermissionsCommand'
|
|
301
|
+
> {
|
|
302
|
+
static readonly metaPath = '/ListResourceSharePermissions/2024-01-01/resource_share/get/text_plain/';
|
|
303
|
+
|
|
304
|
+
constructor(input: ListResourceSharePermissionsRequest) {
|
|
305
|
+
super(input);
|
|
306
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListResourceSharePermissionsCommand.metaPath);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Command to ListResourceTypes
|
|
311
|
+
*/
|
|
312
|
+
export class ListResourceTypesCommand extends Command<
|
|
313
|
+
ListResourceTypesRequest,
|
|
314
|
+
ListResourceTypesCommandOutput,
|
|
315
|
+
'ListResourceTypesCommand'
|
|
316
|
+
> {
|
|
317
|
+
static readonly metaPath = '/ListResourceTypes/2024-01-01/resource_share/get/text_plain/';
|
|
318
|
+
|
|
319
|
+
constructor(input: ListResourceTypesRequest) {
|
|
320
|
+
super(input);
|
|
321
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListResourceTypesCommand.metaPath);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Command to ListResources
|
|
326
|
+
*/
|
|
327
|
+
export class ListResourcesCommand extends Command<
|
|
328
|
+
ListResourcesRequest,
|
|
329
|
+
ListResourcesCommandOutput,
|
|
330
|
+
'ListResourcesCommand'
|
|
331
|
+
> {
|
|
332
|
+
static readonly metaPath = '/ListResources/2024-01-01/resource_share/get/text_plain/';
|
|
333
|
+
|
|
334
|
+
constructor(input: ListResourcesRequest) {
|
|
335
|
+
super(input);
|
|
336
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListResourcesCommand.metaPath);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Command to ListTagsForResources
|
|
341
|
+
*/
|
|
342
|
+
export class ListTagsForResourcesCommand extends Command<
|
|
343
|
+
ListTagsForResourcesRequest,
|
|
344
|
+
ListTagsForResourcesCommandOutput,
|
|
345
|
+
'ListTagsForResourcesCommand'
|
|
346
|
+
> {
|
|
347
|
+
static readonly metaPath = '/ListTagsForResources/2024-01-01/resource_share/get/text_plain/';
|
|
348
|
+
|
|
349
|
+
constructor(input: ListTagsForResourcesRequest) {
|
|
350
|
+
super(input);
|
|
351
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListTagsForResourcesCommand.metaPath);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Command to RejectResourceShareInvitation
|
|
356
|
+
*/
|
|
357
|
+
export class RejectResourceShareInvitationCommand extends Command<
|
|
358
|
+
RejectResourceShareInvitationRequest,
|
|
359
|
+
RejectResourceShareInvitationCommandOutput,
|
|
360
|
+
'RejectResourceShareInvitationCommand'
|
|
361
|
+
> {
|
|
362
|
+
static readonly metaPath = '/RejectResourceShareInvitation/2024-01-01/resource_share/get/text_plain/';
|
|
363
|
+
|
|
364
|
+
constructor(input: RejectResourceShareInvitationRequest) {
|
|
365
|
+
super(input);
|
|
366
|
+
this.requestConfig = buildRequestConfigFromMetaPath(RejectResourceShareInvitationCommand.metaPath);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Command to TagResources
|
|
371
|
+
*/
|
|
372
|
+
export class TagResourcesCommand extends Command<
|
|
373
|
+
TagResourcesRequest,
|
|
374
|
+
TagResourcesCommandOutput,
|
|
375
|
+
'TagResourcesCommand'
|
|
376
|
+
> {
|
|
377
|
+
static readonly metaPath = '/TagResources/2024-01-01/resource_share/get/text_plain/';
|
|
378
|
+
|
|
379
|
+
constructor(input: TagResourcesRequest) {
|
|
380
|
+
super(input);
|
|
381
|
+
this.requestConfig = buildRequestConfigFromMetaPath(TagResourcesCommand.metaPath);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Command to UntagResources
|
|
386
|
+
*/
|
|
387
|
+
export class UntagResourcesCommand extends Command<
|
|
388
|
+
UntagResourcesRequest,
|
|
389
|
+
UntagResourcesCommandOutput,
|
|
390
|
+
'UntagResourcesCommand'
|
|
391
|
+
> {
|
|
392
|
+
static readonly metaPath = '/UntagResources/2024-01-01/resource_share/get/text_plain/';
|
|
393
|
+
|
|
394
|
+
constructor(input: UntagResourcesRequest) {
|
|
395
|
+
super(input);
|
|
396
|
+
this.requestConfig = buildRequestConfigFromMetaPath(UntagResourcesCommand.metaPath);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Command to UpdateResourceShare
|
|
401
|
+
*/
|
|
402
|
+
export class UpdateResourceShareCommand extends Command<
|
|
403
|
+
UpdateResourceShareRequest,
|
|
404
|
+
UpdateResourceShareCommandOutput,
|
|
405
|
+
'UpdateResourceShareCommand'
|
|
406
|
+
> {
|
|
407
|
+
static readonly metaPath = '/UpdateResourceShare/2024-01-01/resource_share/get/text_plain/';
|
|
408
|
+
|
|
409
|
+
constructor(input: UpdateResourceShareRequest) {
|
|
410
|
+
super(input);
|
|
411
|
+
this.requestConfig = buildRequestConfigFromMetaPath(UpdateResourceShareCommand.metaPath);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export default {
|
|
416
|
+
RESOURCESHAREClient,
|
|
417
|
+
AcceptResourceShareInvitationCommand,
|
|
418
|
+
AssociateResourceShareCommand,
|
|
419
|
+
CreateResourceShareCommand,
|
|
420
|
+
DeleteResourceShareCommand,
|
|
421
|
+
DescribeResourceShareInvitationsCommand,
|
|
422
|
+
DescribeResourceSharesCommand,
|
|
423
|
+
DisableSharingWithOrganizationCommand,
|
|
424
|
+
DisassociateResourceShareCommand,
|
|
425
|
+
EnableSharingWithOrganizationCommand,
|
|
426
|
+
GetPermissionCommand,
|
|
427
|
+
ListPermissionsCommand,
|
|
428
|
+
ListPrincipalsCommand,
|
|
429
|
+
ListResourceShareAssociationsCommand,
|
|
430
|
+
ListResourceSharePermissionsCommand,
|
|
431
|
+
ListResourceTypesCommand,
|
|
432
|
+
ListResourcesCommand,
|
|
433
|
+
ListTagsForResourcesCommand,
|
|
434
|
+
RejectResourceShareInvitationCommand,
|
|
435
|
+
TagResourcesCommand,
|
|
436
|
+
UntagResourcesCommand,
|
|
437
|
+
UpdateResourceShareCommand,
|
|
438
|
+
};
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// tslint:disable
|
|
2
|
+
/**
|
|
3
|
+
* resource_share
|
|
4
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI spec version: common-version
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export * from "./api";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* resource_share
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AcceptResourceShareInvitationRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface AcceptResourceShareInvitationRequest {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AcceptResourceShareInvitationRequest
|
|
26
|
+
*/
|
|
27
|
+
ResourceShareInvitationTrn: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* resource_share
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AcceptResourceShareInvitationResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface AcceptResourceShareInvitationResponse {
|
|
22
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* resource_share
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AssociateResourceShareRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface AssociateResourceShareRequest {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AssociateResourceShareRequest
|
|
26
|
+
*/
|
|
27
|
+
Principals?: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AssociateResourceShareRequest
|
|
32
|
+
*/
|
|
33
|
+
ResourceShareTrn: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AssociateResourceShareRequest
|
|
38
|
+
*/
|
|
39
|
+
ResourceTrns?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* resource_share
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AssociateResourceShareResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface AssociateResourceShareResponse {
|
|
22
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* resource_share
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AssociationForListResourceShareAssociationsOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface AssociationForListResourceShareAssociationsOutput {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
26
|
+
*/
|
|
27
|
+
AssociateTime?: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
32
|
+
*/
|
|
33
|
+
AssociationEntity?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
38
|
+
*/
|
|
39
|
+
AssociationType?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
44
|
+
*/
|
|
45
|
+
External?: boolean;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
50
|
+
*/
|
|
51
|
+
ResourceShareId?: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
56
|
+
*/
|
|
57
|
+
ResourceShareName?: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
62
|
+
*/
|
|
63
|
+
ResourceShareTrn?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof AssociationForListResourceShareAssociationsOutput
|
|
68
|
+
*/
|
|
69
|
+
Status?: string;
|
|
70
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* resource_share
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { TagForCreateResourceShareInput } from './tag-for-create-resource-share-input';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateResourceShareRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateResourceShareRequest {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateResourceShareRequest
|
|
27
|
+
*/
|
|
28
|
+
AllowShareType?: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateResourceShareRequest
|
|
33
|
+
*/
|
|
34
|
+
Name: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateResourceShareRequest
|
|
39
|
+
*/
|
|
40
|
+
Principals?: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateResourceShareRequest
|
|
45
|
+
*/
|
|
46
|
+
ResourceTrns?: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @type {Array<TagForCreateResourceShareInput>}
|
|
50
|
+
* @memberof CreateResourceShareRequest
|
|
51
|
+
*/
|
|
52
|
+
Tags?: Array<TagForCreateResourceShareInput>;
|
|
53
|
+
}
|