diff --git a/clients/client-ssm-sap/README.md b/clients/client-ssm-sap/README.md index 7cbcfb871d37..626d8e9e2142 100644 --- a/clients/client-ssm-sap/README.md +++ b/clients/client-ssm-sap/README.md @@ -316,6 +316,14 @@ RegisterApplication [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-sap/classes/registerapplicationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-sap/interfaces/registerapplicationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-sap/interfaces/registerapplicationcommandoutput.html) + +
+ +StartApplicationRefresh + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-sap/classes/startapplicationrefreshcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-sap/interfaces/startapplicationrefreshcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-sap/interfaces/startapplicationrefreshcommandoutput.html) +
diff --git a/clients/client-ssm-sap/src/SsmSap.ts b/clients/client-ssm-sap/src/SsmSap.ts index 10c579f285e2..b0c3fb44e66e 100644 --- a/clients/client-ssm-sap/src/SsmSap.ts +++ b/clients/client-ssm-sap/src/SsmSap.ts @@ -68,6 +68,11 @@ import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput, } from "./commands/RegisterApplicationCommand"; +import { + StartApplicationRefreshCommand, + StartApplicationRefreshCommandInput, + StartApplicationRefreshCommandOutput, +} from "./commands/StartApplicationRefreshCommand"; import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommand, @@ -96,6 +101,7 @@ const commands = { ListTagsForResourceCommand, PutResourcePermissionCommand, RegisterApplicationCommand, + StartApplicationRefreshCommand, TagResourceCommand, UntagResourceCommand, UpdateApplicationSettingsCommand, @@ -307,6 +313,23 @@ export interface SsmSap { cb: (err: any, data?: RegisterApplicationCommandOutput) => void ): void; + /** + * @see {@link StartApplicationRefreshCommand} + */ + startApplicationRefresh( + args: StartApplicationRefreshCommandInput, + options?: __HttpHandlerOptions + ): Promise; + startApplicationRefresh( + args: StartApplicationRefreshCommandInput, + cb: (err: any, data?: StartApplicationRefreshCommandOutput) => void + ): void; + startApplicationRefresh( + args: StartApplicationRefreshCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartApplicationRefreshCommandOutput) => void + ): void; + /** * @see {@link TagResourceCommand} */ diff --git a/clients/client-ssm-sap/src/SsmSapClient.ts b/clients/client-ssm-sap/src/SsmSapClient.ts index c3f857c59955..fd375f380fa3 100644 --- a/clients/client-ssm-sap/src/SsmSapClient.ts +++ b/clients/client-ssm-sap/src/SsmSapClient.ts @@ -81,6 +81,10 @@ import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput, } from "./commands/RegisterApplicationCommand"; +import { + StartApplicationRefreshCommandInput, + StartApplicationRefreshCommandOutput, +} from "./commands/StartApplicationRefreshCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { @@ -115,6 +119,7 @@ export type ServiceInputTypes = | ListTagsForResourceCommandInput | PutResourcePermissionCommandInput | RegisterApplicationCommandInput + | StartApplicationRefreshCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationSettingsCommandInput; @@ -137,6 +142,7 @@ export type ServiceOutputTypes = | ListTagsForResourceCommandOutput | PutResourcePermissionCommandOutput | RegisterApplicationCommandOutput + | StartApplicationRefreshCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationSettingsCommandOutput; diff --git a/clients/client-ssm-sap/src/commands/DeleteResourcePermissionCommand.ts b/clients/client-ssm-sap/src/commands/DeleteResourcePermissionCommand.ts index b60529c49b42..fa9349f8af38 100644 --- a/clients/client-ssm-sap/src/commands/DeleteResourcePermissionCommand.ts +++ b/clients/client-ssm-sap/src/commands/DeleteResourcePermissionCommand.ts @@ -44,7 +44,7 @@ export interface DeleteResourcePermissionCommandOutput extends DeleteResourcePer * // const { SsmSapClient, DeleteResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import * const client = new SsmSapClient(config); * const input = { // DeleteResourcePermissionInput - * ActionType: "STRING_VALUE", + * ActionType: "RESTORE", * SourceResourceArn: "STRING_VALUE", * ResourceArn: "STRING_VALUE", // required * }; diff --git a/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts b/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts index 8df2b6f97c6c..3feb3d3b21d2 100644 --- a/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts +++ b/clients/client-ssm-sap/src/commands/GetApplicationCommand.ts @@ -54,10 +54,11 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met * // { // GetApplicationOutput * // Application: { // Application * // Id: "STRING_VALUE", - * // Type: "STRING_VALUE", + * // Type: "HANA", * // Arn: "STRING_VALUE", * // AppRegistryArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN", + * // DiscoveryStatus: "SUCCESS" || "REGISTRATION_FAILED" || "REFRESH_FAILED" || "REGISTERING" || "DELETING", * // Components: [ // ComponentIdList * // "STRING_VALUE", * // ], diff --git a/clients/client-ssm-sap/src/commands/GetComponentCommand.ts b/clients/client-ssm-sap/src/commands/GetComponentCommand.ts index c9c82631a450..808530a5c923 100644 --- a/clients/client-ssm-sap/src/commands/GetComponentCommand.ts +++ b/clients/client-ssm-sap/src/commands/GetComponentCommand.ts @@ -53,22 +53,46 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat * // { // GetComponentOutput * // Component: { // Component * // ComponentId: "STRING_VALUE", + * // ParentComponent: "STRING_VALUE", + * // ChildComponents: [ // ComponentIdList + * // "STRING_VALUE", + * // ], * // ApplicationId: "STRING_VALUE", - * // ComponentType: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // ComponentType: "HANA" || "HANA_NODE", + * // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "RUNNING" || "RUNNING_WITH_ERROR" || "UNDEFINED", + * // SapHostname: "STRING_VALUE", + * // SapKernelVersion: "STRING_VALUE", + * // HdbVersion: "STRING_VALUE", + * // Resilience: { // Resilience + * // HsrTier: "STRING_VALUE", + * // HsrReplicationMode: "PRIMARY" || "NONE" || "SYNC" || "SYNCMEM" || "ASYNC", + * // HsrOperationMode: "PRIMARY" || "LOGREPLAY" || "DELTA_DATASHIPPING" || "LOGREPLAY_READACCESS" || "NONE", + * // ClusterStatus: "ONLINE" || "STANDBY" || "MAINTENANCE" || "OFFLINE" || "NONE", + * // }, + * // AssociatedHost: { // AssociatedHost + * // Hostname: "STRING_VALUE", + * // Ec2InstanceId: "STRING_VALUE", + * // OsVersion: "STRING_VALUE", + * // }, * // Databases: [ // DatabaseIdList * // "STRING_VALUE", * // ], * // Hosts: [ // HostList * // { // Host * // HostName: "STRING_VALUE", - * // HostRole: "STRING_VALUE", * // HostIp: "STRING_VALUE", + * // EC2InstanceId: "STRING_VALUE", * // InstanceId: "STRING_VALUE", + * // HostRole: "LEADER" || "WORKER" || "STANDBY" || "UNKNOWN", + * // OsVersion: "STRING_VALUE", * // }, * // ], * // PrimaryHost: "STRING_VALUE", * // LastUpdated: new Date("TIMESTAMP"), + * // Arn: "STRING_VALUE", + * // }, + * // Tags: { // TagMap + * // "": "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-ssm-sap/src/commands/GetDatabaseCommand.ts b/clients/client-ssm-sap/src/commands/GetDatabaseCommand.ts index fc8c951967a5..a320ee4d8322 100644 --- a/clients/client-ssm-sap/src/commands/GetDatabaseCommand.ts +++ b/clients/client-ssm-sap/src/commands/GetDatabaseCommand.ts @@ -59,15 +59,15 @@ export interface GetDatabaseCommandOutput extends GetDatabaseOutput, __MetadataB * // Credentials: [ // ApplicationCredentialList * // { // ApplicationCredential * // DatabaseName: "STRING_VALUE", // required - * // CredentialType: "STRING_VALUE", // required + * // CredentialType: "ADMIN", // required * // SecretId: "STRING_VALUE", // required * // }, * // ], * // DatabaseId: "STRING_VALUE", * // DatabaseName: "STRING_VALUE", - * // DatabaseType: "STRING_VALUE", + * // DatabaseType: "SYSTEM" || "TENANT", * // Arn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "RUNNING" || "STARTING" || "STOPPED" || "WARNING" || "UNKNOWN" || "ERROR", * // PrimaryHost: "STRING_VALUE", * // SQLPort: Number("int"), * // LastUpdated: new Date("TIMESTAMP"), diff --git a/clients/client-ssm-sap/src/commands/GetOperationCommand.ts b/clients/client-ssm-sap/src/commands/GetOperationCommand.ts index 6e0fbd0f3f5b..4a2dff41eea6 100644 --- a/clients/client-ssm-sap/src/commands/GetOperationCommand.ts +++ b/clients/client-ssm-sap/src/commands/GetOperationCommand.ts @@ -52,7 +52,7 @@ export interface GetOperationCommandOutput extends GetOperationOutput, __Metadat * // Operation: { // Operation * // Id: "STRING_VALUE", * // Type: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "INPROGRESS" || "SUCCESS" || "ERROR", * // StatusMessage: "STRING_VALUE", * // Properties: { // OperationProperties * // "": "STRING_VALUE", diff --git a/clients/client-ssm-sap/src/commands/GetResourcePermissionCommand.ts b/clients/client-ssm-sap/src/commands/GetResourcePermissionCommand.ts index 2f58447c7039..4e1f543316ec 100644 --- a/clients/client-ssm-sap/src/commands/GetResourcePermissionCommand.ts +++ b/clients/client-ssm-sap/src/commands/GetResourcePermissionCommand.ts @@ -44,7 +44,7 @@ export interface GetResourcePermissionCommandOutput extends GetResourcePermissio * // const { SsmSapClient, GetResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import * const client = new SsmSapClient(config); * const input = { // GetResourcePermissionInput - * ActionType: "STRING_VALUE", + * ActionType: "RESTORE", * ResourceArn: "STRING_VALUE", // required * }; * const command = new GetResourcePermissionCommand(input); diff --git a/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts b/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts index 3ca55a988b45..6081b1422fed 100644 --- a/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts +++ b/clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts @@ -53,7 +53,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _ * // Applications: [ // ApplicationSummaryList * // { // ApplicationSummary * // Id: "STRING_VALUE", - * // Type: "STRING_VALUE", + * // Type: "HANA", * // 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 53eed763fe6e..a7189bc0412c 100644 --- a/clients/client-ssm-sap/src/commands/ListComponentsCommand.ts +++ b/clients/client-ssm-sap/src/commands/ListComponentsCommand.ts @@ -55,10 +55,11 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met * // { // ComponentSummary * // ApplicationId: "STRING_VALUE", * // ComponentId: "STRING_VALUE", - * // ComponentType: "STRING_VALUE", + * // ComponentType: "HANA" || "HANA_NODE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, + * // Arn: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-ssm-sap/src/commands/ListDatabasesCommand.ts b/clients/client-ssm-sap/src/commands/ListDatabasesCommand.ts index 2919089ff7cd..d8837e6a2fa0 100644 --- a/clients/client-ssm-sap/src/commands/ListDatabasesCommand.ts +++ b/clients/client-ssm-sap/src/commands/ListDatabasesCommand.ts @@ -58,7 +58,7 @@ export interface ListDatabasesCommandOutput extends ListDatabasesOutput, __Metad * // ApplicationId: "STRING_VALUE", * // ComponentId: "STRING_VALUE", * // DatabaseId: "STRING_VALUE", - * // DatabaseType: "STRING_VALUE", + * // DatabaseType: "SYSTEM" || "TENANT", * // Arn: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", diff --git a/clients/client-ssm-sap/src/commands/ListOperationsCommand.ts b/clients/client-ssm-sap/src/commands/ListOperationsCommand.ts index fdf6db42ac39..437e10821ea3 100644 --- a/clients/client-ssm-sap/src/commands/ListOperationsCommand.ts +++ b/clients/client-ssm-sap/src/commands/ListOperationsCommand.ts @@ -51,7 +51,7 @@ export interface ListOperationsCommandOutput extends ListOperationsOutput, __Met * { // Filter * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required - * Operator: "STRING_VALUE", // required + * Operator: "Equals" || "GreaterThanOrEquals" || "LessThanOrEquals", // required * }, * ], * }; @@ -62,7 +62,7 @@ export interface ListOperationsCommandOutput extends ListOperationsOutput, __Met * // { // Operation * // Id: "STRING_VALUE", * // Type: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "INPROGRESS" || "SUCCESS" || "ERROR", * // StatusMessage: "STRING_VALUE", * // Properties: { // OperationProperties * // "": "STRING_VALUE", diff --git a/clients/client-ssm-sap/src/commands/PutResourcePermissionCommand.ts b/clients/client-ssm-sap/src/commands/PutResourcePermissionCommand.ts index f4b97ee8036c..7c41f7220ecf 100644 --- a/clients/client-ssm-sap/src/commands/PutResourcePermissionCommand.ts +++ b/clients/client-ssm-sap/src/commands/PutResourcePermissionCommand.ts @@ -44,7 +44,7 @@ export interface PutResourcePermissionCommandOutput extends PutResourcePermissio * // const { SsmSapClient, PutResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import * const client = new SsmSapClient(config); * const input = { // PutResourcePermissionInput - * ActionType: "STRING_VALUE", // required + * ActionType: "RESTORE", // required * SourceResourceArn: "STRING_VALUE", // required * ResourceArn: "STRING_VALUE", // required * }; diff --git a/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts b/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts index 1257deaa8df1..f481cc737259 100644 --- a/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts +++ b/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts @@ -56,7 +56,7 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut * const client = new SsmSapClient(config); * const input = { // RegisterApplicationInput * ApplicationId: "STRING_VALUE", // required - * ApplicationType: "STRING_VALUE", // required + * ApplicationType: "HANA", // required * Instances: [ // InstanceList // required * "STRING_VALUE", * ], @@ -68,7 +68,7 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut * Credentials: [ // ApplicationCredentialList // required * { // ApplicationCredential * DatabaseName: "STRING_VALUE", // required - * CredentialType: "STRING_VALUE", // required + * CredentialType: "ADMIN", // required * SecretId: "STRING_VALUE", // required * }, * ], @@ -78,10 +78,11 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut * // { // RegisterApplicationOutput * // Application: { // Application * // Id: "STRING_VALUE", - * // Type: "STRING_VALUE", + * // Type: "HANA", * // Arn: "STRING_VALUE", * // AppRegistryArn: "STRING_VALUE", - * // Status: "STRING_VALUE", + * // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN", + * // DiscoveryStatus: "SUCCESS" || "REGISTRATION_FAILED" || "REFRESH_FAILED" || "REGISTERING" || "DELETING", * // Components: [ // ComponentIdList * // "STRING_VALUE", * // ], diff --git a/clients/client-ssm-sap/src/commands/StartApplicationRefreshCommand.ts b/clients/client-ssm-sap/src/commands/StartApplicationRefreshCommand.ts new file mode 100644 index 000000000000..1b4cc2718ea9 --- /dev/null +++ b/clients/client-ssm-sap/src/commands/StartApplicationRefreshCommand.ts @@ -0,0 +1,154 @@ +// smithy-typescript generated code +import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@smithy/types"; + +import { StartApplicationRefreshInput, StartApplicationRefreshOutput } from "../models/models_0"; +import { de_StartApplicationRefreshCommand, se_StartApplicationRefreshCommand } from "../protocols/Aws_restJson1"; +import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link StartApplicationRefreshCommand}. + */ +export interface StartApplicationRefreshCommandInput extends StartApplicationRefreshInput {} +/** + * @public + * + * The output of {@link StartApplicationRefreshCommand}. + */ +export interface StartApplicationRefreshCommandOutput extends StartApplicationRefreshOutput, __MetadataBearer {} + +/** + * @public + *

Refreshes a registered application.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SsmSapClient, StartApplicationRefreshCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import + * // const { SsmSapClient, StartApplicationRefreshCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import + * const client = new SsmSapClient(config); + * const input = { // StartApplicationRefreshInput + * ApplicationId: "STRING_VALUE", // required + * }; + * const command = new StartApplicationRefreshCommand(input); + * const response = await client.send(command); + * // { // StartApplicationRefreshOutput + * // OperationId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param StartApplicationRefreshCommandInput - {@link StartApplicationRefreshCommandInput} + * @returns {@link StartApplicationRefreshCommandOutput} + * @see {@link StartApplicationRefreshCommandInput} for command's `input` shape. + * @see {@link StartApplicationRefreshCommandOutput} for command's `response` shape. + * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape. + * + * @throws {@link ConflictException} (client fault) + *

A conflict has occurred.

+ * + * @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.

+ * + * @throws {@link SsmSapServiceException} + *

Base exception class for all service exceptions from SsmSap service.

+ * + */ +export class StartApplicationRefreshCommand extends $Command< + StartApplicationRefreshCommandInput, + StartApplicationRefreshCommandOutput, + SsmSapClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + public static getEndpointParameterInstructions(): EndpointParameterInstructions { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + + /** + * @public + */ + constructor(readonly input: StartApplicationRefreshCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SsmSapClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use( + getEndpointPlugin(configuration, StartApplicationRefreshCommand.getEndpointParameterInstructions()) + ); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "SsmSapClient"; + const commandName = "StartApplicationRefreshCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: (_: any) => _, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + /** + * @internal + */ + private serialize(input: StartApplicationRefreshCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return se_StartApplicationRefreshCommand(input, context); + } + + /** + * @internal + */ + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return de_StartApplicationRefreshCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts b/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts index 79bea02a0afe..47fcbc24e931 100644 --- a/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts +++ b/clients/client-ssm-sap/src/commands/UpdateApplicationSettingsCommand.ts @@ -53,17 +53,21 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio * CredentialsToAddOrUpdate: [ // ApplicationCredentialList * { // ApplicationCredential * DatabaseName: "STRING_VALUE", // required - * CredentialType: "STRING_VALUE", // required + * CredentialType: "ADMIN", // required * SecretId: "STRING_VALUE", // required * }, * ], * CredentialsToRemove: [ * { * DatabaseName: "STRING_VALUE", // required - * CredentialType: "STRING_VALUE", // required + * CredentialType: "ADMIN", // required * SecretId: "STRING_VALUE", // required * }, * ], + * Backint: { // BackintConfig + * BackintMode: "AWSBackup", // required + * EnsureNoBackupInProcess: true || false, // required + * }, * }; * const command = new UpdateApplicationSettingsCommand(input); * const response = await client.send(command); @@ -82,6 +86,9 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio * @see {@link UpdateApplicationSettingsCommandOutput} for command's `response` shape. * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape. * + * @throws {@link ConflictException} (client fault) + *

A conflict has occurred.

+ * * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

* diff --git a/clients/client-ssm-sap/src/commands/index.ts b/clients/client-ssm-sap/src/commands/index.ts index 8782937ffdbf..8642122e25e4 100644 --- a/clients/client-ssm-sap/src/commands/index.ts +++ b/clients/client-ssm-sap/src/commands/index.ts @@ -13,6 +13,7 @@ export * from "./ListOperationsCommand"; export * from "./ListTagsForResourceCommand"; export * from "./PutResourcePermissionCommand"; export * from "./RegisterApplicationCommand"; +export * from "./StartApplicationRefreshCommand"; export * from "./TagResourceCommand"; export * from "./UntagResourceCommand"; export * from "./UpdateApplicationSettingsCommand"; diff --git a/clients/client-ssm-sap/src/endpoint/EndpointParameters.ts b/clients/client-ssm-sap/src/endpoint/EndpointParameters.ts index cd3602998228..70637f80d9e6 100644 --- a/clients/client-ssm-sap/src/endpoint/EndpointParameters.ts +++ b/clients/client-ssm-sap/src/endpoint/EndpointParameters.ts @@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = ( }; export interface EndpointParameters extends __EndpointParameters { - Region: string; + Region?: string; UseDualStack?: boolean; UseFIPS?: boolean; Endpoint?: string; diff --git a/clients/client-ssm-sap/src/endpoint/ruleset.ts b/clients/client-ssm-sap/src/endpoint/ruleset.ts index f459113bca07..66f99f3dd314 100644 --- a/clients/client-ssm-sap/src/endpoint/ruleset.ts +++ b/clients/client-ssm-sap/src/endpoint/ruleset.ts @@ -6,24 +6,25 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/ssm-sap.json */ -const q="fn", -r="argv", -s="ref"; -const a=true, -b=false, -c="String", -d="PartitionResult", -e="tree", -f="error", -g="endpoint", -h={"required":true,"default":false,"type":"Boolean"}, -i={[s]:"Endpoint"}, -j={[q]:"booleanEquals",[r]:[{[s]:"UseFIPS"},true]}, -k={[q]:"booleanEquals",[r]:[{[s]:"UseDualStack"},true]}, -l={}, -m={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsFIPS"]}]}, -n={[q]:"booleanEquals",[r]:[true,{[q]:"getAttr",[r]:[{[s]:d},"supportsDualStack"]}]}, +const q="required", +r="fn", +s="argv", +t="ref"; +const a="isSet", +b="tree", +c="error", +d="endpoint", +e="PartitionResult", +f={[q]:false,"type":"String"}, +g={[q]:true,"default":false,"type":"Boolean"}, +h={[t]:"Endpoint"}, +i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]}, +j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]}, +k={}, +l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]}, +m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]}, +n=[i], o=[j], -p=[k]; -const _data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:h,UseFIPS:h,Endpoint:{required:b,type:c}},rules:[{conditions:[{[q]:"aws.partition",[r]:[{[s]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[q]:"isSet",[r]:[i]}],type:e,rules:[{conditions:o,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:p,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:i,properties:l,headers:l},type:g}]}]},{conditions:[j,k],type:e,rules:[{conditions:[m,n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:o,type:e,rules:[{conditions:[m],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:p,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:g}]}]}]}; +p=[{[t]:"Region"}]; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-ssm-sap/src/models/models_0.ts b/clients/client-ssm-sap/src/models/models_0.ts index d92f810342a0..7ddbf7745d14 100644 --- a/clients/client-ssm-sap/src/models/models_0.ts +++ b/clients/client-ssm-sap/src/models/models_0.ts @@ -3,6 +3,23 @@ import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from " import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException"; +/** + * @public + * @enum + */ +export const ApplicationDiscoveryStatus = { + DELETING: "DELETING", + REFRESH_FAILED: "REFRESH_FAILED", + REGISTERING: "REGISTERING", + REGISTRATION_FAILED: "REGISTRATION_FAILED", + SUCCESS: "SUCCESS", +} as const; + +/** + * @public + */ +export type ApplicationDiscoveryStatus = (typeof ApplicationDiscoveryStatus)[keyof typeof ApplicationDiscoveryStatus]; + /** * @public * @enum @@ -66,6 +83,11 @@ export interface Application { */ Status?: ApplicationStatus | string; + /** + *

The latest discovery result for the application.

+ */ + DiscoveryStatus?: ApplicationDiscoveryStatus | string; + /** *

The components of the application.

*/ @@ -144,12 +166,81 @@ export interface ApplicationSummary { Tags?: Record; } +/** + * @public + *

Describes the properties of the associated host.

+ */ +export interface AssociatedHost { + /** + *

The name of the host.

+ */ + Hostname?: string; + + /** + *

The ID of the Amazon EC2 instance.

+ */ + Ec2InstanceId?: string; + + /** + *

The version of the operating system.

+ */ + OsVersion?: string; +} + +/** + * @public + * @enum + */ +export const BackintMode = { + AWSBackup: "AWSBackup", +} as const; + +/** + * @public + */ +export type BackintMode = (typeof BackintMode)[keyof typeof BackintMode]; + +/** + * @public + *

Configuration parameters for AWS Backint Agent for SAP HANA. You can backup your SAP + * HANA database with AWS Backup or Amazon S3.

+ */ +export interface BackintConfig { + /** + *

AWS service for your database backup.

+ */ + BackintMode: BackintMode | string | undefined; + + /** + *

+ */ + EnsureNoBackupInProcess: boolean | undefined; +} + +/** + * @public + * @enum + */ +export const ClusterStatus = { + MAINTENANCE: "MAINTENANCE", + NONE: "NONE", + OFFLINE: "OFFLINE", + ONLINE: "ONLINE", + STANDBY: "STANDBY", +} as const; + +/** + * @public + */ +export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus]; + /** * @public * @enum */ export const ComponentType = { HANA: "HANA", + HANA_NODE: "HANA_NODE", } as const; /** @@ -184,19 +275,89 @@ export interface Host { HostName?: string; /** - *

The role of the Dedicated Host.

+ *

The IP address of the Dedicated Host.

*/ - HostRole?: HostRole | string; + HostIp?: string; /** - *

The IP address of the Dedicated Host.

+ *

The ID of Amazon EC2 instance.

*/ - HostIp?: string; + EC2InstanceId?: string; /** *

The instance ID of the instance on the Dedicated Host.

*/ InstanceId?: string; + + /** + *

The role of the Dedicated Host.

+ */ + HostRole?: HostRole | string; + + /** + *

The version of the operating system.

+ */ + OsVersion?: string; +} + +/** + * @public + * @enum + */ +export const OperationMode = { + DELTA_DATASHIPPING: "DELTA_DATASHIPPING", + LOGREPLAY: "LOGREPLAY", + LOGREPLAY_READACCESS: "LOGREPLAY_READACCESS", + NONE: "NONE", + PRIMARY: "PRIMARY", +} as const; + +/** + * @public + */ +export type OperationMode = (typeof OperationMode)[keyof typeof OperationMode]; + +/** + * @public + * @enum + */ +export const ReplicationMode = { + ASYNC: "ASYNC", + NONE: "NONE", + PRIMARY: "PRIMARY", + SYNC: "SYNC", + SYNCMEM: "SYNCMEM", +} as const; + +/** + * @public + */ +export type ReplicationMode = (typeof ReplicationMode)[keyof typeof ReplicationMode]; + +/** + * @public + *

Details of the SAP HANA system replication for the instance.

+ */ +export interface Resilience { + /** + *

The tier of the component.

+ */ + HsrTier?: string; + + /** + *

The replication mode of the component.

+ */ + HsrReplicationMode?: ReplicationMode | string; + + /** + *

The operation mode of the component.

+ */ + HsrOperationMode?: OperationMode | string; + + /** + *

The cluster status of the component.

+ */ + ClusterStatus?: ClusterStatus | string; } /** @@ -205,6 +366,12 @@ export interface Host { */ export const ComponentStatus = { ACTIVATED: "ACTIVATED", + RUNNING: "RUNNING", + RUNNING_WITH_ERROR: "RUNNING_WITH_ERROR", + STARTING: "STARTING", + STOPPED: "STOPPED", + STOPPING: "STOPPING", + UNDEFINED: "UNDEFINED", } as const; /** @@ -222,6 +389,20 @@ export interface Component { */ ComponentId?: string; + /** + *

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 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 application.

*/ @@ -237,17 +418,46 @@ export interface Component { */ Status?: ComponentStatus | string; + /** + *

The hostname of the component.

+ */ + SapHostname?: string; + + /** + *

The kernel version of the component.

+ */ + SapKernelVersion?: string; + + /** + *

The SAP HANA version of the component.

+ */ + HdbVersion?: string; + + /** + *

Details of the SAP HANA system replication for the component.

+ */ + Resilience?: Resilience; + + /** + *

The associated host of the component.

+ */ + AssociatedHost?: AssociatedHost; + /** *

The SAP HANA databases of the component.

*/ Databases?: string[]; /** + * @deprecated + * *

The hosts of the component.

*/ Hosts?: Host[]; /** + * @deprecated + * *

The primary host of the component.

*/ PrimaryHost?: string; @@ -256,6 +466,11 @@ export interface Component { *

The time at which the component was last updated.

*/ LastUpdated?: Date; + + /** + *

The Amazon Resource Name (ARN) of the component.

+ */ + Arn?: string; } /** @@ -282,6 +497,11 @@ export interface ComponentSummary { *

The tags of the component.

*/ Tags?: Record; + + /** + *

The Amazon Resource Name (ARN) of the component summary.

+ */ + Arn?: string; } /** @@ -325,6 +545,7 @@ export type DatabaseType = (typeof DatabaseType)[keyof typeof DatabaseType]; * @enum */ export const DatabaseStatus = { + ERROR: "ERROR", RUNNING: "RUNNING", STARTING: "STARTING", STOPPED: "STOPPED", @@ -656,6 +877,11 @@ export interface GetComponentOutput { *

The component of an application registered with AWS Systems Manager for SAP.

*/ Component?: Component; + + /** + *

The tags of a component.

+ */ + Tags?: Record; } /** @@ -928,8 +1154,8 @@ export interface ListDatabasesOutput { Databases?: DatabaseSummary[]; /** - *

The token to use to retrieve the next page of results. This value is null when there are no more - * results to return.

+ *

The token to use to retrieve the next page of results. This value is null when there are + * no more results to return.

*/ NextToken?: string; } @@ -944,15 +1170,14 @@ export interface ListOperationsInput { ApplicationId: string | undefined; /** - *

The maximum number of results to return with a single call. To retrieve the remaining results, make - * another call with the returned nextToken value. - * If you do not specify a value for MaxResults, the request returns 50 items per page by default.

+ *

The maximum number of results to return with a single call. To retrieve the remaining + * results, make another call with the returned nextToken value. If you do not specify a value + * for MaxResults, the request returns 50 items per page by default.

*/ MaxResults?: number; /** - *

The token for the next page of results. - *

+ *

The token for the next page of results.

*/ NextToken?: string; @@ -972,8 +1197,8 @@ export interface ListOperationsOutput { Operations?: Operation[]; /** - *

The token to use to retrieve the next page of results. This value is null when there are no more - * results to return.

+ *

The token to use to retrieve the next page of results. This value is null when there are + * no more results to return.

*/ NextToken?: string; } @@ -1083,6 +1308,26 @@ export interface RegisterApplicationOutput { OperationId?: string; } +/** + * @public + */ +export interface StartApplicationRefreshInput { + /** + *

The ID of the application.

+ */ + ApplicationId: string | undefined; +} + +/** + * @public + */ +export interface StartApplicationRefreshOutput { + /** + *

The ID of the operation.

+ */ + OperationId?: string; +} + /** * @public */ @@ -1142,6 +1387,11 @@ export interface UpdateApplicationSettingsInput { *

The credentials to be removed.

*/ CredentialsToRemove?: ApplicationCredential[]; + + /** + *

Installation of AWS Backint Agent for SAP HANA.

+ */ + Backint?: BackintConfig; } /** diff --git a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts index 756ddf1b3287..06745fa5d41e 100644 --- a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts +++ b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts @@ -54,6 +54,10 @@ import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput, } from "../commands/RegisterApplicationCommand"; +import { + StartApplicationRefreshCommandInput, + StartApplicationRefreshCommandOutput, +} from "../commands/StartApplicationRefreshCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { @@ -63,6 +67,7 @@ import { import { Application, ApplicationCredential, + BackintConfig, Component, ConflictException, Database, @@ -504,6 +509,36 @@ export const se_RegisterApplicationCommand = async ( }); }; +/** + * serializeAws_restJson1StartApplicationRefreshCommand + */ +export const se_StartApplicationRefreshCommand = async ( + input: StartApplicationRefreshCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-application-refresh"; + let body: any; + body = JSON.stringify( + take(input, { + ApplicationId: [], + }) + ); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + /** * serializeAws_restJson1TagResourceCommand */ @@ -581,6 +616,7 @@ export const se_UpdateApplicationSettingsCommand = async ( body = JSON.stringify( take(input, { ApplicationId: [], + Backint: (_) => _json(_), CredentialsToAddOrUpdate: (_) => _json(_), CredentialsToRemove: (_) => _json(_), }) @@ -762,6 +798,7 @@ export const de_GetComponentCommand = async ( const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); const doc = take(data, { Component: (_) => de_Component(_, context), + Tags: _json, }); Object.assign(contents, doc); return contents; @@ -1323,6 +1360,62 @@ const de_RegisterApplicationCommandError = async ( } }; +/** + * deserializeAws_restJson1StartApplicationRefreshCommand + */ +export const de_StartApplicationRefreshCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_StartApplicationRefreshCommandError(output, context); + } + const contents: any = map({ + $metadata: deserializeMetadata(output), + }); + const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + const doc = take(data, { + OperationId: __expectString, + }); + Object.assign(contents, doc); + return contents; +}; + +/** + * deserializeAws_restJson1StartApplicationRefreshCommandError + */ +const de_StartApplicationRefreshCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.ssmsap#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); + 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); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; + /** * deserializeAws_restJson1TagResourceCommand */ @@ -1456,6 +1549,9 @@ const de_UpdateApplicationSettingsCommandError = async ( }; const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); switch (errorCode) { + case "ConflictException": + case "com.amazonaws.ssmsap#ConflictException": + throw await de_ConflictExceptionRes(parsedOutput, context); case "InternalServerException": case "com.amazonaws.ssmsap#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); @@ -1554,6 +1650,8 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont // se_ApplicationCredentialList omitted. +// se_BackintConfig omitted. + // se_Filter omitted. // se_FilterList omitted. @@ -1570,6 +1668,7 @@ const de_Application = (output: any, context: __SerdeContext): Application => { AppRegistryArn: __expectString, Arn: __expectString, Components: _json, + DiscoveryStatus: __expectString, Id: __expectString, LastUpdated: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), Status: __expectString, @@ -1586,18 +1685,28 @@ const de_Application = (output: any, context: __SerdeContext): Application => { // de_ApplicationSummaryList omitted. +// de_AssociatedHost omitted. + /** * deserializeAws_restJson1Component */ const de_Component = (output: any, context: __SerdeContext): Component => { return take(output, { ApplicationId: __expectString, + Arn: __expectString, + AssociatedHost: _json, + ChildComponents: _json, ComponentId: __expectString, ComponentType: __expectString, Databases: _json, + HdbVersion: __expectString, Hosts: _json, LastUpdated: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ParentComponent: __expectString, PrimaryHost: __expectString, + Resilience: _json, + SapHostname: __expectString, + SapKernelVersion: __expectString, Status: __expectString, }) as any; }; @@ -1684,6 +1793,8 @@ const de_OperationProperties = (output: any, context: __SerdeContext): Record ({ diff --git a/codegen/sdk-codegen/aws-models/ssm-sap.json b/codegen/sdk-codegen/aws-models/ssm-sap.json index e706ce07eca9..0bc34ac73eea 100644 --- a/codegen/sdk-codegen/aws-models/ssm-sap.json +++ b/codegen/sdk-codegen/aws-models/ssm-sap.json @@ -1,2772 +1,3271 @@ { - "smithy": "2.0", - "shapes": { - "com.amazonaws.ssmsap#AppRegistryArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws:servicecatalog:[a-z0-9:\\/-]+$" - } - }, - "com.amazonaws.ssmsap#Application": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "Type": { - "target": "com.amazonaws.ssmsap#ApplicationType", - "traits": { - "smithy.api#documentation": "

The type of the application.

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

The Amazon Resource Name (ARN) of the application.

" - } - }, - "AppRegistryArn": { - "target": "com.amazonaws.ssmsap#AppRegistryArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Application Registry.

" - } - }, - "Status": { - "target": "com.amazonaws.ssmsap#ApplicationStatus", - "traits": { - "smithy.api#documentation": "

The status of the application.

" - } - }, - "Components": { - "target": "com.amazonaws.ssmsap#ComponentIdList", - "traits": { - "smithy.api#documentation": "

The components of the application.

" - } - }, - "LastUpdated": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the application was last updated.

" - } - }, - "StatusMessage": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status message.

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

An SAP application registered with AWS Systems Manager for SAP.

" - } - }, - "com.amazonaws.ssmsap#ApplicationCredential": { - "type": "structure", - "members": { - "DatabaseName": { - "target": "com.amazonaws.ssmsap#DatabaseName", - "traits": { - "smithy.api#documentation": "

The name of the SAP HANA database.

", - "smithy.api#required": {} - } - }, - "CredentialType": { - "target": "com.amazonaws.ssmsap#CredentialType", - "traits": { - "smithy.api#documentation": "

The type of the application credentials.

", - "smithy.api#required": {} - } - }, - "SecretId": { - "target": "com.amazonaws.ssmsap#SecretId", - "traits": { - "smithy.api#documentation": "

The secret ID created in AWS Secrets Manager to store the credentials of the SAP\n application.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The credentials of your SAP application.

" - } - }, - "com.amazonaws.ssmsap#ApplicationCredentialList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#ApplicationCredential" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.ssmsap#ApplicationId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[\\w\\d]{1,50}$" - } - }, - "com.amazonaws.ssmsap#ApplicationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVATED", - "name": "ACTIVATED" - }, - { - "value": "STARTING", - "name": "STARTING" - }, - { - "value": "STOPPED", - "name": "STOPPED" - }, - { - "value": "STOPPING", - "name": "STOPPING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "REGISTERING", - "name": "REGISTERING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - } - ] - } - }, - "com.amazonaws.ssmsap#ApplicationSummary": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "Type": { - "target": "com.amazonaws.ssmsap#ApplicationType", - "traits": { - "smithy.api#documentation": "

The type of the application.

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

The Amazon Resource Name (ARN) of the application.

" - } - }, - "Tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

The tags on the application.

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

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

" - } - }, - "com.amazonaws.ssmsap#ApplicationSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#ApplicationSummary" - } - }, - "com.amazonaws.ssmsap#ApplicationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HANA", - "name": "HANA" - } - ] - } - }, - "com.amazonaws.ssmsap#Arn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+$" - } - }, - "com.amazonaws.ssmsap#Component": { - "type": "structure", - "members": { - "ComponentId": { - "target": "com.amazonaws.ssmsap#ComponentId", - "traits": { - "smithy.api#documentation": "

The ID of the component.

" - } - }, - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "ComponentType": { - "target": "com.amazonaws.ssmsap#ComponentType", - "traits": { - "smithy.api#documentation": "

The type of the component.

" - } - }, - "Status": { - "target": "com.amazonaws.ssmsap#ComponentStatus", - "traits": { - "smithy.api#documentation": "

The status of the component.

" - } - }, - "Databases": { - "target": "com.amazonaws.ssmsap#DatabaseIdList", - "traits": { - "smithy.api#documentation": "

The SAP HANA databases of the component.

" - } - }, - "Hosts": { - "target": "com.amazonaws.ssmsap#HostList", - "traits": { - "smithy.api#documentation": "

The hosts of the component.

" - } - }, - "PrimaryHost": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The primary host of the component.

" - } - }, - "LastUpdated": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the component was last updated.

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

The SAP component of your application.

" - } - }, - "com.amazonaws.ssmsap#ComponentId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[\\w\\d-]+$" - } - }, - "com.amazonaws.ssmsap#ComponentIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#ComponentId" - } - }, - "com.amazonaws.ssmsap#ComponentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVATED", - "name": "ACTIVATED" - } - ] - } - }, - "com.amazonaws.ssmsap#ComponentSummary": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "ComponentId": { - "target": "com.amazonaws.ssmsap#ComponentId", - "traits": { - "smithy.api#documentation": "

The ID of the component.

" - } - }, - "ComponentType": { - "target": "com.amazonaws.ssmsap#ComponentType", - "traits": { - "smithy.api#documentation": "

The type of the component.

" - } - }, - "Tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the component.

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

The summary of the component.

" - } - }, - "com.amazonaws.ssmsap#ComponentSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#ComponentSummary" - } - }, - "com.amazonaws.ssmsap#ComponentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HANA", - "name": "HANA" - } - ] - } - }, - "com.amazonaws.ssmsap#ConflictException": { - "type": "structure", - "members": { - "Message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "

A conflict has occurred.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.ssmsap#CredentialType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADMIN", - "name": "ADMIN" - } - ] - } - }, - "com.amazonaws.ssmsap#Database": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "ComponentId": { - "target": "com.amazonaws.ssmsap#ComponentId", - "traits": { - "smithy.api#documentation": "

The ID of the component.

" - } - }, - "Credentials": { - "target": "com.amazonaws.ssmsap#ApplicationCredentialList", - "traits": { - "smithy.api#documentation": "

The credentials of the database.

" - } - }, - "DatabaseId": { - "target": "com.amazonaws.ssmsap#DatabaseId", - "traits": { - "smithy.api#documentation": "

The ID of the SAP HANA database.

" - } - }, - "DatabaseName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The name of the database.

" - } - }, - "DatabaseType": { - "target": "com.amazonaws.ssmsap#DatabaseType", - "traits": { - "smithy.api#documentation": "

The type of the database.

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

The Amazon Resource Name (ARN) of the database.

" - } - }, - "Status": { - "target": "com.amazonaws.ssmsap#DatabaseStatus", - "traits": { - "smithy.api#documentation": "

The status of the database.

" - } - }, - "PrimaryHost": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The primary host of the database.

" - } - }, - "SQLPort": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The SQL port of the database.

" - } - }, - "LastUpdated": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the database was last updated.

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

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

" - } - }, - "com.amazonaws.ssmsap#DatabaseId": { - "type": "string", - "traits": { - "smithy.api#pattern": "[\\w\\d]+$" - } - }, - "com.amazonaws.ssmsap#DatabaseIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#DatabaseId" - } - }, - "com.amazonaws.ssmsap#DatabaseName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.ssmsap#DatabaseStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "STARTING", - "name": "STARTING" - }, - { - "value": "STOPPED", - "name": "STOPPED" - }, - { - "value": "WARNING", - "name": "WARNING" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - } - ] - } - }, - "com.amazonaws.ssmsap#DatabaseSummary": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "ComponentId": { - "target": "com.amazonaws.ssmsap#ComponentId", - "traits": { - "smithy.api#documentation": "

The ID of the component.

" - } - }, - "DatabaseId": { - "target": "com.amazonaws.ssmsap#DatabaseId", - "traits": { - "smithy.api#documentation": "

The ID of the database.

" - } - }, - "DatabaseType": { - "target": "com.amazonaws.ssmsap#DatabaseType", - "traits": { - "smithy.api#documentation": "

The type of the database.

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

The Amazon Resource Name (ARN) of the database.

" - } - }, - "Tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the database.

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

The summary of the database.

" - } - }, - "com.amazonaws.ssmsap#DatabaseSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#DatabaseSummary" - } - }, - "com.amazonaws.ssmsap#DatabaseType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SYSTEM", - "name": "SYSTEM" - }, - { - "value": "TENANT", - "name": "TENANT" - } - ] - } - }, - "com.amazonaws.ssmsap#DeleteResourcePermission": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#DeleteResourcePermissionInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#DeleteResourcePermissionOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Removes permissions associated with the target database.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/delete-resource-permission" - } - } - }, - "com.amazonaws.ssmsap#DeleteResourcePermissionInput": { - "type": "structure", - "members": { - "ActionType": { - "target": "com.amazonaws.ssmsap#PermissionActionType", - "traits": { - "smithy.api#documentation": "

Delete or restore the permissions on the target database.

" - } - }, - "SourceResourceArn": { - "target": "com.amazonaws.ssmsap#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source resource.

" - } - }, - "ResourceArn": { - "target": "com.amazonaws.ssmsap#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#DeleteResourcePermissionOutput": { - "type": "structure", - "members": { - "Policy": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The policy that removes permissions on the target database.

" - } - } - } - }, - "com.amazonaws.ssmsap#DeregisterApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#DeregisterApplicationInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#DeregisterApplicationOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Deregister an SAP application with AWS Systems Manager for SAP. This action does not\n affect the existing setup of your SAP workloads on Amazon EC2.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/deregister-application" - } - } - }, - "com.amazonaws.ssmsap#DeregisterApplicationInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#DeregisterApplicationOutput": { - "type": "structure", - "members": {} - }, - "com.amazonaws.ssmsap#Filter": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.ssmsap#FilterName", - "traits": { - "smithy.api#documentation": "

The name of the filter. Filter names are case-sensitive.

", - "smithy.api#required": {} - } - }, - "Value": { - "target": "com.amazonaws.ssmsap#FilterValue", - "traits": { - "smithy.api#documentation": "

The filter values. Filter values are case-sensitive. If you specify multiple values for\n a filter, the values are joined with an OR, and the request returns all results that match\n any of the specified values

", - "smithy.api#required": {} - } - }, - "Operator": { - "target": "com.amazonaws.ssmsap#FilterOperator", - "traits": { - "smithy.api#documentation": "

The operator for the filter.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A specific result obtained by specifying the name, value, and operator.

" - } - }, - "com.amazonaws.ssmsap#FilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#Filter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.ssmsap#FilterName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 32 - } - } - }, - "com.amazonaws.ssmsap#FilterOperator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Equals", - "name": "EQUALS" - }, - { - "value": "GreaterThanOrEquals", - "name": "GREATER_THAN_OR_EQUALS" - }, - { - "value": "LessThanOrEquals", - "name": "LESS_THAN_OR_EQUALS" - } - ] - } - }, - "com.amazonaws.ssmsap#FilterValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.ssmsap#GetApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#GetApplicationInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#GetApplicationOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets an application registered with AWS Systems Manager for SAP. It also returns the\n components of the application.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/get-application" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#GetApplicationInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

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

The Amazon Resource Name (ARN) of the application.

" - } - }, - "AppRegistryArn": { - "target": "com.amazonaws.ssmsap#AppRegistryArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the application registry.

" - } - } - } - }, - "com.amazonaws.ssmsap#GetApplicationOutput": { - "type": "structure", - "members": { - "Application": { - "target": "com.amazonaws.ssmsap#Application", - "traits": { - "smithy.api#documentation": "

Returns all of the metadata of an application registered with AWS Systems Manager for\n SAP.

" - } - }, - "Tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of a registered application.

" - } - } - } - }, - "com.amazonaws.ssmsap#GetComponent": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#GetComponentInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#GetComponentOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets the component of an application registered with AWS Systems Manager for\n SAP.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/get-component" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#GetComponentInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

", - "smithy.api#required": {} - } - }, - "ComponentId": { - "target": "com.amazonaws.ssmsap#ComponentId", - "traits": { - "smithy.api#documentation": "

The ID of the component.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#GetComponentOutput": { - "type": "structure", - "members": { - "Component": { - "target": "com.amazonaws.ssmsap#Component", - "traits": { - "smithy.api#documentation": "

The component of an application registered with AWS Systems Manager for SAP.

" - } - } - } - }, - "com.amazonaws.ssmsap#GetDatabase": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#GetDatabaseInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#GetDatabaseOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/get-database" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#GetDatabaseInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "ComponentId": { - "target": "com.amazonaws.ssmsap#ComponentId", - "traits": { - "smithy.api#documentation": "

The ID of the component.

" - } - }, - "DatabaseId": { - "target": "com.amazonaws.ssmsap#DatabaseId", - "traits": { - "smithy.api#documentation": "

The ID of the database.

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

The Amazon Resource Name (ARN) of the database.

" - } - } - } - }, - "com.amazonaws.ssmsap#GetDatabaseOutput": { - "type": "structure", - "members": { - "Database": { - "target": "com.amazonaws.ssmsap#Database", - "traits": { - "smithy.api#documentation": "

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

" - } - }, - "Tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of a database.

" - } - } - } - }, - "com.amazonaws.ssmsap#GetOperation": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#GetOperationInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#GetOperationOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets the details of an operation by specifying the operation ID.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/get-operation" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#GetOperationInput": { - "type": "structure", - "members": { - "OperationId": { - "target": "com.amazonaws.ssmsap#OperationId", - "traits": { - "smithy.api#documentation": "

The ID of the operation.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#GetOperationOutput": { - "type": "structure", - "members": { - "Operation": { - "target": "com.amazonaws.ssmsap#Operation", - "traits": { - "smithy.api#documentation": "

Returns the details of an operation.

" - } - } - } - }, - "com.amazonaws.ssmsap#GetResourcePermission": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#GetResourcePermissionInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#GetResourcePermissionOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets permissions associated with the target database.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/get-resource-permission" - } - } - }, - "com.amazonaws.ssmsap#GetResourcePermissionInput": { - "type": "structure", - "members": { - "ActionType": { - "target": "com.amazonaws.ssmsap#PermissionActionType", - "traits": { - "smithy.api#documentation": "

" - } - }, - "ResourceArn": { - "target": "com.amazonaws.ssmsap#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#GetResourcePermissionOutput": { - "type": "structure", - "members": { - "Policy": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

" - } - } - } - }, - "com.amazonaws.ssmsap#Host": { - "type": "structure", - "members": { - "HostName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The name of the Dedicated Host.

" - } - }, - "HostRole": { - "target": "com.amazonaws.ssmsap#HostRole", - "traits": { - "smithy.api#documentation": "

The role of the Dedicated Host.

" - } - }, - "HostIp": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The IP address of the Dedicated Host.

" - } - }, - "InstanceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The instance ID of the instance on the Dedicated Host.

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

Describes the properties of the Dedicated Host.

" - } - }, - "com.amazonaws.ssmsap#HostList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#Host" - } - }, - "com.amazonaws.ssmsap#HostRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LEADER", - "name": "LEADER" - }, - { - "value": "WORKER", - "name": "WORKER" - }, - { - "value": "STANDBY", - "name": "STANDBY" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - } - ] - } - }, - "com.amazonaws.ssmsap#InstanceId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^i-[\\w\\d]{8}$|^i-[\\w\\d]{17}$" - } - }, - "com.amazonaws.ssmsap#InstanceList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#InstanceId" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.ssmsap#InternalServerException": { - "type": "structure", - "members": { - "Message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "

An internal error has occurred.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.ssmsap#ListApplications": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#ListApplicationsInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#ListApplicationsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists all the applications registered with AWS Systems Manager for SAP.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/list-applications" - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults", - "items": "Applications" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#ListApplicationsInput": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token for the next page of results.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.ssmsap#MaxResults", - "traits": { - "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.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListApplicationsOutput": { - "type": "structure", - "members": { - "Applications": { - "target": "com.amazonaws.ssmsap#ApplicationSummaryList", - "traits": { - "smithy.api#documentation": "

The applications registered with AWS Systems Manager for SAP.

" - } - }, - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is null when there are\n no more results to return.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListComponents": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#ListComponentsInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#ListComponentsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists all the components registered with AWS Systems Manager for SAP.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/list-components" - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults", - "items": "Components" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#ListComponentsInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token for the next page of results.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.ssmsap#MaxResults", - "traits": { - "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.

\n

If you do not specify a value for MaxResults, the request returns 50 items per page by\n default.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListComponentsOutput": { - "type": "structure", - "members": { - "Components": { - "target": "com.amazonaws.ssmsap#ComponentSummaryList", - "traits": { - "smithy.api#documentation": "

List of components registered with AWS System Manager for SAP.

" - } - }, - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is null when there are\n no more results to return.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListDatabases": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#ListDatabasesInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#ListDatabasesOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the SAP HANA databases of an application registered with AWS Systems Manager for\n SAP.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/list-databases" - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults", - "items": "Databases" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#ListDatabasesInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

" - } - }, - "ComponentId": { - "target": "com.amazonaws.ssmsap#ComponentId", - "traits": { - "smithy.api#documentation": "

The ID of the component.

" - } - }, - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token for the next page of results.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.ssmsap#MaxResults", - "traits": { - "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. If you do not specify a value\n for MaxResults, the request returns 50 items per page by default.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListDatabasesOutput": { - "type": "structure", - "members": { - "Databases": { - "target": "com.amazonaws.ssmsap#DatabaseSummaryList", - "traits": { - "smithy.api#documentation": "

The SAP HANA databases of an application.

" - } - }, - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is null when there are no more\n results to return.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListOperations": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#ListOperationsInput" - }, - "output": { - "target": "com.amazonaws.ssmsap#ListOperationsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the operations performed by AWS Systems Manager for SAP.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/list-operations" - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults", - "items": "Operations" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#ListOperationsInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

", - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.ssmsap#MaxResults", - "traits": { - "smithy.api#default": null, - "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make\n another call with the returned nextToken value.\n If you do not specify a value for MaxResults, the request returns 50 items per page by default.

" - } - }, - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token for the next page of results.\n

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

The filters of an operation.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListOperationsOutput": { - "type": "structure", - "members": { - "Operations": { - "target": "com.amazonaws.ssmsap#OperationList", - "traits": { - "smithy.api#documentation": "

List of operations performed by AWS Systems Manager for SAP.

" - } - }, - "NextToken": { - "target": "com.amazonaws.ssmsap#NextToken", - "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is null when there are no more\n results to return.

" - } - } - } - }, - "com.amazonaws.ssmsap#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.ssmsap#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#ConflictException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists all tags on an SAP HANA application and/or database registered with AWS Systems\n Manager for SAP.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{resourceArn}" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.ssmsap#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.ssmsap#SsmSapArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

" - } - } - } - }, - "com.amazonaws.ssmsap#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.ssmsap#NextToken": { - "type": "string", - "traits": { - "smithy.api#pattern": "^.{16,1024}$" - } - }, - "com.amazonaws.ssmsap#Operation": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.ssmsap#OperationId", - "traits": { - "smithy.api#documentation": "

The ID of the operation.

" - } - }, - "Type": { - "target": "com.amazonaws.ssmsap#OperationType", - "traits": { - "smithy.api#documentation": "

The type of the operation.

" - } - }, - "Status": { - "target": "com.amazonaws.ssmsap#OperationStatus", - "traits": { - "smithy.api#documentation": "

The status of the operation.

" - } - }, - "StatusMessage": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status message of the operation.

" - } - }, - "Properties": { - "target": "com.amazonaws.ssmsap#OperationProperties", - "traits": { - "smithy.api#documentation": "

The properties of the operation.

" - } - }, - "ResourceType": { - "target": "com.amazonaws.ssmsap#ResourceType", - "traits": { - "smithy.api#documentation": "

The resource type of the operation.

" - } - }, - "ResourceId": { - "target": "com.amazonaws.ssmsap#ResourceId", - "traits": { - "smithy.api#documentation": "

The resource ID of the operation.

" - } - }, - "ResourceArn": { - "target": "com.amazonaws.ssmsap#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the operation.

" - } - }, - "StartTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The start time of the operation.

" - } - }, - "EndTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The end time of the operation.

" - } - }, - "LastUpdatedTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the operation was last updated.

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

The operations performed by AWS Systems Manager for SAP.

" - } - }, - "com.amazonaws.ssmsap#OperationId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$" - } - }, - "com.amazonaws.ssmsap#OperationIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#OperationId" - } - }, - "com.amazonaws.ssmsap#OperationList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#Operation" - } - }, - "com.amazonaws.ssmsap#OperationProperties": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" + "smithy": "2.0", + "shapes": { + "com.amazonaws.ssmsap#AppRegistryArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws:servicecatalog:[a-z0-9:\\/-]+$" + } + }, + "com.amazonaws.ssmsap#Application": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The type of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the Application Registry.

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

The status of the application.

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

The latest discovery result for the application.

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

The components of the application.

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

The time at which the application was last updated.

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

The status message.

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

An SAP application registered with AWS Systems Manager for SAP.

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

The name of the SAP HANA database.

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

The type of the application credentials.

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

The secret ID created in AWS Secrets Manager to store the credentials of the SAP\n application.

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

The credentials of your SAP application.

" + } + }, + "com.amazonaws.ssmsap#ApplicationCredentialList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#ApplicationCredential" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.ssmsap#ApplicationDiscoveryStatus": { + "type": "enum", + "members": { + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "REGISTRATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGISTRATION_FAILED" + } + }, + "REFRESH_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REFRESH_FAILED" + } + }, + "REGISTERING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGISTERING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + } + } + }, + "com.amazonaws.ssmsap#ApplicationId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[\\w\\d]{1,50}$" + } + }, + "com.amazonaws.ssmsap#ApplicationStatus": { + "type": "enum", + "members": { + "ACTIVATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVATED" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPED" + } + }, + "STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "REGISTERING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGISTERING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } + } + }, + "com.amazonaws.ssmsap#ApplicationSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The type of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The tags on the application.

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

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

" + } + }, + "com.amazonaws.ssmsap#ApplicationSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#ApplicationSummary" + } + }, + "com.amazonaws.ssmsap#ApplicationType": { + "type": "enum", + "members": { + "HANA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HANA" + } + } + } + }, + "com.amazonaws.ssmsap#Arn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+$" + } + }, + "com.amazonaws.ssmsap#AssociatedHost": { + "type": "structure", + "members": { + "Hostname": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the host.

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

The ID of the Amazon EC2 instance.

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

The version of the operating system.

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

Describes the properties of the associated host.

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

AWS service for your database backup.

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

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

Configuration parameters for AWS Backint Agent for SAP HANA. You can backup your SAP\n HANA database with AWS Backup or Amazon S3.

" + } + }, + "com.amazonaws.ssmsap#BackintMode": { + "type": "enum", + "members": { + "AWSBackup": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWSBackup" + } + } + } + }, + "com.amazonaws.ssmsap#ClusterStatus": { + "type": "enum", + "members": { + "ONLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONLINE" + } + }, + "STANDBY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDBY" + } + }, + "MAINTENANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAINTENANCE" + } + }, + "OFFLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OFFLINE" + } + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + } + } + }, + "com.amazonaws.ssmsap#Component": { + "type": "structure", + "members": { + "ComponentId": { + "target": "com.amazonaws.ssmsap#ComponentId", + "traits": { + "smithy.api#documentation": "

The ID of the component.

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

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

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

The child components of a highly available environment. For example, in a highly\n available SAP on AWS workload, the child component consists of the primary and secondar\n instances.

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

The ID of the application.

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

The type of the component.

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

The status of the component.

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

The hostname of the component.

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

The kernel version of the component.

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

The SAP HANA version of the component.

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

Details of the SAP HANA system replication for the component.

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

The associated host of the component.

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

The SAP HANA databases of the component.

" + } + }, + "Hosts": { + "target": "com.amazonaws.ssmsap#HostList", + "traits": { + "smithy.api#deprecated": { + "message": "This shape is no longer used. Please use AssociatedHost." }, - "traits": { - "smithy.api#sparse": {} - } - }, - "com.amazonaws.ssmsap#OperationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INPROGRESS", - "name": "INPROGRESS" - }, - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "ERROR", - "name": "ERROR" - } - ] - } - }, - "com.amazonaws.ssmsap#OperationType": { - "type": "string" - }, - "com.amazonaws.ssmsap#PermissionActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RESTORE", - "name": "RESTORE" - } - ] - } - }, - "com.amazonaws.ssmsap#PutResourcePermission": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#PutResourcePermissionInput" + "smithy.api#documentation": "

The hosts of the component.

" + } + }, + "PrimaryHost": { + "target": "smithy.api#String", + "traits": { + "smithy.api#deprecated": { + "message": "This shape is no longer used. Please use AssociatedHost." }, - "output": { - "target": "com.amazonaws.ssmsap#PutResourcePermissionOutput" + "smithy.api#documentation": "

The primary host of the component.

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

The time at which the component was last updated.

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

The Amazon Resource Name (ARN) of the component.

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

The SAP component of your application.

" + } + }, + "com.amazonaws.ssmsap#ComponentId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[\\w\\d-]+$" + } + }, + "com.amazonaws.ssmsap#ComponentIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#ComponentId" + } + }, + "com.amazonaws.ssmsap#ComponentStatus": { + "type": "enum", + "members": { + "ACTIVATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVATED" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPED" + } + }, + "STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPING" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "RUNNING_WITH_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING_WITH_ERROR" + } + }, + "UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNDEFINED" + } + } + } + }, + "com.amazonaws.ssmsap#ComponentSummary": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The ID of the component.

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

The type of the component.

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

The tags of the component.

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

The Amazon Resource Name (ARN) of the component summary.

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

The summary of the component.

" + } + }, + "com.amazonaws.ssmsap#ComponentSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#ComponentSummary" + } + }, + "com.amazonaws.ssmsap#ComponentType": { + "type": "enum", + "members": { + "HANA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HANA" + } + }, + "HANA_NODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HANA_NODE" + } + } + } + }, + "com.amazonaws.ssmsap#ConflictException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

A conflict has occurred.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.ssmsap#CredentialType": { + "type": "enum", + "members": { + "ADMIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADMIN" + } + } + } + }, + "com.amazonaws.ssmsap#Database": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The ID of the component.

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

The credentials of the database.

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

The ID of the SAP HANA database.

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

The name of the database.

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

The type of the database.

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

The Amazon Resource Name (ARN) of the database.

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

The status of the database.

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

The primary host of the database.

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

The SQL port of the database.

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

The time at which the database was last updated.

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

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

" + } + }, + "com.amazonaws.ssmsap#DatabaseId": { + "type": "string", + "traits": { + "smithy.api#pattern": "[\\w\\d]+$" + } + }, + "com.amazonaws.ssmsap#DatabaseIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#DatabaseId" + } + }, + "com.amazonaws.ssmsap#DatabaseName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.ssmsap#DatabaseStatus": { + "type": "enum", + "members": { + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPED" + } + }, + "WARNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WARNING" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } + } + }, + "com.amazonaws.ssmsap#DatabaseSummary": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The ID of the component.

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

The ID of the database.

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

The type of the database.

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

The Amazon Resource Name (ARN) of the database.

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

The tags of the database.

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

The summary of the database.

" + } + }, + "com.amazonaws.ssmsap#DatabaseSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#DatabaseSummary" + } + }, + "com.amazonaws.ssmsap#DatabaseType": { + "type": "enum", + "members": { + "SYSTEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYSTEM" + } + }, + "TENANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TENANT" + } + } + } + }, + "com.amazonaws.ssmsap#DeleteResourcePermission": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#DeleteResourcePermissionInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#DeleteResourcePermissionOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Removes permissions associated with the target database.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/delete-resource-permission" + } + } + }, + "com.amazonaws.ssmsap#DeleteResourcePermissionInput": { + "type": "structure", + "members": { + "ActionType": { + "target": "com.amazonaws.ssmsap#PermissionActionType", + "traits": { + "smithy.api#documentation": "

Delete or restore the permissions on the target database.

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

The Amazon Resource Name (ARN) of the source resource.

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

The Amazon Resource Name (ARN) of the resource.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#DeleteResourcePermissionOutput": { + "type": "structure", + "members": { + "Policy": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The policy that removes permissions on the target database.

" + } + } + } + }, + "com.amazonaws.ssmsap#DeregisterApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#DeregisterApplicationInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#DeregisterApplicationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deregister an SAP application with AWS Systems Manager for SAP. This action does not\n affect the existing setup of your SAP workloads on Amazon EC2.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/deregister-application" + } + } + }, + "com.amazonaws.ssmsap#DeregisterApplicationInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#DeregisterApplicationOutput": { + "type": "structure", + "members": {} + }, + "com.amazonaws.ssmsap#Filter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.ssmsap#FilterName", + "traits": { + "smithy.api#documentation": "

The name of the filter. Filter names are case-sensitive.

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

The filter values. Filter values are case-sensitive. If you specify multiple values for\n a filter, the values are joined with an OR, and the request returns all results that match\n any of the specified values

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

The operator for the filter.

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

A specific result obtained by specifying the name, value, and operator.

" + } + }, + "com.amazonaws.ssmsap#FilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#Filter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.ssmsap#FilterName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + } + } + }, + "com.amazonaws.ssmsap#FilterOperator": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Equals" + } + }, + "GREATER_THAN_OR_EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreaterThanOrEquals" + } + }, + "LESS_THAN_OR_EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LessThanOrEquals" + } + } + } + }, + "com.amazonaws.ssmsap#FilterValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.ssmsap#GetApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#GetApplicationInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#GetApplicationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets an application registered with AWS Systems Manager for SAP. It also returns the\n components of the application.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/get-application" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#GetApplicationInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application registry.

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

Returns all of the metadata of an application registered with AWS Systems Manager for\n SAP.

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

The tags of a registered application.

" + } + } + } + }, + "com.amazonaws.ssmsap#GetComponent": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#GetComponentInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#GetComponentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets the component of an application registered with AWS Systems Manager for\n SAP.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/get-component" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#GetComponentInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The ID of the component.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#GetComponentOutput": { + "type": "structure", + "members": { + "Component": { + "target": "com.amazonaws.ssmsap#Component", + "traits": { + "smithy.api#documentation": "

The component of an application registered with AWS Systems Manager for SAP.

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

The tags of a component.

" + } + } + } + }, + "com.amazonaws.ssmsap#GetDatabase": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#GetDatabaseInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#GetDatabaseOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/get-database" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#GetDatabaseInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The ID of the component.

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

The ID of the database.

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

The Amazon Resource Name (ARN) of the database.

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

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

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

The tags of a database.

" + } + } + } + }, + "com.amazonaws.ssmsap#GetOperation": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#GetOperationInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#GetOperationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets the details of an operation by specifying the operation ID.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/get-operation" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#GetOperationInput": { + "type": "structure", + "members": { + "OperationId": { + "target": "com.amazonaws.ssmsap#OperationId", + "traits": { + "smithy.api#documentation": "

The ID of the operation.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#GetOperationOutput": { + "type": "structure", + "members": { + "Operation": { + "target": "com.amazonaws.ssmsap#Operation", + "traits": { + "smithy.api#documentation": "

Returns the details of an operation.

" + } + } + } + }, + "com.amazonaws.ssmsap#GetResourcePermission": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#GetResourcePermissionInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#GetResourcePermissionOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets permissions associated with the target database.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/get-resource-permission" + } + } + }, + "com.amazonaws.ssmsap#GetResourcePermissionInput": { + "type": "structure", + "members": { + "ActionType": { + "target": "com.amazonaws.ssmsap#PermissionActionType", + "traits": { + "smithy.api#documentation": "

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

The Amazon Resource Name (ARN) of the resource.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#GetResourcePermissionOutput": { + "type": "structure", + "members": { + "Policy": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

" + } + } + } + }, + "com.amazonaws.ssmsap#Host": { + "type": "structure", + "members": { + "HostName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the Dedicated Host.

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

The IP address of the Dedicated Host.

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

The ID of Amazon EC2 instance.

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

The instance ID of the instance on the Dedicated Host.

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

The role of the Dedicated Host.

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

The version of the operating system.

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

Describes the properties of the Dedicated Host.

" + } + }, + "com.amazonaws.ssmsap#HostList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#Host" + } + }, + "com.amazonaws.ssmsap#HostRole": { + "type": "enum", + "members": { + "LEADER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEADER" + } + }, + "WORKER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKER" + } + }, + "STANDBY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDBY" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } + } + }, + "com.amazonaws.ssmsap#InstanceId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^i-[\\w\\d]{8}$|^i-[\\w\\d]{17}$" + } + }, + "com.amazonaws.ssmsap#InstanceList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#InstanceId" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.ssmsap#InternalServerException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

An internal error has occurred.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.ssmsap#ListApplications": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#ListApplicationsInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#ListApplicationsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all the applications registered with AWS Systems Manager for SAP.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/list-applications" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Applications" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#ListApplicationsInput": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.ssmsap#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next page of results.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.ssmsap#MaxResults", + "traits": { + "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.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListApplicationsOutput": { + "type": "structure", + "members": { + "Applications": { + "target": "com.amazonaws.ssmsap#ApplicationSummaryList", + "traits": { + "smithy.api#documentation": "

The applications registered with AWS Systems Manager for SAP.

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

The token to use to retrieve the next page of results. This value is null when there are\n no more results to return.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListComponents": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#ListComponentsInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#ListComponentsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all the components registered with AWS Systems Manager for SAP.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/list-components" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Components" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#ListComponentsInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The token for the next page of results.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.ssmsap#MaxResults", + "traits": { + "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.

\n

If you do not specify a value for MaxResults, the request returns 50 items per page by\n default.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListComponentsOutput": { + "type": "structure", + "members": { + "Components": { + "target": "com.amazonaws.ssmsap#ComponentSummaryList", + "traits": { + "smithy.api#documentation": "

List of components registered with AWS System Manager for SAP.

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

The token to use to retrieve the next page of results. This value is null when there are\n no more results to return.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListDatabases": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#ListDatabasesInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#ListDatabasesOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the SAP HANA databases of an application registered with AWS Systems Manager for\n SAP.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/list-databases" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Databases" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#ListDatabasesInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The ID of the component.

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

The token for the next page of results.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.ssmsap#MaxResults", + "traits": { + "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. If you do not specify a value\n for MaxResults, the request returns 50 items per page by default.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListDatabasesOutput": { + "type": "structure", + "members": { + "Databases": { + "target": "com.amazonaws.ssmsap#DatabaseSummaryList", + "traits": { + "smithy.api#documentation": "

The SAP HANA databases of an application.

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

The token to use to retrieve the next page of results. This value is null when there are\n no more results to return.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListOperations": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#ListOperationsInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#ListOperationsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the operations performed by AWS Systems Manager for SAP.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/list-operations" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Operations" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#ListOperationsInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

", + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.ssmsap#MaxResults", + "traits": { + "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. If you do not specify a value\n for MaxResults, the request returns 50 items per page by default.

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

The token for the next page of results.

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

The filters of an operation.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListOperationsOutput": { + "type": "structure", + "members": { + "Operations": { + "target": "com.amazonaws.ssmsap#OperationList", + "traits": { + "smithy.api#documentation": "

List of operations performed by AWS Systems Manager for SAP.

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

The token to use to retrieve the next page of results. This value is null when there are\n no more results to return.

" + } + } + } + }, + "com.amazonaws.ssmsap#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.ssmsap#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#ConflictException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all tags on an SAP HANA application and/or database registered with AWS Systems\n Manager for SAP.

", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{resourceArn}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.ssmsap#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.ssmsap#SsmSapArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.ssmsap#TagMap", + "traits": { + "smithy.api#documentation": "

" + } + } + } + }, + "com.amazonaws.ssmsap#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.ssmsap#NextToken": { + "type": "string", + "traits": { + "smithy.api#pattern": "^.{16,1024}$" + } + }, + "com.amazonaws.ssmsap#Operation": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.ssmsap#OperationId", + "traits": { + "smithy.api#documentation": "

The ID of the operation.

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

The type of the operation.

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

The status of the operation.

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

The status message of the operation.

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

The properties of the operation.

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

The resource type of the operation.

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

The resource ID of the operation.

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

The Amazon Resource Name (ARN) of the operation.

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

The start time of the operation.

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

The end time of the operation.

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

The time at which the operation was last updated.

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

The operations performed by AWS Systems Manager for SAP.

" + } + }, + "com.amazonaws.ssmsap#OperationId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$" + } + }, + "com.amazonaws.ssmsap#OperationIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#OperationId" + } + }, + "com.amazonaws.ssmsap#OperationList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#Operation" + } + }, + "com.amazonaws.ssmsap#OperationMode": { + "type": "enum", + "members": { + "PRIMARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIMARY" + } + }, + "LOGREPLAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOGREPLAY" + } + }, + "DELTA_DATASHIPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELTA_DATASHIPPING" + } + }, + "LOGREPLAY_READACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOGREPLAY_READACCESS" + } + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + } + } + }, + "com.amazonaws.ssmsap#OperationProperties": { + "type": "map", + "key": { + "target": "smithy.api#String" + }, + "value": { + "target": "smithy.api#String" + }, + "traits": { + "smithy.api#sparse": {} + } + }, + "com.amazonaws.ssmsap#OperationStatus": { + "type": "enum", + "members": { + "INPROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INPROGRESS" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } + } + }, + "com.amazonaws.ssmsap#OperationType": { + "type": "string" + }, + "com.amazonaws.ssmsap#PermissionActionType": { + "type": "enum", + "members": { + "RESTORE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTORE" + } + } + } + }, + "com.amazonaws.ssmsap#PutResourcePermission": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#PutResourcePermissionInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#PutResourcePermissionOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Adds permissions to the target database.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/put-resource-permission" + } + } + }, + "com.amazonaws.ssmsap#PutResourcePermissionInput": { + "type": "structure", + "members": { + "ActionType": { + "target": "com.amazonaws.ssmsap#PermissionActionType", + "traits": { + "smithy.api#documentation": "

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

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

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#PutResourcePermissionOutput": { + "type": "structure", + "members": { + "Policy": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

" + } + } + } + }, + "com.amazonaws.ssmsap#RegisterApplication": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#RegisterApplicationInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#RegisterApplicationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#ConflictException" + }, + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Register an SAP application with AWS Systems Manager for SAP. You must meet the\n following requirements before registering.

\n

The SAP application you want to register with AWS Systems Manager for SAP is running\n on Amazon EC2.

\n

AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required\n IAM permissions.

\n

Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to\n manage SAP applications and components.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/register-application" + } + } + }, + "com.amazonaws.ssmsap#RegisterApplicationInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The type of the application.

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

The Amazon EC2 instances on which your SAP application is running.

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

The SAP instance number of the application.

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

The System ID of the application.

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

The tags to be attached to the SAP application.

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

The credentials of the SAP application.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#RegisterApplicationOutput": { + "type": "structure", + "members": { + "Application": { + "target": "com.amazonaws.ssmsap#Application", + "traits": { + "smithy.api#documentation": "

The application registered with AWS Systems Manager for SAP.

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

The ID of the operation.

" + } + } + } + }, + "com.amazonaws.ssmsap#ReplicationMode": { + "type": "enum", + "members": { + "PRIMARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIMARY" + } + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "SYNC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYNC" + } + }, + "SYNCMEM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYNCMEM" + } + }, + "ASYNC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASYNC" + } + } + } + }, + "com.amazonaws.ssmsap#Resilience": { + "type": "structure", + "members": { + "HsrTier": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The tier of the component.

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

The replication mode of the component.

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

The operation mode of the component.

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

The cluster status of the component.

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

Details of the SAP HANA system replication for the instance.

" + } + }, + "com.amazonaws.ssmsap#ResourceId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.ssmsap#ResourceNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The resource is not available.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.ssmsap#ResourceType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.ssmsap#SAPInstanceNumber": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9]{2}$" + } + }, + "com.amazonaws.ssmsap#SID": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[A-Z][A-Z0-9]{2}$" + } + }, + "com.amazonaws.ssmsap#SecretId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.ssmsap#SsmSap": { + "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.ssmsap#DeleteResourcePermission" + }, + { + "target": "com.amazonaws.ssmsap#DeregisterApplication" + }, + { + "target": "com.amazonaws.ssmsap#GetApplication" + }, + { + "target": "com.amazonaws.ssmsap#GetComponent" + }, + { + "target": "com.amazonaws.ssmsap#GetDatabase" + }, + { + "target": "com.amazonaws.ssmsap#GetOperation" + }, + { + "target": "com.amazonaws.ssmsap#GetResourcePermission" + }, + { + "target": "com.amazonaws.ssmsap#ListApplications" + }, + { + "target": "com.amazonaws.ssmsap#ListComponents" + }, + { + "target": "com.amazonaws.ssmsap#ListDatabases" + }, + { + "target": "com.amazonaws.ssmsap#ListOperations" + }, + { + "target": "com.amazonaws.ssmsap#ListTagsForResource" + }, + { + "target": "com.amazonaws.ssmsap#PutResourcePermission" + }, + { + "target": "com.amazonaws.ssmsap#RegisterApplication" + }, + { + "target": "com.amazonaws.ssmsap#StartApplicationRefresh" + }, + { + "target": "com.amazonaws.ssmsap#TagResource" + }, + { + "target": "com.amazonaws.ssmsap#UntagResource" + }, + { + "target": "com.amazonaws.ssmsap#UpdateApplicationSettings" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Ssm Sap", + "arnNamespace": "ssm-sap", + "cloudTrailEventSource": "ssm-sap.amazonaws.com", + "endpointPrefix": "ssm-sap" + }, + "aws.auth#sigv4": { + "name": "ssm-sap" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "content-type", + "x-amz-date", + "authorization", + "x-api-key", + "x-amz-security-token", + "x-amz-content-sha256", + "x-amz-user-agent" + ], + "origin": "*" + }, + "smithy.api#documentation": "

This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for AWS Systems Manager for SAP. The topic for each action shows\n the API request parameters and responses.

", + "smithy.api#title": "AWS Systems Manager for SAP", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Adds permissions to the target database.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/put-resource-permission" - } - } - }, - "com.amazonaws.ssmsap#PutResourcePermissionInput": { - "type": "structure", - "members": { - "ActionType": { - "target": "com.amazonaws.ssmsap#PermissionActionType", - "traits": { - "smithy.api#documentation": "

", - "smithy.api#required": {} - } - }, - "SourceResourceArn": { - "target": "com.amazonaws.ssmsap#Arn", - "traits": { - "smithy.api#documentation": "

", - "smithy.api#required": {} - } - }, - "ResourceArn": { - "target": "com.amazonaws.ssmsap#Arn", - "traits": { - "smithy.api#documentation": "

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#PutResourcePermissionOutput": { - "type": "structure", - "members": { - "Policy": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

" - } - } - } - }, - "com.amazonaws.ssmsap#RegisterApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#RegisterApplicationInput" + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" }, - "output": { - "target": "com.amazonaws.ssmsap#RegisterApplicationOutput" + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#ConflictException" - }, - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Register an SAP application with AWS Systems Manager for SAP. You must meet the\n following requirements before registering.

\n

The SAP application you want to register with AWS Systems Manager for SAP is running\n on Amazon EC2.

\n

AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required\n IAM permissions.

\n

Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to\n manage SAP applications and components.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/register-application" - } - } - }, - "com.amazonaws.ssmsap#RegisterApplicationInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

", - "smithy.api#required": {} - } - }, - "ApplicationType": { - "target": "com.amazonaws.ssmsap#ApplicationType", - "traits": { - "smithy.api#documentation": "

The type of the application.

", - "smithy.api#required": {} - } - }, - "Instances": { - "target": "com.amazonaws.ssmsap#InstanceList", - "traits": { - "smithy.api#documentation": "

The Amazon EC2 instances on which your SAP application is running.

", - "smithy.api#required": {} - } - }, - "SapInstanceNumber": { - "target": "com.amazonaws.ssmsap#SAPInstanceNumber", - "traits": { - "smithy.api#documentation": "

The SAP instance number of the application.

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

The System ID of the application.

" - } - }, - "Tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

The tags to be attached to the SAP application.

" - } - }, - "Credentials": { - "target": "com.amazonaws.ssmsap#ApplicationCredentialList", - "traits": { - "smithy.api#documentation": "

The credentials of the SAP application.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#RegisterApplicationOutput": { - "type": "structure", - "members": { - "Application": { - "target": "com.amazonaws.ssmsap#Application", - "traits": { - "smithy.api#documentation": "

The application registered with AWS Systems Manager for SAP.

" - } - }, - "OperationId": { - "target": "com.amazonaws.ssmsap#OperationId", - "traits": { - "smithy.api#documentation": "

The ID of the operation.

" + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" } + ] } - } - }, - "com.amazonaws.ssmsap#ResourceId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.ssmsap#ResourceNotFoundException": { - "type": "structure", - "members": { - "Message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "

The resource is not available.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.ssmsap#ResourceType": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.ssmsap#SAPInstanceNumber": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[0-9]{2}$" - } - }, - "com.amazonaws.ssmsap#SID": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[A-Z][A-Z0-9]{2}$" - } - }, - "com.amazonaws.ssmsap#SecretId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.ssmsap#SsmSap": { - "type": "service", - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.ssmsap#DeleteResourcePermission" - }, - { - "target": "com.amazonaws.ssmsap#DeregisterApplication" - }, - { - "target": "com.amazonaws.ssmsap#GetApplication" - }, - { - "target": "com.amazonaws.ssmsap#GetComponent" - }, - { - "target": "com.amazonaws.ssmsap#GetDatabase" - }, - { - "target": "com.amazonaws.ssmsap#GetOperation" - }, - { - "target": "com.amazonaws.ssmsap#GetResourcePermission" - }, - { - "target": "com.amazonaws.ssmsap#ListApplications" - }, - { - "target": "com.amazonaws.ssmsap#ListComponents" - }, - { - "target": "com.amazonaws.ssmsap#ListDatabases" - }, - { - "target": "com.amazonaws.ssmsap#ListOperations" - }, - { - "target": "com.amazonaws.ssmsap#ListTagsForResource" - }, - { - "target": "com.amazonaws.ssmsap#PutResourcePermission" - }, - { - "target": "com.amazonaws.ssmsap#RegisterApplication" - }, - { - "target": "com.amazonaws.ssmsap#TagResource" - }, + ], + "type": "tree", + "rules": [ { - "target": "com.amazonaws.ssmsap#UntagResource" + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" }, { - "target": "com.amazonaws.ssmsap#UpdateApplicationSettings" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "Ssm Sap", - "arnNamespace": "ssm-sap", - "cloudTrailEventSource": "ssm-sap.amazonaws.com", - "endpointPrefix": "ssm-sap" - }, - "aws.auth#sigv4": { - "name": "ssm-sap" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "content-type", - "x-amz-date", - "authorization", - "x-api-key", - "x-amz-security-token", - "x-amz-content-sha256", - "x-amz-user-agent" - ], - "origin": "*" - }, - "smithy.api#documentation": "

This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for AWS Systems Manager for SAP. The topic for each action shows\n the API request parameters and responses.

", - "smithy.api#title": "AWS Systems Manager for SAP", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": true, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" }, - "rules": [ + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ + "ref": "Region" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "ref": "UseFIPS" }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] + "ref": "UseDualStack" }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "ref": "PartitionResult" }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] + "supportsFIPS" + ] + } + ] }, { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] + "ref": "PartitionResult" }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.us-gov-east-1.api.aws" + "supportsDualStack" + ] + } + ] } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-east-1.amazonaws.com" + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } + ] }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } + ] }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.us-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.us-east-1.amazonaws.com" + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap-fips.us-isob-east-1.sc2s.sgov.gov" + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } + ] }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-isob-east-1" + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } + ] }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-isob-east-1" + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ssm-sap.us-isob-east-1.sc2s.sgov.gov" + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } + ] }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1", - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1", - "Endpoint": "https://example.com" + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } + ] }, { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1", - "Endpoint": "https://example.com" + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } + ] } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.ssmsap#SsmSapArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+$" - } - }, - "com.amazonaws.ssmsap#TagKey": { - "type": "string", - "traits": { - "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" - } - }, - "com.amazonaws.ssmsap#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.ssmsap#TagKey" - } - }, - "com.amazonaws.ssmsap#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.ssmsap#TagKey" + ] + } + ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } }, - "value": { - "target": "com.amazonaws.ssmsap#TagValue" - } - }, - "com.amazonaws.ssmsap#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#TagResourceRequest" + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "output": { - "target": "com.amazonaws.ssmsap#TagResourceResponse" + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#ConflictException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates tag for a resource by specifying the ARN.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{resourceArn}" - } - } - }, - "com.amazonaws.ssmsap#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.ssmsap#SsmSapArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.ssmsap#TagMap", - "traits": { - "smithy.api#documentation": "

The tags on a resource.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#TagResourceResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.ssmsap#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.ssmsap#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#UntagResourceRequest" + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "output": { - "target": "com.amazonaws.ssmsap#UntagResourceResponse" + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#ConflictException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Delete the tags for a resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{resourceArn}" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.ssmsap#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.ssmsap#SsmSapArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.ssmsap#TagKeyList", - "traits": { - "smithy.api#documentation": "

Adds/updates or removes credentials for applications registered with AWS Systems\n Manager for SAP.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.ssmsap#UntagResourceResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.ssmsap#UpdateApplicationSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.ssmsap#UpdateApplicationSettingsInput" + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "output": { - "target": "com.amazonaws.ssmsap#UpdateApplicationSettingsOutput" + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } }, - "errors": [ - { - "target": "com.amazonaws.ssmsap#InternalServerException" - }, - { - "target": "com.amazonaws.ssmsap#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.ssmsap#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the settings of an application registered with AWS Systems Manager for\n SAP.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/update-application-settings" - } - } - }, - "com.amazonaws.ssmsap#UpdateApplicationSettingsInput": { - "type": "structure", - "members": { - "ApplicationId": { - "target": "com.amazonaws.ssmsap#ApplicationId", - "traits": { - "smithy.api#documentation": "

The ID of the application.

", - "smithy.api#required": {} - } - }, - "CredentialsToAddOrUpdate": { - "target": "com.amazonaws.ssmsap#ApplicationCredentialList", - "traits": { - "smithy.api#documentation": "

The credentials to be added or updated.

" - } - }, - "CredentialsToRemove": { - "target": "com.amazonaws.ssmsap#ApplicationCredentialList", - "traits": { - "smithy.api#documentation": "

The credentials to be removed.

" - } - } - } - }, - "com.amazonaws.ssmsap#UpdateApplicationSettingsOutput": { - "type": "structure", - "members": { - "Message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The update message.

" - } - }, - "OperationIds": { - "target": "com.amazonaws.ssmsap#OperationIdList", - "traits": { - "smithy.api#documentation": "

The IDs of the operations.

" - } - } - } - }, - "com.amazonaws.ssmsap#ValidationException": { - "type": "structure", - "members": { - "Message": { - "target": "smithy.api#String" - } + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ssm-sap.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.ssmsap#SsmSapArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+$" + } + }, + "com.amazonaws.ssmsap#StartApplicationRefresh": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#StartApplicationRefreshInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#StartApplicationRefreshOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#ConflictException" + }, + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Refreshes a registered application.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/start-application-refresh" + } + } + }, + "com.amazonaws.ssmsap#StartApplicationRefreshInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ssmsap#StartApplicationRefreshOutput": { + "type": "structure", + "members": { + "OperationId": { + "target": "com.amazonaws.ssmsap#OperationId", + "traits": { + "smithy.api#documentation": "

The ID of the operation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.ssmsap#TagKey": { + "type": "string", + "traits": { + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.ssmsap#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.ssmsap#TagKey" + } + }, + "com.amazonaws.ssmsap#TagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.ssmsap#TagKey" + }, + "value": { + "target": "com.amazonaws.ssmsap#TagValue" + } + }, + "com.amazonaws.ssmsap#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.ssmsap#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#ConflictException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates tag for a resource by specifying the ARN.

", + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{resourceArn}" + } + } + }, + "com.amazonaws.ssmsap#TagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.ssmsap#SsmSapArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.ssmsap#TagMap", + "traits": { + "smithy.api#documentation": "

The tags on a resource.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.ssmsap#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.ssmsap#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.ssmsap#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#ConflictException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Delete the tags for a resource.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{resourceArn}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.ssmsap#UntagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.ssmsap#SsmSapArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.ssmsap#TagKeyList", + "traits": { + "smithy.api#documentation": "

Adds/updates or removes credentials for applications registered with AWS Systems\n Manager for SAP.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.ssmsap#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.ssmsap#UpdateApplicationSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.ssmsap#UpdateApplicationSettingsInput" + }, + "output": { + "target": "com.amazonaws.ssmsap#UpdateApplicationSettingsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.ssmsap#ConflictException" + }, + { + "target": "com.amazonaws.ssmsap#InternalServerException" + }, + { + "target": "com.amazonaws.ssmsap#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.ssmsap#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the settings of an application registered with AWS Systems Manager for\n SAP.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/update-application-settings" + } + } + }, + "com.amazonaws.ssmsap#UpdateApplicationSettingsInput": { + "type": "structure", + "members": { + "ApplicationId": { + "target": "com.amazonaws.ssmsap#ApplicationId", + "traits": { + "smithy.api#documentation": "

The ID of the application.

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

The credentials to be added or updated.

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

The credentials to be removed.

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

Installation of AWS Backint Agent for SAP HANA.

" + } + } + } + }, + "com.amazonaws.ssmsap#UpdateApplicationSettingsOutput": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The update message.

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

The IDs of the operations.

" + } + } + } + }, + "com.amazonaws.ssmsap#ValidationException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" } + }, + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } } -} \ No newline at end of file + } +}