[ aws . partnercentral-selling ]
Use this action to retrieve a specific snapshot record.
See also: AWS API Documentation
get-resource-snapshot
--catalog <value>
--engagement-identifier <value>
--resource-type <value>
--resource-identifier <value>
--resource-snapshot-template-identifier <value>
[--revision <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
--catalog
(string) [required]
Specifies the catalog related to the request. Valid values are:
- AWS: Retrieves the snapshot from the production AWS environment.
- Sandbox: Retrieves the snapshot from a sandbox environment used for testing or development purposes.
Constraints:
- pattern:
[a-zA-Z]+
--engagement-identifier
(string) [required]
The unique identifier of the engagement associated with the snapshot. This field links the snapshot to a specific engagement context.
Constraints:
- pattern:
eng-[0-9a-z]{14}
--resource-type
(string) [required]
Specifies the type of resource that was snapshotted. This field determines the structure and content of the snapshot payload. Valid value includes:
Opportunity
: For opportunity-related data.Possible values:
Opportunity
--resource-identifier
(string) [required]
The unique identifier of the specific resource that was snapshotted. The format and constraints of this identifier depend on the ResourceType specified. For
Opportunity
type, it will be anopportunity ID
Constraints:
- pattern:
O[0-9]{1,19}
--resource-snapshot-template-identifier
(string) [required]
he name of the template that defines the schema for the snapshot. This template determines which subset of the resource data is included in the snapshot and must correspond to an existing and valid template for the specified
ResourceType
.Constraints:
- pattern:
[a-zA-Z0-9]{3,80}
--revision
(integer)
Specifies which revision of the snapshot to retrieve. If omitted returns the latest revision.
Constraints:
- min:
1
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command’s default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format
(string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb://
will always be treated as binary and use the file contents directly regardless of the cli-binary-format
setting. When using file://
the file contents will need to properly formatted for the configured cli-binary-format
.
--no-cli-pager
(boolean)
Disable cli pager for output.
--cli-auto-prompt
(boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt
(boolean)
Disable automatically prompt for CLI input parameters.
Catalog -> (string)
The catalog in which the snapshot was created. Matches the Catalog specified in the request.
Constraints:
- pattern:
[a-zA-Z]+
Arn -> (string)
The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.
Constraints:
- pattern:
arn:.*
CreatedBy -> (string)
The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.
Constraints:
- pattern:
([0-9]{12}|\w{1,12})
CreatedAt -> (timestamp)
The timestamp when the snapshot was created, in ISO 8601 format (e.g., “2023-06-01T14:30:00Z”). This allows for precise tracking of when the snapshot was taken.
EngagementId -> (string)
The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.
Constraints:
- pattern:
eng-[0-9a-z]{14}
ResourceType -> (string)
The type of the resource that was snapshotted. Matches the ResourceType specified in the request.
Possible values:
Opportunity
ResourceId -> (string)
The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.
Constraints:
- pattern:
O[0-9]{1,19}
ResourceSnapshotTemplateName -> (string)
The name of the view used for this snapshot. This is the same as the template name.
Constraints:
- pattern:
[a-zA-Z0-9]{3,80}
Revision -> (integer)
The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.
Constraints:
- min:
1
Payload -> (tagged union structure)
Represents the payload of a resource snapshot. This structure is designed to accommodate different types of resource snapshots, currently supporting opportunity summaries.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:OpportunitySummary
.OpportunitySummary -> (structure)
An object that contains an
opportunity
‘s subset of fields.OpportunityType -> (string)
Specifies the opportunity type.
Possible values:
Net New Business
Flat Renewal
Expansion
Lifecycle -> (structure)
Contains information about the opportunity’s lifecycle, including its current stage, status, and important dates such as creation and last modification times.
TargetCloseDate -> (string)
The projected launch date of the opportunity shared through a snapshot.
Constraints:
- pattern:
[1-9][0-9]{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
ReviewStatus -> (string)
Defines the approval status of the opportunity shared through a snapshot.
Possible values:
Pending Submission
Submitted
In review
Approved
Rejected
Action Required
Stage -> (string)
Defines the current stage of the opportunity shared through a snapshot.
Possible values:
Prospect
Qualified
Technical Validation
Business Validation
Committed
Launched
Closed Lost
NextSteps -> (string)
Describes the next steps for the opportunity shared through a snapshot.
Constraints:
- min:
0
- max:
255
OpportunityTeam -> (list)
Represents the internal team handling the opportunity. Specify the members involved in collaborating on an opportunity within the partner’s organization.
Constraints:
- min:
0
- max:
2
(structure)
An object that contains a
Customer Partner
‘s contact details.Email -> (string)
The contact’s email address associated with the
Opportunity
.Constraints:
- min:
0
- max:
80
- pattern:
[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?
FirstName -> (string)
The contact’s first name associated with the
Opportunity
.Constraints:
- min:
0
- max:
80
LastName -> (string)
The contact’s last name associated with the
Opportunity
.Constraints:
- min:
0
- max:
80
BusinessTitle -> (string)
The partner contact’s title (job title or role) associated with the
Opportunity
.BusinessTitle
supports eitherPartnerAccountManager
orOpportunityOwner
.Constraints:
- min:
0
- max:
80
Phone -> (string)
The contact’s phone number associated with the
Opportunity
.Constraints:
- min:
0
- max:
40
- pattern:
\+[1-9]\d{1,14}
PrimaryNeedsFromAws -> (list)
Identifies the type of support the partner needs from AWS.
(string)
Possible values:
Co-Sell - Architectural Validation
Co-Sell - Business Presentation
Co-Sell - Competitive Information
Co-Sell - Pricing Assistance
Co-Sell - Technical Consultation
Co-Sell - Total Cost of Ownership Evaluation
Co-Sell - Deal Support
Co-Sell - Support for Public Tender / RFx
Customer -> (structure)
An object that contains the customer’s
Account
andContact
.Account -> (structure)
An object that contains the customer’s account details.
Industry -> (string)
Specifies the industry the end
Customer
belongs to that’s associated with theOpportunity
. It refers to the category or sector where the customer’s business operates. This is a required field.Possible values:
Aerospace
Agriculture
Automotive
Computers and Electronics
Consumer Goods
Education
Energy - Oil and Gas
Energy - Power and Utilities
Financial Services
Gaming
Government
Healthcare
Hospitality
Life Sciences
Manufacturing
Marketing and Advertising
Media and Entertainment
Mining
Non-Profit Organization
Professional Services
Real Estate and Construction
Retail
Software and Internet
Telecommunications
Transportation and Logistics
Travel
Wholesale and Distribution
Other
OtherIndustry -> (string)
Specifies the end
Customer
‘s industry associated with theOpportunity
, when the selected value in theIndustry
field isOther
.Constraints:
- min:
0
- max:
255
CompanyName -> (string) [required]
Specifies the end
Customer
‘s company name associated with theOpportunity
.Constraints:
- min:
0
- max:
120
WebsiteUrl -> (string)
Specifies the end customer’s company website URL associated with the
Opportunity
. This value is crucial to map the customer within the Amazon Web Services CRM system. This field is required in all cases except when the opportunity is related to national security.Constraints:
- min:
4
- max:
255
AwsAccountId -> (string)
Specifies the
Customer
Amazon Web Services account ID associated with theOpportunity
.Constraints:
- pattern:
([0-9]{12}|\w{1,12})
Address -> (structure)
Specifies the end
Customer
‘s address details associated with theOpportunity
.City -> (string)
Specifies the end
Customer
‘s city associated with theOpportunity
.Constraints:
- min:
0
- max:
255
PostalCode -> (string)
Specifies the end
Customer
‘s postal code associated with theOpportunity
.Constraints:
- min:
0
- max:
20
StateOrRegion -> (string)
Specifies the end
Customer
‘s state or region associated with theOpportunity
.Valid values:
Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, AP
CountryCode -> (string)
Specifies the end
Customer
‘s country associated with theOpportunity
.Possible values:
US
AF
AX
AL
DZ
AS
AD
AO
AI
AQ
AG
AR
AM
AW
AU
AT
AZ
BS
BH
BD
BB
BY
BE
BZ
BJ
BM
BT
BO
BQ
BA
BW
BV
BR
IO
BN
BG
BF
BI
KH
CM
CA
CV
KY
CF
TD
CL
CN
CX
CC
CO
KM
CG
CK
CR
CI
HR
CU
CW
CY
CZ
CD
DK
DJ
DM
DO
EC
EG
SV
GQ
ER
EE
ET
FK
FO
FJ
FI
FR
GF
PF
TF
GA
GM
GE
DE
GH
GI
GR
GL
GD
GP
GU
GT
GG
GN
GW
GY
HT
HM
VA
HN
HK
HU
IS
IN
ID
IR
IQ
IE
IM
IL
IT
JM
JP
JE
JO
KZ
KE
KI
KR
KW
KG
LA
LV
LB
LS
LR
LY
LI
LT
LU
MO
MK
MG
MW
MY
MV
ML
MT
MH
MQ
MR
MU
YT
MX
FM
MD
MC
MN
ME
MS
MA
MZ
MM
NA
NR
NP
NL
AN
NC
NZ
NI
NE
NG
NU
NF
MP
NO
OM
PK
PW
PS
PA
PG
PY
PE
PH
PN
PL
PT
PR
QA
RE
RO
RU
RW
BL
SH
KN
LC
MF
PM
VC
WS
SM
ST
SA
SN
RS
SC
SL
SG
SX
SK
SI
SB
SO
ZA
GS
SS
ES
LK
SD
SR
SJ
SZ
SE
CH
SY
TW
TJ
TZ
TH
TL
TG
TK
TO
TT
TN
TR
TM
TC
TV
UG
UA
AE
GB
UM
UY
UZ
VU
VE
VN
VG
VI
WF
EH
YE
ZM
ZW
StreetAddress -> (string)
Specifies the end
Customer
‘s street address associated with theOpportunity
.Constraints:
- min:
0
- max:
255
Duns -> (string)
Indicates the
Customer
DUNS number, if available.Constraints:
- pattern:
[0-9]{9}
Contacts -> (list)
Represents the contact details for individuals associated with the customer of the
Opportunity
. This field captures relevant contacts, including decision-makers, influencers, and technical stakeholders within the customer organization. These contacts are key to progressing the opportunity.(structure)
An object that contains a
Customer Partner
‘s contact details.Email -> (string)
The contact’s email address associated with the
Opportunity
.Constraints:
- min:
0
- max:
80
- pattern:
[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?
FirstName -> (string)
The contact’s first name associated with the
Opportunity
.Constraints:
- min:
0
- max:
80
LastName -> (string)
The contact’s last name associated with the
Opportunity
.Constraints:
- min:
0
- max:
80
BusinessTitle -> (string)
The partner contact’s title (job title or role) associated with the
Opportunity
.BusinessTitle
supports eitherPartnerAccountManager
orOpportunityOwner
.Constraints:
- min:
0
- max:
80
Phone -> (string)
The contact’s phone number associated with the
Opportunity
.Constraints:
- min:
0
- max:
40
- pattern:
\+[1-9]\d{1,14}
Project -> (structure)
Contains summary information about the project associated with the opportunity, including project name, description, timeline, and other relevant details.
DeliveryModels -> (list)
Describes the deployment or consumption model for the partner solution or offering. This field indicates how the project’s solution will be delivered or implemented for the customer.
(string)
Possible values:
SaaS or PaaS
BYOL or AMI
Managed Services
Professional Services
Resell
Other
ExpectedCustomerSpend -> (list)
Provides information about the anticipated customer spend related to this project. This may include details such as amount, frequency, and currency of expected expenditure.
Constraints:
- min:
0
- max:
10
(structure)
Provides an estimate of the revenue that the partner is expected to generate from the opportunity. This information helps partners assess the financial value of the project.
Amount -> (string) [required]
Represents the estimated monthly revenue that the partner expects to earn from the opportunity. This helps in forecasting financial returns.
Constraints:
- pattern:
(0|([1-9][0-9]{0,30}))(\.[0-9]{0,2})?
CurrencyCode -> (string) [required]
Indicates the currency in which the revenue estimate is provided. This helps in understanding the financial impact across different markets.
Possible values:
USD
EUR
GBP
AUD
CAD
CNY
NZD
INR
JPY
CHF
SEK
AED
AFN
ALL
AMD
ANG
AOA
ARS
AWG
AZN
BAM
BBD
BDT
BGN
BHD
BIF
BMD
BND
BOB
BOV
BRL
BSD
BTN
BWP
BYN
BZD
CDF
CHE
CHW
CLF
CLP
COP
COU
CRC
CUC
CUP
CVE
CZK
DJF
DKK
DOP
DZD
EGP
ERN
ETB
FJD
FKP
GEL
GHS
GIP
GMD
GNF
GTQ
GYD
HKD
HNL
HRK
HTG
HUF
IDR
ILS
IQD
IRR
ISK
JMD
JOD
KES
KGS
KHR
KMF
KPW
KRW
KWD
KYD
KZT
LAK
LBP
LKR
LRD
LSL
LYD
MAD
MDL
MGA
MKD
MMK
MNT
MOP
MRU
MUR
MVR
MWK
MXN
MXV
MYR
MZN
NAD
NGN
NIO
NOK
NPR
OMR
PAB
PEN
PGK
PHP
PKR
PLN
PYG
QAR
RON
RSD
RUB
RWF
SAR
SBD
SCR
SDG
SGD
SHP
SLL
SOS
SRD
SSP
STN
SVC
SYP
SZL
THB
TJS
TMT
TND
TOP
TRY
TTD
TWD
TZS
UAH
UGX
USN
UYI
UYU
UZS
VEF
VND
VUV
WST
XAF
XCD
XDR
XOF
XPF
XSU
XUA
YER
ZAR
ZMW
ZWL
Constraints:
- pattern:
USD
Frequency -> (string) [required]
Indicates how frequently the customer is expected to spend the projected amount. Only the value
Monthly
is allowed for theFrequency
field, representing recurring monthly spend.Possible values:
Monthly
TargetCompany -> (string) [required]
Specifies the name of the partner company that is expected to generate revenue from the opportunity. This field helps track the partner’s involvement in the opportunity. This field only accepts the value
AWS
. If any other value is provided, the system will automatically set it toAWS
.Constraints:
- min:
1
- max:
80
EstimationUrl -> (string)
A URL providing additional information or context about the spend estimation.
Constraints:
- min:
4
- max:
255
CustomerUseCase -> (string)
Specifies the proposed solution focus or type of workload for the project.SalesActivities -> (list)
Lists the pre-sales activities that have occurred with the end-customer related to the opportunity. This field is conditionally mandatory when the project is qualified for Co-Sell and helps drive assignment priority on the AWS side. It provides insight into the engagement level with the customer.
(string)
Possible values:
Initialized discussions with customer
Customer has shown interest in solution
Conducted POC / Demo
In evaluation / planning stage
Agreed on solution to Business Problem
Completed Action Plan
Finalized Deployment Need
SOW Signed
OtherSolutionDescription -> (string)
Offers a description of other solutions if the standard solutions do not adequately cover the project’s scope.
Constraints:
- min:
0
- max:
255
RelatedEntityIdentifiers -> (structure)
This field provides the associations’ information for other entities with the opportunity. These entities include identifiers for
AWSProducts
,Partner Solutions
, andAWSMarketplaceOffers
.AwsMarketplaceOffers -> (list)
Takes one value per opportunity. Each value is an Amazon Resource Name (ARN), in this format:
"offers": ["arn:aws:aws-marketplace:us-east-1:999999999999:AWSMarketplace/Offer/offer-sampleOffer32"]
.Use the ListEntities action in the Marketplace Catalog APIs for a list of offers in the associated Marketplace seller account.
(string)
Constraints:
- pattern:
arn:aws:aws-marketplace:[a-z]{1,2}-[a-z]*-\d+:\d{12}:AWSMarketplace/Offer/.*
Solutions -> (list)
Enables partner solutions or offerings’ association with an opportunity. To associate a solution, provide the solution’s unique identifier, which you can obtain with the
ListSolutions
operation.If the specific solution identifier is not available, you can use the value
Other
and provide details about the solution in theotherSolutionOffered
field. But when the opportunity reaches theCommitted
stage or beyond, theOther
value cannot be used, and a valid solution identifier must be provided.By associating the relevant solutions with the opportunity, you can communicate the offerings that are being considered or implemented to address the customer’s business problem.
(string)
Constraints:
- pattern:
S-[0-9]{1,19}
AwsProducts -> (list)
Enables the association of specific Amazon Web Services products with the
Opportunity
. Partners can indicate the relevant Amazon Web Services products for theOpportunity
‘s solution and align with the customer’s needs. Returns multiple values separated by commas. For example,"AWSProducts" : ["AmazonRedshift", "AWSAppFabric", "AWSCleanRooms"]
.Use the file with the list of Amazon Web Services products hosted on GitHub: Amazon Web Services products .
(string)