aws-sdk-trustedadvisor 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-trustedadvisor/client.rb +1030 -0
- data/lib/aws-sdk-trustedadvisor/client_api.rb +558 -0
- data/lib/aws-sdk-trustedadvisor/customizations.rb +0 -0
- data/lib/aws-sdk-trustedadvisor/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-trustedadvisor/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-trustedadvisor/endpoints.rb +156 -0
- data/lib/aws-sdk-trustedadvisor/errors.rb +146 -0
- data/lib/aws-sdk-trustedadvisor/plugins/endpoints.rb +88 -0
- data/lib/aws-sdk-trustedadvisor/resource.rb +26 -0
- data/lib/aws-sdk-trustedadvisor/types.rb +1247 -0
- data/lib/aws-sdk-trustedadvisor.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,558 @@
|
|
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::TrustedAdvisor
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
|
+
AccountRecommendationArn = Shapes::StringShape.new(name: 'AccountRecommendationArn')
|
19
|
+
AccountRecommendationIdentifier = Shapes::StringShape.new(name: 'AccountRecommendationIdentifier')
|
20
|
+
AccountRecommendationLifecycleSummary = Shapes::StructureShape.new(name: 'AccountRecommendationLifecycleSummary')
|
21
|
+
AccountRecommendationLifecycleSummaryList = Shapes::ListShape.new(name: 'AccountRecommendationLifecycleSummaryList')
|
22
|
+
CheckArn = Shapes::StringShape.new(name: 'CheckArn')
|
23
|
+
CheckIdentifier = Shapes::StringShape.new(name: 'CheckIdentifier')
|
24
|
+
CheckSummary = Shapes::StructureShape.new(name: 'CheckSummary')
|
25
|
+
CheckSummaryList = Shapes::ListShape.new(name: 'CheckSummaryList')
|
26
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
27
|
+
Double = Shapes::FloatShape.new(name: 'Double')
|
28
|
+
GetOrganizationRecommendationRequest = Shapes::StructureShape.new(name: 'GetOrganizationRecommendationRequest')
|
29
|
+
GetOrganizationRecommendationResponse = Shapes::StructureShape.new(name: 'GetOrganizationRecommendationResponse')
|
30
|
+
GetRecommendationRequest = Shapes::StructureShape.new(name: 'GetRecommendationRequest')
|
31
|
+
GetRecommendationResponse = Shapes::StructureShape.new(name: 'GetRecommendationResponse')
|
32
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
33
|
+
ListChecksRequest = Shapes::StructureShape.new(name: 'ListChecksRequest')
|
34
|
+
ListChecksRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListChecksRequestMaxResultsInteger')
|
35
|
+
ListChecksRequestNextTokenString = Shapes::StringShape.new(name: 'ListChecksRequestNextTokenString')
|
36
|
+
ListChecksResponse = Shapes::StructureShape.new(name: 'ListChecksResponse')
|
37
|
+
ListChecksResponseNextTokenString = Shapes::StringShape.new(name: 'ListChecksResponseNextTokenString')
|
38
|
+
ListOrganizationRecommendationAccountsRequest = Shapes::StructureShape.new(name: 'ListOrganizationRecommendationAccountsRequest')
|
39
|
+
ListOrganizationRecommendationAccountsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListOrganizationRecommendationAccountsRequestMaxResultsInteger')
|
40
|
+
ListOrganizationRecommendationAccountsRequestNextTokenString = Shapes::StringShape.new(name: 'ListOrganizationRecommendationAccountsRequestNextTokenString')
|
41
|
+
ListOrganizationRecommendationAccountsResponse = Shapes::StructureShape.new(name: 'ListOrganizationRecommendationAccountsResponse')
|
42
|
+
ListOrganizationRecommendationAccountsResponseNextTokenString = Shapes::StringShape.new(name: 'ListOrganizationRecommendationAccountsResponseNextTokenString')
|
43
|
+
ListOrganizationRecommendationResourcesRequest = Shapes::StructureShape.new(name: 'ListOrganizationRecommendationResourcesRequest')
|
44
|
+
ListOrganizationRecommendationResourcesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListOrganizationRecommendationResourcesRequestMaxResultsInteger')
|
45
|
+
ListOrganizationRecommendationResourcesRequestNextTokenString = Shapes::StringShape.new(name: 'ListOrganizationRecommendationResourcesRequestNextTokenString')
|
46
|
+
ListOrganizationRecommendationResourcesResponse = Shapes::StructureShape.new(name: 'ListOrganizationRecommendationResourcesResponse')
|
47
|
+
ListOrganizationRecommendationResourcesResponseNextTokenString = Shapes::StringShape.new(name: 'ListOrganizationRecommendationResourcesResponseNextTokenString')
|
48
|
+
ListOrganizationRecommendationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationRecommendationsRequest')
|
49
|
+
ListOrganizationRecommendationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListOrganizationRecommendationsRequestMaxResultsInteger')
|
50
|
+
ListOrganizationRecommendationsRequestNextTokenString = Shapes::StringShape.new(name: 'ListOrganizationRecommendationsRequestNextTokenString')
|
51
|
+
ListOrganizationRecommendationsResponse = Shapes::StructureShape.new(name: 'ListOrganizationRecommendationsResponse')
|
52
|
+
ListOrganizationRecommendationsResponseNextTokenString = Shapes::StringShape.new(name: 'ListOrganizationRecommendationsResponseNextTokenString')
|
53
|
+
ListRecommendationResourcesRequest = Shapes::StructureShape.new(name: 'ListRecommendationResourcesRequest')
|
54
|
+
ListRecommendationResourcesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRecommendationResourcesRequestMaxResultsInteger')
|
55
|
+
ListRecommendationResourcesRequestNextTokenString = Shapes::StringShape.new(name: 'ListRecommendationResourcesRequestNextTokenString')
|
56
|
+
ListRecommendationResourcesResponse = Shapes::StructureShape.new(name: 'ListRecommendationResourcesResponse')
|
57
|
+
ListRecommendationResourcesResponseNextTokenString = Shapes::StringShape.new(name: 'ListRecommendationResourcesResponseNextTokenString')
|
58
|
+
ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
|
59
|
+
ListRecommendationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRecommendationsRequestMaxResultsInteger')
|
60
|
+
ListRecommendationsRequestNextTokenString = Shapes::StringShape.new(name: 'ListRecommendationsRequestNextTokenString')
|
61
|
+
ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
|
62
|
+
ListRecommendationsResponseNextTokenString = Shapes::StringShape.new(name: 'ListRecommendationsResponseNextTokenString')
|
63
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
64
|
+
OrganizationRecommendation = Shapes::StructureShape.new(name: 'OrganizationRecommendation')
|
65
|
+
OrganizationRecommendationArn = Shapes::StringShape.new(name: 'OrganizationRecommendationArn')
|
66
|
+
OrganizationRecommendationIdentifier = Shapes::StringShape.new(name: 'OrganizationRecommendationIdentifier')
|
67
|
+
OrganizationRecommendationResourceSummary = Shapes::StructureShape.new(name: 'OrganizationRecommendationResourceSummary')
|
68
|
+
OrganizationRecommendationResourceSummaryList = Shapes::ListShape.new(name: 'OrganizationRecommendationResourceSummaryList')
|
69
|
+
OrganizationRecommendationSummary = Shapes::StructureShape.new(name: 'OrganizationRecommendationSummary')
|
70
|
+
OrganizationRecommendationSummaryList = Shapes::ListShape.new(name: 'OrganizationRecommendationSummaryList')
|
71
|
+
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
72
|
+
RecommendationAwsService = Shapes::StringShape.new(name: 'RecommendationAwsService')
|
73
|
+
RecommendationAwsServiceList = Shapes::ListShape.new(name: 'RecommendationAwsServiceList')
|
74
|
+
RecommendationCostOptimizingAggregates = Shapes::StructureShape.new(name: 'RecommendationCostOptimizingAggregates')
|
75
|
+
RecommendationLanguage = Shapes::StringShape.new(name: 'RecommendationLanguage')
|
76
|
+
RecommendationLifecycleStage = Shapes::StringShape.new(name: 'RecommendationLifecycleStage')
|
77
|
+
RecommendationPillar = Shapes::StringShape.new(name: 'RecommendationPillar')
|
78
|
+
RecommendationPillarList = Shapes::ListShape.new(name: 'RecommendationPillarList')
|
79
|
+
RecommendationPillarSpecificAggregates = Shapes::StructureShape.new(name: 'RecommendationPillarSpecificAggregates')
|
80
|
+
RecommendationRegionCode = Shapes::StringShape.new(name: 'RecommendationRegionCode')
|
81
|
+
RecommendationResourceArn = Shapes::StringShape.new(name: 'RecommendationResourceArn')
|
82
|
+
RecommendationResourceSummary = Shapes::StructureShape.new(name: 'RecommendationResourceSummary')
|
83
|
+
RecommendationResourceSummaryList = Shapes::ListShape.new(name: 'RecommendationResourceSummaryList')
|
84
|
+
RecommendationResourcesAggregates = Shapes::StructureShape.new(name: 'RecommendationResourcesAggregates')
|
85
|
+
RecommendationSource = Shapes::StringShape.new(name: 'RecommendationSource')
|
86
|
+
RecommendationStatus = Shapes::StringShape.new(name: 'RecommendationStatus')
|
87
|
+
RecommendationSummary = Shapes::StructureShape.new(name: 'RecommendationSummary')
|
88
|
+
RecommendationSummaryList = Shapes::ListShape.new(name: 'RecommendationSummaryList')
|
89
|
+
RecommendationType = Shapes::StringShape.new(name: 'RecommendationType')
|
90
|
+
RecommendationUpdateReason = Shapes::StringShape.new(name: 'RecommendationUpdateReason')
|
91
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
92
|
+
ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
|
93
|
+
String = Shapes::StringShape.new(name: 'String')
|
94
|
+
StringMap = Shapes::MapShape.new(name: 'StringMap')
|
95
|
+
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
96
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
97
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
98
|
+
UpdateOrganizationRecommendationLifecycleRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationRecommendationLifecycleRequest')
|
99
|
+
UpdateRecommendationLifecycleRequest = Shapes::StructureShape.new(name: 'UpdateRecommendationLifecycleRequest')
|
100
|
+
UpdateRecommendationLifecycleStage = Shapes::StringShape.new(name: 'UpdateRecommendationLifecycleStage')
|
101
|
+
UpdateRecommendationLifecycleStageReasonCode = Shapes::StringShape.new(name: 'UpdateRecommendationLifecycleStageReasonCode')
|
102
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
103
|
+
|
104
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
105
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
106
|
+
|
107
|
+
AccountRecommendationLifecycleSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
108
|
+
AccountRecommendationLifecycleSummary.add_member(:account_recommendation_arn, Shapes::ShapeRef.new(shape: AccountRecommendationArn, location_name: "accountRecommendationArn"))
|
109
|
+
AccountRecommendationLifecycleSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
|
110
|
+
AccountRecommendationLifecycleSummary.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: RecommendationLifecycleStage, location_name: "lifecycleStage"))
|
111
|
+
AccountRecommendationLifecycleSummary.add_member(:update_reason, Shapes::ShapeRef.new(shape: RecommendationUpdateReason, location_name: "updateReason"))
|
112
|
+
AccountRecommendationLifecycleSummary.add_member(:update_reason_code, Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleStageReasonCode, location_name: "updateReasonCode"))
|
113
|
+
AccountRecommendationLifecycleSummary.add_member(:updated_on_behalf_of, Shapes::ShapeRef.new(shape: String, location_name: "updatedOnBehalfOf"))
|
114
|
+
AccountRecommendationLifecycleSummary.add_member(:updated_on_behalf_of_job_title, Shapes::ShapeRef.new(shape: String, location_name: "updatedOnBehalfOfJobTitle"))
|
115
|
+
AccountRecommendationLifecycleSummary.struct_class = Types::AccountRecommendationLifecycleSummary
|
116
|
+
|
117
|
+
AccountRecommendationLifecycleSummaryList.member = Shapes::ShapeRef.new(shape: AccountRecommendationLifecycleSummary)
|
118
|
+
|
119
|
+
CheckSummary.add_member(:arn, Shapes::ShapeRef.new(shape: CheckArn, required: true, location_name: "arn"))
|
120
|
+
CheckSummary.add_member(:aws_services, Shapes::ShapeRef.new(shape: RecommendationAwsServiceList, required: true, location_name: "awsServices"))
|
121
|
+
CheckSummary.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
122
|
+
CheckSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
123
|
+
CheckSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: StringMap, required: true, location_name: "metadata"))
|
124
|
+
CheckSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
125
|
+
CheckSummary.add_member(:pillars, Shapes::ShapeRef.new(shape: RecommendationPillarList, required: true, location_name: "pillars"))
|
126
|
+
CheckSummary.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, required: true, location_name: "source"))
|
127
|
+
CheckSummary.struct_class = Types::CheckSummary
|
128
|
+
|
129
|
+
CheckSummaryList.member = Shapes::ShapeRef.new(shape: CheckSummary)
|
130
|
+
|
131
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
132
|
+
ConflictException.struct_class = Types::ConflictException
|
133
|
+
|
134
|
+
GetOrganizationRecommendationRequest.add_member(:organization_recommendation_identifier, Shapes::ShapeRef.new(shape: OrganizationRecommendationIdentifier, required: true, location: "uri", location_name: "organizationRecommendationIdentifier"))
|
135
|
+
GetOrganizationRecommendationRequest.struct_class = Types::GetOrganizationRecommendationRequest
|
136
|
+
|
137
|
+
GetOrganizationRecommendationResponse.add_member(:organization_recommendation, Shapes::ShapeRef.new(shape: OrganizationRecommendation, location_name: "organizationRecommendation"))
|
138
|
+
GetOrganizationRecommendationResponse.struct_class = Types::GetOrganizationRecommendationResponse
|
139
|
+
|
140
|
+
GetRecommendationRequest.add_member(:recommendation_identifier, Shapes::ShapeRef.new(shape: AccountRecommendationIdentifier, required: true, location: "uri", location_name: "recommendationIdentifier"))
|
141
|
+
GetRecommendationRequest.struct_class = Types::GetRecommendationRequest
|
142
|
+
|
143
|
+
GetRecommendationResponse.add_member(:recommendation, Shapes::ShapeRef.new(shape: Recommendation, location_name: "recommendation"))
|
144
|
+
GetRecommendationResponse.struct_class = Types::GetRecommendationResponse
|
145
|
+
|
146
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
147
|
+
InternalServerException.struct_class = Types::InternalServerException
|
148
|
+
|
149
|
+
ListChecksRequest.add_member(:aws_service, Shapes::ShapeRef.new(shape: RecommendationAwsService, location: "querystring", location_name: "awsService"))
|
150
|
+
ListChecksRequest.add_member(:language, Shapes::ShapeRef.new(shape: RecommendationLanguage, location: "querystring", location_name: "language"))
|
151
|
+
ListChecksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListChecksRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
152
|
+
ListChecksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListChecksRequestNextTokenString, location: "querystring", location_name: "nextToken"))
|
153
|
+
ListChecksRequest.add_member(:pillar, Shapes::ShapeRef.new(shape: RecommendationPillar, location: "querystring", location_name: "pillar"))
|
154
|
+
ListChecksRequest.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, location: "querystring", location_name: "source"))
|
155
|
+
ListChecksRequest.struct_class = Types::ListChecksRequest
|
156
|
+
|
157
|
+
ListChecksResponse.add_member(:check_summaries, Shapes::ShapeRef.new(shape: CheckSummaryList, required: true, location_name: "checkSummaries"))
|
158
|
+
ListChecksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ListChecksResponseNextTokenString, location_name: "nextToken"))
|
159
|
+
ListChecksResponse.struct_class = Types::ListChecksResponse
|
160
|
+
|
161
|
+
ListOrganizationRecommendationAccountsRequest.add_member(:affected_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "affectedAccountId"))
|
162
|
+
ListOrganizationRecommendationAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationAccountsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
163
|
+
ListOrganizationRecommendationAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationAccountsRequestNextTokenString, location: "querystring", location_name: "nextToken"))
|
164
|
+
ListOrganizationRecommendationAccountsRequest.add_member(:organization_recommendation_identifier, Shapes::ShapeRef.new(shape: OrganizationRecommendationIdentifier, required: true, location: "uri", location_name: "organizationRecommendationIdentifier"))
|
165
|
+
ListOrganizationRecommendationAccountsRequest.struct_class = Types::ListOrganizationRecommendationAccountsRequest
|
166
|
+
|
167
|
+
ListOrganizationRecommendationAccountsResponse.add_member(:account_recommendation_lifecycle_summaries, Shapes::ShapeRef.new(shape: AccountRecommendationLifecycleSummaryList, required: true, location_name: "accountRecommendationLifecycleSummaries"))
|
168
|
+
ListOrganizationRecommendationAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationAccountsResponseNextTokenString, location_name: "nextToken"))
|
169
|
+
ListOrganizationRecommendationAccountsResponse.struct_class = Types::ListOrganizationRecommendationAccountsResponse
|
170
|
+
|
171
|
+
ListOrganizationRecommendationResourcesRequest.add_member(:affected_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "affectedAccountId"))
|
172
|
+
ListOrganizationRecommendationResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationResourcesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
173
|
+
ListOrganizationRecommendationResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationResourcesRequestNextTokenString, location: "querystring", location_name: "nextToken"))
|
174
|
+
ListOrganizationRecommendationResourcesRequest.add_member(:organization_recommendation_identifier, Shapes::ShapeRef.new(shape: OrganizationRecommendationIdentifier, required: true, location: "uri", location_name: "organizationRecommendationIdentifier"))
|
175
|
+
ListOrganizationRecommendationResourcesRequest.add_member(:region_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "regionCode"))
|
176
|
+
ListOrganizationRecommendationResourcesRequest.add_member(:status, Shapes::ShapeRef.new(shape: ResourceStatus, location: "querystring", location_name: "status"))
|
177
|
+
ListOrganizationRecommendationResourcesRequest.struct_class = Types::ListOrganizationRecommendationResourcesRequest
|
178
|
+
|
179
|
+
ListOrganizationRecommendationResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationResourcesResponseNextTokenString, location_name: "nextToken"))
|
180
|
+
ListOrganizationRecommendationResourcesResponse.add_member(:organization_recommendation_resource_summaries, Shapes::ShapeRef.new(shape: OrganizationRecommendationResourceSummaryList, required: true, location_name: "organizationRecommendationResourceSummaries"))
|
181
|
+
ListOrganizationRecommendationResourcesResponse.struct_class = Types::ListOrganizationRecommendationResourcesResponse
|
182
|
+
|
183
|
+
ListOrganizationRecommendationsRequest.add_member(:after_last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "afterLastUpdatedAt"))
|
184
|
+
ListOrganizationRecommendationsRequest.add_member(:aws_service, Shapes::ShapeRef.new(shape: RecommendationAwsService, location: "querystring", location_name: "awsService"))
|
185
|
+
ListOrganizationRecommendationsRequest.add_member(:before_last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "beforeLastUpdatedAt"))
|
186
|
+
ListOrganizationRecommendationsRequest.add_member(:check_identifier, Shapes::ShapeRef.new(shape: CheckIdentifier, location: "querystring", location_name: "checkIdentifier"))
|
187
|
+
ListOrganizationRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
188
|
+
ListOrganizationRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationsRequestNextTokenString, location: "querystring", location_name: "nextToken"))
|
189
|
+
ListOrganizationRecommendationsRequest.add_member(:pillar, Shapes::ShapeRef.new(shape: RecommendationPillar, location: "querystring", location_name: "pillar"))
|
190
|
+
ListOrganizationRecommendationsRequest.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, location: "querystring", location_name: "source"))
|
191
|
+
ListOrganizationRecommendationsRequest.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationStatus, location: "querystring", location_name: "status"))
|
192
|
+
ListOrganizationRecommendationsRequest.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, location: "querystring", location_name: "type"))
|
193
|
+
ListOrganizationRecommendationsRequest.struct_class = Types::ListOrganizationRecommendationsRequest
|
194
|
+
|
195
|
+
ListOrganizationRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ListOrganizationRecommendationsResponseNextTokenString, location_name: "nextToken"))
|
196
|
+
ListOrganizationRecommendationsResponse.add_member(:organization_recommendation_summaries, Shapes::ShapeRef.new(shape: OrganizationRecommendationSummaryList, required: true, location_name: "organizationRecommendationSummaries"))
|
197
|
+
ListOrganizationRecommendationsResponse.struct_class = Types::ListOrganizationRecommendationsResponse
|
198
|
+
|
199
|
+
ListRecommendationResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecommendationResourcesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
200
|
+
ListRecommendationResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListRecommendationResourcesRequestNextTokenString, location: "querystring", location_name: "nextToken"))
|
201
|
+
ListRecommendationResourcesRequest.add_member(:recommendation_identifier, Shapes::ShapeRef.new(shape: AccountRecommendationIdentifier, required: true, location: "uri", location_name: "recommendationIdentifier"))
|
202
|
+
ListRecommendationResourcesRequest.add_member(:region_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "regionCode"))
|
203
|
+
ListRecommendationResourcesRequest.add_member(:status, Shapes::ShapeRef.new(shape: ResourceStatus, location: "querystring", location_name: "status"))
|
204
|
+
ListRecommendationResourcesRequest.struct_class = Types::ListRecommendationResourcesRequest
|
205
|
+
|
206
|
+
ListRecommendationResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ListRecommendationResourcesResponseNextTokenString, location_name: "nextToken"))
|
207
|
+
ListRecommendationResourcesResponse.add_member(:recommendation_resource_summaries, Shapes::ShapeRef.new(shape: RecommendationResourceSummaryList, required: true, location_name: "recommendationResourceSummaries"))
|
208
|
+
ListRecommendationResourcesResponse.struct_class = Types::ListRecommendationResourcesResponse
|
209
|
+
|
210
|
+
ListRecommendationsRequest.add_member(:after_last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "afterLastUpdatedAt"))
|
211
|
+
ListRecommendationsRequest.add_member(:aws_service, Shapes::ShapeRef.new(shape: RecommendationAwsService, location: "querystring", location_name: "awsService"))
|
212
|
+
ListRecommendationsRequest.add_member(:before_last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "beforeLastUpdatedAt"))
|
213
|
+
ListRecommendationsRequest.add_member(:check_identifier, Shapes::ShapeRef.new(shape: CheckIdentifier, location: "querystring", location_name: "checkIdentifier"))
|
214
|
+
ListRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRecommendationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
215
|
+
ListRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListRecommendationsRequestNextTokenString, location: "querystring", location_name: "nextToken"))
|
216
|
+
ListRecommendationsRequest.add_member(:pillar, Shapes::ShapeRef.new(shape: RecommendationPillar, location: "querystring", location_name: "pillar"))
|
217
|
+
ListRecommendationsRequest.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, location: "querystring", location_name: "source"))
|
218
|
+
ListRecommendationsRequest.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationStatus, location: "querystring", location_name: "status"))
|
219
|
+
ListRecommendationsRequest.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, location: "querystring", location_name: "type"))
|
220
|
+
ListRecommendationsRequest.struct_class = Types::ListRecommendationsRequest
|
221
|
+
|
222
|
+
ListRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ListRecommendationsResponseNextTokenString, location_name: "nextToken"))
|
223
|
+
ListRecommendationsResponse.add_member(:recommendation_summaries, Shapes::ShapeRef.new(shape: RecommendationSummaryList, required: true, location_name: "recommendationSummaries"))
|
224
|
+
ListRecommendationsResponse.struct_class = Types::ListRecommendationsResponse
|
225
|
+
|
226
|
+
OrganizationRecommendation.add_member(:arn, Shapes::ShapeRef.new(shape: OrganizationRecommendationArn, required: true, location_name: "arn"))
|
227
|
+
OrganizationRecommendation.add_member(:aws_services, Shapes::ShapeRef.new(shape: RecommendationAwsServiceList, location_name: "awsServices"))
|
228
|
+
OrganizationRecommendation.add_member(:check_arn, Shapes::ShapeRef.new(shape: String, location_name: "checkArn"))
|
229
|
+
OrganizationRecommendation.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
230
|
+
OrganizationRecommendation.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
|
231
|
+
OrganizationRecommendation.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
232
|
+
OrganizationRecommendation.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
233
|
+
OrganizationRecommendation.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
|
234
|
+
OrganizationRecommendation.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: RecommendationLifecycleStage, location_name: "lifecycleStage"))
|
235
|
+
OrganizationRecommendation.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
236
|
+
OrganizationRecommendation.add_member(:pillar_specific_aggregates, Shapes::ShapeRef.new(shape: RecommendationPillarSpecificAggregates, location_name: "pillarSpecificAggregates"))
|
237
|
+
OrganizationRecommendation.add_member(:pillars, Shapes::ShapeRef.new(shape: RecommendationPillarList, required: true, location_name: "pillars"))
|
238
|
+
OrganizationRecommendation.add_member(:resolved_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "resolvedAt"))
|
239
|
+
OrganizationRecommendation.add_member(:resources_aggregates, Shapes::ShapeRef.new(shape: RecommendationResourcesAggregates, required: true, location_name: "resourcesAggregates"))
|
240
|
+
OrganizationRecommendation.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, required: true, location_name: "source"))
|
241
|
+
OrganizationRecommendation.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationStatus, required: true, location_name: "status"))
|
242
|
+
OrganizationRecommendation.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, required: true, location_name: "type"))
|
243
|
+
OrganizationRecommendation.add_member(:update_reason, Shapes::ShapeRef.new(shape: RecommendationUpdateReason, location_name: "updateReason"))
|
244
|
+
OrganizationRecommendation.add_member(:update_reason_code, Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleStageReasonCode, location_name: "updateReasonCode"))
|
245
|
+
OrganizationRecommendation.add_member(:updated_on_behalf_of, Shapes::ShapeRef.new(shape: String, location_name: "updatedOnBehalfOf"))
|
246
|
+
OrganizationRecommendation.add_member(:updated_on_behalf_of_job_title, Shapes::ShapeRef.new(shape: String, location_name: "updatedOnBehalfOfJobTitle"))
|
247
|
+
OrganizationRecommendation.struct_class = Types::OrganizationRecommendation
|
248
|
+
|
249
|
+
OrganizationRecommendationResourceSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
250
|
+
OrganizationRecommendationResourceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: RecommendationResourceArn, required: true, location_name: "arn"))
|
251
|
+
OrganizationRecommendationResourceSummary.add_member(:aws_resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsResourceId"))
|
252
|
+
OrganizationRecommendationResourceSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
253
|
+
OrganizationRecommendationResourceSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedAt"))
|
254
|
+
OrganizationRecommendationResourceSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: StringMap, required: true, location_name: "metadata"))
|
255
|
+
OrganizationRecommendationResourceSummary.add_member(:recommendation_arn, Shapes::ShapeRef.new(shape: OrganizationRecommendationArn, required: true, location_name: "recommendationArn"))
|
256
|
+
OrganizationRecommendationResourceSummary.add_member(:region_code, Shapes::ShapeRef.new(shape: RecommendationRegionCode, required: true, location_name: "regionCode"))
|
257
|
+
OrganizationRecommendationResourceSummary.add_member(:status, Shapes::ShapeRef.new(shape: ResourceStatus, required: true, location_name: "status"))
|
258
|
+
OrganizationRecommendationResourceSummary.struct_class = Types::OrganizationRecommendationResourceSummary
|
259
|
+
|
260
|
+
OrganizationRecommendationResourceSummaryList.member = Shapes::ShapeRef.new(shape: OrganizationRecommendationResourceSummary)
|
261
|
+
|
262
|
+
OrganizationRecommendationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: OrganizationRecommendationArn, required: true, location_name: "arn"))
|
263
|
+
OrganizationRecommendationSummary.add_member(:aws_services, Shapes::ShapeRef.new(shape: RecommendationAwsServiceList, location_name: "awsServices"))
|
264
|
+
OrganizationRecommendationSummary.add_member(:check_arn, Shapes::ShapeRef.new(shape: String, location_name: "checkArn"))
|
265
|
+
OrganizationRecommendationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
266
|
+
OrganizationRecommendationSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
267
|
+
OrganizationRecommendationSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
|
268
|
+
OrganizationRecommendationSummary.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: RecommendationLifecycleStage, location_name: "lifecycleStage"))
|
269
|
+
OrganizationRecommendationSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
270
|
+
OrganizationRecommendationSummary.add_member(:pillar_specific_aggregates, Shapes::ShapeRef.new(shape: RecommendationPillarSpecificAggregates, location_name: "pillarSpecificAggregates"))
|
271
|
+
OrganizationRecommendationSummary.add_member(:pillars, Shapes::ShapeRef.new(shape: RecommendationPillarList, required: true, location_name: "pillars"))
|
272
|
+
OrganizationRecommendationSummary.add_member(:resources_aggregates, Shapes::ShapeRef.new(shape: RecommendationResourcesAggregates, required: true, location_name: "resourcesAggregates"))
|
273
|
+
OrganizationRecommendationSummary.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, required: true, location_name: "source"))
|
274
|
+
OrganizationRecommendationSummary.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationStatus, required: true, location_name: "status"))
|
275
|
+
OrganizationRecommendationSummary.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, required: true, location_name: "type"))
|
276
|
+
OrganizationRecommendationSummary.struct_class = Types::OrganizationRecommendationSummary
|
277
|
+
|
278
|
+
OrganizationRecommendationSummaryList.member = Shapes::ShapeRef.new(shape: OrganizationRecommendationSummary)
|
279
|
+
|
280
|
+
Recommendation.add_member(:arn, Shapes::ShapeRef.new(shape: AccountRecommendationArn, required: true, location_name: "arn"))
|
281
|
+
Recommendation.add_member(:aws_services, Shapes::ShapeRef.new(shape: RecommendationAwsServiceList, location_name: "awsServices"))
|
282
|
+
Recommendation.add_member(:check_arn, Shapes::ShapeRef.new(shape: String, location_name: "checkArn"))
|
283
|
+
Recommendation.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
284
|
+
Recommendation.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
|
285
|
+
Recommendation.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
286
|
+
Recommendation.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
287
|
+
Recommendation.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
|
288
|
+
Recommendation.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: RecommendationLifecycleStage, location_name: "lifecycleStage"))
|
289
|
+
Recommendation.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
290
|
+
Recommendation.add_member(:pillar_specific_aggregates, Shapes::ShapeRef.new(shape: RecommendationPillarSpecificAggregates, location_name: "pillarSpecificAggregates"))
|
291
|
+
Recommendation.add_member(:pillars, Shapes::ShapeRef.new(shape: RecommendationPillarList, required: true, location_name: "pillars"))
|
292
|
+
Recommendation.add_member(:resolved_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "resolvedAt"))
|
293
|
+
Recommendation.add_member(:resources_aggregates, Shapes::ShapeRef.new(shape: RecommendationResourcesAggregates, required: true, location_name: "resourcesAggregates"))
|
294
|
+
Recommendation.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, required: true, location_name: "source"))
|
295
|
+
Recommendation.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationStatus, required: true, location_name: "status"))
|
296
|
+
Recommendation.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, required: true, location_name: "type"))
|
297
|
+
Recommendation.add_member(:update_reason, Shapes::ShapeRef.new(shape: RecommendationUpdateReason, location_name: "updateReason"))
|
298
|
+
Recommendation.add_member(:update_reason_code, Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleStageReasonCode, location_name: "updateReasonCode"))
|
299
|
+
Recommendation.add_member(:updated_on_behalf_of, Shapes::ShapeRef.new(shape: String, location_name: "updatedOnBehalfOf"))
|
300
|
+
Recommendation.add_member(:updated_on_behalf_of_job_title, Shapes::ShapeRef.new(shape: String, location_name: "updatedOnBehalfOfJobTitle"))
|
301
|
+
Recommendation.struct_class = Types::Recommendation
|
302
|
+
|
303
|
+
RecommendationAwsServiceList.member = Shapes::ShapeRef.new(shape: RecommendationAwsService)
|
304
|
+
|
305
|
+
RecommendationCostOptimizingAggregates.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "estimatedMonthlySavings"))
|
306
|
+
RecommendationCostOptimizingAggregates.add_member(:estimated_percent_monthly_savings, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "estimatedPercentMonthlySavings"))
|
307
|
+
RecommendationCostOptimizingAggregates.struct_class = Types::RecommendationCostOptimizingAggregates
|
308
|
+
|
309
|
+
RecommendationPillarList.member = Shapes::ShapeRef.new(shape: RecommendationPillar)
|
310
|
+
|
311
|
+
RecommendationPillarSpecificAggregates.add_member(:cost_optimizing, Shapes::ShapeRef.new(shape: RecommendationCostOptimizingAggregates, location_name: "costOptimizing"))
|
312
|
+
RecommendationPillarSpecificAggregates.struct_class = Types::RecommendationPillarSpecificAggregates
|
313
|
+
|
314
|
+
RecommendationResourceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: RecommendationResourceArn, required: true, location_name: "arn"))
|
315
|
+
RecommendationResourceSummary.add_member(:aws_resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsResourceId"))
|
316
|
+
RecommendationResourceSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
317
|
+
RecommendationResourceSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "lastUpdatedAt"))
|
318
|
+
RecommendationResourceSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: StringMap, required: true, location_name: "metadata"))
|
319
|
+
RecommendationResourceSummary.add_member(:recommendation_arn, Shapes::ShapeRef.new(shape: AccountRecommendationArn, required: true, location_name: "recommendationArn"))
|
320
|
+
RecommendationResourceSummary.add_member(:region_code, Shapes::ShapeRef.new(shape: RecommendationRegionCode, required: true, location_name: "regionCode"))
|
321
|
+
RecommendationResourceSummary.add_member(:status, Shapes::ShapeRef.new(shape: ResourceStatus, required: true, location_name: "status"))
|
322
|
+
RecommendationResourceSummary.struct_class = Types::RecommendationResourceSummary
|
323
|
+
|
324
|
+
RecommendationResourceSummaryList.member = Shapes::ShapeRef.new(shape: RecommendationResourceSummary)
|
325
|
+
|
326
|
+
RecommendationResourcesAggregates.add_member(:error_count, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "errorCount"))
|
327
|
+
RecommendationResourcesAggregates.add_member(:ok_count, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "okCount"))
|
328
|
+
RecommendationResourcesAggregates.add_member(:warning_count, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "warningCount"))
|
329
|
+
RecommendationResourcesAggregates.struct_class = Types::RecommendationResourcesAggregates
|
330
|
+
|
331
|
+
RecommendationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: AccountRecommendationArn, required: true, location_name: "arn"))
|
332
|
+
RecommendationSummary.add_member(:aws_services, Shapes::ShapeRef.new(shape: RecommendationAwsServiceList, location_name: "awsServices"))
|
333
|
+
RecommendationSummary.add_member(:check_arn, Shapes::ShapeRef.new(shape: String, location_name: "checkArn"))
|
334
|
+
RecommendationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
335
|
+
RecommendationSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
336
|
+
RecommendationSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
|
337
|
+
RecommendationSummary.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: RecommendationLifecycleStage, location_name: "lifecycleStage"))
|
338
|
+
RecommendationSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
339
|
+
RecommendationSummary.add_member(:pillar_specific_aggregates, Shapes::ShapeRef.new(shape: RecommendationPillarSpecificAggregates, location_name: "pillarSpecificAggregates"))
|
340
|
+
RecommendationSummary.add_member(:pillars, Shapes::ShapeRef.new(shape: RecommendationPillarList, required: true, location_name: "pillars"))
|
341
|
+
RecommendationSummary.add_member(:resources_aggregates, Shapes::ShapeRef.new(shape: RecommendationResourcesAggregates, required: true, location_name: "resourcesAggregates"))
|
342
|
+
RecommendationSummary.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSource, required: true, location_name: "source"))
|
343
|
+
RecommendationSummary.add_member(:status, Shapes::ShapeRef.new(shape: RecommendationStatus, required: true, location_name: "status"))
|
344
|
+
RecommendationSummary.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, required: true, location_name: "type"))
|
345
|
+
RecommendationSummary.struct_class = Types::RecommendationSummary
|
346
|
+
|
347
|
+
RecommendationSummaryList.member = Shapes::ShapeRef.new(shape: RecommendationSummary)
|
348
|
+
|
349
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
350
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
351
|
+
|
352
|
+
StringMap.key = Shapes::ShapeRef.new(shape: String)
|
353
|
+
StringMap.value = Shapes::ShapeRef.new(shape: String)
|
354
|
+
|
355
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
356
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
357
|
+
|
358
|
+
UpdateOrganizationRecommendationLifecycleRequest.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleStage, required: true, location_name: "lifecycleStage"))
|
359
|
+
UpdateOrganizationRecommendationLifecycleRequest.add_member(:organization_recommendation_identifier, Shapes::ShapeRef.new(shape: OrganizationRecommendationIdentifier, required: true, location: "uri", location_name: "organizationRecommendationIdentifier"))
|
360
|
+
UpdateOrganizationRecommendationLifecycleRequest.add_member(:update_reason, Shapes::ShapeRef.new(shape: RecommendationUpdateReason, location_name: "updateReason"))
|
361
|
+
UpdateOrganizationRecommendationLifecycleRequest.add_member(:update_reason_code, Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleStageReasonCode, location_name: "updateReasonCode"))
|
362
|
+
UpdateOrganizationRecommendationLifecycleRequest.struct_class = Types::UpdateOrganizationRecommendationLifecycleRequest
|
363
|
+
|
364
|
+
UpdateRecommendationLifecycleRequest.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleStage, required: true, location_name: "lifecycleStage"))
|
365
|
+
UpdateRecommendationLifecycleRequest.add_member(:recommendation_identifier, Shapes::ShapeRef.new(shape: AccountRecommendationIdentifier, required: true, location: "uri", location_name: "recommendationIdentifier"))
|
366
|
+
UpdateRecommendationLifecycleRequest.add_member(:update_reason, Shapes::ShapeRef.new(shape: RecommendationUpdateReason, location_name: "updateReason"))
|
367
|
+
UpdateRecommendationLifecycleRequest.add_member(:update_reason_code, Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleStageReasonCode, location_name: "updateReasonCode"))
|
368
|
+
UpdateRecommendationLifecycleRequest.struct_class = Types::UpdateRecommendationLifecycleRequest
|
369
|
+
|
370
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
371
|
+
ValidationException.struct_class = Types::ValidationException
|
372
|
+
|
373
|
+
|
374
|
+
# @api private
|
375
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
376
|
+
|
377
|
+
api.version = "2022-09-15"
|
378
|
+
|
379
|
+
api.metadata = {
|
380
|
+
"apiVersion" => "2022-09-15",
|
381
|
+
"endpointPrefix" => "trustedadvisor",
|
382
|
+
"jsonVersion" => "1.1",
|
383
|
+
"protocol" => "rest-json",
|
384
|
+
"serviceFullName" => "TrustedAdvisor Public API",
|
385
|
+
"serviceId" => "TrustedAdvisor",
|
386
|
+
"signatureVersion" => "v4",
|
387
|
+
"signingName" => "trustedadvisor",
|
388
|
+
"uid" => "trustedadvisor-2022-09-15",
|
389
|
+
}
|
390
|
+
|
391
|
+
api.add_operation(:get_organization_recommendation, Seahorse::Model::Operation.new.tap do |o|
|
392
|
+
o.name = "GetOrganizationRecommendation"
|
393
|
+
o.http_method = "GET"
|
394
|
+
o.http_request_uri = "/v1/organization-recommendations/{organizationRecommendationIdentifier}"
|
395
|
+
o.input = Shapes::ShapeRef.new(shape: GetOrganizationRecommendationRequest)
|
396
|
+
o.output = Shapes::ShapeRef.new(shape: GetOrganizationRecommendationResponse)
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
402
|
+
end)
|
403
|
+
|
404
|
+
api.add_operation(:get_recommendation, Seahorse::Model::Operation.new.tap do |o|
|
405
|
+
o.name = "GetRecommendation"
|
406
|
+
o.http_method = "GET"
|
407
|
+
o.http_request_uri = "/v1/recommendations/{recommendationIdentifier}"
|
408
|
+
o.input = Shapes::ShapeRef.new(shape: GetRecommendationRequest)
|
409
|
+
o.output = Shapes::ShapeRef.new(shape: GetRecommendationResponse)
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
415
|
+
end)
|
416
|
+
|
417
|
+
api.add_operation(:list_checks, Seahorse::Model::Operation.new.tap do |o|
|
418
|
+
o.name = "ListChecks"
|
419
|
+
o.http_method = "GET"
|
420
|
+
o.http_request_uri = "/v1/checks"
|
421
|
+
o.input = Shapes::ShapeRef.new(shape: ListChecksRequest)
|
422
|
+
o.output = Shapes::ShapeRef.new(shape: ListChecksResponse)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
427
|
+
o[:pager] = Aws::Pager.new(
|
428
|
+
limit_key: "max_results",
|
429
|
+
tokens: {
|
430
|
+
"next_token" => "next_token"
|
431
|
+
}
|
432
|
+
)
|
433
|
+
end)
|
434
|
+
|
435
|
+
api.add_operation(:list_organization_recommendation_accounts, Seahorse::Model::Operation.new.tap do |o|
|
436
|
+
o.name = "ListOrganizationRecommendationAccounts"
|
437
|
+
o.http_method = "GET"
|
438
|
+
o.http_request_uri = "/v1/organization-recommendations/{organizationRecommendationIdentifier}/accounts"
|
439
|
+
o.input = Shapes::ShapeRef.new(shape: ListOrganizationRecommendationAccountsRequest)
|
440
|
+
o.output = Shapes::ShapeRef.new(shape: ListOrganizationRecommendationAccountsResponse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
446
|
+
o[:pager] = Aws::Pager.new(
|
447
|
+
limit_key: "max_results",
|
448
|
+
tokens: {
|
449
|
+
"next_token" => "next_token"
|
450
|
+
}
|
451
|
+
)
|
452
|
+
end)
|
453
|
+
|
454
|
+
api.add_operation(:list_organization_recommendation_resources, Seahorse::Model::Operation.new.tap do |o|
|
455
|
+
o.name = "ListOrganizationRecommendationResources"
|
456
|
+
o.http_method = "GET"
|
457
|
+
o.http_request_uri = "/v1/organization-recommendations/{organizationRecommendationIdentifier}/resources"
|
458
|
+
o.input = Shapes::ShapeRef.new(shape: ListOrganizationRecommendationResourcesRequest)
|
459
|
+
o.output = Shapes::ShapeRef.new(shape: ListOrganizationRecommendationResourcesResponse)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
465
|
+
o[:pager] = Aws::Pager.new(
|
466
|
+
limit_key: "max_results",
|
467
|
+
tokens: {
|
468
|
+
"next_token" => "next_token"
|
469
|
+
}
|
470
|
+
)
|
471
|
+
end)
|
472
|
+
|
473
|
+
api.add_operation(:list_organization_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
474
|
+
o.name = "ListOrganizationRecommendations"
|
475
|
+
o.http_method = "GET"
|
476
|
+
o.http_request_uri = "/v1/organization-recommendations"
|
477
|
+
o.input = Shapes::ShapeRef.new(shape: ListOrganizationRecommendationsRequest)
|
478
|
+
o.output = Shapes::ShapeRef.new(shape: ListOrganizationRecommendationsResponse)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
483
|
+
o[:pager] = Aws::Pager.new(
|
484
|
+
limit_key: "max_results",
|
485
|
+
tokens: {
|
486
|
+
"next_token" => "next_token"
|
487
|
+
}
|
488
|
+
)
|
489
|
+
end)
|
490
|
+
|
491
|
+
api.add_operation(:list_recommendation_resources, Seahorse::Model::Operation.new.tap do |o|
|
492
|
+
o.name = "ListRecommendationResources"
|
493
|
+
o.http_method = "GET"
|
494
|
+
o.http_request_uri = "/v1/recommendations/{recommendationIdentifier}/resources"
|
495
|
+
o.input = Shapes::ShapeRef.new(shape: ListRecommendationResourcesRequest)
|
496
|
+
o.output = Shapes::ShapeRef.new(shape: ListRecommendationResourcesResponse)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
502
|
+
o[:pager] = Aws::Pager.new(
|
503
|
+
limit_key: "max_results",
|
504
|
+
tokens: {
|
505
|
+
"next_token" => "next_token"
|
506
|
+
}
|
507
|
+
)
|
508
|
+
end)
|
509
|
+
|
510
|
+
api.add_operation(:list_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
511
|
+
o.name = "ListRecommendations"
|
512
|
+
o.http_method = "GET"
|
513
|
+
o.http_request_uri = "/v1/recommendations"
|
514
|
+
o.input = Shapes::ShapeRef.new(shape: ListRecommendationsRequest)
|
515
|
+
o.output = Shapes::ShapeRef.new(shape: ListRecommendationsResponse)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
520
|
+
o[:pager] = Aws::Pager.new(
|
521
|
+
limit_key: "max_results",
|
522
|
+
tokens: {
|
523
|
+
"next_token" => "next_token"
|
524
|
+
}
|
525
|
+
)
|
526
|
+
end)
|
527
|
+
|
528
|
+
api.add_operation(:update_organization_recommendation_lifecycle, Seahorse::Model::Operation.new.tap do |o|
|
529
|
+
o.name = "UpdateOrganizationRecommendationLifecycle"
|
530
|
+
o.http_method = "PUT"
|
531
|
+
o.http_request_uri = "/v1/organization-recommendations/{organizationRecommendationIdentifier}/lifecycle"
|
532
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateOrganizationRecommendationLifecycleRequest)
|
533
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
540
|
+
end)
|
541
|
+
|
542
|
+
api.add_operation(:update_recommendation_lifecycle, Seahorse::Model::Operation.new.tap do |o|
|
543
|
+
o.name = "UpdateRecommendationLifecycle"
|
544
|
+
o.http_method = "PUT"
|
545
|
+
o.http_request_uri = "/v1/recommendations/{recommendationIdentifier}/lifecycle"
|
546
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRecommendationLifecycleRequest)
|
547
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
554
|
+
end)
|
555
|
+
end
|
556
|
+
|
557
|
+
end
|
558
|
+
end
|
File without changes
|