/
types.go
1995 lines (1515 loc) · 63.7 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Represents information about an action configuration.
type ActionConfiguration struct {
// The configuration data for the action.
Configuration map[string]string
noSmithyDocumentSerde
}
// Represents information about an action configuration property.
type ActionConfigurationProperty struct {
// Whether the configuration property is a key.
//
// This member is required.
Key bool
// The name of the action configuration property.
//
// This member is required.
Name *string
// Whether the configuration property is a required value.
//
// This member is required.
Required bool
// Whether the configuration property is secret. Secrets are hidden from all calls
// except for GetJobDetails , GetThirdPartyJobDetails , PollForJobs , and
// PollForThirdPartyJobs . When updating a pipeline, passing * * * * * without
// changing any other values of the action preserves the previous value of the
// secret.
//
// This member is required.
Secret bool
// The description of the action configuration property that is displayed to users.
Description *string
// Indicates that the property is used with PollForJobs . When creating a custom
// action, an action can have up to one queryable property. If it has one, that
// property must be both required and not secret. If you create a pipeline with a
// custom action type, and that custom action contains a queryable property, the
// value for that configuration property is subject to other restrictions. The
// value must be less than or equal to twenty (20) characters. The value can
// contain only alphanumeric characters, underscores, and hyphens.
Queryable bool
// The type of the configuration property.
Type ActionConfigurationPropertyType
noSmithyDocumentSerde
}
// Represents the context of an action in the stage of a pipeline to a job worker.
type ActionContext struct {
// The system-generated unique ID that corresponds to an action's execution.
ActionExecutionId *string
// The name of the action in the context of a job.
Name *string
noSmithyDocumentSerde
}
// Represents information about an action declaration.
type ActionDeclaration struct {
// Specifies the action type and the provider of the action.
//
// This member is required.
ActionTypeId *ActionTypeId
// The action declaration's name.
//
// This member is required.
Name *string
// The action's configuration. These are key-value pairs that specify input values
// for an action. For more information, see Action Structure Requirements in
// CodePipeline (https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements)
// . For the list of configuration properties for the CloudFormation action type in
// CodePipeline, see Configuration Properties Reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-action-reference.html)
// in the CloudFormation User Guide. For template snippets with examples, see
// Using Parameter Override Functions with CodePipeline Pipelines (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html)
// in the CloudFormation User Guide. The values can be represented in either JSON
// or YAML format. For example, the JSON configuration item format is as follows:
// JSON: "Configuration" : { Key : Value },
Configuration map[string]string
// The name or ID of the artifact consumed by the action, such as a test or build
// artifact.
InputArtifacts []InputArtifact
// The variable namespace associated with the action. All variables produced as
// output by this action fall under this namespace.
Namespace *string
// The name or ID of the result of the action declaration, such as a test or build
// artifact.
OutputArtifacts []OutputArtifact
// The action declaration's Amazon Web Services Region, such as us-east-1.
Region *string
// The ARN of the IAM service role that performs the declared action. This is
// assumed through the roleArn for the pipeline.
RoleArn *string
// The order in which actions are run.
RunOrder *int32
// A timeout duration in minutes that can be applied against the ActionType’s
// default timeout value specified in Quotas for CodePipeline (https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html)
// . This attribute is available only to the manual approval ActionType.
TimeoutInMinutes *int32
noSmithyDocumentSerde
}
// Represents information about the run of an action.
type ActionExecution struct {
// ID of the workflow action execution in the current stage. Use the
// GetPipelineState action to retrieve the current action execution details of the
// current stage. For older executions, this field might be empty. The action
// execution ID is available for executions run on or after March 2020.
ActionExecutionId *string
// The details of an error returned by a URL external to Amazon Web Services.
ErrorDetails *ErrorDetails
// The external ID of the run of the action.
ExternalExecutionId *string
// The URL of a resource external to Amazon Web Services that is used when running
// the action (for example, an external repository URL).
ExternalExecutionUrl *string
// The last status change of the action.
LastStatusChange *time.Time
// The ARN of the user who last changed the pipeline.
LastUpdatedBy *string
// A percentage of completeness of the action as it runs.
PercentComplete *int32
// The status of the action, or for a completed action, the last status of the
// action.
Status ActionExecutionStatus
// A summary of the run of the action.
Summary *string
// The system-generated token used to identify a unique approval request. The
// token for each open approval request can be obtained using the GetPipelineState
// command. It is used to validate that the approval request corresponding to this
// token is still valid.
Token *string
noSmithyDocumentSerde
}
// Returns information about an execution of an action, including the action
// execution ID, and the name, version, and timing of the action.
type ActionExecutionDetail struct {
// The action execution ID.
ActionExecutionId *string
// The name of the action.
ActionName *string
// Input details for the action execution, such as role ARN, Region, and input
// artifacts.
Input *ActionExecutionInput
// The last update time of the action execution.
LastUpdateTime *time.Time
// Output details for the action execution, such as the action execution result.
Output *ActionExecutionOutput
// The pipeline execution ID for the action execution.
PipelineExecutionId *string
// The version of the pipeline where the action was run.
PipelineVersion *int32
// The name of the stage that contains the action.
StageName *string
// The start time of the action execution.
StartTime *time.Time
// The status of the action execution. Status categories are InProgress , Succeeded
// , and Failed .
Status ActionExecutionStatus
// The ARN of the user who changed the pipeline execution details.
UpdatedBy *string
noSmithyDocumentSerde
}
// Filter values for the action execution.
type ActionExecutionFilter struct {
// The latest execution in the pipeline. Filtering on the latest execution is
// available for executions run on or after February 08, 2024.
LatestInPipelineExecution *LatestInPipelineExecutionFilter
// The pipeline execution ID used to filter action execution history.
PipelineExecutionId *string
noSmithyDocumentSerde
}
// Input information used for an action execution.
type ActionExecutionInput struct {
// Represents information about an action type.
ActionTypeId *ActionTypeId
// Configuration data for an action execution.
Configuration map[string]string
// Details of input artifacts of the action that correspond to the action
// execution.
InputArtifacts []ArtifactDetail
// The variable namespace associated with the action. All variables produced as
// output by this action fall under this namespace.
Namespace *string
// The Amazon Web Services Region for the action, such as us-east-1.
Region *string
// Configuration data for an action execution with all variable references
// replaced with their real values for the execution.
ResolvedConfiguration map[string]string
// The ARN of the IAM service role that performs the declared action. This is
// assumed through the roleArn for the pipeline.
RoleArn *string
noSmithyDocumentSerde
}
// Output details listed for an action execution, such as the action execution
// result.
type ActionExecutionOutput struct {
// Execution result information listed in the output details for an action
// execution.
ExecutionResult *ActionExecutionResult
// Details of output artifacts of the action that correspond to the action
// execution.
OutputArtifacts []ArtifactDetail
// The outputVariables field shows the key-value pairs that were output as part of
// that execution.
OutputVariables map[string]string
noSmithyDocumentSerde
}
// Execution result information, such as the external execution ID.
type ActionExecutionResult struct {
// Represents information about an error in CodePipeline.
ErrorDetails *ErrorDetails
// The action provider's external ID for the action execution.
ExternalExecutionId *string
// The action provider's summary for the action execution.
ExternalExecutionSummary *string
// The deepest external link to the external resource (for example, a repository
// URL or deployment endpoint) that is used when running the action.
ExternalExecutionUrl *string
noSmithyDocumentSerde
}
// Represents information about the version (or revision) of an action.
type ActionRevision struct {
// The date and time when the most recent version of the action was created, in
// timestamp format.
//
// This member is required.
Created *time.Time
// The unique identifier of the change that set the state to this revision (for
// example, a deployment ID or timestamp).
//
// This member is required.
RevisionChangeId *string
// The system-generated unique ID that identifies the revision number of the
// action.
//
// This member is required.
RevisionId *string
noSmithyDocumentSerde
}
// Represents information about the state of an action.
type ActionState struct {
// The name of the action.
ActionName *string
// Represents information about the version (or revision) of an action.
CurrentRevision *ActionRevision
// A URL link for more information about the state of the action, such as a
// deployment group details page.
EntityUrl *string
// Represents information about the run of an action.
LatestExecution *ActionExecution
// A URL link for more information about the revision, such as a commit details
// page.
RevisionUrl *string
noSmithyDocumentSerde
}
// Returns information about the details of an action type.
type ActionType struct {
// Represents information about an action type.
//
// This member is required.
Id *ActionTypeId
// The details of the input artifact for the action, such as its commit ID.
//
// This member is required.
InputArtifactDetails *ArtifactDetails
// The details of the output artifact of the action, such as its commit ID.
//
// This member is required.
OutputArtifactDetails *ArtifactDetails
// The configuration properties for the action type.
ActionConfigurationProperties []ActionConfigurationProperty
// The settings for the action type.
Settings *ActionTypeSettings
noSmithyDocumentSerde
}
// Information about parameters for artifacts associated with the action type,
// such as the minimum and maximum artifacts allowed.
type ActionTypeArtifactDetails struct {
// The maximum number of artifacts that can be used with the actiontype. For
// example, you should specify a minimum and maximum of zero input artifacts for an
// action type with a category of source .
//
// This member is required.
MaximumCount int32
// The minimum number of artifacts that can be used with the action type. For
// example, you should specify a minimum and maximum of zero input artifacts for an
// action type with a category of source .
//
// This member is required.
MinimumCount int32
noSmithyDocumentSerde
}
// The parameters for the action type definition that are provided when the action
// type is created or updated.
type ActionTypeDeclaration struct {
// Information about the executor for an action type that was created with any
// supported integration model.
//
// This member is required.
Executor *ActionTypeExecutor
// The action category, owner, provider, and version of the action type to be
// updated.
//
// This member is required.
Id *ActionTypeIdentifier
// Details for the artifacts, such as application files, to be worked on by the
// action. For example, the minimum and maximum number of input artifacts allowed.
//
// This member is required.
InputArtifactDetails *ActionTypeArtifactDetails
// Details for the output artifacts, such as a built application, that are the
// result of the action. For example, the minimum and maximum number of output
// artifacts allowed.
//
// This member is required.
OutputArtifactDetails *ActionTypeArtifactDetails
// The description for the action type to be updated.
Description *string
// Details identifying the accounts with permissions to use the action type.
Permissions *ActionTypePermissions
// The properties of the action type to be updated.
Properties []ActionTypeProperty
// The links associated with the action type to be updated.
Urls *ActionTypeUrls
noSmithyDocumentSerde
}
// The action engine, or executor, for an action type created for a provider,
// where the action is to be used by customers of the provider. The action engine
// is associated with the model used to create and update the action, such as the
// Lambda integration model.
type ActionTypeExecutor struct {
// The action configuration properties for the action type. These properties are
// specified in the action definition when the action type is created.
//
// This member is required.
Configuration *ExecutorConfiguration
// The integration model used to create and update the action type, Lambda or
// JobWorker .
//
// This member is required.
Type ExecutorType
// The timeout in seconds for the job. An action execution can have multiple jobs.
// This is the timeout for a single job, not the entire action execution.
JobTimeout *int32
// The policy statement that specifies the permissions in the CodePipeline
// customer account that are needed to successfully run an action. To grant
// permission to another account, specify the account ID as the Principal, a
// domain-style identifier defined by the service, for example
// codepipeline.amazonaws.com . The size of the passed JSON policy document cannot
// exceed 2048 characters.
PolicyStatementsTemplate *string
noSmithyDocumentSerde
}
// Represents information about an action type.
type ActionTypeId struct {
// A category defines what kind of action can be taken in the stage, and
// constrains the provider type for the action. Valid categories are limited to one
// of the following values.
// - Source
// - Build
// - Test
// - Deploy
// - Invoke
// - Approval
//
// This member is required.
Category ActionCategory
// The creator of the action being called. There are three valid values for the
// Owner field in the action category section within your pipeline structure: AWS ,
// ThirdParty , and Custom . For more information, see Valid Action Types and
// Providers in CodePipeline (https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers)
// .
//
// This member is required.
Owner ActionOwner
// The provider of the service being called by the action. Valid providers are
// determined by the action category. For example, an action in the Deploy category
// type might have a provider of CodeDeploy, which would be specified as CodeDeploy
// . For more information, see Valid Action Types and Providers in CodePipeline (https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers)
// .
//
// This member is required.
Provider *string
// A string that describes the action version.
//
// This member is required.
Version *string
noSmithyDocumentSerde
}
// Specifies the category, owner, provider, and version of the action type.
type ActionTypeIdentifier struct {
// Defines what kind of action can be taken in the stage, one of the following:
// - Source
// - Build
// - Test
// - Deploy
// - Approval
// - Invoke
//
// This member is required.
Category ActionCategory
// The creator of the action type being called: AWS or ThirdParty .
//
// This member is required.
Owner *string
// The provider of the action type being called. The provider name is supplied
// when the action type is created.
//
// This member is required.
Provider *string
// A string that describes the action type version.
//
// This member is required.
Version *string
noSmithyDocumentSerde
}
// Details identifying the users with permissions to use the action type.
type ActionTypePermissions struct {
// A list of Amazon Web Services account IDs with access to use the action type in
// their pipelines.
//
// This member is required.
AllowedAccounts []string
noSmithyDocumentSerde
}
// Represents information about each property specified in the action
// configuration, such as the description and key name that display for the
// customer using the action type.
type ActionTypeProperty struct {
// Whether the configuration property is a key.
//
// This member is required.
Key bool
// The property name that is displayed to users.
//
// This member is required.
Name *string
// Whether to omit the field value entered by the customer in the log. If true ,
// the value is not saved in CloudTrail logs for the action execution.
//
// This member is required.
NoEcho bool
// Whether the configuration property is an optional value.
//
// This member is required.
Optional bool
// The description of the property that is displayed to users.
Description *string
// Indicates that the property is used with polling. An action type can have up to
// one queryable property. If it has one, that property must be both required and
// not secret.
Queryable bool
noSmithyDocumentSerde
}
// Returns information about the settings for an action type.
type ActionTypeSettings struct {
// The URL returned to the CodePipeline console that provides a deep link to the
// resources of the external system, such as the configuration page for a
// CodeDeploy deployment group. This link is provided as part of the action display
// in the pipeline.
EntityUrlTemplate *string
// The URL returned to the CodePipeline console that contains a link to the
// top-level landing page for the external system, such as the console page for
// CodeDeploy. This link is shown on the pipeline view page in the CodePipeline
// console and provides a link to the execution entity of the external action.
ExecutionUrlTemplate *string
// The URL returned to the CodePipeline console that contains a link to the page
// where customers can update or change the configuration of the external action.
RevisionUrlTemplate *string
// The URL of a sign-up page where users can sign up for an external service and
// perform initial configuration of the action provided by that service.
ThirdPartyConfigurationUrl *string
noSmithyDocumentSerde
}
// Returns information about URLs for web pages that display to customers as links
// on the pipeline view, such as an external configuration page for the action
// type.
type ActionTypeUrls struct {
// The URL returned to the CodePipeline console that contains a link to the page
// where customers can configure the external action.
ConfigurationUrl *string
// The URL returned to the CodePipeline console that provides a deep link to the
// resources of the external system, such as a status page. This link is provided
// as part of the action display in the pipeline.
EntityUrlTemplate *string
// The link to an execution page for the action type in progress. For example, for
// a CodeDeploy action, this link is shown on the pipeline view page in the
// CodePipeline console, and it links to a CodeDeploy status page.
ExecutionUrlTemplate *string
// The URL returned to the CodePipeline console that contains a link to the page
// where customers can update or change the configuration of the external action.
RevisionUrlTemplate *string
noSmithyDocumentSerde
}
// Represents information about the result of an approval request.
type ApprovalResult struct {
// The response submitted by a reviewer assigned to an approval action request.
//
// This member is required.
Status ApprovalStatus
// The summary of the current status of the approval request.
//
// This member is required.
Summary *string
noSmithyDocumentSerde
}
// Artifacts are the files that are worked on by actions in the pipeline. See the
// action configuration for each action for details about artifact parameters. For
// example, the S3 source action artifact is a file name (or file path), and the
// files are generally provided as a ZIP file. Example artifact name:
// SampleApp_Windows.zip
type Artifact struct {
// The location of an artifact.
Location *ArtifactLocation
// The artifact's name.
Name *string
// The artifact's revision ID. Depending on the type of object, this could be a
// commit ID (GitHub) or a revision ID (Amazon S3).
Revision *string
noSmithyDocumentSerde
}
// Artifact details for the action execution, such as the artifact location.
type ArtifactDetail struct {
// The artifact object name for the action execution.
Name *string
// The Amazon S3 artifact location for the action execution.
S3location *S3Location
noSmithyDocumentSerde
}
// Returns information about the details of an artifact.
type ArtifactDetails struct {
// The maximum number of artifacts allowed for the action type.
//
// This member is required.
MaximumCount int32
// The minimum number of artifacts allowed for the action type.
//
// This member is required.
MinimumCount int32
noSmithyDocumentSerde
}
// Represents information about the location of an artifact.
type ArtifactLocation struct {
// The S3 bucket that contains the artifact.
S3Location *S3ArtifactLocation
// The type of artifact in the location.
Type ArtifactLocationType
noSmithyDocumentSerde
}
// Represents revision details of an artifact.
type ArtifactRevision struct {
// The date and time when the most recent revision of the artifact was created, in
// timestamp format.
Created *time.Time
// The name of an artifact. This name might be system-generated, such as "MyApp",
// or defined by the user when an action is created.
Name *string
// An additional identifier for a revision, such as a commit date or, for
// artifacts stored in Amazon S3 buckets, the ETag value.
RevisionChangeIdentifier *string
// The revision ID of the artifact.
RevisionId *string
// Summary information about the most recent revision of the artifact. For GitHub
// and CodeCommit repositories, the commit message. For Amazon S3 buckets or
// actions, the user-provided content of a codepipeline-artifact-revision-summary
// key specified in the object metadata.
RevisionSummary *string
// The commit ID for the artifact revision. For artifacts stored in GitHub or
// CodeCommit repositories, the commit ID is linked to a commit details page.
RevisionUrl *string
noSmithyDocumentSerde
}
// The S3 bucket where artifacts for the pipeline are stored. You must include
// either artifactStore or artifactStores in your pipeline, but you cannot use
// both. If you create a cross-region action in your pipeline, you must use
// artifactStores .
type ArtifactStore struct {
// The S3 bucket used for storing the artifacts for a pipeline. You can specify
// the name of an S3 bucket but not a folder in the bucket. A folder to contain the
// pipeline artifacts is created for you based on the name of the pipeline. You can
// use any S3 bucket in the same Amazon Web Services Region as the pipeline to
// store your pipeline artifacts.
//
// This member is required.
Location *string
// The type of the artifact store, such as S3.
//
// This member is required.
Type ArtifactStoreType
// The encryption key used to encrypt the data in the artifact store, such as an
// Amazon Web Services Key Management Service key. If this is undefined, the
// default key for Amazon S3 is used.
EncryptionKey *EncryptionKey
noSmithyDocumentSerde
}
// Represents an Amazon Web Services session credentials object. These credentials
// are temporary credentials that are issued by Amazon Web Services Secure Token
// Service (STS). They can be used to access input and output artifacts in the S3
// bucket used to store artifact for the pipeline in CodePipeline.
type AWSSessionCredentials struct {
// The access key for the session.
//
// This member is required.
AccessKeyId *string
// The secret access key for the session.
//
// This member is required.
SecretAccessKey *string
// The token for the session.
//
// This member is required.
SessionToken *string
noSmithyDocumentSerde
}
// Reserved for future use.
type BlockerDeclaration struct {
// Reserved for future use.
//
// This member is required.
Name *string
// Reserved for future use.
//
// This member is required.
Type BlockerType
noSmithyDocumentSerde
}
// Represents information about a current revision.
type CurrentRevision struct {
// The change identifier for the current revision.
//
// This member is required.
ChangeIdentifier *string
// The revision ID of the current version of an artifact.
//
// This member is required.
Revision *string
// The date and time when the most recent revision of the artifact was created, in
// timestamp format.
Created *time.Time
// The summary of the most recent revision of the artifact.
RevisionSummary *string
noSmithyDocumentSerde
}
// Represents information about the key used to encrypt data in the artifact
// store, such as an Amazon Web Services Key Management Service (Key Management
// Service) key.
type EncryptionKey struct {
// The ID used to identify the key. For an Amazon Web Services KMS key, you can
// use the key ID, the key ARN, or the alias ARN. Aliases are recognized only in
// the account that created the KMS key. For cross-account actions, you can only
// use the key ID or key ARN to identify the key. Cross-account actions involve
// using the role from the other account (AccountB), so specifying the key ID will
// use the key from the other account (AccountB).
//
// This member is required.
Id *string
// The type of encryption key, such as an Amazon Web Services KMS key. When
// creating or updating a pipeline, the value must be set to 'KMS'.
//
// This member is required.
Type EncryptionKeyType
noSmithyDocumentSerde
}
// Represents information about an error in CodePipeline.
type ErrorDetails struct {
// The system ID or number code of the error.
Code *string
// The text of the error message.
Message *string
noSmithyDocumentSerde
}
// The details of the actions taken and results produced on an artifact as it
// passes through stages in the pipeline.
type ExecutionDetails struct {
// The system-generated unique ID of this action used to identify this job worker
// in any external systems, such as CodeDeploy.
ExternalExecutionId *string
// The percentage of work completed on the action, represented on a scale of 0 to
// 100 percent.
PercentComplete *int32
// The summary of the current status of the actions.
Summary *string
noSmithyDocumentSerde
}
// The interaction or event that started a pipeline execution.
type ExecutionTrigger struct {
// Detail related to the event that started a pipeline execution, such as the
// webhook ARN of the webhook that triggered the pipeline execution or the user ARN
// for a user-initiated start-pipeline-execution CLI command.
TriggerDetail *string
// The type of change-detection method, command, or user interaction that started
// a pipeline execution.
TriggerType TriggerType
noSmithyDocumentSerde
}
// The action engine, or executor, related to the supported integration model used
// to create and update the action type. The available executor types are Lambda
// and JobWorker .
type ExecutorConfiguration struct {
// Details about the JobWorker executor of the action type.
JobWorkerExecutorConfiguration *JobWorkerExecutorConfiguration
// Details about the Lambda executor of the action type.
LambdaExecutorConfiguration *LambdaExecutorConfiguration
noSmithyDocumentSerde
}
// The configuration that specifies the result, such as rollback, to occur upon
// stage failure.
type FailureConditions struct {
// The specified result for when the failure conditions are met, such as rolling
// back the stage.
Result Result
noSmithyDocumentSerde
}
// Represents information about failure details.
type FailureDetails struct {
// The message about the failure.
//
// This member is required.
Message *string
// The type of the failure.
//
// This member is required.
Type FailureType
// The external ID of the run of the action that failed.
ExternalExecutionId *string
noSmithyDocumentSerde
}
// The Git repository branches specified as filter criteria to start the pipeline.
type GitBranchFilterCriteria struct {
// The list of patterns of Git branches that, when a commit is pushed, are to be
// excluded from starting the pipeline.
Excludes []string
// The list of patterns of Git branches that, when a commit is pushed, are to be
// included as criteria that starts the pipeline.
Includes []string
noSmithyDocumentSerde
}
// A type of trigger configuration for Git-based source actions. You can specify
// the Git configuration trigger type for all third-party Git-based source actions
// that are supported by the CodeStarSourceConnection action type.
type GitConfiguration struct {
// The name of the pipeline source action where the trigger configuration, such as
// Git tags, is specified. The trigger configuration will start the pipeline upon
// the specified change only. You can only specify one trigger configuration per
// source action.
//
// This member is required.
SourceActionName *string
// The field where the repository event that will start the pipeline is specified
// as pull requests.
PullRequest []GitPullRequestFilter
// The field where the repository event that will start the pipeline, such as
// pushing Git tags, is specified with details.
Push []GitPushFilter
noSmithyDocumentSerde
}
// The Git repository file paths specified as filter criteria to start the
// pipeline.
type GitFilePathFilterCriteria struct {
// The list of patterns of Git repository file paths that, when a commit is