<?php
// This file was auto-generated from sdk-root/src/data/artifact/2018-05-10/examples-1.json
return [ 'version' => '1.0', 'examples' => [ 'GetAccountSettings' => [ [ 'input' => [], 'output' => [ 'accountSettings' => [ 'notificationSubscriptionStatus' => 'SUBSCRIBED', ], ], 'description' => 'Get the current account settings.', 'id' => 'example-1', 'title' => 'Invoke GetAccountSettings operation', ], ], 'GetReport' => [ [ 'input' => [ 'reportId' => 'report-abcdef0123456789', 'termToken' => 'term-token-abcdefghijklm01234567890', ], 'output' => [ 'documentPresignedUrl' => '<Presigned S3 URL>', ], 'description' => 'The GetReport operation is invoked on a reportId and on a optional version. Callers must provide a termToken, which is provided by the GetTermForReport operation. If callers do not provide a version, it will default to the report\'s latest version', 'id' => 'example-1', 'title' => 'Invoke GetReport operation on the latest version of a specific report', ], ], 'GetReportMetadata' => [ [ 'input' => [ 'reportId' => 'report-bqhUJF3FrQZsMJpb', ], 'output' => [ 'reportDetails' => [ 'version' => 1, 'name' => 'Name of report', 'arn' => 'arn:aws:artifact:us-east-1::report/report-abcdef0123456789:1', 'category' => 'Artifact Category', 'companyName' => 'AWS', 'createdAt' => '2022-05-27T23:17:00.343940Z', 'description' => 'Description of report', 'id' => 'report-abcdef0123456789', 'periodEnd' => '2022-04-01T20:32:04Z', 'periodStart' => '2022-04-01T20:32:04Z', 'productName' => 'Product of report', 'series' => 'Artifact Series', 'state' => 'PUBLISHED', 'termArn' => 'arn:aws:artifact:us-east-1::term/term-abcdef0123456789:1', ], ], 'description' => 'The GetReportMetadata operation is invoked on a reportId and on a optional version. If callers do not provide a version, it will default to the report\'s latest version.', 'id' => 'example-1', 'title' => 'Invoke GetReportMetadata operation on the latest version of a specific report', ], ], 'GetTermForReport' => [ [ 'input' => [ 'reportId' => 'report-abcdef0123456789', ], 'output' => [ 'documentPresignedUrl' => '<Presigned S3 URL>', 'termToken' => 'term-token-abcdefghijklm01234567890', ], 'description' => 'The GetTermForReport operation is invoked on a reportId and on a optional version. If callers do not provide a version, it will default to the report\'s latest version.', 'id' => 'example-1', 'title' => 'Invoke GetTermForReport operation on the latest version of a specific report', ], ], 'ListCustomerAgreements' => [ [ 'input' => [], 'output' => [ 'customerAgreements' => [ [ 'name' => 'Name of agreement', 'type' => 'DEFAULT', 'acceptanceTerms' => [ 'terms acknowledged when agreement was accepted', ], 'agreementArn' => 'arn:aws:artifact:::agreement/agreement-abcdef0123456789', 'arn' => 'arn:aws:artifact::111111111111:customer-agreement/customer-agreement-abcdef0123456789', 'awsAccountId' => '111111111111', 'description' => 'Description of agreement', 'effectiveStart' => '2022-04-01T20:32:04Z', 'id' => 'customer-agreement-abcdef0123456789', 'state' => 'ACTIVE', 'terminateTerms' => [ 'terms that must be acknowledged to terminate this agreement', ], ], ], 'nextToken' => 'gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7', ], 'description' => 'The ListCustomerAgreements operation returns a collection of customer-agreement resources in the ACTIVE state for the calling credential.', 'id' => 'example-1', 'title' => 'Invoke ListCustomerAgreements operation', ], ], 'ListReports' => [ [ 'input' => [], 'output' => [ 'nextToken' => 'gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7gPFEGk7CF4wS901w7ppYclt7', 'reports' => [ [ 'version' => 1, 'name' => 'Name of report', 'arn' => 'arn:aws:artifact:us-east-1::report/report-abcdef0123456789', 'category' => 'Artifact Category', 'companyName' => 'AWS', 'description' => 'Description of report', 'id' => 'report-abcdef0123456789', 'periodEnd' => '2022-04-01T20:32:04Z', 'periodStart' => '2022-04-01T20:32:04Z', 'productName' => 'Product of report', 'series' => 'Artifact Series', 'state' => 'PUBLISHED', ], ], ], 'description' => 'The ListReports operation returns a collection of report resources.', 'id' => 'example-1', 'title' => 'Invoke ListReports operation', ], ], 'PutAccountSettings' => [ [ 'input' => [ 'notificationSubscriptionStatus' => 'SUBSCRIBED', ], 'output' => [ 'accountSettings' => [ 'notificationSubscriptionStatus' => 'SUBSCRIBED', ], ], 'description' => 'Set the account settings.', 'id' => 'example-1', 'title' => 'Invoke PutAccountSettings operation', ], ], ],];
