{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.applicationcostprofiler#AWSApplicationCostProfiler": { "type": "service", "version": "2020-09-10", "operations": [ { "target": "com.amazonaws.applicationcostprofiler#DeleteReportDefinition" }, { "target": "com.amazonaws.applicationcostprofiler#GetReportDefinition" }, { "target": "com.amazonaws.applicationcostprofiler#ImportApplicationUsage" }, { "target": "com.amazonaws.applicationcostprofiler#ListReportDefinitions" }, { "target": "com.amazonaws.applicationcostprofiler#PutReportDefinition" }, { "target": "com.amazonaws.applicationcostprofiler#UpdateReportDefinition" } ], "traits": { "aws.api#service": { "sdkId": "ApplicationCostProfiler", "arnNamespace": "application-cost-profiler", "cloudFormationName": "ApplicationCostProfiler", "cloudTrailEventSource": "applicationcostprofiler.amazonaws.com", "docId": "AWSApplicationCostProfiler-2020-09-10", "endpointPrefix": "application-cost-profiler" }, "aws.auth#sigv4": { "name": "application-cost-profiler" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "
This reference provides descriptions of the AWS Application Cost Profiler API.
\nThe AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete\n application cost report definitions, as well as to import your usage data into the Application Cost Profiler\n service.
\nFor more information about using this service, see the AWS Application Cost\n Profiler User Guide.
", "smithy.api#title": "AWS Application Cost Profiler", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "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": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://application-cost-profiler-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" }, { "conditions": [], "endpoint": { "url": "https://application-cost-profiler-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://application-cost-profiler.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://application-cost-profiler.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 13, "nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "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" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "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" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://application-cost-profiler-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://application-cost-profiler-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://application-cost-profiler.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://application-cost-profiler.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://application-cost-profiler-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://application-cost-profiler-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://application-cost-profiler.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://application-cost-profiler.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://application-cost-profiler-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://application-cost-profiler.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://application-cost-profiler-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://application-cost-profiler.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler-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 disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler-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 disabled", "expect": { "endpoint": { "url": "https://application-cost-profiler.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and 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 region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "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" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } }, "com.amazonaws.applicationcostprofiler#AccessDeniedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.applicationcostprofiler#ErrorMessage" } }, "traits": { "smithy.api#documentation": "You do not have permission to perform this action.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.applicationcostprofiler#DeleteReportDefinition": { "type": "operation", "input": { "target": "com.amazonaws.applicationcostprofiler#DeleteReportDefinitionRequest" }, "output": { "target": "com.amazonaws.applicationcostprofiler#DeleteReportDefinitionResult" }, "errors": [ { "target": "com.amazonaws.applicationcostprofiler#AccessDeniedException" }, { "target": "com.amazonaws.applicationcostprofiler#InternalServerException" }, { "target": "com.amazonaws.applicationcostprofiler#ThrottlingException" }, { "target": "com.amazonaws.applicationcostprofiler#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being\n generated.
", "smithy.api#http": { "method": "DELETE", "uri": "/reportDefinition/{reportId}", "code": 200 } } }, "com.amazonaws.applicationcostprofiler#DeleteReportDefinitionRequest": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "Required. ID of the report to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#DeleteReportDefinitionResult": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "ID of the report that was deleted.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ErrorMessage": { "type": "string" }, "com.amazonaws.applicationcostprofiler#Format": { "type": "enum", "members": { "CSV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CSV" } }, "PARQUET": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PARQUET" } } } }, "com.amazonaws.applicationcostprofiler#GetReportDefinition": { "type": "operation", "input": { "target": "com.amazonaws.applicationcostprofiler#GetReportDefinitionRequest" }, "output": { "target": "com.amazonaws.applicationcostprofiler#GetReportDefinitionResult" }, "errors": [ { "target": "com.amazonaws.applicationcostprofiler#AccessDeniedException" }, { "target": "com.amazonaws.applicationcostprofiler#InternalServerException" }, { "target": "com.amazonaws.applicationcostprofiler#ThrottlingException" }, { "target": "com.amazonaws.applicationcostprofiler#ValidationException" } ], "traits": { "smithy.api#documentation": "Retrieves the definition of a report already configured in AWS Application Cost Profiler.
", "smithy.api#http": { "method": "GET", "uri": "/reportDefinition/{reportId}", "code": 200 } } }, "com.amazonaws.applicationcostprofiler#GetReportDefinitionRequest": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "ID of the report to retrieve.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#GetReportDefinitionResult": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "ID of the report retrieved.
", "smithy.api#required": {} } }, "reportDescription": { "target": "com.amazonaws.applicationcostprofiler#ReportDescription", "traits": { "smithy.api#documentation": "Description of the report.
", "smithy.api#required": {} } }, "reportFrequency": { "target": "com.amazonaws.applicationcostprofiler#ReportFrequency", "traits": { "smithy.api#documentation": "Cadence used to generate the report.
", "smithy.api#required": {} } }, "format": { "target": "com.amazonaws.applicationcostprofiler#Format", "traits": { "smithy.api#documentation": "Format of the generated report.
", "smithy.api#required": {} } }, "destinationS3Location": { "target": "com.amazonaws.applicationcostprofiler#S3Location", "traits": { "smithy.api#documentation": "Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.applicationcostprofiler#Timestamp", "traits": { "smithy.api#documentation": "Timestamp (milliseconds) when this report definition was created.
", "smithy.api#required": {} } }, "lastUpdated": { "target": "com.amazonaws.applicationcostprofiler#Timestamp", "traits": { "smithy.api#documentation": "Timestamp (milliseconds) when this report definition was last updated.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ImportApplicationUsage": { "type": "operation", "input": { "target": "com.amazonaws.applicationcostprofiler#ImportApplicationUsageRequest" }, "output": { "target": "com.amazonaws.applicationcostprofiler#ImportApplicationUsageResult" }, "errors": [ { "target": "com.amazonaws.applicationcostprofiler#AccessDeniedException" }, { "target": "com.amazonaws.applicationcostprofiler#InternalServerException" }, { "target": "com.amazonaws.applicationcostprofiler#ThrottlingException" }, { "target": "com.amazonaws.applicationcostprofiler#ValidationException" } ], "traits": { "smithy.api#documentation": "Ingests application usage data from Amazon Simple Storage Service (Amazon S3).
\nThe data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler\n copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing\n asynchronously.
", "smithy.api#http": { "method": "POST", "uri": "/importApplicationUsage", "code": 200 } } }, "com.amazonaws.applicationcostprofiler#ImportApplicationUsageRequest": { "type": "structure", "members": { "sourceS3Location": { "target": "com.amazonaws.applicationcostprofiler#SourceS3Location", "traits": { "smithy.api#documentation": "Amazon S3 location to import application usage data from.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#ImportApplicationUsageResult": { "type": "structure", "members": { "importId": { "target": "com.amazonaws.applicationcostprofiler#ImportId", "traits": { "smithy.api#documentation": "ID of the import request.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ImportId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "^[0-9A-Za-z\\.\\-_]*$" } }, "com.amazonaws.applicationcostprofiler#Integer": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.applicationcostprofiler#InternalServerException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.applicationcostprofiler#ErrorMessage" } }, "traits": { "smithy.api#documentation": "An internal server error occurred. Retry your request.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.applicationcostprofiler#ListReportDefinitions": { "type": "operation", "input": { "target": "com.amazonaws.applicationcostprofiler#ListReportDefinitionsRequest" }, "output": { "target": "com.amazonaws.applicationcostprofiler#ListReportDefinitionsResult" }, "errors": [ { "target": "com.amazonaws.applicationcostprofiler#AccessDeniedException" }, { "target": "com.amazonaws.applicationcostprofiler#InternalServerException" }, { "target": "com.amazonaws.applicationcostprofiler#ThrottlingException" }, { "target": "com.amazonaws.applicationcostprofiler#ValidationException" } ], "traits": { "smithy.api#documentation": "Retrieves a list of all reports and their configurations for your AWS account.
\nThe maximum number of reports is one.
", "smithy.api#http": { "method": "GET", "uri": "/reportDefinition", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "reportDefinitions", "pageSize": "maxResults" } } }, "com.amazonaws.applicationcostprofiler#ListReportDefinitionsRequest": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.applicationcostprofiler#Token", "traits": { "smithy.api#documentation": "The token value from a previous call to access the next page of results.
", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.applicationcostprofiler#Integer", "traits": { "smithy.api#documentation": "The maximum number of results to return.
", "smithy.api#httpQuery": "maxResults" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#ListReportDefinitionsResult": { "type": "structure", "members": { "reportDefinitions": { "target": "com.amazonaws.applicationcostprofiler#ReportDefinitionList", "traits": { "smithy.api#documentation": "The retrieved reports.
" } }, "nextToken": { "target": "com.amazonaws.applicationcostprofiler#Token", "traits": { "smithy.api#documentation": "The value of the next token, if it exists. Null if there are no more results.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#PutReportDefinition": { "type": "operation", "input": { "target": "com.amazonaws.applicationcostprofiler#PutReportDefinitionRequest" }, "output": { "target": "com.amazonaws.applicationcostprofiler#PutReportDefinitionResult" }, "errors": [ { "target": "com.amazonaws.applicationcostprofiler#AccessDeniedException" }, { "target": "com.amazonaws.applicationcostprofiler#InternalServerException" }, { "target": "com.amazonaws.applicationcostprofiler#ServiceQuotaExceededException" }, { "target": "com.amazonaws.applicationcostprofiler#ThrottlingException" }, { "target": "com.amazonaws.applicationcostprofiler#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates the report definition for a report in Application Cost Profiler.
", "smithy.api#http": { "method": "POST", "uri": "/reportDefinition", "code": 200 } } }, "com.amazonaws.applicationcostprofiler#PutReportDefinitionRequest": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "Required. ID of the report. You can choose any valid string matching the pattern for the\n ID.
", "smithy.api#required": {} } }, "reportDescription": { "target": "com.amazonaws.applicationcostprofiler#ReportDescription", "traits": { "smithy.api#documentation": "Required. Description of the report.
", "smithy.api#required": {} } }, "reportFrequency": { "target": "com.amazonaws.applicationcostprofiler#ReportFrequency", "traits": { "smithy.api#documentation": "Required. The cadence to generate the report.
", "smithy.api#required": {} } }, "format": { "target": "com.amazonaws.applicationcostprofiler#Format", "traits": { "smithy.api#documentation": "Required. The format to use for the generated report.
", "smithy.api#required": {} } }, "destinationS3Location": { "target": "com.amazonaws.applicationcostprofiler#S3Location", "traits": { "smithy.api#documentation": "Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the\n report.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#PutReportDefinitionResult": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "ID of the report.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ReportDefinition": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "The ID of the report.
" } }, "reportDescription": { "target": "com.amazonaws.applicationcostprofiler#ReportDescription", "traits": { "smithy.api#documentation": "Description of the report
" } }, "reportFrequency": { "target": "com.amazonaws.applicationcostprofiler#ReportFrequency", "traits": { "smithy.api#documentation": "The cadence at which the report is generated.
" } }, "format": { "target": "com.amazonaws.applicationcostprofiler#Format", "traits": { "smithy.api#documentation": "The format used for the generated reports.
" } }, "destinationS3Location": { "target": "com.amazonaws.applicationcostprofiler#S3Location", "traits": { "smithy.api#documentation": "The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.
" } }, "createdAt": { "target": "com.amazonaws.applicationcostprofiler#Timestamp", "traits": { "smithy.api#documentation": "Timestamp (milliseconds) when this report definition was created.
" } }, "lastUpdatedAt": { "target": "com.amazonaws.applicationcostprofiler#Timestamp", "traits": { "smithy.api#documentation": "Timestamp (milliseconds) when this report definition was last updated.
" } } }, "traits": { "smithy.api#documentation": "The configuration of a report in AWS Application Cost Profiler.
" } }, "com.amazonaws.applicationcostprofiler#ReportDefinitionList": { "type": "list", "member": { "target": "com.amazonaws.applicationcostprofiler#ReportDefinition" } }, "com.amazonaws.applicationcostprofiler#ReportDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.applicationcostprofiler#ReportFrequency": { "type": "enum", "members": { "MONTHLY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MONTHLY" } }, "DAILY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DAILY" } }, "ALL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ALL" } } } }, "com.amazonaws.applicationcostprofiler#ReportId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "^[0-9A-Za-z\\.\\-_]+$" } }, "com.amazonaws.applicationcostprofiler#S3Bucket": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "^(?=^.{3,63}$)(?!^(\\d+\\.)+\\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$)$" } }, "com.amazonaws.applicationcostprofiler#S3BucketRegion": { "type": "enum", "members": { "AP_EAST_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ap-east-1" } }, "ME_SOUTH_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "me-south-1" } }, "EU_SOUTH_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "eu-south-1" } }, "AF_SOUTH_1": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "af-south-1" } } } }, "com.amazonaws.applicationcostprofiler#S3Key": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 512 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.applicationcostprofiler#S3Location": { "type": "structure", "members": { "bucket": { "target": "com.amazonaws.applicationcostprofiler#S3Bucket", "traits": { "smithy.api#documentation": "Name of the S3 bucket.
", "smithy.api#required": {} } }, "prefix": { "target": "com.amazonaws.applicationcostprofiler#S3Prefix", "traits": { "smithy.api#documentation": "Prefix for the location to write to.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents the Amazon Simple Storage Service (Amazon S3) location where AWS Application Cost Profiler\n reports are generated and then written to.
" } }, "com.amazonaws.applicationcostprofiler#S3Prefix": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 512 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.applicationcostprofiler#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.applicationcostprofiler#ErrorMessage" } }, "traits": { "smithy.api#documentation": "Your request exceeds one or more of the service quotas.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.applicationcostprofiler#SourceS3Location": { "type": "structure", "members": { "bucket": { "target": "com.amazonaws.applicationcostprofiler#S3Bucket", "traits": { "smithy.api#documentation": "Name of the bucket.
", "smithy.api#required": {} } }, "key": { "target": "com.amazonaws.applicationcostprofiler#S3Key", "traits": { "smithy.api#documentation": "Key of the object.
", "smithy.api#required": {} } }, "region": { "target": "com.amazonaws.applicationcostprofiler#S3BucketRegion", "traits": { "smithy.api#documentation": "Region of the bucket. Only required for Regions that are disabled by default.\n For more infomration about Regions that are disabled by default, see \n Enabling a Region in the AWS General Reference guide.
" } } }, "traits": { "smithy.api#documentation": "Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read\n from.
" } }, "com.amazonaws.applicationcostprofiler#ThrottlingException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.applicationcostprofiler#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The calls to AWS Application Cost Profiler API are throttled. The request was denied.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.applicationcostprofiler#Timestamp": { "type": "timestamp" }, "com.amazonaws.applicationcostprofiler#Token": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 102400 }, "smithy.api#pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" } }, "com.amazonaws.applicationcostprofiler#UpdateReportDefinition": { "type": "operation", "input": { "target": "com.amazonaws.applicationcostprofiler#UpdateReportDefinitionRequest" }, "output": { "target": "com.amazonaws.applicationcostprofiler#UpdateReportDefinitionResult" }, "errors": [ { "target": "com.amazonaws.applicationcostprofiler#AccessDeniedException" }, { "target": "com.amazonaws.applicationcostprofiler#InternalServerException" }, { "target": "com.amazonaws.applicationcostprofiler#ThrottlingException" }, { "target": "com.amazonaws.applicationcostprofiler#ValidationException" } ], "traits": { "smithy.api#documentation": "Updates existing report in AWS Application Cost Profiler.
", "smithy.api#http": { "method": "PUT", "uri": "/reportDefinition/{reportId}", "code": 200 } } }, "com.amazonaws.applicationcostprofiler#UpdateReportDefinitionRequest": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "Required. ID of the report to update.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "reportDescription": { "target": "com.amazonaws.applicationcostprofiler#ReportDescription", "traits": { "smithy.api#documentation": "Required. Description of the report.
", "smithy.api#required": {} } }, "reportFrequency": { "target": "com.amazonaws.applicationcostprofiler#ReportFrequency", "traits": { "smithy.api#documentation": "Required. The cadence to generate the report.
", "smithy.api#required": {} } }, "format": { "target": "com.amazonaws.applicationcostprofiler#Format", "traits": { "smithy.api#documentation": "Required. The format to use for the generated report.
", "smithy.api#required": {} } }, "destinationS3Location": { "target": "com.amazonaws.applicationcostprofiler#S3Location", "traits": { "smithy.api#documentation": "Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the\n report.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.applicationcostprofiler#UpdateReportDefinitionResult": { "type": "structure", "members": { "reportId": { "target": "com.amazonaws.applicationcostprofiler#ReportId", "traits": { "smithy.api#documentation": "ID of the report.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.applicationcostprofiler#ValidationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.applicationcostprofiler#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The input fails to satisfy the constraints for the API.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }