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 (427 lines) | stat: -rw-r--r-- 9,728 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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

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

// An SAP application registered with AWS Systems Manager for SAP.
type Application struct {

	// The Amazon Resource Name (ARN) of the Application Registry.
	AppRegistryArn *string

	// The Amazon Resource Name (ARN) of the application.
	Arn *string

	// The components of the application.
	Components []string

	// The latest discovery result for the application.
	DiscoveryStatus ApplicationDiscoveryStatus

	// The ID of the application.
	Id *string

	// The time at which the application was last updated.
	LastUpdated *time.Time

	// The status of the application.
	Status ApplicationStatus

	// The status message.
	StatusMessage *string

	// The type of the application.
	Type ApplicationType

	noSmithyDocumentSerde
}

// The credentials of your SAP application.
type ApplicationCredential struct {

	// The type of the application credentials.
	//
	// This member is required.
	CredentialType CredentialType

	// The name of the SAP HANA database.
	//
	// This member is required.
	DatabaseName *string

	// The secret ID created in AWS Secrets Manager to store the credentials of the
	// SAP application.
	//
	// This member is required.
	SecretId *string

	noSmithyDocumentSerde
}

// The summary of the SAP application registered with AWS Systems Manager for SAP.
type ApplicationSummary struct {

	// The Amazon Resource Name (ARN) of the application.
	Arn *string

	// The status of the latest discovery.
	DiscoveryStatus ApplicationDiscoveryStatus

	// The ID of the application.
	Id *string

	// The tags on the application.
	Tags map[string]string

	// The type of the application.
	Type ApplicationType

	noSmithyDocumentSerde
}

// Describes the properties of the associated host.
type AssociatedHost struct {

	// The ID of the Amazon EC2 instance.
	Ec2InstanceId *string

	// The name of the host.
	Hostname *string

	// The IP addresses of the associated host.
	IpAddresses []IpAddressMember

	// The version of the operating system.
	OsVersion *string

	noSmithyDocumentSerde
}

// Configuration parameters for AWS Backint Agent for SAP HANA. You can backup
// your SAP HANA database with AWS Backup or Amazon S3.
type BackintConfig struct {

	// AWS service for your database backup.
	//
	// This member is required.
	BackintMode BackintMode

	//
	//
	// This member is required.
	EnsureNoBackupInProcess *bool

	noSmithyDocumentSerde
}

// The SAP component of your application.
type Component struct {

	// The ID of the application.
	ApplicationId *string

	// The Amazon Resource Name (ARN) of the component.
	Arn *string

	// The associated host of the component.
	AssociatedHost *AssociatedHost

	// The child components of a highly available environment. For example, in a
	// highly available SAP on AWS workload, the child component consists of the
	// primary and secondar instances.
	ChildComponents []string

	// The ID of the component.
	ComponentId *string

	// The type of the component.
	ComponentType ComponentType

	// The connection specifications for the database of the component.
	DatabaseConnection *DatabaseConnection

	// The SAP HANA databases of the component.
	Databases []string

	// The SAP HANA version of the component.
	HdbVersion *string

	// The hosts of the component.
	//
	// Deprecated: This shape is no longer used. Please use AssociatedHost.
	Hosts []Host

	// The time at which the component was last updated.
	LastUpdated *time.Time

	// The parent component of a highly available environment. For example, in a
	// highly available SAP on AWS workload, the parent component consists of the
	// entire setup, including the child components.
	ParentComponent *string

	// The primary host of the component.
	//
	// Deprecated: This shape is no longer used. Please use AssociatedHost.
	PrimaryHost *string

	// Details of the SAP HANA system replication for the component.
	Resilience *Resilience

	// The SAP feature of the component.
	SapFeature *string

	// The hostname of the component.
	SapHostname *string

	// The kernel version of the component.
	SapKernelVersion *string

	// The SAP System Identifier of the application component.
	Sid *string

	// The status of the component.
	//   - ACTIVATED - this status has been deprecated.
	//   - STARTING - the component is in the process of being started.
	//   - STOPPED - the component is not running.
	//   - STOPPING - the component is in the process of being stopped.
	//   - RUNNING - the component is running.
	//   - RUNNING_WITH_ERROR - one or more child component(s) of the parent component
	//   is not running. Call GetComponent (https://docs.aws.amazon.com/ssmsap/latest/APIReference/API_GetComponent.html)
	//   to review the status of each child component.
	//   - UNDEFINED - AWS Systems Manager for SAP cannot provide the component status
	//   based on the discovered information. Verify your SAP application.
	Status ComponentStatus

	// The SAP system number of the application component.
	SystemNumber *string

	noSmithyDocumentSerde
}

// The summary of the component.
type ComponentSummary struct {

	// The ID of the application.
	ApplicationId *string

	// The Amazon Resource Name (ARN) of the component summary.
	Arn *string

	// The ID of the component.
	ComponentId *string

	// The type of the component.
	ComponentType ComponentType

	// The tags of the component.
	Tags map[string]string

	noSmithyDocumentSerde
}

// The SAP HANA database of the application registered with AWS Systems Manager
// for SAP.
type Database struct {

	// The ID of the application.
	ApplicationId *string

	// The Amazon Resource Name (ARN) of the database.
	Arn *string

	// The ID of the component.
	ComponentId *string

	// The credentials of the database.
	Credentials []ApplicationCredential

	// The ID of the SAP HANA database.
	DatabaseId *string

	// The name of the database.
	DatabaseName *string

	// The type of the database.
	DatabaseType DatabaseType

	// The time at which the database was last updated.
	LastUpdated *time.Time

	// The primary host of the database.
	PrimaryHost *string

	// The SQL port of the database.
	SQLPort *int32

	// The status of the database.
	Status DatabaseStatus

	noSmithyDocumentSerde
}

// The connection specifications for the database.
type DatabaseConnection struct {

	// The IP address for connection.
	ConnectionIp *string

	// The Amazon Resource Name of the connected SAP HANA database.
	DatabaseArn *string

	// The method of connection.
	DatabaseConnectionMethod DatabaseConnectionMethod

	noSmithyDocumentSerde
}

// The summary of the database.
type DatabaseSummary struct {

	// The ID of the application.
	ApplicationId *string

	// The Amazon Resource Name (ARN) of the database.
	Arn *string

	// The ID of the component.
	ComponentId *string

	// The ID of the database.
	DatabaseId *string

	// The type of the database.
	DatabaseType DatabaseType

	// The tags of the database.
	Tags map[string]string

	noSmithyDocumentSerde
}

// A specific result obtained by specifying the name, value, and operator.
type Filter struct {

	// The name of the filter. Filter names are case-sensitive.
	//
	// This member is required.
	Name *string

	// The operator for the filter.
	//
	// This member is required.
	Operator FilterOperator

	// The filter values. Filter values are case-sensitive. If you specify multiple
	// values for a filter, the values are joined with an OR, and the request returns
	// all results that match any of the specified values
	//
	// This member is required.
	Value *string

	noSmithyDocumentSerde
}

// Describes the properties of the Dedicated Host.
type Host struct {

	// The ID of Amazon EC2 instance.
	EC2InstanceId *string

	// The IP address of the Dedicated Host.
	HostIp *string

	// The name of the Dedicated Host.
	HostName *string

	// The role of the Dedicated Host.
	HostRole HostRole

	// The instance ID of the instance on the Dedicated Host.
	InstanceId *string

	// The version of the operating system.
	OsVersion *string

	noSmithyDocumentSerde
}

// Provides information of the IP address.
type IpAddressMember struct {

	// The type of allocation for the IP address.
	AllocationType AllocationType

	// The IP address.
	IpAddress *string

	// The primary IP address.
	Primary *bool

	noSmithyDocumentSerde
}

// The operations performed by AWS Systems Manager for SAP.
type Operation struct {

	// The end time of the operation.
	EndTime *time.Time

	// The ID of the operation.
	Id *string

	// The time at which the operation was last updated.
	LastUpdatedTime *time.Time

	// The properties of the operation.
	Properties map[string]*string

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

	// The resource ID of the operation.
	ResourceId *string

	// The resource type of the operation.
	ResourceType *string

	// The start time of the operation.
	StartTime *time.Time

	// The status of the operation.
	Status OperationStatus

	// The status message of the operation.
	StatusMessage *string

	// The type of the operation.
	Type *string

	noSmithyDocumentSerde
}

// Details of the SAP HANA system replication for the instance.
type Resilience struct {

	// The cluster status of the component.
	ClusterStatus ClusterStatus

	// Indicates if or not enqueue replication is enabled for the ASCS component.
	EnqueueReplication *bool

	// The operation mode of the component.
	HsrOperationMode OperationMode

	// The replication mode of the component.
	HsrReplicationMode ReplicationMode

	// The tier of the component.
	HsrTier *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde