aws-sdk-detective 1.24.0 → 1.41.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +88 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-detective/client.rb +479 -42
- data/lib/aws-sdk-detective/client_api.rb +298 -4
- data/lib/aws-sdk-detective/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-detective/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-detective/endpoints.rb +352 -0
- data/lib/aws-sdk-detective/errors.rb +67 -0
- data/lib/aws-sdk-detective/plugins/endpoints.rb +116 -0
- data/lib/aws-sdk-detective/types.rb +533 -201
- data/lib/aws-sdk-detective.rb +5 -1
- metadata +8 -4
|
@@ -14,10 +14,18 @@ module Aws::Detective
|
|
|
14
14
|
include Seahorse::Model
|
|
15
15
|
|
|
16
16
|
AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
|
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
17
18
|
Account = Shapes::StructureShape.new(name: 'Account')
|
|
18
19
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
20
|
+
AccountIdExtendedList = Shapes::ListShape.new(name: 'AccountIdExtendedList')
|
|
19
21
|
AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
|
|
20
22
|
AccountList = Shapes::ListShape.new(name: 'AccountList')
|
|
23
|
+
Administrator = Shapes::StructureShape.new(name: 'Administrator')
|
|
24
|
+
AdministratorList = Shapes::ListShape.new(name: 'AdministratorList')
|
|
25
|
+
BatchGetGraphMemberDatasourcesRequest = Shapes::StructureShape.new(name: 'BatchGetGraphMemberDatasourcesRequest')
|
|
26
|
+
BatchGetGraphMemberDatasourcesResponse = Shapes::StructureShape.new(name: 'BatchGetGraphMemberDatasourcesResponse')
|
|
27
|
+
BatchGetMembershipDatasourcesRequest = Shapes::StructureShape.new(name: 'BatchGetMembershipDatasourcesRequest')
|
|
28
|
+
BatchGetMembershipDatasourcesResponse = Shapes::StructureShape.new(name: 'BatchGetMembershipDatasourcesResponse')
|
|
21
29
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
22
30
|
ByteValue = Shapes::IntegerShape.new(name: 'ByteValue')
|
|
23
31
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
@@ -25,25 +33,45 @@ module Aws::Detective
|
|
|
25
33
|
CreateGraphResponse = Shapes::StructureShape.new(name: 'CreateGraphResponse')
|
|
26
34
|
CreateMembersRequest = Shapes::StructureShape.new(name: 'CreateMembersRequest')
|
|
27
35
|
CreateMembersResponse = Shapes::StructureShape.new(name: 'CreateMembersResponse')
|
|
36
|
+
DatasourcePackage = Shapes::StringShape.new(name: 'DatasourcePackage')
|
|
37
|
+
DatasourcePackageIngestDetail = Shapes::StructureShape.new(name: 'DatasourcePackageIngestDetail')
|
|
38
|
+
DatasourcePackageIngestDetails = Shapes::MapShape.new(name: 'DatasourcePackageIngestDetails')
|
|
39
|
+
DatasourcePackageIngestHistory = Shapes::MapShape.new(name: 'DatasourcePackageIngestHistory')
|
|
40
|
+
DatasourcePackageIngestState = Shapes::StringShape.new(name: 'DatasourcePackageIngestState')
|
|
41
|
+
DatasourcePackageIngestStates = Shapes::MapShape.new(name: 'DatasourcePackageIngestStates')
|
|
42
|
+
DatasourcePackageList = Shapes::ListShape.new(name: 'DatasourcePackageList')
|
|
43
|
+
DatasourcePackageUsageInfo = Shapes::StructureShape.new(name: 'DatasourcePackageUsageInfo')
|
|
28
44
|
DeleteGraphRequest = Shapes::StructureShape.new(name: 'DeleteGraphRequest')
|
|
29
45
|
DeleteMembersRequest = Shapes::StructureShape.new(name: 'DeleteMembersRequest')
|
|
30
46
|
DeleteMembersResponse = Shapes::StructureShape.new(name: 'DeleteMembersResponse')
|
|
47
|
+
DescribeOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationRequest')
|
|
48
|
+
DescribeOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationResponse')
|
|
31
49
|
DisassociateMembershipRequest = Shapes::StructureShape.new(name: 'DisassociateMembershipRequest')
|
|
32
50
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
|
33
51
|
EmailMessage = Shapes::StringShape.new(name: 'EmailMessage')
|
|
52
|
+
EnableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'EnableOrganizationAdminAccountRequest')
|
|
53
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
|
54
|
+
ErrorCodeReason = Shapes::StringShape.new(name: 'ErrorCodeReason')
|
|
34
55
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
|
35
56
|
GetMembersRequest = Shapes::StructureShape.new(name: 'GetMembersRequest')
|
|
36
57
|
GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
|
|
37
58
|
Graph = Shapes::StructureShape.new(name: 'Graph')
|
|
38
59
|
GraphArn = Shapes::StringShape.new(name: 'GraphArn')
|
|
60
|
+
GraphArnList = Shapes::ListShape.new(name: 'GraphArnList')
|
|
39
61
|
GraphList = Shapes::ListShape.new(name: 'GraphList')
|
|
40
62
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
63
|
+
InvitationType = Shapes::StringShape.new(name: 'InvitationType')
|
|
64
|
+
LastIngestStateChangeDates = Shapes::MapShape.new(name: 'LastIngestStateChangeDates')
|
|
65
|
+
ListDatasourcePackagesRequest = Shapes::StructureShape.new(name: 'ListDatasourcePackagesRequest')
|
|
66
|
+
ListDatasourcePackagesResponse = Shapes::StructureShape.new(name: 'ListDatasourcePackagesResponse')
|
|
41
67
|
ListGraphsRequest = Shapes::StructureShape.new(name: 'ListGraphsRequest')
|
|
42
68
|
ListGraphsResponse = Shapes::StructureShape.new(name: 'ListGraphsResponse')
|
|
43
69
|
ListInvitationsRequest = Shapes::StructureShape.new(name: 'ListInvitationsRequest')
|
|
44
70
|
ListInvitationsResponse = Shapes::StructureShape.new(name: 'ListInvitationsResponse')
|
|
45
71
|
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
|
46
72
|
ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
|
|
73
|
+
ListOrganizationAdminAccountsRequest = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsRequest')
|
|
74
|
+
ListOrganizationAdminAccountsResponse = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsResponse')
|
|
47
75
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
48
76
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
49
77
|
MemberDetail = Shapes::StructureShape.new(name: 'MemberDetail')
|
|
@@ -51,9 +79,13 @@ module Aws::Detective
|
|
|
51
79
|
MemberDisabledReason = Shapes::StringShape.new(name: 'MemberDisabledReason')
|
|
52
80
|
MemberResultsLimit = Shapes::IntegerShape.new(name: 'MemberResultsLimit')
|
|
53
81
|
MemberStatus = Shapes::StringShape.new(name: 'MemberStatus')
|
|
82
|
+
MembershipDatasources = Shapes::StructureShape.new(name: 'MembershipDatasources')
|
|
83
|
+
MembershipDatasourcesList = Shapes::ListShape.new(name: 'MembershipDatasourcesList')
|
|
54
84
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
|
55
85
|
Percentage = Shapes::FloatShape.new(name: 'Percentage')
|
|
56
86
|
RejectInvitationRequest = Shapes::StructureShape.new(name: 'RejectInvitationRequest')
|
|
87
|
+
Resource = Shapes::StringShape.new(name: 'Resource')
|
|
88
|
+
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
|
57
89
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
58
90
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
59
91
|
StartMonitoringMemberRequest = Shapes::StructureShape.new(name: 'StartMonitoringMemberRequest')
|
|
@@ -64,24 +96,62 @@ module Aws::Detective
|
|
|
64
96
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
65
97
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
66
98
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
|
99
|
+
TimestampForCollection = Shapes::StructureShape.new(name: 'TimestampForCollection')
|
|
100
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
|
67
101
|
UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
|
|
68
102
|
UnprocessedAccountList = Shapes::ListShape.new(name: 'UnprocessedAccountList')
|
|
103
|
+
UnprocessedGraph = Shapes::StructureShape.new(name: 'UnprocessedGraph')
|
|
104
|
+
UnprocessedGraphList = Shapes::ListShape.new(name: 'UnprocessedGraphList')
|
|
69
105
|
UnprocessedReason = Shapes::StringShape.new(name: 'UnprocessedReason')
|
|
70
106
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
71
107
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
108
|
+
UpdateDatasourcePackagesRequest = Shapes::StructureShape.new(name: 'UpdateDatasourcePackagesRequest')
|
|
109
|
+
UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
|
|
72
110
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
111
|
+
VolumeUsageByDatasourcePackage = Shapes::MapShape.new(name: 'VolumeUsageByDatasourcePackage')
|
|
73
112
|
|
|
74
113
|
AcceptInvitationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
75
114
|
AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
|
|
76
115
|
|
|
116
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
117
|
+
AccessDeniedException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
|
118
|
+
AccessDeniedException.add_member(:error_code_reason, Shapes::ShapeRef.new(shape: ErrorCodeReason, location_name: "ErrorCodeReason"))
|
|
119
|
+
AccessDeniedException.add_member(:sub_error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "SubErrorCode"))
|
|
120
|
+
AccessDeniedException.add_member(:sub_error_code_reason, Shapes::ShapeRef.new(shape: ErrorCodeReason, location_name: "SubErrorCodeReason"))
|
|
121
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
122
|
+
|
|
77
123
|
Account.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
|
78
124
|
Account.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
|
|
79
125
|
Account.struct_class = Types::Account
|
|
80
126
|
|
|
127
|
+
AccountIdExtendedList.member = Shapes::ShapeRef.new(shape: AccountId)
|
|
128
|
+
|
|
81
129
|
AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
|
|
82
130
|
|
|
83
131
|
AccountList.member = Shapes::ShapeRef.new(shape: Account)
|
|
84
132
|
|
|
133
|
+
Administrator.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
134
|
+
Administrator.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
|
|
135
|
+
Administrator.add_member(:delegation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DelegationTime"))
|
|
136
|
+
Administrator.struct_class = Types::Administrator
|
|
137
|
+
|
|
138
|
+
AdministratorList.member = Shapes::ShapeRef.new(shape: Administrator)
|
|
139
|
+
|
|
140
|
+
BatchGetGraphMemberDatasourcesRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
141
|
+
BatchGetGraphMemberDatasourcesRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdExtendedList, required: true, location_name: "AccountIds"))
|
|
142
|
+
BatchGetGraphMemberDatasourcesRequest.struct_class = Types::BatchGetGraphMemberDatasourcesRequest
|
|
143
|
+
|
|
144
|
+
BatchGetGraphMemberDatasourcesResponse.add_member(:member_datasources, Shapes::ShapeRef.new(shape: MembershipDatasourcesList, location_name: "MemberDatasources"))
|
|
145
|
+
BatchGetGraphMemberDatasourcesResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccountList, location_name: "UnprocessedAccounts"))
|
|
146
|
+
BatchGetGraphMemberDatasourcesResponse.struct_class = Types::BatchGetGraphMemberDatasourcesResponse
|
|
147
|
+
|
|
148
|
+
BatchGetMembershipDatasourcesRequest.add_member(:graph_arns, Shapes::ShapeRef.new(shape: GraphArnList, required: true, location_name: "GraphArns"))
|
|
149
|
+
BatchGetMembershipDatasourcesRequest.struct_class = Types::BatchGetMembershipDatasourcesRequest
|
|
150
|
+
|
|
151
|
+
BatchGetMembershipDatasourcesResponse.add_member(:membership_datasources, Shapes::ShapeRef.new(shape: MembershipDatasourcesList, location_name: "MembershipDatasources"))
|
|
152
|
+
BatchGetMembershipDatasourcesResponse.add_member(:unprocessed_graphs, Shapes::ShapeRef.new(shape: UnprocessedGraphList, location_name: "UnprocessedGraphs"))
|
|
153
|
+
BatchGetMembershipDatasourcesResponse.struct_class = Types::BatchGetMembershipDatasourcesResponse
|
|
154
|
+
|
|
85
155
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
86
156
|
ConflictException.struct_class = Types::ConflictException
|
|
87
157
|
|
|
@@ -101,6 +171,25 @@ module Aws::Detective
|
|
|
101
171
|
CreateMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccountList, location_name: "UnprocessedAccounts"))
|
|
102
172
|
CreateMembersResponse.struct_class = Types::CreateMembersResponse
|
|
103
173
|
|
|
174
|
+
DatasourcePackageIngestDetail.add_member(:datasource_package_ingest_state, Shapes::ShapeRef.new(shape: DatasourcePackageIngestState, location_name: "DatasourcePackageIngestState"))
|
|
175
|
+
DatasourcePackageIngestDetail.add_member(:last_ingest_state_change, Shapes::ShapeRef.new(shape: LastIngestStateChangeDates, location_name: "LastIngestStateChange"))
|
|
176
|
+
DatasourcePackageIngestDetail.struct_class = Types::DatasourcePackageIngestDetail
|
|
177
|
+
|
|
178
|
+
DatasourcePackageIngestDetails.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
|
|
179
|
+
DatasourcePackageIngestDetails.value = Shapes::ShapeRef.new(shape: DatasourcePackageIngestDetail)
|
|
180
|
+
|
|
181
|
+
DatasourcePackageIngestHistory.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
|
|
182
|
+
DatasourcePackageIngestHistory.value = Shapes::ShapeRef.new(shape: LastIngestStateChangeDates)
|
|
183
|
+
|
|
184
|
+
DatasourcePackageIngestStates.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
|
|
185
|
+
DatasourcePackageIngestStates.value = Shapes::ShapeRef.new(shape: DatasourcePackageIngestState)
|
|
186
|
+
|
|
187
|
+
DatasourcePackageList.member = Shapes::ShapeRef.new(shape: DatasourcePackage)
|
|
188
|
+
|
|
189
|
+
DatasourcePackageUsageInfo.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, location_name: "VolumeUsageInBytes"))
|
|
190
|
+
DatasourcePackageUsageInfo.add_member(:volume_usage_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "VolumeUsageUpdateTime"))
|
|
191
|
+
DatasourcePackageUsageInfo.struct_class = Types::DatasourcePackageUsageInfo
|
|
192
|
+
|
|
104
193
|
DeleteGraphRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
105
194
|
DeleteGraphRequest.struct_class = Types::DeleteGraphRequest
|
|
106
195
|
|
|
@@ -112,9 +201,18 @@ module Aws::Detective
|
|
|
112
201
|
DeleteMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccountList, location_name: "UnprocessedAccounts"))
|
|
113
202
|
DeleteMembersResponse.struct_class = Types::DeleteMembersResponse
|
|
114
203
|
|
|
204
|
+
DescribeOrganizationConfigurationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
205
|
+
DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
|
|
206
|
+
|
|
207
|
+
DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoEnable"))
|
|
208
|
+
DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse
|
|
209
|
+
|
|
115
210
|
DisassociateMembershipRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
116
211
|
DisassociateMembershipRequest.struct_class = Types::DisassociateMembershipRequest
|
|
117
212
|
|
|
213
|
+
EnableOrganizationAdminAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
|
|
214
|
+
EnableOrganizationAdminAccountRequest.struct_class = Types::EnableOrganizationAdminAccountRequest
|
|
215
|
+
|
|
118
216
|
GetMembersRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
119
217
|
GetMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, required: true, location_name: "AccountIds"))
|
|
120
218
|
GetMembersRequest.struct_class = Types::GetMembersRequest
|
|
@@ -127,11 +225,25 @@ module Aws::Detective
|
|
|
127
225
|
Graph.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
|
|
128
226
|
Graph.struct_class = Types::Graph
|
|
129
227
|
|
|
228
|
+
GraphArnList.member = Shapes::ShapeRef.new(shape: GraphArn)
|
|
229
|
+
|
|
130
230
|
GraphList.member = Shapes::ShapeRef.new(shape: Graph)
|
|
131
231
|
|
|
132
232
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
133
233
|
InternalServerException.struct_class = Types::InternalServerException
|
|
134
234
|
|
|
235
|
+
LastIngestStateChangeDates.key = Shapes::ShapeRef.new(shape: DatasourcePackageIngestState)
|
|
236
|
+
LastIngestStateChangeDates.value = Shapes::ShapeRef.new(shape: TimestampForCollection)
|
|
237
|
+
|
|
238
|
+
ListDatasourcePackagesRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
239
|
+
ListDatasourcePackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
240
|
+
ListDatasourcePackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MemberResultsLimit, location_name: "MaxResults"))
|
|
241
|
+
ListDatasourcePackagesRequest.struct_class = Types::ListDatasourcePackagesRequest
|
|
242
|
+
|
|
243
|
+
ListDatasourcePackagesResponse.add_member(:datasource_packages, Shapes::ShapeRef.new(shape: DatasourcePackageIngestDetails, location_name: "DatasourcePackages"))
|
|
244
|
+
ListDatasourcePackagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
245
|
+
ListDatasourcePackagesResponse.struct_class = Types::ListDatasourcePackagesResponse
|
|
246
|
+
|
|
135
247
|
ListGraphsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
136
248
|
ListGraphsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MemberResultsLimit, location_name: "MaxResults"))
|
|
137
249
|
ListGraphsRequest.struct_class = Types::ListGraphsRequest
|
|
@@ -157,6 +269,14 @@ module Aws::Detective
|
|
|
157
269
|
ListMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
158
270
|
ListMembersResponse.struct_class = Types::ListMembersResponse
|
|
159
271
|
|
|
272
|
+
ListOrganizationAdminAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
273
|
+
ListOrganizationAdminAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MemberResultsLimit, location_name: "MaxResults"))
|
|
274
|
+
ListOrganizationAdminAccountsRequest.struct_class = Types::ListOrganizationAdminAccountsRequest
|
|
275
|
+
|
|
276
|
+
ListOrganizationAdminAccountsResponse.add_member(:administrators, Shapes::ShapeRef.new(shape: AdministratorList, location_name: "Administrators"))
|
|
277
|
+
ListOrganizationAdminAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
278
|
+
ListOrganizationAdminAccountsResponse.struct_class = Types::ListOrganizationAdminAccountsResponse
|
|
279
|
+
|
|
160
280
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location: "uri", location_name: "ResourceArn"))
|
|
161
281
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
162
282
|
|
|
@@ -172,21 +292,34 @@ module Aws::Detective
|
|
|
172
292
|
MemberDetail.add_member(:disabled_reason, Shapes::ShapeRef.new(shape: MemberDisabledReason, location_name: "DisabledReason"))
|
|
173
293
|
MemberDetail.add_member(:invited_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvitedTime"))
|
|
174
294
|
MemberDetail.add_member(:updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedTime"))
|
|
175
|
-
MemberDetail.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, location_name: "VolumeUsageInBytes"))
|
|
176
|
-
MemberDetail.add_member(:volume_usage_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "VolumeUsageUpdatedTime"))
|
|
177
|
-
MemberDetail.add_member(:percent_of_graph_utilization, Shapes::ShapeRef.new(shape: Percentage, deprecated: true, location_name: "PercentOfGraphUtilization", metadata: {"deprecatedMessage"=>"This property is deprecated. Use
|
|
178
|
-
MemberDetail.add_member(:percent_of_graph_utilization_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "PercentOfGraphUtilizationUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use
|
|
295
|
+
MemberDetail.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, deprecated: true, location_name: "VolumeUsageInBytes", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
|
|
296
|
+
MemberDetail.add_member(:volume_usage_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "VolumeUsageUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
|
|
297
|
+
MemberDetail.add_member(:percent_of_graph_utilization, Shapes::ShapeRef.new(shape: Percentage, deprecated: true, location_name: "PercentOfGraphUtilization", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
|
|
298
|
+
MemberDetail.add_member(:percent_of_graph_utilization_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "PercentOfGraphUtilizationUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
|
|
299
|
+
MemberDetail.add_member(:invitation_type, Shapes::ShapeRef.new(shape: InvitationType, location_name: "InvitationType"))
|
|
300
|
+
MemberDetail.add_member(:volume_usage_by_datasource_package, Shapes::ShapeRef.new(shape: VolumeUsageByDatasourcePackage, location_name: "VolumeUsageByDatasourcePackage"))
|
|
301
|
+
MemberDetail.add_member(:datasource_package_ingest_states, Shapes::ShapeRef.new(shape: DatasourcePackageIngestStates, location_name: "DatasourcePackageIngestStates"))
|
|
179
302
|
MemberDetail.struct_class = Types::MemberDetail
|
|
180
303
|
|
|
181
304
|
MemberDetailList.member = Shapes::ShapeRef.new(shape: MemberDetail)
|
|
182
305
|
|
|
306
|
+
MembershipDatasources.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
307
|
+
MembershipDatasources.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
|
|
308
|
+
MembershipDatasources.add_member(:datasource_package_ingest_history, Shapes::ShapeRef.new(shape: DatasourcePackageIngestHistory, location_name: "DatasourcePackageIngestHistory"))
|
|
309
|
+
MembershipDatasources.struct_class = Types::MembershipDatasources
|
|
310
|
+
|
|
311
|
+
MembershipDatasourcesList.member = Shapes::ShapeRef.new(shape: MembershipDatasources)
|
|
312
|
+
|
|
183
313
|
RejectInvitationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
184
314
|
RejectInvitationRequest.struct_class = Types::RejectInvitationRequest
|
|
185
315
|
|
|
316
|
+
ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
|
|
317
|
+
|
|
186
318
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
187
319
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
188
320
|
|
|
189
321
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
322
|
+
ServiceQuotaExceededException.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "Resources"))
|
|
190
323
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
191
324
|
|
|
192
325
|
StartMonitoringMemberRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
@@ -204,21 +337,46 @@ module Aws::Detective
|
|
|
204
337
|
|
|
205
338
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
|
206
339
|
|
|
340
|
+
TimestampForCollection.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
|
341
|
+
TimestampForCollection.struct_class = Types::TimestampForCollection
|
|
342
|
+
|
|
343
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
344
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
|
345
|
+
|
|
207
346
|
UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
208
347
|
UnprocessedAccount.add_member(:reason, Shapes::ShapeRef.new(shape: UnprocessedReason, location_name: "Reason"))
|
|
209
348
|
UnprocessedAccount.struct_class = Types::UnprocessedAccount
|
|
210
349
|
|
|
211
350
|
UnprocessedAccountList.member = Shapes::ShapeRef.new(shape: UnprocessedAccount)
|
|
212
351
|
|
|
352
|
+
UnprocessedGraph.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
|
|
353
|
+
UnprocessedGraph.add_member(:reason, Shapes::ShapeRef.new(shape: UnprocessedReason, location_name: "Reason"))
|
|
354
|
+
UnprocessedGraph.struct_class = Types::UnprocessedGraph
|
|
355
|
+
|
|
356
|
+
UnprocessedGraphList.member = Shapes::ShapeRef.new(shape: UnprocessedGraph)
|
|
357
|
+
|
|
213
358
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location: "uri", location_name: "ResourceArn"))
|
|
214
359
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
|
215
360
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
216
361
|
|
|
217
362
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
|
218
363
|
|
|
364
|
+
UpdateDatasourcePackagesRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
365
|
+
UpdateDatasourcePackagesRequest.add_member(:datasource_packages, Shapes::ShapeRef.new(shape: DatasourcePackageList, required: true, location_name: "DatasourcePackages"))
|
|
366
|
+
UpdateDatasourcePackagesRequest.struct_class = Types::UpdateDatasourcePackagesRequest
|
|
367
|
+
|
|
368
|
+
UpdateOrganizationConfigurationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
|
|
369
|
+
UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoEnable"))
|
|
370
|
+
UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest
|
|
371
|
+
|
|
219
372
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
373
|
+
ValidationException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
|
374
|
+
ValidationException.add_member(:error_code_reason, Shapes::ShapeRef.new(shape: ErrorCodeReason, location_name: "ErrorCodeReason"))
|
|
220
375
|
ValidationException.struct_class = Types::ValidationException
|
|
221
376
|
|
|
377
|
+
VolumeUsageByDatasourcePackage.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
|
|
378
|
+
VolumeUsageByDatasourcePackage.value = Shapes::ShapeRef.new(shape: DatasourcePackageUsageInfo)
|
|
379
|
+
|
|
222
380
|
|
|
223
381
|
# @api private
|
|
224
382
|
API = Seahorse::Model::Api.new.tap do |api|
|
|
@@ -243,18 +401,44 @@ module Aws::Detective
|
|
|
243
401
|
o.http_request_uri = "/invitation"
|
|
244
402
|
o.input = Shapes::ShapeRef.new(shape: AcceptInvitationRequest)
|
|
245
403
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
246
405
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
247
406
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
248
407
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
249
408
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
250
409
|
end)
|
|
251
410
|
|
|
411
|
+
api.add_operation(:batch_get_graph_member_datasources, Seahorse::Model::Operation.new.tap do |o|
|
|
412
|
+
o.name = "BatchGetGraphMemberDatasources"
|
|
413
|
+
o.http_method = "POST"
|
|
414
|
+
o.http_request_uri = "/graph/datasources/get"
|
|
415
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetGraphMemberDatasourcesRequest)
|
|
416
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetGraphMemberDatasourcesResponse)
|
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
421
|
+
end)
|
|
422
|
+
|
|
423
|
+
api.add_operation(:batch_get_membership_datasources, Seahorse::Model::Operation.new.tap do |o|
|
|
424
|
+
o.name = "BatchGetMembershipDatasources"
|
|
425
|
+
o.http_method = "POST"
|
|
426
|
+
o.http_request_uri = "/membership/datasources/get"
|
|
427
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetMembershipDatasourcesRequest)
|
|
428
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetMembershipDatasourcesResponse)
|
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
433
|
+
end)
|
|
434
|
+
|
|
252
435
|
api.add_operation(:create_graph, Seahorse::Model::Operation.new.tap do |o|
|
|
253
436
|
o.name = "CreateGraph"
|
|
254
437
|
o.http_method = "POST"
|
|
255
438
|
o.http_request_uri = "/graph"
|
|
256
439
|
o.input = Shapes::ShapeRef.new(shape: CreateGraphRequest)
|
|
257
440
|
o.output = Shapes::ShapeRef.new(shape: CreateGraphResponse)
|
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
258
442
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
259
443
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
260
444
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
@@ -266,6 +450,7 @@ module Aws::Detective
|
|
|
266
450
|
o.http_request_uri = "/graph/members"
|
|
267
451
|
o.input = Shapes::ShapeRef.new(shape: CreateMembersRequest)
|
|
268
452
|
o.output = Shapes::ShapeRef.new(shape: CreateMembersResponse)
|
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
269
454
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
270
455
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
271
456
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
@@ -278,6 +463,7 @@ module Aws::Detective
|
|
|
278
463
|
o.http_request_uri = "/graph/removal"
|
|
279
464
|
o.input = Shapes::ShapeRef.new(shape: DeleteGraphRequest)
|
|
280
465
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
281
467
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
282
468
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
283
469
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
@@ -289,41 +475,99 @@ module Aws::Detective
|
|
|
289
475
|
o.http_request_uri = "/graph/members/removal"
|
|
290
476
|
o.input = Shapes::ShapeRef.new(shape: DeleteMembersRequest)
|
|
291
477
|
o.output = Shapes::ShapeRef.new(shape: DeleteMembersResponse)
|
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
292
479
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
293
480
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
294
481
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
295
482
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
296
483
|
end)
|
|
297
484
|
|
|
485
|
+
api.add_operation(:describe_organization_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
486
|
+
o.name = "DescribeOrganizationConfiguration"
|
|
487
|
+
o.http_method = "POST"
|
|
488
|
+
o.http_request_uri = "/orgs/describeOrganizationConfiguration"
|
|
489
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeOrganizationConfigurationRequest)
|
|
490
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationConfigurationResponse)
|
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
495
|
+
end)
|
|
496
|
+
|
|
497
|
+
api.add_operation(:disable_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
|
|
498
|
+
o.name = "DisableOrganizationAdminAccount"
|
|
499
|
+
o.http_method = "POST"
|
|
500
|
+
o.http_request_uri = "/orgs/disableAdminAccount"
|
|
501
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
502
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
507
|
+
end)
|
|
508
|
+
|
|
298
509
|
api.add_operation(:disassociate_membership, Seahorse::Model::Operation.new.tap do |o|
|
|
299
510
|
o.name = "DisassociateMembership"
|
|
300
511
|
o.http_method = "POST"
|
|
301
512
|
o.http_request_uri = "/membership/removal"
|
|
302
513
|
o.input = Shapes::ShapeRef.new(shape: DisassociateMembershipRequest)
|
|
303
514
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
304
516
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
305
517
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
306
518
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
307
519
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
308
520
|
end)
|
|
309
521
|
|
|
522
|
+
api.add_operation(:enable_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
|
|
523
|
+
o.name = "EnableOrganizationAdminAccount"
|
|
524
|
+
o.http_method = "POST"
|
|
525
|
+
o.http_request_uri = "/orgs/enableAdminAccount"
|
|
526
|
+
o.input = Shapes::ShapeRef.new(shape: EnableOrganizationAdminAccountRequest)
|
|
527
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
532
|
+
end)
|
|
533
|
+
|
|
310
534
|
api.add_operation(:get_members, Seahorse::Model::Operation.new.tap do |o|
|
|
311
535
|
o.name = "GetMembers"
|
|
312
536
|
o.http_method = "POST"
|
|
313
537
|
o.http_request_uri = "/graph/members/get"
|
|
314
538
|
o.input = Shapes::ShapeRef.new(shape: GetMembersRequest)
|
|
315
539
|
o.output = Shapes::ShapeRef.new(shape: GetMembersResponse)
|
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
316
541
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
317
542
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
318
543
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
319
544
|
end)
|
|
320
545
|
|
|
546
|
+
api.add_operation(:list_datasource_packages, Seahorse::Model::Operation.new.tap do |o|
|
|
547
|
+
o.name = "ListDatasourcePackages"
|
|
548
|
+
o.http_method = "POST"
|
|
549
|
+
o.http_request_uri = "/graph/datasources/list"
|
|
550
|
+
o.input = Shapes::ShapeRef.new(shape: ListDatasourcePackagesRequest)
|
|
551
|
+
o.output = Shapes::ShapeRef.new(shape: ListDatasourcePackagesResponse)
|
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
556
|
+
o[:pager] = Aws::Pager.new(
|
|
557
|
+
limit_key: "max_results",
|
|
558
|
+
tokens: {
|
|
559
|
+
"next_token" => "next_token"
|
|
560
|
+
}
|
|
561
|
+
)
|
|
562
|
+
end)
|
|
563
|
+
|
|
321
564
|
api.add_operation(:list_graphs, Seahorse::Model::Operation.new.tap do |o|
|
|
322
565
|
o.name = "ListGraphs"
|
|
323
566
|
o.http_method = "POST"
|
|
324
567
|
o.http_request_uri = "/graphs/list"
|
|
325
568
|
o.input = Shapes::ShapeRef.new(shape: ListGraphsRequest)
|
|
326
569
|
o.output = Shapes::ShapeRef.new(shape: ListGraphsResponse)
|
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
327
571
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
328
572
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
329
573
|
o[:pager] = Aws::Pager.new(
|
|
@@ -340,6 +584,7 @@ module Aws::Detective
|
|
|
340
584
|
o.http_request_uri = "/invitations/list"
|
|
341
585
|
o.input = Shapes::ShapeRef.new(shape: ListInvitationsRequest)
|
|
342
586
|
o.output = Shapes::ShapeRef.new(shape: ListInvitationsResponse)
|
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
343
588
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
344
589
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
345
590
|
o[:pager] = Aws::Pager.new(
|
|
@@ -356,6 +601,7 @@ module Aws::Detective
|
|
|
356
601
|
o.http_request_uri = "/graph/members/list"
|
|
357
602
|
o.input = Shapes::ShapeRef.new(shape: ListMembersRequest)
|
|
358
603
|
o.output = Shapes::ShapeRef.new(shape: ListMembersResponse)
|
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
359
605
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
360
606
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
361
607
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
@@ -367,12 +613,31 @@ module Aws::Detective
|
|
|
367
613
|
)
|
|
368
614
|
end)
|
|
369
615
|
|
|
616
|
+
api.add_operation(:list_organization_admin_accounts, Seahorse::Model::Operation.new.tap do |o|
|
|
617
|
+
o.name = "ListOrganizationAdminAccounts"
|
|
618
|
+
o.http_method = "POST"
|
|
619
|
+
o.http_request_uri = "/orgs/adminAccountslist"
|
|
620
|
+
o.input = Shapes::ShapeRef.new(shape: ListOrganizationAdminAccountsRequest)
|
|
621
|
+
o.output = Shapes::ShapeRef.new(shape: ListOrganizationAdminAccountsResponse)
|
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
626
|
+
o[:pager] = Aws::Pager.new(
|
|
627
|
+
limit_key: "max_results",
|
|
628
|
+
tokens: {
|
|
629
|
+
"next_token" => "next_token"
|
|
630
|
+
}
|
|
631
|
+
)
|
|
632
|
+
end)
|
|
633
|
+
|
|
370
634
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
371
635
|
o.name = "ListTagsForResource"
|
|
372
636
|
o.http_method = "GET"
|
|
373
637
|
o.http_request_uri = "/tags/{ResourceArn}"
|
|
374
638
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
|
375
639
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
376
641
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
377
642
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
378
643
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
@@ -384,6 +649,7 @@ module Aws::Detective
|
|
|
384
649
|
o.http_request_uri = "/invitation/removal"
|
|
385
650
|
o.input = Shapes::ShapeRef.new(shape: RejectInvitationRequest)
|
|
386
651
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
387
653
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
388
654
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
389
655
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
@@ -396,6 +662,7 @@ module Aws::Detective
|
|
|
396
662
|
o.http_request_uri = "/graph/member/monitoringstate"
|
|
397
663
|
o.input = Shapes::ShapeRef.new(shape: StartMonitoringMemberRequest)
|
|
398
664
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
399
666
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
400
667
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
401
668
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
@@ -409,6 +676,7 @@ module Aws::Detective
|
|
|
409
676
|
o.http_request_uri = "/tags/{ResourceArn}"
|
|
410
677
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
|
411
678
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
412
680
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
413
681
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
414
682
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
@@ -420,10 +688,36 @@ module Aws::Detective
|
|
|
420
688
|
o.http_request_uri = "/tags/{ResourceArn}"
|
|
421
689
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
|
422
690
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
423
692
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
424
693
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
425
694
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
426
695
|
end)
|
|
696
|
+
|
|
697
|
+
api.add_operation(:update_datasource_packages, Seahorse::Model::Operation.new.tap do |o|
|
|
698
|
+
o.name = "UpdateDatasourcePackages"
|
|
699
|
+
o.http_method = "POST"
|
|
700
|
+
o.http_request_uri = "/graph/datasources/update"
|
|
701
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDatasourcePackagesRequest)
|
|
702
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
708
|
+
end)
|
|
709
|
+
|
|
710
|
+
api.add_operation(:update_organization_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
711
|
+
o.name = "UpdateOrganizationConfiguration"
|
|
712
|
+
o.http_method = "POST"
|
|
713
|
+
o.http_request_uri = "/orgs/updateOrganizationConfiguration"
|
|
714
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateOrganizationConfigurationRequest)
|
|
715
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
720
|
+
end)
|
|
427
721
|
end
|
|
428
722
|
|
|
429
723
|
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
module Aws::Detective
|
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
|
12
|
+
#
|
|
13
|
+
# @!attribute region
|
|
14
|
+
# The AWS region used to dispatch the request.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
#
|
|
18
|
+
# @!attribute use_dual_stack
|
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
|
+
#
|
|
21
|
+
# @return [Boolean]
|
|
22
|
+
#
|
|
23
|
+
# @!attribute use_fips
|
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
|
+
#
|
|
26
|
+
# @return [Boolean]
|
|
27
|
+
#
|
|
28
|
+
# @!attribute endpoint
|
|
29
|
+
# Override the endpoint used to send this request
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
#
|
|
33
|
+
EndpointParameters = Struct.new(
|
|
34
|
+
:region,
|
|
35
|
+
:use_dual_stack,
|
|
36
|
+
:use_fips,
|
|
37
|
+
:endpoint,
|
|
38
|
+
) do
|
|
39
|
+
include Aws::Structure
|
|
40
|
+
|
|
41
|
+
# @api private
|
|
42
|
+
class << self
|
|
43
|
+
PARAM_MAP = {
|
|
44
|
+
'Region' => :region,
|
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
|
46
|
+
'UseFIPS' => :use_fips,
|
|
47
|
+
'Endpoint' => :endpoint,
|
|
48
|
+
}.freeze
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def initialize(options = {})
|
|
52
|
+
self[:region] = options[:region]
|
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
55
|
+
if self[:use_dual_stack].nil?
|
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
|
57
|
+
end
|
|
58
|
+
self[:use_fips] = options[:use_fips]
|
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
|
60
|
+
if self[:use_fips].nil?
|
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
|
62
|
+
end
|
|
63
|
+
self[:endpoint] = options[:endpoint]
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|