diff --git a/clients/client-ssm-sap/src/commands/DeregisterApplicationCommand.ts b/clients/client-ssm-sap/src/commands/DeregisterApplicationCommand.ts index 6e3e419bbd749..0b5e6bce82291 100644 --- a/clients/client-ssm-sap/src/commands/DeregisterApplicationCommand.ts +++ b/clients/client-ssm-sap/src/commands/DeregisterApplicationCommand.ts @@ -63,6 +63,9 @@ export interface DeregisterApplicationCommandOutput extends DeregisterApplicatio * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

* + * @throws {@link UnauthorizedException} (client fault) + *

The request is not authorized.

+ * * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* diff --git a/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts b/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts index f8085db38e5e0..662ee61fbda7d 100644 --- a/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts +++ b/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts @@ -55,7 +55,7 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met * // { // GetApplicationOutput * // Application: { // Application * // Id: "STRING_VALUE", - * // Type: "HANA", + * // Type: "HANA" || "SAP_ABAP", * // Arn: "STRING_VALUE", * // AppRegistryArn: "STRING_VALUE", * // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN", diff --git a/clients/client-ssm-sap/src/commands/GetComponentCommand.ts b/clients/client-ssm-sap/src/commands/GetComponentCommand.ts index 7e2c3372e5030..7d56fcbdd2fea 100644 --- a/clients/client-ssm-sap/src/commands/GetComponentCommand.ts +++ b/clients/client-ssm-sap/src/commands/GetComponentCommand.ts @@ -54,14 +54,17 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat * // { // GetComponentOutput * // Component: { // Component * // ComponentId: "STRING_VALUE", + * // Sid: "STRING_VALUE", + * // SystemNumber: "STRING_VALUE", * // ParentComponent: "STRING_VALUE", * // ChildComponents: [ // ComponentIdList * // "STRING_VALUE", * // ], * // ApplicationId: "STRING_VALUE", - * // ComponentType: "HANA" || "HANA_NODE", + * // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS", * // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "RUNNING" || "RUNNING_WITH_ERROR" || "UNDEFINED", * // SapHostname: "STRING_VALUE", + * // SapFeature: "STRING_VALUE", * // SapKernelVersion: "STRING_VALUE", * // HdbVersion: "STRING_VALUE", * // Resilience: { // Resilience @@ -69,10 +72,18 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat * // HsrReplicationMode: "PRIMARY" || "NONE" || "SYNC" || "SYNCMEM" || "ASYNC", * // HsrOperationMode: "PRIMARY" || "LOGREPLAY" || "DELTA_DATASHIPPING" || "LOGREPLAY_READACCESS" || "NONE", * // ClusterStatus: "ONLINE" || "STANDBY" || "MAINTENANCE" || "OFFLINE" || "NONE", + * // EnqueueReplication: true || false, * // }, * // AssociatedHost: { // AssociatedHost * // Hostname: "STRING_VALUE", * // Ec2InstanceId: "STRING_VALUE", + * // IpAddresses: [ // IpAddressList + * // { // IpAddressMember + * // IpAddress: "STRING_VALUE", + * // Primary: true || false, + * // AllocationType: "VPC_SUBNET" || "ELASTIC_IP" || "OVERLAY" || "UNKNOWN", + * // }, + * // ], * // OsVersion: "STRING_VALUE", * // }, * // Databases: [ // DatabaseIdList @@ -89,6 +100,11 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat * // }, * // ], * // PrimaryHost: "STRING_VALUE", + * // DatabaseConnection: { // DatabaseConnection + * // DatabaseConnectionMethod: "DIRECT" || "OVERLAY", + * // DatabaseArn: "STRING_VALUE", + * // ConnectionIp: "STRING_VALUE", + * // }, * // LastUpdated: new Date("TIMESTAMP"), * // Arn: "STRING_VALUE", * // }, @@ -108,6 +124,9 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

* + * @throws {@link UnauthorizedException} (client fault) + *

The request is not authorized.

+ * * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* diff --git a/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts b/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts index 3aa54b3f6220d..10c74191c4d8a 100644 --- a/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts +++ b/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts @@ -47,6 +47,13 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _ * const input = { // ListApplicationsInput * NextToken: "STRING_VALUE", * MaxResults: Number("int"), + * Filters: [ // FilterList + * { // Filter + * Name: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * Operator: "Equals" || "GreaterThanOrEquals" || "LessThanOrEquals", // required + * }, + * ], * }; * const command = new ListApplicationsCommand(input); * const response = await client.send(command); @@ -54,7 +61,8 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _ * // Applications: [ // ApplicationSummaryList * // { // ApplicationSummary * // Id: "STRING_VALUE", - * // Type: "HANA", + * // DiscoveryStatus: "SUCCESS" || "REGISTRATION_FAILED" || "REFRESH_FAILED" || "REGISTERING" || "DELETING", + * // Type: "HANA" || "SAP_ABAP", * // Arn: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", diff --git a/clients/client-ssm-sap/src/commands/ListComponentsCommand.ts b/clients/client-ssm-sap/src/commands/ListComponentsCommand.ts index 548eecfbd4672..b546f9ace1e07 100644 --- a/clients/client-ssm-sap/src/commands/ListComponentsCommand.ts +++ b/clients/client-ssm-sap/src/commands/ListComponentsCommand.ts @@ -56,7 +56,7 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met * // { // ComponentSummary * // ApplicationId: "STRING_VALUE", * // ComponentId: "STRING_VALUE", - * // ComponentType: "HANA" || "HANA_NODE", + * // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, @@ -80,6 +80,9 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met * @throws {@link ResourceNotFoundException} (client fault) *

The resource is not available.

* + * @throws {@link UnauthorizedException} (client fault) + *

The request is not authorized.

+ * * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* diff --git a/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts b/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts index 4f2715608c40c..cb5ecfb508d78 100644 --- a/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts +++ b/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts @@ -57,7 +57,7 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut * const client = new SsmSapClient(config); * const input = { // RegisterApplicationInput * ApplicationId: "STRING_VALUE", // required - * ApplicationType: "HANA", // required + * ApplicationType: "HANA" || "SAP_ABAP", // required * Instances: [ // InstanceList // required * "STRING_VALUE", * ], @@ -66,20 +66,21 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut * Tags: { // TagMap * "": "STRING_VALUE", * }, - * Credentials: [ // ApplicationCredentialList // required + * Credentials: [ // ApplicationCredentialList * { // ApplicationCredential * DatabaseName: "STRING_VALUE", // required * CredentialType: "ADMIN", // required * SecretId: "STRING_VALUE", // required * }, * ], + * DatabaseArn: "STRING_VALUE", * }; * const command = new RegisterApplicationCommand(input); * const response = await client.send(command); * // { // RegisterApplicationOutput * // Application: { // Application * // Id: "STRING_VALUE", - * // Type: "HANA", + * // Type: "HANA" || "SAP_ABAP", * // Arn: "STRING_VALUE", * // AppRegistryArn: "STRING_VALUE", * // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN", @@ -107,6 +108,9 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

* + * @throws {@link ResourceNotFoundException} (client fault) + *

The resource is not available.

+ * * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* diff --git a/clients/client-ssm-sap/src/commands/StartApplicationRefreshCommand.ts b/clients/client-ssm-sap/src/commands/StartApplicationRefreshCommand.ts index 6df57ea68f5aa..a75b804a290a0 100644 --- a/clients/client-ssm-sap/src/commands/StartApplicationRefreshCommand.ts +++ b/clients/client-ssm-sap/src/commands/StartApplicationRefreshCommand.ts @@ -70,6 +70,9 @@ export interface StartApplicationRefreshCommandOutput extends StartApplicationRe * @throws {@link ResourceNotFoundException} (client fault) *

The resource is not available.

* + * @throws {@link UnauthorizedException} (client fault) + *

The request is not authorized.

+ * * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* diff --git a/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts b/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts index f31dc5ab17021..a614a4279f6e1 100644 --- a/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts +++ b/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts @@ -69,6 +69,7 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio * BackintMode: "AWSBackup", // required * EnsureNoBackupInProcess: true || false, // required * }, + * DatabaseArn: "STRING_VALUE", * }; * const command = new UpdateApplicationSettingsCommand(input); * const response = await client.send(command); @@ -96,6 +97,9 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio * @throws {@link ResourceNotFoundException} (client fault) *

The resource is not available.

* + * @throws {@link UnauthorizedException} (client fault) + *

The request is not authorized.

+ * * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an AWS service.

* diff --git a/clients/client-ssm-sap/src/models/models_0.ts b/clients/client-ssm-sap/src/models/models_0.ts index 7dca53c18f4f2..7bfcad4b9ff53 100644 --- a/clients/client-ssm-sap/src/models/models_0.ts +++ b/clients/client-ssm-sap/src/models/models_0.ts @@ -3,6 +3,22 @@ import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from " import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException"; +/** + * @public + * @enum + */ +export const AllocationType = { + ELASTIC_IP: "ELASTIC_IP", + OVERLAY: "OVERLAY", + UNKNOWN: "UNKNOWN", + VPC_SUBNET: "VPC_SUBNET", +} as const; + +/** + * @public + */ +export type AllocationType = (typeof AllocationType)[keyof typeof AllocationType]; + /** * @public * @enum @@ -46,6 +62,7 @@ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof Applicat */ export const ApplicationType = { HANA: "HANA", + SAP_ABAP: "SAP_ABAP", } as const; /** @@ -163,6 +180,12 @@ export interface ApplicationSummary { */ Id?: string; + /** + * @public + *

The status of the latest discovery.

+ */ + DiscoveryStatus?: ApplicationDiscoveryStatus; + /** * @public *

The type of the application.

@@ -182,6 +205,30 @@ export interface ApplicationSummary { Tags?: Record; } +/** + * @public + *

Provides information of the IP address.

+ */ +export interface IpAddressMember { + /** + * @public + *

The IP address.

+ */ + IpAddress?: string; + + /** + * @public + *

The primary IP address.

+ */ + Primary?: boolean; + + /** + * @public + *

The type of allocation for the IP address.

+ */ + AllocationType?: AllocationType; +} + /** * @public *

Describes the properties of the associated host.

@@ -199,6 +246,12 @@ export interface AssociatedHost { */ Ec2InstanceId?: string; + /** + * @public + *

The IP addresses of the associated host.

+ */ + IpAddresses?: IpAddressMember[]; + /** * @public *

The version of the operating system.

@@ -260,8 +313,14 @@ export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus]; * @enum */ export const ComponentType = { + ABAP: "ABAP", + ASCS: "ASCS", + DIALOG: "DIALOG", + ERS: "ERS", HANA: "HANA", HANA_NODE: "HANA_NODE", + WD: "WD", + WEBDISP: "WEBDISP", } as const; /** @@ -269,6 +328,44 @@ export const ComponentType = { */ export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType]; +/** + * @public + * @enum + */ +export const DatabaseConnectionMethod = { + DIRECT: "DIRECT", + OVERLAY: "OVERLAY", +} as const; + +/** + * @public + */ +export type DatabaseConnectionMethod = (typeof DatabaseConnectionMethod)[keyof typeof DatabaseConnectionMethod]; + +/** + * @public + *

The connection specifications for the database.

+ */ +export interface DatabaseConnection { + /** + * @public + *

The method of connection.

+ */ + DatabaseConnectionMethod?: DatabaseConnectionMethod; + + /** + * @public + *

The Amazon Resource Name of the connected SAP HANA database.

+ */ + DatabaseArn?: string; + + /** + * @public + *

The IP address for connection.

+ */ + ConnectionIp?: string; +} + /** * @public * @enum @@ -389,6 +486,12 @@ export interface Resilience { *

The cluster status of the component.

*/ ClusterStatus?: ClusterStatus; + + /** + * @public + *

Indicates if or not enqueue replication is enabled for the ASCS component.

+ */ + EnqueueReplication?: boolean; } /** @@ -421,6 +524,18 @@ export interface Component { */ ComponentId?: string; + /** + * @public + *

The SAP System Identifier of the application component.

+ */ + Sid?: string; + + /** + * @public + *

The SAP system number of the application component.

+ */ + SystemNumber?: string; + /** * @public *

The parent component of a highly available environment. For example, in a highly @@ -452,6 +567,34 @@ export interface Component { /** * @public *

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 + * 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; @@ -461,6 +604,12 @@ export interface Component { */ SapHostname?: string; + /** + * @public + *

The SAP feature of the component.

+ */ + SapFeature?: string; + /** * @public *

The kernel version of the component.

@@ -507,6 +656,12 @@ export interface Component { */ PrimaryHost?: string; + /** + * @public + *

The connection specifications for the database of the component.

+ */ + DatabaseConnection?: DatabaseConnection; + /** * @public *

The time at which the component was last updated.

@@ -854,6 +1009,28 @@ export interface DeregisterApplicationInput { */ export interface DeregisterApplicationOutput {} +/** + * @public + *

The request is not authorized.

+ */ +export class UnauthorizedException extends __BaseException { + readonly name: "UnauthorizedException" = "UnauthorizedException"; + readonly $fault: "client" = "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType) { + super({ + name: "UnauthorizedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedException.prototype); + this.Message = opts.Message; + } +} + /** * @public * @enum @@ -1170,6 +1347,12 @@ export interface ListApplicationsInput { * results, make another call with the returned nextToken value.

*/ MaxResults?: number; + + /** + * @public + *

The filter of name, value, and operator.

+ */ + Filters?: Filter[]; } /** @@ -1432,7 +1615,13 @@ export interface RegisterApplicationInput { * @public *

The credentials of the SAP application.

*/ - Credentials: ApplicationCredential[] | undefined; + Credentials?: ApplicationCredential[]; + + /** + * @public + *

The Amazon Resource Name of the SAP HANA database.

+ */ + DatabaseArn?: string; } /** @@ -1546,6 +1735,13 @@ export interface UpdateApplicationSettingsInput { *

Installation of AWS Backint Agent for SAP HANA.

*/ Backint?: BackintConfig; + + /** + * @public + *

The Amazon Resource Name of the SAP HANA database that replaces the current SAP HANA + * connection with the SAP_ABAP application.

+ */ + DatabaseArn?: string; } /** diff --git a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts index 8bdfadf44eb43..0e4f8d51bb663 100644 --- a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts +++ b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts @@ -75,6 +75,7 @@ import { InternalServerException, Operation, ResourceNotFoundException, + UnauthorizedException, ValidationException, } from "../models/models_0"; import { SsmSapServiceException as __BaseException } from "../models/SsmSapServiceException"; @@ -309,6 +310,7 @@ export const se_ListApplicationsCommand = async ( let body: any; body = JSON.stringify( take(input, { + Filters: (_) => _json(_), MaxResults: [], NextToken: [], }) @@ -492,6 +494,7 @@ export const se_RegisterApplicationCommand = async ( ApplicationId: [], ApplicationType: [], Credentials: (_) => _json(_), + DatabaseArn: [], Instances: (_) => _json(_), SapInstanceNumber: [], Sid: [], @@ -619,6 +622,7 @@ export const se_UpdateApplicationSettingsCommand = async ( Backint: (_) => _json(_), CredentialsToAddOrUpdate: (_) => _json(_), CredentialsToRemove: (_) => _json(_), + DatabaseArn: [], }) ); return new __HttpRequest({ @@ -718,6 +722,9 @@ const de_DeregisterApplicationCommandError = async ( case "InternalServerException": case "com.amazonaws.ssmsap#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.ssmsap#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.ssmsap#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); @@ -820,6 +827,9 @@ const de_GetComponentCommandError = async ( case "InternalServerException": case "com.amazonaws.ssmsap#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.ssmsap#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.ssmsap#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); @@ -1082,6 +1092,9 @@ const de_ListComponentsCommandError = async ( case "ResourceNotFoundException": case "com.amazonaws.ssmsap#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.ssmsap#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.ssmsap#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); @@ -1347,6 +1360,9 @@ const de_RegisterApplicationCommandError = async ( case "InternalServerException": case "com.amazonaws.ssmsap#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); + case "ResourceNotFoundException": + case "com.amazonaws.ssmsap#ResourceNotFoundException": + throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.ssmsap#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); @@ -1403,6 +1419,9 @@ const de_StartApplicationRefreshCommandError = async ( case "ResourceNotFoundException": case "com.amazonaws.ssmsap#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.ssmsap#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.ssmsap#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); @@ -1558,6 +1577,9 @@ const de_UpdateApplicationSettingsCommandError = async ( case "ResourceNotFoundException": case "com.amazonaws.ssmsap#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.ssmsap#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.ssmsap#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); @@ -1629,6 +1651,26 @@ const de_ResourceNotFoundExceptionRes = async ( return __decorateServiceException(exception, parsedOutput.body); }; +/** + * deserializeAws_restJson1UnauthorizedExceptionRes + */ +const de_UnauthorizedExceptionRes = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: any = map({}); + const data: any = parsedOutput.body; + const doc = take(data, { + Message: __expectString, + }); + Object.assign(contents, doc); + const exception = new UnauthorizedException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents, + }); + return __decorateServiceException(exception, parsedOutput.body); +}; + /** * deserializeAws_restJson1ValidationExceptionRes */ @@ -1698,6 +1740,7 @@ const de_Component = (output: any, context: __SerdeContext): Component => { ChildComponents: _json, ComponentId: __expectString, ComponentType: __expectString, + DatabaseConnection: _json, Databases: _json, HdbVersion: __expectString, Hosts: _json, @@ -1705,9 +1748,12 @@ const de_Component = (output: any, context: __SerdeContext): Component => { ParentComponent: __expectString, PrimaryHost: __expectString, Resilience: _json, + SapFeature: __expectString, SapHostname: __expectString, SapKernelVersion: __expectString, + Sid: __expectString, Status: __expectString, + SystemNumber: __expectString, }) as any; }; @@ -1736,6 +1782,8 @@ const de_Database = (output: any, context: __SerdeContext): Database => { }) as any; }; +// de_DatabaseConnection omitted. + // de_DatabaseIdList omitted. // de_DatabaseSummary omitted. @@ -1746,6 +1794,10 @@ const de_Database = (output: any, context: __SerdeContext): Database => { // de_HostList omitted. +// de_IpAddressList omitted. + +// de_IpAddressMember omitted. + /** * deserializeAws_restJson1Operation */ diff --git a/codegen/sdk-codegen/aws-models/ssm-sap.json b/codegen/sdk-codegen/aws-models/ssm-sap.json index 10dbf853c73c3..98af6f9c9299e 100644 --- a/codegen/sdk-codegen/aws-models/ssm-sap.json +++ b/codegen/sdk-codegen/aws-models/ssm-sap.json @@ -1,6 +1,35 @@ { "smithy": "2.0", "shapes": { + "com.amazonaws.ssmsap#AllocationType": { + "type": "enum", + "members": { + "VPC_SUBNET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VPC_SUBNET" + } + }, + "ELASTIC_IP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTIC_IP" + } + }, + "OVERLAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVERLAY" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } + } + }, "com.amazonaws.ssmsap#AppRegistryArn": { "type": "string", "traits": { @@ -105,7 +134,7 @@ }, "traits": { "smithy.api#length": { - "min": 1, + "min": 0, "max": 20 } } @@ -213,6 +242,12 @@ "smithy.api#documentation": "

The ID of the application.

" } }, + "DiscoveryStatus": { + "target": "com.amazonaws.ssmsap#ApplicationDiscoveryStatus", + "traits": { + "smithy.api#documentation": "

The status of the latest discovery.

" + } + }, "Type": { "target": "com.amazonaws.ssmsap#ApplicationType", "traits": { @@ -250,6 +285,12 @@ "traits": { "smithy.api#enumValue": "HANA" } + }, + "SAP_ABAP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAP_ABAP" + } } } }, @@ -274,6 +315,12 @@ "smithy.api#documentation": "

The ID of the Amazon EC2 instance.

" } }, + "IpAddresses": { + "target": "com.amazonaws.ssmsap#IpAddressList", + "traits": { + "smithy.api#documentation": "

The IP addresses of the associated host.

" + } + }, "OsVersion": { "target": "smithy.api#String", "traits": { @@ -362,6 +409,18 @@ "smithy.api#documentation": "

The ID of the component.

" } }, + "Sid": { + "target": "com.amazonaws.ssmsap#SID", + "traits": { + "smithy.api#documentation": "

The SAP System Identifier of the application component.

" + } + }, + "SystemNumber": { + "target": "com.amazonaws.ssmsap#SAPInstanceNumber", + "traits": { + "smithy.api#documentation": "

The SAP system number of the application component.

" + } + }, "ParentComponent": { "target": "com.amazonaws.ssmsap#ComponentId", "traits": { @@ -389,7 +448,7 @@ "Status": { "target": "com.amazonaws.ssmsap#ComponentStatus", "traits": { - "smithy.api#documentation": "

The status of the component.

" + "smithy.api#documentation": "

The status of the component.

\n
    \n
  • \n

    ACTIVATED - this status has been deprecated.

    \n
  • \n
  • \n

    STARTING - the component is in the process of being started.

    \n
  • \n
  • \n

    STOPPED - the component is not running.

    \n
  • \n
  • \n

    STOPPING - the component is in the process of being stopped.

    \n
  • \n
  • \n

    RUNNING - the component is running.

    \n
  • \n
  • \n

    RUNNING_WITH_ERROR - one or more child component(s) of the parent component is not\n running. Call \n GetComponent\n to review the status of each child\n component.

    \n
  • \n
  • \n

    UNDEFINED - AWS Systems Manager for SAP cannot provide the component status\n based on the discovered information. Verify your SAP application.

    \n
  • \n
" } }, "SapHostname": { @@ -398,6 +457,12 @@ "smithy.api#documentation": "

The hostname of the component.

" } }, + "SapFeature": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The SAP feature of the component.

" + } + }, "SapKernelVersion": { "target": "smithy.api#String", "traits": { @@ -446,6 +511,12 @@ "smithy.api#documentation": "

The primary host of the component.

" } }, + "DatabaseConnection": { + "target": "com.amazonaws.ssmsap#DatabaseConnection", + "traits": { + "smithy.api#documentation": "

The connection specifications for the database of the component.

" + } + }, "LastUpdated": { "target": "smithy.api#Timestamp", "traits": { @@ -580,6 +651,42 @@ "traits": { "smithy.api#enumValue": "HANA_NODE" } + }, + "ABAP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABAP" + } + }, + "ASCS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASCS" + } + }, + "DIALOG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DIALOG" + } + }, + "WEBDISP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WEBDISP" + } + }, + "WD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WD" + } + }, + "ERS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERS" + } } } }, @@ -681,6 +788,49 @@ "smithy.api#documentation": "

The SAP HANA database of the application registered with AWS Systems Manager for\n SAP.

" } }, + "com.amazonaws.ssmsap#DatabaseConnection": { + "type": "structure", + "members": { + "DatabaseConnectionMethod": { + "target": "com.amazonaws.ssmsap#DatabaseConnectionMethod", + "traits": { + "smithy.api#documentation": "

The method of connection.

" + } + }, + "DatabaseArn": { + "target": "com.amazonaws.ssmsap#SsmSapArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name of the connected SAP HANA database.

" + } + }, + "ConnectionIp": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The IP address for connection.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The connection specifications for the database.

" + } + }, + "com.amazonaws.ssmsap#DatabaseConnectionMethod": { + "type": "enum", + "members": { + "DIRECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DIRECT" + } + }, + "OVERLAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVERLAY" + } + } + } + }, "com.amazonaws.ssmsap#DatabaseId": { "type": "string", "traits": { @@ -885,6 +1035,9 @@ { "target": "com.amazonaws.ssmsap#InternalServerException" }, + { + "target": "com.amazonaws.ssmsap#UnauthorizedException" + }, { "target": "com.amazonaws.ssmsap#ValidationException" } @@ -1074,6 +1227,9 @@ { "target": "com.amazonaws.ssmsap#InternalServerException" }, + { + "target": "com.amazonaws.ssmsap#UnauthorizedException" + }, { "target": "com.amazonaws.ssmsap#ValidationException" } @@ -1412,6 +1568,38 @@ "smithy.api#httpError": 500 } }, + "com.amazonaws.ssmsap#IpAddressList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#IpAddressMember" + } + }, + "com.amazonaws.ssmsap#IpAddressMember": { + "type": "structure", + "members": { + "IpAddress": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The IP address.

" + } + }, + "Primary": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

The primary IP address.

" + } + }, + "AllocationType": { + "target": "com.amazonaws.ssmsap#AllocationType", + "traits": { + "smithy.api#documentation": "

The type of allocation for the IP address.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides information of the IP address.

" + } + }, "com.amazonaws.ssmsap#ListApplications": { "type": "operation", "input": { @@ -1462,6 +1650,12 @@ "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.

" } + }, + "Filters": { + "target": "com.amazonaws.ssmsap#FilterList", + "traits": { + "smithy.api#documentation": "

The filter of name, value, and operator.

" + } } } }, @@ -1497,6 +1691,9 @@ { "target": "com.amazonaws.ssmsap#ResourceNotFoundException" }, + { + "target": "com.amazonaws.ssmsap#UnauthorizedException" + }, { "target": "com.amazonaws.ssmsap#ValidationException" } @@ -2044,6 +2241,9 @@ { "target": "com.amazonaws.ssmsap#InternalServerException" }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, { "target": "com.amazonaws.ssmsap#ValidationException" } @@ -2102,8 +2302,15 @@ "Credentials": { "target": "com.amazonaws.ssmsap#ApplicationCredentialList", "traits": { - "smithy.api#documentation": "

The credentials of the SAP application.

", - "smithy.api#required": {} + "smithy.api#addedDefault": {}, + "smithy.api#default": [], + "smithy.api#documentation": "

The credentials of the SAP application.

" + } + }, + "DatabaseArn": { + "target": "com.amazonaws.ssmsap#SsmSapArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name of the SAP HANA database.

" } } } @@ -2186,6 +2393,12 @@ "traits": { "smithy.api#documentation": "

The cluster status of the component.

" } + }, + "EnqueueReplication": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates if or not enqueue replication is enabled for the ASCS component.

" + } } }, "traits": { @@ -3019,6 +3232,9 @@ { "target": "com.amazonaws.ssmsap#ResourceNotFoundException" }, + { + "target": "com.amazonaws.ssmsap#UnauthorizedException" + }, { "target": "com.amazonaws.ssmsap#ValidationException" } @@ -3142,6 +3358,19 @@ } } }, + "com.amazonaws.ssmsap#UnauthorizedException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The request is not authorized.

", + "smithy.api#error": "client", + "smithy.api#httpError": 401 + } + }, "com.amazonaws.ssmsap#UntagResource": { "type": "operation", "input": { @@ -3213,6 +3442,9 @@ { "target": "com.amazonaws.ssmsap#ResourceNotFoundException" }, + { + "target": "com.amazonaws.ssmsap#UnauthorizedException" + }, { "target": "com.amazonaws.ssmsap#ValidationException" } @@ -3253,6 +3485,12 @@ "traits": { "smithy.api#documentation": "

Installation of AWS Backint Agent for SAP HANA.

" } + }, + "DatabaseArn": { + "target": "com.amazonaws.ssmsap#SsmSapArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name of the SAP HANA database that replaces the current SAP HANA\n connection with the SAP_ABAP application.

" + } } } },