{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2018-05-10",
    "endpointPrefix":"ssm-sap",
    "jsonVersion":"1.1",
    "protocol":"rest-json",
    "serviceAbbreviation":"SsmSap",
    "serviceFullName":"AWS Systems Manager for SAP",
    "serviceId":"Ssm Sap",
    "signatureVersion":"v4",
    "signingName":"ssm-sap",
    "uid":"ssm-sap-2018-05-10"
  },
  "operations":{
    "DeleteResourcePermission":{
      "name":"DeleteResourcePermission",
      "http":{
        "method":"POST",
        "requestUri":"/delete-resource-permission",
        "responseCode":200
      },
      "input":{"shape":"DeleteResourcePermissionInput"},
      "output":{"shape":"DeleteResourcePermissionOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Removes permissions associated with the target database.</p>"
    },
    "DeregisterApplication":{
      "name":"DeregisterApplication",
      "http":{
        "method":"POST",
        "requestUri":"/deregister-application",
        "responseCode":200
      },
      "input":{"shape":"DeregisterApplicationInput"},
      "output":{"shape":"DeregisterApplicationOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Deregister an SAP application with AWS Systems Manager for SAP. This action does not aﬀect the existing setup of your SAP workloads on Amazon EC2.</p>"
    },
    "GetApplication":{
      "name":"GetApplication",
      "http":{
        "method":"POST",
        "requestUri":"/get-application",
        "responseCode":200
      },
      "input":{"shape":"GetApplicationInput"},
      "output":{"shape":"GetApplicationOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.</p>"
    },
    "GetComponent":{
      "name":"GetComponent",
      "http":{
        "method":"POST",
        "requestUri":"/get-component",
        "responseCode":200
      },
      "input":{"shape":"GetComponentInput"},
      "output":{"shape":"GetComponentOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets the component of an application registered with AWS Systems Manager for SAP.</p>"
    },
    "GetDatabase":{
      "name":"GetDatabase",
      "http":{
        "method":"POST",
        "requestUri":"/get-database",
        "responseCode":200
      },
      "input":{"shape":"GetDatabaseInput"},
      "output":{"shape":"GetDatabaseOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.</p>"
    },
    "GetOperation":{
      "name":"GetOperation",
      "http":{
        "method":"POST",
        "requestUri":"/get-operation",
        "responseCode":200
      },
      "input":{"shape":"GetOperationInput"},
      "output":{"shape":"GetOperationOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets the details of an operation by specifying the operation ID.</p>"
    },
    "GetResourcePermission":{
      "name":"GetResourcePermission",
      "http":{
        "method":"POST",
        "requestUri":"/get-resource-permission",
        "responseCode":200
      },
      "input":{"shape":"GetResourcePermissionInput"},
      "output":{"shape":"GetResourcePermissionOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets permissions associated with the target database.</p>"
    },
    "ListApplications":{
      "name":"ListApplications",
      "http":{
        "method":"POST",
        "requestUri":"/list-applications",
        "responseCode":200
      },
      "input":{"shape":"ListApplicationsInput"},
      "output":{"shape":"ListApplicationsOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists all the applications registered with AWS Systems Manager for SAP.</p>"
    },
    "ListComponents":{
      "name":"ListComponents",
      "http":{
        "method":"POST",
        "requestUri":"/list-components",
        "responseCode":200
      },
      "input":{"shape":"ListComponentsInput"},
      "output":{"shape":"ListComponentsOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists all the components registered with AWS Systems Manager for SAP.</p>"
    },
    "ListDatabases":{
      "name":"ListDatabases",
      "http":{
        "method":"POST",
        "requestUri":"/list-databases",
        "responseCode":200
      },
      "input":{"shape":"ListDatabasesInput"},
      "output":{"shape":"ListDatabasesOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.</p>"
    },
    "ListOperations":{
      "name":"ListOperations",
      "http":{
        "method":"POST",
        "requestUri":"/list-operations",
        "responseCode":200
      },
      "input":{"shape":"ListOperationsInput"},
      "output":{"shape":"ListOperationsOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists the operations performed by AWS Systems Manager for SAP.</p>"
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"GET",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.</p>"
    },
    "PutResourcePermission":{
      "name":"PutResourcePermission",
      "http":{
        "method":"POST",
        "requestUri":"/put-resource-permission",
        "responseCode":200
      },
      "input":{"shape":"PutResourcePermissionInput"},
      "output":{"shape":"PutResourcePermissionOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Adds permissions to the target database.</p>"
    },
    "RegisterApplication":{
      "name":"RegisterApplication",
      "http":{
        "method":"POST",
        "requestUri":"/register-application",
        "responseCode":200
      },
      "input":{"shape":"RegisterApplicationInput"},
      "output":{"shape":"RegisterApplicationOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering. </p> <p>The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.</p> <p>AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.</p> <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.</p>"
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Creates tag for a resource by specifying the ARN.</p>"
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"DELETE",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Delete the tags for a resource.</p>",
      "idempotent":true
    },
    "UpdateApplicationSettings":{
      "name":"UpdateApplicationSettings",
      "http":{
        "method":"POST",
        "requestUri":"/update-application-settings",
        "responseCode":200
      },
      "input":{"shape":"UpdateApplicationSettingsInput"},
      "output":{"shape":"UpdateApplicationSettingsOutput"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ValidationException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Updates the settings of an application registered with AWS Systems Manager for SAP.</p>"
    }
  },
  "shapes":{
    "AppRegistryArn":{
      "type":"string",
      "pattern":"arn:aws:servicecatalog:[a-z0-9:\\/-]+"
    },
    "Application":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "Type":{
          "shape":"ApplicationType",
          "documentation":"<p>The type of the application.</p>"
        },
        "Arn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the application.</p>"
        },
        "AppRegistryArn":{
          "shape":"AppRegistryArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Application Registry.</p>"
        },
        "Status":{
          "shape":"ApplicationStatus",
          "documentation":"<p>The status of the application.</p>"
        },
        "Components":{
          "shape":"ComponentIdList",
          "documentation":"<p>The components of the application.</p>"
        },
        "LastUpdated":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the application was last updated.</p>"
        },
        "StatusMessage":{
          "shape":"String",
          "documentation":"<p>The status message.</p>"
        }
      },
      "documentation":"<p>An SAP application registered with AWS Systems Manager for SAP.</p>"
    },
    "ApplicationCredential":{
      "type":"structure",
      "required":[
        "DatabaseName",
        "CredentialType",
        "SecretId"
      ],
      "members":{
        "DatabaseName":{
          "shape":"DatabaseName",
          "documentation":"<p>The name of the SAP HANA database.</p>"
        },
        "CredentialType":{
          "shape":"CredentialType",
          "documentation":"<p>The type of the application credentials. </p>"
        },
        "SecretId":{
          "shape":"SecretId",
          "documentation":"<p>The secret ID created in AWS Secrets Manager to store the credentials of the SAP application. </p>"
        }
      },
      "documentation":"<p>The credentials of your SAP application.</p>"
    },
    "ApplicationCredentialList":{
      "type":"list",
      "member":{"shape":"ApplicationCredential"},
      "max":20,
      "min":1
    },
    "ApplicationId":{
      "type":"string",
      "pattern":"[\\w\\d]{1,50}"
    },
    "ApplicationStatus":{
      "type":"string",
      "enum":[
        "ACTIVATED",
        "STARTING",
        "STOPPED",
        "STOPPING",
        "FAILED",
        "REGISTERING",
        "DELETING",
        "UNKNOWN"
      ]
    },
    "ApplicationSummary":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "Type":{
          "shape":"ApplicationType",
          "documentation":"<p>The type of the application.</p>"
        },
        "Arn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the application.</p>"
        },
        "Tags":{
          "shape":"TagMap",
          "documentation":"<p>The tags on the application.</p>"
        }
      },
      "documentation":"<p>The summary of the SAP application registered with AWS Systems Manager for SAP. </p>"
    },
    "ApplicationSummaryList":{
      "type":"list",
      "member":{"shape":"ApplicationSummary"}
    },
    "ApplicationType":{
      "type":"string",
      "enum":["HANA"]
    },
    "Arn":{
      "type":"string",
      "pattern":"arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+"
    },
    "Component":{
      "type":"structure",
      "members":{
        "ComponentId":{
          "shape":"ComponentId",
          "documentation":"<p>The ID of the component.</p>"
        },
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ComponentType":{
          "shape":"ComponentType",
          "documentation":"<p>The type of the component.</p>"
        },
        "Status":{
          "shape":"ComponentStatus",
          "documentation":"<p>The status of the component.</p>"
        },
        "Databases":{
          "shape":"DatabaseIdList",
          "documentation":"<p>The SAP HANA databases of the component.</p>"
        },
        "Hosts":{
          "shape":"HostList",
          "documentation":"<p>The hosts of the component.</p>"
        },
        "PrimaryHost":{
          "shape":"String",
          "documentation":"<p>The primary host of the component.</p>"
        },
        "LastUpdated":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the component was last updated.</p>"
        }
      },
      "documentation":"<p>The SAP component of your application.</p>"
    },
    "ComponentId":{
      "type":"string",
      "pattern":"[\\w\\d-]+"
    },
    "ComponentIdList":{
      "type":"list",
      "member":{"shape":"ComponentId"}
    },
    "ComponentStatus":{
      "type":"string",
      "enum":["ACTIVATED"]
    },
    "ComponentSummary":{
      "type":"structure",
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ComponentId":{
          "shape":"ComponentId",
          "documentation":"<p>The ID of the component.</p>"
        },
        "ComponentType":{
          "shape":"ComponentType",
          "documentation":"<p>The type of the component.</p>"
        },
        "Tags":{
          "shape":"TagMap",
          "documentation":"<p>The tags of the component.</p>"
        }
      },
      "documentation":"<p>The summary of the component.</p>"
    },
    "ComponentSummaryList":{
      "type":"list",
      "member":{"shape":"ComponentSummary"}
    },
    "ComponentType":{
      "type":"string",
      "enum":["HANA"]
    },
    "ConflictException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"String"}
      },
      "documentation":"<p>A conflict has occurred.</p>",
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "CredentialType":{
      "type":"string",
      "enum":["ADMIN"]
    },
    "Database":{
      "type":"structure",
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ComponentId":{
          "shape":"ComponentId",
          "documentation":"<p>The ID of the component.</p>"
        },
        "Credentials":{
          "shape":"ApplicationCredentialList",
          "documentation":"<p>The credentials of the database.</p>"
        },
        "DatabaseId":{
          "shape":"DatabaseId",
          "documentation":"<p>The ID of the SAP HANA database.</p>"
        },
        "DatabaseName":{
          "shape":"String",
          "documentation":"<p>The name of the database.</p>"
        },
        "DatabaseType":{
          "shape":"DatabaseType",
          "documentation":"<p>The type of the database.</p>"
        },
        "Arn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the database.</p>"
        },
        "Status":{
          "shape":"DatabaseStatus",
          "documentation":"<p>The status of the database.</p>"
        },
        "PrimaryHost":{
          "shape":"String",
          "documentation":"<p>The primary host of the database.</p>"
        },
        "SQLPort":{
          "shape":"Integer",
          "documentation":"<p>The SQL port of the database.</p>"
        },
        "LastUpdated":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the database was last updated.</p>"
        }
      },
      "documentation":"<p>The SAP HANA database of the application registered with AWS Systems Manager for SAP.</p>"
    },
    "DatabaseId":{
      "type":"string",
      "pattern":".*[\\w\\d]+"
    },
    "DatabaseIdList":{
      "type":"list",
      "member":{"shape":"DatabaseId"}
    },
    "DatabaseName":{
      "type":"string",
      "max":100,
      "min":1
    },
    "DatabaseStatus":{
      "type":"string",
      "enum":[
        "RUNNING",
        "STARTING",
        "STOPPED",
        "WARNING",
        "UNKNOWN"
      ]
    },
    "DatabaseSummary":{
      "type":"structure",
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ComponentId":{
          "shape":"ComponentId",
          "documentation":"<p>The ID of the component.</p>"
        },
        "DatabaseId":{
          "shape":"DatabaseId",
          "documentation":"<p>The ID of the database.</p>"
        },
        "DatabaseType":{
          "shape":"DatabaseType",
          "documentation":"<p>The type of the database.</p>"
        },
        "Arn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the database.</p>"
        },
        "Tags":{
          "shape":"TagMap",
          "documentation":"<p>The tags of the database.</p>"
        }
      },
      "documentation":"<p>The summary of the database.</p>"
    },
    "DatabaseSummaryList":{
      "type":"list",
      "member":{"shape":"DatabaseSummary"}
    },
    "DatabaseType":{
      "type":"string",
      "enum":[
        "SYSTEM",
        "TENANT"
      ]
    },
    "DeleteResourcePermissionInput":{
      "type":"structure",
      "required":["ResourceArn"],
      "members":{
        "ActionType":{
          "shape":"PermissionActionType",
          "documentation":"<p>Delete or restore the permissions on the target database.</p>"
        },
        "SourceResourceArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the source resource.</p>"
        },
        "ResourceArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>"
        }
      }
    },
    "DeleteResourcePermissionOutput":{
      "type":"structure",
      "members":{
        "Policy":{
          "shape":"String",
          "documentation":"<p>The policy that removes permissions on the target database.</p>"
        }
      }
    },
    "DeregisterApplicationInput":{
      "type":"structure",
      "required":["ApplicationId"],
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        }
      }
    },
    "DeregisterApplicationOutput":{
      "type":"structure",
      "members":{
      }
    },
    "Filter":{
      "type":"structure",
      "required":[
        "Name",
        "Value",
        "Operator"
      ],
      "members":{
        "Name":{
          "shape":"FilterName",
          "documentation":"<p>The name of the filter. Filter names are case-sensitive. </p>"
        },
        "Value":{
          "shape":"FilterValue",
          "documentation":"<p>The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values</p>"
        },
        "Operator":{
          "shape":"FilterOperator",
          "documentation":"<p>The operator for the filter. </p>"
        }
      },
      "documentation":"<p>A specific result obtained by specifying the name, value, and operator. </p>"
    },
    "FilterList":{
      "type":"list",
      "member":{"shape":"Filter"},
      "max":10,
      "min":1
    },
    "FilterName":{
      "type":"string",
      "max":32,
      "min":1
    },
    "FilterOperator":{
      "type":"string",
      "enum":[
        "Equals",
        "GreaterThanOrEquals",
        "LessThanOrEquals"
      ]
    },
    "FilterValue":{
      "type":"string",
      "max":64,
      "min":1
    },
    "GetApplicationInput":{
      "type":"structure",
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ApplicationArn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the application. </p>"
        },
        "AppRegistryArn":{
          "shape":"AppRegistryArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the application registry.</p>"
        }
      }
    },
    "GetApplicationOutput":{
      "type":"structure",
      "members":{
        "Application":{
          "shape":"Application",
          "documentation":"<p>Returns all of the metadata of an application registered with AWS Systems Manager for SAP.</p>"
        },
        "Tags":{
          "shape":"TagMap",
          "documentation":"<p>The tags of a registered application.</p>"
        }
      }
    },
    "GetComponentInput":{
      "type":"structure",
      "required":[
        "ApplicationId",
        "ComponentId"
      ],
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ComponentId":{
          "shape":"ComponentId",
          "documentation":"<p>The ID of the component.</p>"
        }
      }
    },
    "GetComponentOutput":{
      "type":"structure",
      "members":{
        "Component":{
          "shape":"Component",
          "documentation":"<p>The component of an application registered with AWS Systems Manager for SAP.</p>"
        }
      }
    },
    "GetDatabaseInput":{
      "type":"structure",
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ComponentId":{
          "shape":"ComponentId",
          "documentation":"<p>The ID of the component.</p>"
        },
        "DatabaseId":{
          "shape":"DatabaseId",
          "documentation":"<p>The ID of the database.</p>"
        },
        "DatabaseArn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the database.</p>"
        }
      }
    },
    "GetDatabaseOutput":{
      "type":"structure",
      "members":{
        "Database":{
          "shape":"Database",
          "documentation":"<p>The SAP HANA database of an application registered with AWS Systems Manager for SAP.</p>"
        },
        "Tags":{
          "shape":"TagMap",
          "documentation":"<p>The tags of a database.</p>"
        }
      }
    },
    "GetOperationInput":{
      "type":"structure",
      "required":["OperationId"],
      "members":{
        "OperationId":{
          "shape":"OperationId",
          "documentation":"<p>The ID of the operation.</p>"
        }
      }
    },
    "GetOperationOutput":{
      "type":"structure",
      "members":{
        "Operation":{
          "shape":"Operation",
          "documentation":"<p>Returns the details of an operation.</p>"
        }
      }
    },
    "GetResourcePermissionInput":{
      "type":"structure",
      "required":["ResourceArn"],
      "members":{
        "ActionType":{
          "shape":"PermissionActionType",
          "documentation":"<p/>"
        },
        "ResourceArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>"
        }
      }
    },
    "GetResourcePermissionOutput":{
      "type":"structure",
      "members":{
        "Policy":{
          "shape":"String",
          "documentation":"<p/>"
        }
      }
    },
    "Host":{
      "type":"structure",
      "members":{
        "HostName":{
          "shape":"String",
          "documentation":"<p>The name of the Dedicated Host.</p>"
        },
        "HostRole":{
          "shape":"HostRole",
          "documentation":"<p>The role of the Dedicated Host.</p>"
        },
        "HostIp":{
          "shape":"String",
          "documentation":"<p>The IP address of the Dedicated Host. </p>"
        },
        "InstanceId":{
          "shape":"String",
          "documentation":"<p>The instance ID of the instance on the Dedicated Host.</p>"
        }
      },
      "documentation":"<p>Describes the properties of the Dedicated Host. </p>"
    },
    "HostList":{
      "type":"list",
      "member":{"shape":"Host"}
    },
    "HostRole":{
      "type":"string",
      "enum":[
        "LEADER",
        "WORKER",
        "STANDBY",
        "UNKNOWN"
      ]
    },
    "InstanceId":{
      "type":"string",
      "pattern":"i-[\\w\\d]{8}$|^i-[\\w\\d]{17}"
    },
    "InstanceList":{
      "type":"list",
      "member":{"shape":"InstanceId"},
      "max":1,
      "min":1
    },
    "Integer":{
      "type":"integer",
      "box":true
    },
    "InternalServerException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"String"}
      },
      "documentation":"<p>An internal error has occurred.</p>",
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true
    },
    "ListApplicationsInput":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token for the next page of results.</p>"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. </p>",
          "box":true
        }
      }
    },
    "ListApplicationsOutput":{
      "type":"structure",
      "members":{
        "Applications":{
          "shape":"ApplicationSummaryList",
          "documentation":"<p>The applications registered with AWS Systems Manager for SAP.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
        }
      }
    },
    "ListComponentsInput":{
      "type":"structure",
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token for the next page of results.</p>"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.</p> <p>If you do not specify a value for MaxResults, the request returns 50 items per page by default.</p>",
          "box":true
        }
      }
    },
    "ListComponentsOutput":{
      "type":"structure",
      "members":{
        "Components":{
          "shape":"ComponentSummaryList",
          "documentation":"<p>List of components registered with AWS System Manager for SAP.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
        }
      }
    },
    "ListDatabasesInput":{
      "type":"structure",
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ComponentId":{
          "shape":"ComponentId",
          "documentation":"<p>The ID of the component.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token for the next page of results. </p>"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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.</p>",
          "box":true
        }
      }
    },
    "ListDatabasesOutput":{
      "type":"structure",
      "members":{
        "Databases":{
          "shape":"DatabaseSummaryList",
          "documentation":"<p>The SAP HANA databases of an application.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
        }
      }
    },
    "ListOperationsInput":{
      "type":"structure",
      "required":["ApplicationId"],
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>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.</p>",
          "box":true
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token for the next page of results. </p>"
        },
        "Filters":{
          "shape":"FilterList",
          "documentation":"<p>The filters of an operation.</p>"
        }
      }
    },
    "ListOperationsOutput":{
      "type":"structure",
      "members":{
        "Operations":{
          "shape":"OperationList",
          "documentation":"<p>List of operations performed by AWS Systems Manager for SAP.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>"
        }
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "tags":{
          "shape":"TagMap",
          "documentation":"<p/>"
        }
      }
    },
    "MaxResults":{
      "type":"integer",
      "max":50,
      "min":1
    },
    "NextToken":{
      "type":"string",
      "pattern":".{16,1024}"
    },
    "Operation":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"OperationId",
          "documentation":"<p>The ID of the operation.</p>"
        },
        "Type":{
          "shape":"OperationType",
          "documentation":"<p>The type of the operation.</p>"
        },
        "Status":{
          "shape":"OperationStatus",
          "documentation":"<p>The status of the operation.</p>"
        },
        "StatusMessage":{
          "shape":"String",
          "documentation":"<p>The status message of the operation.</p>"
        },
        "Properties":{
          "shape":"OperationProperties",
          "documentation":"<p>The properties of the operation.</p>"
        },
        "ResourceType":{
          "shape":"ResourceType",
          "documentation":"<p>The resource type of the operation.</p>"
        },
        "ResourceId":{
          "shape":"ResourceId",
          "documentation":"<p>The resource ID of the operation.</p>"
        },
        "ResourceArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the operation.</p>"
        },
        "StartTime":{
          "shape":"Timestamp",
          "documentation":"<p>The start time of the operation.</p>"
        },
        "EndTime":{
          "shape":"Timestamp",
          "documentation":"<p>The end time of the operation.</p>"
        },
        "LastUpdatedTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the operation was last updated.</p>"
        }
      },
      "documentation":"<p>The operations performed by AWS Systems Manager for SAP.</p>"
    },
    "OperationId":{
      "type":"string",
      "pattern":"[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?"
    },
    "OperationIdList":{
      "type":"list",
      "member":{"shape":"OperationId"}
    },
    "OperationList":{
      "type":"list",
      "member":{"shape":"Operation"}
    },
    "OperationProperties":{
      "type":"map",
      "key":{"shape":"String"},
      "value":{"shape":"String"}
    },
    "OperationStatus":{
      "type":"string",
      "enum":[
        "INPROGRESS",
        "SUCCESS",
        "ERROR"
      ]
    },
    "OperationType":{"type":"string"},
    "PermissionActionType":{
      "type":"string",
      "enum":["RESTORE"]
    },
    "PutResourcePermissionInput":{
      "type":"structure",
      "required":[
        "ActionType",
        "SourceResourceArn",
        "ResourceArn"
      ],
      "members":{
        "ActionType":{
          "shape":"PermissionActionType",
          "documentation":"<p/>"
        },
        "SourceResourceArn":{
          "shape":"Arn",
          "documentation":"<p/>"
        },
        "ResourceArn":{
          "shape":"Arn",
          "documentation":"<p/>"
        }
      }
    },
    "PutResourcePermissionOutput":{
      "type":"structure",
      "members":{
        "Policy":{
          "shape":"String",
          "documentation":"<p/>"
        }
      }
    },
    "RegisterApplicationInput":{
      "type":"structure",
      "required":[
        "ApplicationId",
        "ApplicationType",
        "Instances",
        "Credentials"
      ],
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "ApplicationType":{
          "shape":"ApplicationType",
          "documentation":"<p>The type of the application.</p>"
        },
        "Instances":{
          "shape":"InstanceList",
          "documentation":"<p>The Amazon EC2 instances on which your SAP application is running.</p>"
        },
        "SapInstanceNumber":{
          "shape":"SAPInstanceNumber",
          "documentation":"<p>The SAP instance number of the application.</p>"
        },
        "Sid":{
          "shape":"SID",
          "documentation":"<p>The System ID of the application.</p>"
        },
        "Tags":{
          "shape":"TagMap",
          "documentation":"<p>The tags to be attached to the SAP application.</p>"
        },
        "Credentials":{
          "shape":"ApplicationCredentialList",
          "documentation":"<p>The credentials of the SAP application.</p>"
        }
      }
    },
    "RegisterApplicationOutput":{
      "type":"structure",
      "members":{
        "Application":{
          "shape":"Application",
          "documentation":"<p>The application registered with AWS Systems Manager for SAP.</p>"
        },
        "OperationId":{
          "shape":"OperationId",
          "documentation":"<p>The ID of the operation.</p>"
        }
      }
    },
    "ResourceId":{
      "type":"string",
      "max":64,
      "min":1
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The resource is not available.</p>",
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "ResourceType":{
      "type":"string",
      "max":64,
      "min":1
    },
    "SAPInstanceNumber":{
      "type":"string",
      "pattern":"[0-9]{2}"
    },
    "SID":{
      "type":"string",
      "pattern":"[A-Z][A-Z0-9]{2}"
    },
    "SecretId":{
      "type":"string",
      "max":100,
      "min":1,
      "sensitive":true
    },
    "SsmSapArn":{
      "type":"string",
      "pattern":"arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+"
    },
    "String":{"type":"string"},
    "TagKey":{
      "type":"string",
      "pattern":"(?!aws:)[a-zA-Z+-=._:/]+"
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"}
    },
    "TagMap":{
      "type":"map",
      "key":{"shape":"TagKey"},
      "value":{"shape":"TagValue"}
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>The tags on a resource.</p>"
        }
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":1
    },
    "Timestamp":{"type":"timestamp"},
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{
          "shape":"SsmSapArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>Adds/updates or removes credentials for applications registered with AWS Systems Manager for SAP.</p>",
          "location":"querystring",
          "locationName":"tagKeys"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateApplicationSettingsInput":{
      "type":"structure",
      "required":["ApplicationId"],
      "members":{
        "ApplicationId":{
          "shape":"ApplicationId",
          "documentation":"<p>The ID of the application.</p>"
        },
        "CredentialsToAddOrUpdate":{
          "shape":"ApplicationCredentialList",
          "documentation":"<p>The credentials to be added or updated.</p>"
        },
        "CredentialsToRemove":{
          "shape":"ApplicationCredentialList",
          "documentation":"<p>The credentials to be removed.</p>"
        }
      }
    },
    "UpdateApplicationSettingsOutput":{
      "type":"structure",
      "members":{
        "Message":{
          "shape":"String",
          "documentation":"<p>The update message.</p>"
        },
        "OperationIds":{
          "shape":"OperationIdList",
          "documentation":"<p>The IDs of the operations.</p>"
        }
      }
    },
    "ValidationException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The input fails to satisfy the constraints specified by an AWS service. </p>",
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    }
  },
  "documentation":"<p>This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Systems Manager for SAP. The topic for each action shows the API request parameters and responses. </p>"
}
