aws-sdk-ssmsap 1.8.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6345734834c58c82c073672995158f627040190feddd5c2ce0f36136de56d20a
4
- data.tar.gz: b850450b30a23f03c20b2c6346ed2c80bef4019bc47ffa658bac1edac1d4b38c
3
+ metadata.gz: fdd43a7beecbda1c7a99712ca032d7da9552840c96bb4d23e61a6bcb26bc2f69
4
+ data.tar.gz: 1b3302dbf3415334c4983b4f38b8866f6f629c7f00e4aa6077040b13b5545e24
5
5
  SHA512:
6
- metadata.gz: 84f39762e3443cd6e14ab03e2f6c1b96009bebeff15d60e0e4bf0592810de8102a4dc632700f9291bf53e0543d64c16407e6bd4d4683604ec4140b2ca6f6b52d
7
- data.tar.gz: 2d0ef4f9cc86b7a4390fbbf8e6383dea39378f6d12470efde6f3e499425adf3cf4cff37d9c38508af415c0f0558366d95289292ed586fffd15a53141097b561d
6
+ metadata.gz: 71b0916f05d86d3b36d0dece041709b21ec3e2df29d0f1b46f6475dd760184b6ab7c2281e7e7e1b861fc648305c3b965de3440f9e9fc6a4fc6e92cb3f9531071
7
+ data.tar.gz: cb2206053f472099ab0ac2649435f24b72358b4b8a73e5a533c3854557a2c7545c88ad4be6db37b2cf9c05292e7354a1a59a54ce123b5f8e20892dd7ba097174
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2023-09-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.9.0 (2023-07-19)
10
+ ------------------
11
+
12
+ * Feature - Added support for SAP Hana High Availability discovery (primary and secondary nodes) and Backint agent installation with SSM for SAP.
13
+
4
14
  1.8.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.10.0
@@ -480,6 +480,7 @@ module Aws::SsmSap
480
480
  # resp.application.arn #=> String
481
481
  # resp.application.app_registry_arn #=> String
482
482
  # resp.application.status #=> String, one of "ACTIVATED", "STARTING", "STOPPED", "STOPPING", "FAILED", "REGISTERING", "DELETING", "UNKNOWN"
483
+ # resp.application.discovery_status #=> String, one of "SUCCESS", "REGISTRATION_FAILED", "REFRESH_FAILED", "REGISTERING", "DELETING"
483
484
  # resp.application.components #=> Array
484
485
  # resp.application.components[0] #=> String
485
486
  # resp.application.last_updated #=> Time
@@ -508,6 +509,7 @@ module Aws::SsmSap
508
509
  # @return [Types::GetComponentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
509
510
  #
510
511
  # * {Types::GetComponentOutput#component #component} => Types::Component
512
+ # * {Types::GetComponentOutput#tags #tags} => Hash<String,String>
511
513
  #
512
514
  # @example Request syntax with placeholder values
513
515
  #
@@ -519,18 +521,36 @@ module Aws::SsmSap
519
521
  # @example Response structure
520
522
  #
521
523
  # resp.component.component_id #=> String
524
+ # resp.component.parent_component #=> String
525
+ # resp.component.child_components #=> Array
526
+ # resp.component.child_components[0] #=> String
522
527
  # resp.component.application_id #=> String
523
- # resp.component.component_type #=> String, one of "HANA"
524
- # resp.component.status #=> String, one of "ACTIVATED"
528
+ # resp.component.component_type #=> String, one of "HANA", "HANA_NODE"
529
+ # resp.component.status #=> String, one of "ACTIVATED", "STARTING", "STOPPED", "STOPPING", "RUNNING", "RUNNING_WITH_ERROR", "UNDEFINED"
530
+ # resp.component.sap_hostname #=> String
531
+ # resp.component.sap_kernel_version #=> String
532
+ # resp.component.hdb_version #=> String
533
+ # resp.component.resilience.hsr_tier #=> String
534
+ # resp.component.resilience.hsr_replication_mode #=> String, one of "PRIMARY", "NONE", "SYNC", "SYNCMEM", "ASYNC"
535
+ # resp.component.resilience.hsr_operation_mode #=> String, one of "PRIMARY", "LOGREPLAY", "DELTA_DATASHIPPING", "LOGREPLAY_READACCESS", "NONE"
536
+ # resp.component.resilience.cluster_status #=> String, one of "ONLINE", "STANDBY", "MAINTENANCE", "OFFLINE", "NONE"
537
+ # resp.component.associated_host.hostname #=> String
538
+ # resp.component.associated_host.ec2_instance_id #=> String
539
+ # resp.component.associated_host.os_version #=> String
525
540
  # resp.component.databases #=> Array
526
541
  # resp.component.databases[0] #=> String
527
542
  # resp.component.hosts #=> Array
528
543
  # resp.component.hosts[0].host_name #=> String
529
- # resp.component.hosts[0].host_role #=> String, one of "LEADER", "WORKER", "STANDBY", "UNKNOWN"
530
544
  # resp.component.hosts[0].host_ip #=> String
545
+ # resp.component.hosts[0].ec2_instance_id #=> String
531
546
  # resp.component.hosts[0].instance_id #=> String
547
+ # resp.component.hosts[0].host_role #=> String, one of "LEADER", "WORKER", "STANDBY", "UNKNOWN"
548
+ # resp.component.hosts[0].os_version #=> String
532
549
  # resp.component.primary_host #=> String
533
550
  # resp.component.last_updated #=> Time
551
+ # resp.component.arn #=> String
552
+ # resp.tags #=> Hash
553
+ # resp.tags["TagKey"] #=> String
534
554
  #
535
555
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetComponent AWS API Documentation
536
556
  #
@@ -582,7 +602,7 @@ module Aws::SsmSap
582
602
  # resp.database.database_name #=> String
583
603
  # resp.database.database_type #=> String, one of "SYSTEM", "TENANT"
584
604
  # resp.database.arn #=> String
585
- # resp.database.status #=> String, one of "RUNNING", "STARTING", "STOPPED", "WARNING", "UNKNOWN"
605
+ # resp.database.status #=> String, one of "RUNNING", "STARTING", "STOPPED", "WARNING", "UNKNOWN", "ERROR"
586
606
  # resp.database.primary_host #=> String
587
607
  # resp.database.sql_port #=> Integer
588
608
  # resp.database.last_updated #=> Time
@@ -748,9 +768,10 @@ module Aws::SsmSap
748
768
  # resp.components #=> Array
749
769
  # resp.components[0].application_id #=> String
750
770
  # resp.components[0].component_id #=> String
751
- # resp.components[0].component_type #=> String, one of "HANA"
771
+ # resp.components[0].component_type #=> String, one of "HANA", "HANA_NODE"
752
772
  # resp.components[0].tags #=> Hash
753
773
  # resp.components[0].tags["TagKey"] #=> String
774
+ # resp.components[0].arn #=> String
754
775
  # resp.next_token #=> String
755
776
  #
756
777
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ListComponents AWS API Documentation
@@ -1010,6 +1031,7 @@ module Aws::SsmSap
1010
1031
  # resp.application.arn #=> String
1011
1032
  # resp.application.app_registry_arn #=> String
1012
1033
  # resp.application.status #=> String, one of "ACTIVATED", "STARTING", "STOPPED", "STOPPING", "FAILED", "REGISTERING", "DELETING", "UNKNOWN"
1034
+ # resp.application.discovery_status #=> String, one of "SUCCESS", "REGISTRATION_FAILED", "REFRESH_FAILED", "REGISTERING", "DELETING"
1013
1035
  # resp.application.components #=> Array
1014
1036
  # resp.application.components[0] #=> String
1015
1037
  # resp.application.last_updated #=> Time
@@ -1025,6 +1047,34 @@ module Aws::SsmSap
1025
1047
  req.send_request(options)
1026
1048
  end
1027
1049
 
1050
+ # Refreshes a registered application.
1051
+ #
1052
+ # @option params [required, String] :application_id
1053
+ # The ID of the application.
1054
+ #
1055
+ # @return [Types::StartApplicationRefreshOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1056
+ #
1057
+ # * {Types::StartApplicationRefreshOutput#operation_id #operation_id} => String
1058
+ #
1059
+ # @example Request syntax with placeholder values
1060
+ #
1061
+ # resp = client.start_application_refresh({
1062
+ # application_id: "ApplicationId", # required
1063
+ # })
1064
+ #
1065
+ # @example Response structure
1066
+ #
1067
+ # resp.operation_id #=> String
1068
+ #
1069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StartApplicationRefresh AWS API Documentation
1070
+ #
1071
+ # @overload start_application_refresh(params = {})
1072
+ # @param [Hash] params ({})
1073
+ def start_application_refresh(params = {}, options = {})
1074
+ req = build_request(:start_application_refresh, params)
1075
+ req.send_request(options)
1076
+ end
1077
+
1028
1078
  # Creates tag for a resource by specifying the ARN.
1029
1079
  #
1030
1080
  # @option params [required, String] :resource_arn
@@ -1092,6 +1142,9 @@ module Aws::SsmSap
1092
1142
  # @option params [Array<Types::ApplicationCredential>] :credentials_to_remove
1093
1143
  # The credentials to be removed.
1094
1144
  #
1145
+ # @option params [Types::BackintConfig] :backint
1146
+ # Installation of AWS Backint Agent for SAP HANA.
1147
+ #
1095
1148
  # @return [Types::UpdateApplicationSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1096
1149
  #
1097
1150
  # * {Types::UpdateApplicationSettingsOutput#message #message} => String
@@ -1115,6 +1168,10 @@ module Aws::SsmSap
1115
1168
  # secret_id: "SecretId", # required
1116
1169
  # },
1117
1170
  # ],
1171
+ # backint: {
1172
+ # backint_mode: "AWSBackup", # required, accepts AWSBackup
1173
+ # ensure_no_backup_in_process: false, # required
1174
+ # },
1118
1175
  # })
1119
1176
  #
1120
1177
  # @example Response structure
@@ -1145,7 +1202,7 @@ module Aws::SsmSap
1145
1202
  params: params,
1146
1203
  config: config)
1147
1204
  context[:gem_name] = 'aws-sdk-ssmsap'
1148
- context[:gem_version] = '1.8.0'
1205
+ context[:gem_version] = '1.10.0'
1149
1206
  Seahorse::Client::Request.new(handlers, context)
1150
1207
  end
1151
1208
 
@@ -17,12 +17,18 @@ module Aws::SsmSap
17
17
  Application = Shapes::StructureShape.new(name: 'Application')
18
18
  ApplicationCredential = Shapes::StructureShape.new(name: 'ApplicationCredential')
19
19
  ApplicationCredentialList = Shapes::ListShape.new(name: 'ApplicationCredentialList')
20
+ ApplicationDiscoveryStatus = Shapes::StringShape.new(name: 'ApplicationDiscoveryStatus')
20
21
  ApplicationId = Shapes::StringShape.new(name: 'ApplicationId')
21
22
  ApplicationStatus = Shapes::StringShape.new(name: 'ApplicationStatus')
22
23
  ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
23
24
  ApplicationSummaryList = Shapes::ListShape.new(name: 'ApplicationSummaryList')
24
25
  ApplicationType = Shapes::StringShape.new(name: 'ApplicationType')
25
26
  Arn = Shapes::StringShape.new(name: 'Arn')
27
+ AssociatedHost = Shapes::StructureShape.new(name: 'AssociatedHost')
28
+ BackintConfig = Shapes::StructureShape.new(name: 'BackintConfig')
29
+ BackintMode = Shapes::StringShape.new(name: 'BackintMode')
30
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
31
+ ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
26
32
  Component = Shapes::StructureShape.new(name: 'Component')
27
33
  ComponentId = Shapes::StringShape.new(name: 'ComponentId')
28
34
  ComponentIdList = Shapes::ListShape.new(name: 'ComponentIdList')
@@ -82,6 +88,7 @@ module Aws::SsmSap
82
88
  OperationId = Shapes::StringShape.new(name: 'OperationId')
83
89
  OperationIdList = Shapes::ListShape.new(name: 'OperationIdList')
84
90
  OperationList = Shapes::ListShape.new(name: 'OperationList')
91
+ OperationMode = Shapes::StringShape.new(name: 'OperationMode')
85
92
  OperationProperties = Shapes::MapShape.new(name: 'OperationProperties')
86
93
  OperationStatus = Shapes::StringShape.new(name: 'OperationStatus')
87
94
  OperationType = Shapes::StringShape.new(name: 'OperationType')
@@ -90,6 +97,8 @@ module Aws::SsmSap
90
97
  PutResourcePermissionOutput = Shapes::StructureShape.new(name: 'PutResourcePermissionOutput')
91
98
  RegisterApplicationInput = Shapes::StructureShape.new(name: 'RegisterApplicationInput')
92
99
  RegisterApplicationOutput = Shapes::StructureShape.new(name: 'RegisterApplicationOutput')
100
+ ReplicationMode = Shapes::StringShape.new(name: 'ReplicationMode')
101
+ Resilience = Shapes::StructureShape.new(name: 'Resilience')
93
102
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
94
103
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
95
104
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -97,6 +106,8 @@ module Aws::SsmSap
97
106
  SID = Shapes::StringShape.new(name: 'SID')
98
107
  SecretId = Shapes::StringShape.new(name: 'SecretId')
99
108
  SsmSapArn = Shapes::StringShape.new(name: 'SsmSapArn')
109
+ StartApplicationRefreshInput = Shapes::StructureShape.new(name: 'StartApplicationRefreshInput')
110
+ StartApplicationRefreshOutput = Shapes::StructureShape.new(name: 'StartApplicationRefreshOutput')
100
111
  String = Shapes::StringShape.new(name: 'String')
101
112
  TagKey = Shapes::StringShape.new(name: 'TagKey')
102
113
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -116,6 +127,7 @@ module Aws::SsmSap
116
127
  Application.add_member(:arn, Shapes::ShapeRef.new(shape: SsmSapArn, location_name: "Arn"))
117
128
  Application.add_member(:app_registry_arn, Shapes::ShapeRef.new(shape: AppRegistryArn, location_name: "AppRegistryArn"))
118
129
  Application.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationStatus, location_name: "Status"))
130
+ Application.add_member(:discovery_status, Shapes::ShapeRef.new(shape: ApplicationDiscoveryStatus, location_name: "DiscoveryStatus"))
119
131
  Application.add_member(:components, Shapes::ShapeRef.new(shape: ComponentIdList, location_name: "Components"))
120
132
  Application.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
121
133
  Application.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
@@ -136,14 +148,31 @@ module Aws::SsmSap
136
148
 
137
149
  ApplicationSummaryList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
138
150
 
151
+ AssociatedHost.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "Hostname"))
152
+ AssociatedHost.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "Ec2InstanceId"))
153
+ AssociatedHost.add_member(:os_version, Shapes::ShapeRef.new(shape: String, location_name: "OsVersion"))
154
+ AssociatedHost.struct_class = Types::AssociatedHost
155
+
156
+ BackintConfig.add_member(:backint_mode, Shapes::ShapeRef.new(shape: BackintMode, required: true, location_name: "BackintMode"))
157
+ BackintConfig.add_member(:ensure_no_backup_in_process, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EnsureNoBackupInProcess"))
158
+ BackintConfig.struct_class = Types::BackintConfig
159
+
139
160
  Component.add_member(:component_id, Shapes::ShapeRef.new(shape: ComponentId, location_name: "ComponentId"))
161
+ Component.add_member(:parent_component, Shapes::ShapeRef.new(shape: ComponentId, location_name: "ParentComponent"))
162
+ Component.add_member(:child_components, Shapes::ShapeRef.new(shape: ComponentIdList, location_name: "ChildComponents"))
140
163
  Component.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "ApplicationId"))
141
164
  Component.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "ComponentType"))
142
165
  Component.add_member(:status, Shapes::ShapeRef.new(shape: ComponentStatus, location_name: "Status"))
166
+ Component.add_member(:sap_hostname, Shapes::ShapeRef.new(shape: String, location_name: "SapHostname"))
167
+ Component.add_member(:sap_kernel_version, Shapes::ShapeRef.new(shape: String, location_name: "SapKernelVersion"))
168
+ Component.add_member(:hdb_version, Shapes::ShapeRef.new(shape: String, location_name: "HdbVersion"))
169
+ Component.add_member(:resilience, Shapes::ShapeRef.new(shape: Resilience, location_name: "Resilience"))
170
+ Component.add_member(:associated_host, Shapes::ShapeRef.new(shape: AssociatedHost, location_name: "AssociatedHost"))
143
171
  Component.add_member(:databases, Shapes::ShapeRef.new(shape: DatabaseIdList, location_name: "Databases"))
144
- Component.add_member(:hosts, Shapes::ShapeRef.new(shape: HostList, location_name: "Hosts"))
145
- Component.add_member(:primary_host, Shapes::ShapeRef.new(shape: String, location_name: "PrimaryHost"))
172
+ Component.add_member(:hosts, Shapes::ShapeRef.new(shape: HostList, deprecated: true, location_name: "Hosts", metadata: {"deprecatedMessage"=>"This shape is no longer used. Please use AssociatedHost."}))
173
+ Component.add_member(:primary_host, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PrimaryHost", metadata: {"deprecatedMessage"=>"This shape is no longer used. Please use AssociatedHost."}))
146
174
  Component.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
175
+ Component.add_member(:arn, Shapes::ShapeRef.new(shape: SsmSapArn, location_name: "Arn"))
147
176
  Component.struct_class = Types::Component
148
177
 
149
178
  ComponentIdList.member = Shapes::ShapeRef.new(shape: ComponentId)
@@ -152,6 +181,7 @@ module Aws::SsmSap
152
181
  ComponentSummary.add_member(:component_id, Shapes::ShapeRef.new(shape: ComponentId, location_name: "ComponentId"))
153
182
  ComponentSummary.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "ComponentType"))
154
183
  ComponentSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
184
+ ComponentSummary.add_member(:arn, Shapes::ShapeRef.new(shape: SsmSapArn, location_name: "Arn"))
155
185
  ComponentSummary.struct_class = Types::ComponentSummary
156
186
 
157
187
  ComponentSummaryList.member = Shapes::ShapeRef.new(shape: ComponentSummary)
@@ -218,6 +248,7 @@ module Aws::SsmSap
218
248
  GetComponentInput.struct_class = Types::GetComponentInput
219
249
 
220
250
  GetComponentOutput.add_member(:component, Shapes::ShapeRef.new(shape: Component, location_name: "Component"))
251
+ GetComponentOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
221
252
  GetComponentOutput.struct_class = Types::GetComponentOutput
222
253
 
223
254
  GetDatabaseInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "ApplicationId"))
@@ -244,9 +275,11 @@ module Aws::SsmSap
244
275
  GetResourcePermissionOutput.struct_class = Types::GetResourcePermissionOutput
245
276
 
246
277
  Host.add_member(:host_name, Shapes::ShapeRef.new(shape: String, location_name: "HostName"))
247
- Host.add_member(:host_role, Shapes::ShapeRef.new(shape: HostRole, location_name: "HostRole"))
248
278
  Host.add_member(:host_ip, Shapes::ShapeRef.new(shape: String, location_name: "HostIp"))
279
+ Host.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "EC2InstanceId"))
249
280
  Host.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "InstanceId"))
281
+ Host.add_member(:host_role, Shapes::ShapeRef.new(shape: HostRole, location_name: "HostRole"))
282
+ Host.add_member(:os_version, Shapes::ShapeRef.new(shape: String, location_name: "OsVersion"))
250
283
  Host.struct_class = Types::Host
251
284
 
252
285
  HostList.member = Shapes::ShapeRef.new(shape: Host)
@@ -340,9 +373,21 @@ module Aws::SsmSap
340
373
  RegisterApplicationOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
341
374
  RegisterApplicationOutput.struct_class = Types::RegisterApplicationOutput
342
375
 
376
+ Resilience.add_member(:hsr_tier, Shapes::ShapeRef.new(shape: String, location_name: "HsrTier"))
377
+ Resilience.add_member(:hsr_replication_mode, Shapes::ShapeRef.new(shape: ReplicationMode, location_name: "HsrReplicationMode"))
378
+ Resilience.add_member(:hsr_operation_mode, Shapes::ShapeRef.new(shape: OperationMode, location_name: "HsrOperationMode"))
379
+ Resilience.add_member(:cluster_status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "ClusterStatus"))
380
+ Resilience.struct_class = Types::Resilience
381
+
343
382
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
344
383
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
345
384
 
385
+ StartApplicationRefreshInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
386
+ StartApplicationRefreshInput.struct_class = Types::StartApplicationRefreshInput
387
+
388
+ StartApplicationRefreshOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId"))
389
+ StartApplicationRefreshOutput.struct_class = Types::StartApplicationRefreshOutput
390
+
346
391
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
347
392
 
348
393
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -363,6 +408,7 @@ module Aws::SsmSap
363
408
  UpdateApplicationSettingsInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
364
409
  UpdateApplicationSettingsInput.add_member(:credentials_to_add_or_update, Shapes::ShapeRef.new(shape: ApplicationCredentialList, location_name: "CredentialsToAddOrUpdate"))
365
410
  UpdateApplicationSettingsInput.add_member(:credentials_to_remove, Shapes::ShapeRef.new(shape: ApplicationCredentialList, location_name: "CredentialsToRemove"))
411
+ UpdateApplicationSettingsInput.add_member(:backint, Shapes::ShapeRef.new(shape: BackintConfig, location_name: "Backint"))
366
412
  UpdateApplicationSettingsInput.struct_class = Types::UpdateApplicationSettingsInput
367
413
 
368
414
  UpdateApplicationSettingsOutput.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -563,6 +609,18 @@ module Aws::SsmSap
563
609
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
564
610
  end)
565
611
 
612
+ api.add_operation(:start_application_refresh, Seahorse::Model::Operation.new.tap do |o|
613
+ o.name = "StartApplicationRefresh"
614
+ o.http_method = "POST"
615
+ o.http_request_uri = "/start-application-refresh"
616
+ o.input = Shapes::ShapeRef.new(shape: StartApplicationRefreshInput)
617
+ o.output = Shapes::ShapeRef.new(shape: StartApplicationRefreshOutput)
618
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
619
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
620
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
621
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
622
+ end)
623
+
566
624
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
567
625
  o.name = "TagResource"
568
626
  o.http_method = "POST"
@@ -593,6 +651,7 @@ module Aws::SsmSap
593
651
  o.output = Shapes::ShapeRef.new(shape: UpdateApplicationSettingsOutput)
594
652
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
595
653
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
596
655
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
597
656
  end)
598
657
  end
@@ -50,9 +50,6 @@ module Aws::SsmSap
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::SsmSap
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://ssm-sap.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -208,6 +208,20 @@ module Aws::SsmSap
208
208
  end
209
209
  end
210
210
 
211
+ class StartApplicationRefresh
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::SsmSap::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
211
225
  class TagResource
212
226
  def self.build(context)
213
227
  unless context.config.regional_endpoint
@@ -84,6 +84,8 @@ module Aws::SsmSap
84
84
  Aws::SsmSap::Endpoints::PutResourcePermission.build(context)
85
85
  when :register_application
86
86
  Aws::SsmSap::Endpoints::RegisterApplication.build(context)
87
+ when :start_application_refresh
88
+ Aws::SsmSap::Endpoints::StartApplicationRefresh.build(context)
87
89
  when :tag_resource
88
90
  Aws::SsmSap::Endpoints::TagResource.build(context)
89
91
  when :untag_resource
@@ -32,6 +32,10 @@ module Aws::SsmSap
32
32
  # The status of the application.
33
33
  # @return [String]
34
34
  #
35
+ # @!attribute [rw] discovery_status
36
+ # The latest discovery result for the application.
37
+ # @return [String]
38
+ #
35
39
  # @!attribute [rw] components
36
40
  # The components of the application.
37
41
  # @return [Array<String>]
@@ -52,6 +56,7 @@ module Aws::SsmSap
52
56
  :arn,
53
57
  :app_registry_arn,
54
58
  :status,
59
+ :discovery_status,
55
60
  :components,
56
61
  :last_updated,
57
62
  :status_message)
@@ -114,12 +119,67 @@ module Aws::SsmSap
114
119
  include Aws::Structure
115
120
  end
116
121
 
122
+ # Describes the properties of the associated host.
123
+ #
124
+ # @!attribute [rw] hostname
125
+ # The name of the host.
126
+ # @return [String]
127
+ #
128
+ # @!attribute [rw] ec2_instance_id
129
+ # The ID of the Amazon EC2 instance.
130
+ # @return [String]
131
+ #
132
+ # @!attribute [rw] os_version
133
+ # The version of the operating system.
134
+ # @return [String]
135
+ #
136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/AssociatedHost AWS API Documentation
137
+ #
138
+ class AssociatedHost < Struct.new(
139
+ :hostname,
140
+ :ec2_instance_id,
141
+ :os_version)
142
+ SENSITIVE = []
143
+ include Aws::Structure
144
+ end
145
+
146
+ # Configuration parameters for AWS Backint Agent for SAP HANA. You can
147
+ # backup your SAP HANA database with AWS Backup or Amazon S3.
148
+ #
149
+ # @!attribute [rw] backint_mode
150
+ # AWS service for your database backup.
151
+ # @return [String]
152
+ #
153
+ # @!attribute [rw] ensure_no_backup_in_process
154
+ # @return [Boolean]
155
+ #
156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/BackintConfig AWS API Documentation
157
+ #
158
+ class BackintConfig < Struct.new(
159
+ :backint_mode,
160
+ :ensure_no_backup_in_process)
161
+ SENSITIVE = []
162
+ include Aws::Structure
163
+ end
164
+
117
165
  # The SAP component of your application.
118
166
  #
119
167
  # @!attribute [rw] component_id
120
168
  # The ID of the component.
121
169
  # @return [String]
122
170
  #
171
+ # @!attribute [rw] parent_component
172
+ # The parent component of a highly available environment. For example,
173
+ # in a highly available SAP on AWS workload, the parent component
174
+ # consists of the entire setup, including the child components.
175
+ # @return [String]
176
+ #
177
+ # @!attribute [rw] child_components
178
+ # The child components of a highly available environment. For example,
179
+ # in a highly available SAP on AWS workload, the child component
180
+ # consists of the primary and secondar instances.
181
+ # @return [Array<String>]
182
+ #
123
183
  # @!attribute [rw] application_id
124
184
  # The ID of the application.
125
185
  # @return [String]
@@ -132,6 +192,26 @@ module Aws::SsmSap
132
192
  # The status of the component.
133
193
  # @return [String]
134
194
  #
195
+ # @!attribute [rw] sap_hostname
196
+ # The hostname of the component.
197
+ # @return [String]
198
+ #
199
+ # @!attribute [rw] sap_kernel_version
200
+ # The kernel version of the component.
201
+ # @return [String]
202
+ #
203
+ # @!attribute [rw] hdb_version
204
+ # The SAP HANA version of the component.
205
+ # @return [String]
206
+ #
207
+ # @!attribute [rw] resilience
208
+ # Details of the SAP HANA system replication for the component.
209
+ # @return [Types::Resilience]
210
+ #
211
+ # @!attribute [rw] associated_host
212
+ # The associated host of the component.
213
+ # @return [Types::AssociatedHost]
214
+ #
135
215
  # @!attribute [rw] databases
136
216
  # The SAP HANA databases of the component.
137
217
  # @return [Array<String>]
@@ -148,17 +228,29 @@ module Aws::SsmSap
148
228
  # The time at which the component was last updated.
149
229
  # @return [Time]
150
230
  #
231
+ # @!attribute [rw] arn
232
+ # The Amazon Resource Name (ARN) of the component.
233
+ # @return [String]
234
+ #
151
235
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/Component AWS API Documentation
152
236
  #
153
237
  class Component < Struct.new(
154
238
  :component_id,
239
+ :parent_component,
240
+ :child_components,
155
241
  :application_id,
156
242
  :component_type,
157
243
  :status,
244
+ :sap_hostname,
245
+ :sap_kernel_version,
246
+ :hdb_version,
247
+ :resilience,
248
+ :associated_host,
158
249
  :databases,
159
250
  :hosts,
160
251
  :primary_host,
161
- :last_updated)
252
+ :last_updated,
253
+ :arn)
162
254
  SENSITIVE = []
163
255
  include Aws::Structure
164
256
  end
@@ -181,13 +273,18 @@ module Aws::SsmSap
181
273
  # The tags of the component.
182
274
  # @return [Hash<String,String>]
183
275
  #
276
+ # @!attribute [rw] arn
277
+ # The Amazon Resource Name (ARN) of the component summary.
278
+ # @return [String]
279
+ #
184
280
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/ComponentSummary AWS API Documentation
185
281
  #
186
282
  class ComponentSummary < Struct.new(
187
283
  :application_id,
188
284
  :component_id,
189
285
  :component_type,
190
- :tags)
286
+ :tags,
287
+ :arn)
191
288
  SENSITIVE = []
192
289
  include Aws::Structure
193
290
  end
@@ -449,10 +546,15 @@ module Aws::SsmSap
449
546
  # for SAP.
450
547
  # @return [Types::Component]
451
548
  #
549
+ # @!attribute [rw] tags
550
+ # The tags of a component.
551
+ # @return [Hash<String,String>]
552
+ #
452
553
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetComponentOutput AWS API Documentation
453
554
  #
454
555
  class GetComponentOutput < Struct.new(
455
- :component)
556
+ :component,
557
+ :tags)
456
558
  SENSITIVE = []
457
559
  include Aws::Structure
458
560
  end
@@ -559,25 +661,35 @@ module Aws::SsmSap
559
661
  # The name of the Dedicated Host.
560
662
  # @return [String]
561
663
  #
562
- # @!attribute [rw] host_role
563
- # The role of the Dedicated Host.
564
- # @return [String]
565
- #
566
664
  # @!attribute [rw] host_ip
567
665
  # The IP address of the Dedicated Host.
568
666
  # @return [String]
569
667
  #
668
+ # @!attribute [rw] ec2_instance_id
669
+ # The ID of Amazon EC2 instance.
670
+ # @return [String]
671
+ #
570
672
  # @!attribute [rw] instance_id
571
673
  # The instance ID of the instance on the Dedicated Host.
572
674
  # @return [String]
573
675
  #
676
+ # @!attribute [rw] host_role
677
+ # The role of the Dedicated Host.
678
+ # @return [String]
679
+ #
680
+ # @!attribute [rw] os_version
681
+ # The version of the operating system.
682
+ # @return [String]
683
+ #
574
684
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/Host AWS API Documentation
575
685
  #
576
686
  class Host < Struct.new(
577
687
  :host_name,
578
- :host_role,
579
688
  :host_ip,
580
- :instance_id)
689
+ :ec2_instance_id,
690
+ :instance_id,
691
+ :host_role,
692
+ :os_version)
581
693
  SENSITIVE = []
582
694
  include Aws::Structure
583
695
  end
@@ -949,6 +1061,35 @@ module Aws::SsmSap
949
1061
  include Aws::Structure
950
1062
  end
951
1063
 
1064
+ # Details of the SAP HANA system replication for the instance.
1065
+ #
1066
+ # @!attribute [rw] hsr_tier
1067
+ # The tier of the component.
1068
+ # @return [String]
1069
+ #
1070
+ # @!attribute [rw] hsr_replication_mode
1071
+ # The replication mode of the component.
1072
+ # @return [String]
1073
+ #
1074
+ # @!attribute [rw] hsr_operation_mode
1075
+ # The operation mode of the component.
1076
+ # @return [String]
1077
+ #
1078
+ # @!attribute [rw] cluster_status
1079
+ # The cluster status of the component.
1080
+ # @return [String]
1081
+ #
1082
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/Resilience AWS API Documentation
1083
+ #
1084
+ class Resilience < Struct.new(
1085
+ :hsr_tier,
1086
+ :hsr_replication_mode,
1087
+ :hsr_operation_mode,
1088
+ :cluster_status)
1089
+ SENSITIVE = []
1090
+ include Aws::Structure
1091
+ end
1092
+
952
1093
  # The resource is not available.
953
1094
  #
954
1095
  # @!attribute [rw] message
@@ -962,6 +1103,30 @@ module Aws::SsmSap
962
1103
  include Aws::Structure
963
1104
  end
964
1105
 
1106
+ # @!attribute [rw] application_id
1107
+ # The ID of the application.
1108
+ # @return [String]
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StartApplicationRefreshInput AWS API Documentation
1111
+ #
1112
+ class StartApplicationRefreshInput < Struct.new(
1113
+ :application_id)
1114
+ SENSITIVE = []
1115
+ include Aws::Structure
1116
+ end
1117
+
1118
+ # @!attribute [rw] operation_id
1119
+ # The ID of the operation.
1120
+ # @return [String]
1121
+ #
1122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/StartApplicationRefreshOutput AWS API Documentation
1123
+ #
1124
+ class StartApplicationRefreshOutput < Struct.new(
1125
+ :operation_id)
1126
+ SENSITIVE = []
1127
+ include Aws::Structure
1128
+ end
1129
+
965
1130
  # @!attribute [rw] resource_arn
966
1131
  # The Amazon Resource Name (ARN) of the resource.
967
1132
  # @return [String]
@@ -1017,12 +1182,17 @@ module Aws::SsmSap
1017
1182
  # The credentials to be removed.
1018
1183
  # @return [Array<Types::ApplicationCredential>]
1019
1184
  #
1185
+ # @!attribute [rw] backint
1186
+ # Installation of AWS Backint Agent for SAP HANA.
1187
+ # @return [Types::BackintConfig]
1188
+ #
1020
1189
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/UpdateApplicationSettingsInput AWS API Documentation
1021
1190
  #
1022
1191
  class UpdateApplicationSettingsInput < Struct.new(
1023
1192
  :application_id,
1024
1193
  :credentials_to_add_or_update,
1025
- :credentials_to_remove)
1194
+ :credentials_to_remove,
1195
+ :backint)
1026
1196
  SENSITIVE = []
1027
1197
  include Aws::Structure
1028
1198
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ssmsap/customizations'
52
52
  # @!group service
53
53
  module Aws::SsmSap
54
54
 
55
- GEM_VERSION = '1.8.0'
55
+ GEM_VERSION = '1.10.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssmsap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core