File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (309 lines) | stat: -rw-r--r-- 7,249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
	"time"
)

// Information about a cell.
type CellOutput struct {

	// The Amazon Resource Name (ARN) for the cell.
	//
	// This member is required.
	CellArn *string

	// The name of the cell.
	//
	// This member is required.
	CellName *string

	// A list of cell ARNs.
	//
	// This member is required.
	Cells []string

	// The readiness scope for the cell, which can be a cell Amazon Resource Name
	// (ARN) or a recovery group ARN. This is a list but currently can have only one
	// element.
	//
	// This member is required.
	ParentReadinessScopes []string

	// Tags on the resources.
	Tags map[string]string

	noSmithyDocumentSerde
}

// A component for DNS/routing control readiness checks and architecture checks.
type DNSTargetResource struct {

	// The domain name that acts as an ingress point to a portion of the customer
	// application.
	DomainName *string

	// The hosted zone Amazon Resource Name (ARN) that contains the DNS record with
	// the provided name of the target resource.
	HostedZoneArn *string

	// The Route 53 record set ID that uniquely identifies a DNS record, given a name
	// and a type.
	RecordSetId *string

	// The type of DNS record of the target resource.
	RecordType *string

	// The target resource of the DNS target resource.
	TargetResource *TargetResource

	noSmithyDocumentSerde
}

// Readiness rule information, including the resource type, rule ID, and rule
// description.
type ListRulesOutput struct {

	// The resource type that the readiness rule applies to.
	//
	// This member is required.
	ResourceType *string

	// The description of a readiness rule.
	//
	// This member is required.
	RuleDescription *string

	// The ID for the readiness rule.
	//
	// This member is required.
	RuleId *string

	noSmithyDocumentSerde
}

// Information relating to readiness check status.
type Message struct {

	// The text of a readiness check message.
	MessageText *string

	noSmithyDocumentSerde
}

// The Network Load Balancer resource that a DNS target resource points to.
type NLBResource struct {

	// The Network Load Balancer resource Amazon Resource Name (ARN).
	Arn *string

	noSmithyDocumentSerde
}

// The Route 53 resource that a DNS target resource record points to.
type R53ResourceRecord struct {

	// The DNS target domain name.
	DomainName *string

	// The Route 53 Resource Record Set ID.
	RecordSetId *string

	noSmithyDocumentSerde
}

// A readiness check.
type ReadinessCheckOutput struct {

	// The Amazon Resource Name (ARN) associated with a readiness check.
	//
	// This member is required.
	ReadinessCheckArn *string

	// Name of the resource set to be checked.
	//
	// This member is required.
	ResourceSet *string

	// Name of a readiness check.
	ReadinessCheckName *string

	// A collection of tags associated with a resource.
	Tags map[string]string

	noSmithyDocumentSerde
}

// Summary of all readiness check statuses in a recovery group, paginated in
// GetRecoveryGroupReadinessSummary and GetCellReadinessSummary.
type ReadinessCheckSummary struct {

	// The readiness status of this readiness check.
	Readiness Readiness

	// The name of a readiness check.
	ReadinessCheckName *string

	noSmithyDocumentSerde
}

// Recommendations that are provided to make an application more recovery
// resilient.
type Recommendation struct {

	// Text of the recommendations that are provided to make an application more
	// recovery resilient.
	//
	// This member is required.
	RecommendationText *string

	noSmithyDocumentSerde
}

// A representation of the application, typically containing multiple cells.
type RecoveryGroupOutput struct {

	// A list of a cell's Amazon Resource Names (ARNs).
	//
	// This member is required.
	Cells []string

	// The Amazon Resource Name (ARN) for the recovery group.
	//
	// This member is required.
	RecoveryGroupArn *string

	// The name of the recovery group.
	//
	// This member is required.
	RecoveryGroupName *string

	// The tags associated with the recovery group.
	Tags map[string]string

	noSmithyDocumentSerde
}

// The resource element of a resource set.
type Resource struct {

	// The component identifier of the resource, generated when DNS target resource is
	// used.
	ComponentId *string

	// The DNS target resource.
	DnsTargetResource *DNSTargetResource

	// A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this
	// resource is contained within.
	ReadinessScopes []string

	// The Amazon Resource Name (ARN) of the Amazon Web Services resource.
	ResourceArn *string

	noSmithyDocumentSerde
}

// The result of a successful Resource request, with status for an individual
// resource.
type ResourceResult struct {

	// The time (UTC) that the resource was last checked for readiness, in ISO-8601
	// format.
	//
	// This member is required.
	LastCheckedTimestamp *time.Time

	// The readiness of a resource.
	//
	// This member is required.
	Readiness Readiness

	// The component id of the resource.
	ComponentId *string

	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string

	noSmithyDocumentSerde
}

// A collection of resources of the same type.
type ResourceSetOutput struct {

	// The Amazon Resource Name (ARN) for the resource set.
	//
	// This member is required.
	ResourceSetArn *string

	// The name of the resource set.
	//
	// This member is required.
	ResourceSetName *string

	// The resource type of the resources in the resource set. Enter one of the
	// following values for resource type: AWS::ApiGateway::Stage,
	// AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup,
	// AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table,
	// AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer,
	// AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function,
	// AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck,
	// AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC,
	// AWS::EC2::VPNConnection, AWS::EC2::VPNGateway,
	// AWS::Route53RecoveryReadiness::DNSTargetResource
	//
	// This member is required.
	ResourceSetType *string

	// A list of resource objects.
	//
	// This member is required.
	Resources []Resource

	// A collection of tags associated with a resource.
	Tags map[string]string

	noSmithyDocumentSerde
}

// The result of a successful Rule request, with status for an individual rule.
type RuleResult struct {

	// The time the resource was last checked for readiness, in ISO-8601 format, UTC.
	//
	// This member is required.
	LastCheckedTimestamp *time.Time

	// Details about the resource's readiness.
	//
	// This member is required.
	Messages []Message

	// The readiness at rule level.
	//
	// This member is required.
	Readiness Readiness

	// The identifier of the rule.
	//
	// This member is required.
	RuleId *string

	noSmithyDocumentSerde
}

// The target resource that the Route 53 record points to.
type TargetResource struct {

	// The Network Load Balancer Resource.
	NLBResource *NLBResource

	// The Route 53 resource.
	R53Resource *R53ResourceRecord

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde