1 - | {
|
2 - | "events": [
|
3 - | {
|
4 - | "connection_id": 0,
|
5 - | "action": {
|
6 - | "Request": {
|
7 - | "request": {
|
8 - | "uri": "http://aws.service-profile-override",
|
9 - | "headers": {
|
10 - | "content-type": [
|
11 - | "application/x-www-form-urlencoded"
|
12 - | ],
|
13 - | "authorization": [
|
14 - | "AWS4-HMAC-SHA256 Credential=AKIAFAKE/20210810/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-user-agent, Signature=cd5cb2aa1d20717ca17692bcbda711797ae9eb8bb1130690b021b3952b7ae56e"
|
15 - | ],
|
16 - | "user-agent": [
|
17 - | "aws-sdk-rust/0.1.0 os/macos lang/rust/1.55.0-nightly"
|
18 - | ],
|
19 - | "content-length": [
|
20 - | "146"
|
21 - | ],
|
22 - | "x-amz-date": [
|
23 - | "20210810T003833Z"
|
24 - | ],
|
25 - | "host": [
|
26 - | "http://aws.service-profile-override"
|
27 - | ],
|
28 - | "x-amz-user-agent": [
|
29 - | "aws-sdk-rust/0.1.0 api/sts/0.0.14-alpha os/macos lang/rust/1.55.0-nightly"
|
30 - | ]
|
31 - | },
|
32 - | "method": "POST"
|
33 - | }
|
34 - | }
|
35 - | }
|
36 - | },
|
37 - | {
|
38 - | "connection_id": 0,
|
39 - | "action": {
|
40 - | "Data": {
|
41 - | "data": {
|
42 - | "Utf8": "Action=AssumeRole&Version=2011-06-15&RoleArn=arn%3Aaws%3Aiam%3A%3A123456789%3Arole%2Fintegration-test&RoleSessionName=assume-role-provider-session"
|
43 - | },
|
44 - | "direction": "Request"
|
45 - | }
|
46 - | }
|
47 - | },
|
48 - | {
|
49 - | "connection_id": 0,
|
50 - | "action": {
|
51 - | "Eof": {
|
52 - | "ok": true,
|
53 - | "direction": "Request"
|
54 - | }
|
55 - | }
|
56 - | },
|
57 - | {
|
58 - | "connection_id": 0,
|
59 - | "action": {
|
60 - | "Response": {
|
61 - | "response": {
|
62 - | "Ok": {
|
63 - | "status": 200,
|
64 - | "version": "HTTP/1.1",
|
65 - | "headers": {
|
66 - | "date": [
|
67 - | "Thu, 05 Aug 2021 18:58:02 GMT"
|
68 - | ],
|
69 - | "content-length": [
|
70 - | "1491"
|
71 - | ],
|
72 - | "content-type": [
|
73 - | "text/xml"
|
74 - | ],
|
75 - | "x-amzn-requestid": [
|
76 - | "c2e971c2-702d-4124-9b1f-1670febbea18"
|
77 - | ]
|
78 - | }
|
79 - | }
|
80 - | }
|
81 - | }
|
82 - | }
|
83 - | },
|
84 - | {
|
85 - | "connection_id": 0,
|
86 - | "action": {
|
87 - | "Data": {
|
88 - | "data": {
|
89 - | "Utf8": "<AssumeRoleResponse xmlns=\"https://sts.amazonaws.com/doc/2011-06-15/\">\n <AssumeRoleResult>\n <AssumedRoleUser>\n <AssumedRoleId>AROARABCDEFGHIJKLMNOP:assume-role-provider-session</AssumedRoleId>\n <Arn>arn:aws:sts::123456789012:assumed-role/integration-test/assume-role-provider-session</Arn>\n </AssumedRoleUser>\n <Credentials>\n <AccessKeyId>ASIARTESTID</AccessKeyId>\n <SecretAccessKey>TESTSECRETKEY</SecretAccessKey>\n <SessionToken>TESTSESSIONTOKEN</SessionToken>\n <Expiration>2021-08-05T19:58:02Z</Expiration>\n </Credentials>\n </AssumeRoleResult>\n <ResponseMetadata>\n <RequestId>c2e971c2-702d-4124-9b1f-1670febbea18</RequestId>\n </ResponseMetadata>\n</AssumeRoleResponse>\n"
|
90 - | },
|
91 - | "direction": "Response"
|
92 - | }
|
93 - | }
|
94 - | },
|
95 - | {
|
96 - | "connection_id": 0,
|
97 - | "action": {
|
98 - | "Eof": {
|
99 - | "ok": true,
|
100 - | "direction": "Response"
|
101 - | }
|
102 - | }
|
103 - | }
|
104 - | ],
|
105 - | "docs": "standard request / response with STS",
|
106 - | "version": "V0"
|
107 - | }
|